-
Notifications
You must be signed in to change notification settings - Fork 0
/
create_runs_base_settings.py
53 lines (40 loc) · 1.24 KB
/
create_runs_base_settings.py
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
from helpers import *
# Duration of each simulation run
NUM_DAYS = 7
DURATION = timeInMinutes(hours=24*NUM_DAYS)
# Enter instance definition here.
CITIES = [ "Edinburgh",
"Trondheim",
"Bergen",
"Oslo",
]
ABBRVS = {"Oslo": 'OS',
"Bergen": 'BG',
"Trondheim":'TD' ,
"Edinburgh":'EH'
}
ABBRVS2 = {v: k for k, v in ABBRVS.items()}
WEEKS = { "Edinburgh":[10,22,31,50],
"Trondheim":[17,21,34,44],
"Bergen": [8,25,35,45],
"Oslo": [10,22,31,50],
}
NUM_SEEDS = {
"EH_W10":10,"EH_W22":10,"EH_W31":10,"EH_W50":10,
"TD_W17":10,"TD_W21":15,"TD_W34":15,"TD_W44":10,
"BG_W8":10,"BG_W25":10,"BG_W35":10,"BG_W45":10,
"OS_W10":15,"OS_W22":75,"OS_W31":75,"OS_W50":15,
}
CITY_RANKING = {'EH':0,'TD':1,'BG':2,'OS':3}
INSTANCE_RANKING = {}
i = 0
for key,value in NUM_SEEDS.items():
instance_name = key
INSTANCE_RANKING[instance_name] = i
i += 1
# NUM_SEEDS = {
# "EH_W10":10,"EH_W22":10, "EH_W31":10, "EH_W50":10,
# "TD_W17":10,"TD_W21":15, "TD_W34":15, "TD_W44":10,
# "BG_W8":10, "BG_W25":10, "BG_W35":10, "BG_W45":15,
# "OS_W10":15,"OS_W22":30, "OS_W31":30, "OS_W50":30,
# }