Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 TypeError: Can't instantiate abstract class SimpleCitibikeBusinessEngine with abstract methods configs, get_agent_idx_list, set_seed #601

Open
hanyong-max opened this issue Jan 9, 2024 · 0 comments
Labels
馃悰 bug Something isn't working.

Comments

@hanyong-max
Copy link

Description

D:\ChatGLM3-main\test_maro>python test_simple_bike_repositioning.py
Total bikes needed in this scenario: 96, intial station inventory: 24.
Traceback (most recent call last):
File "D:\ChatGLM3-main\test_maro\test_simple_bike_repositioning.py", line 278, in
no_action_result = run_policy(NoActionPolicy)
File "D:\ChatGLM3-main\test_maro\test_simple_bike_repositioning.py", line 252, in run_policy
env = Env(durations=MAX_TICKS, business_engine_cls=SimpleCitibikeBusinessEngine)
File "D:\Anaconda3\lib\site-packages\maro\simulator\core.py", line 83, in init
self._init_business_engine()
File "D:\Anaconda3\lib\site-packages\maro\simulator\core.py", line 291, in _init_business_engine
self._business_engine: AbsBusinessEngine = business_class(
TypeError: Can't instantiate abstract class SimpleCitibikeBusinessEngine with abstract methods configs, get_agent_idx_list, set_seed

@hanyong-max hanyong-max added the 馃悰 bug Something isn't working. label Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
馃悰 bug Something isn't working.
Projects
None yet
Development

No branches or pull requests

1 participant