forked from StanfordASL/RL4AMOD
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtesting_debug.py
More file actions
29 lines (25 loc) · 765 Bytes
/
testing_debug.py
File metadata and controls
29 lines (25 loc) · 765 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import importlib
import testing
import warnings
warnings.filterwarnings("ignore")
importlib.reload(testing)
import sys
if 'testing' in sys.modules:
del sys.modules['testing']
import testing
importlib.reload(testing)
config = {
"simulator.name": "multi_macro",
"model.name": ["sac", "equal_distribution", "random"],
"simulator.city": "nyc_brooklyn",
"model.cplexpath": None,
"model.test_episodes": 2,
"model.checkpoint_path": "SAC_portion_2",
"simulator.reuse_no_control": False,
"simulator.firm_count": 2,
"simulator.agents_know_partial_demand": True,
"simulator.constant_vehicle_count": True,
"simulator.demand_filter_type": "competition" ,
"simulator.pricing_model": "cournot"
}
testing.multi_test(config)