-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathconfig.yaml
72 lines (63 loc) · 1.85 KB
/
config.yaml
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
####################
# initial settings #
####################
t_0: '10:30' # initial clock time
T: 2.0 # [h]
delta_t: 0.25 # [h]
c_init: 1.0 # initial soc of nodes
p_init: 0.0 # initial soc of producers
vehicle_init: 0.1 # initial soc of vehicles
##################
# Data locations #
##################
vehicle_dir: 'data/vehicles'
depot_dir: 'data/depots'
consumer_dir: 'data/paper/c_easy.csv'
producer_dir: 'data/paper/p_all.csv'
other_dir: 'data/others'
#####################
# Data restrictions #
#####################
v_max: 40
c_max: 1
p_max: 1
o_max: 0
d_max: 1
lat: [49.00, 49.90] # min and max vals
lon: [7.50, 7.90]
##################
# Model settings #
##################
objective: 0
constr_j: True # (1j) valid inequality
min_vehicles: True # toggle obj and constraints connected to z
limit_vehicles: True # (1l) limit charging vehicles at locations
visualize: True # visualize solution
constrain_vehicles: 12 # only allow leq this many vehicles being used
######################
# Heuristic settings #
######################
h_init_time_limit: 120
h_time_limit: 60
h_init: quick # [quick, greedy]
###################
# Gurobi settings #
###################
TimeLimit: 100000
threads: 1
# multiple threads for parallel work
# can be restricted in order to save RAM
method: -1
# method used to solve root relaxation (only root!)
# -1: default 1: dual-simplex 2: barrier
MIPFocus: 0
# 0: default, balance between both
# 1: focus on finding feasible solutions
# 2: more attention on proving optimality
# 3: if best bound is barely moving
MIPGap: 0.0001
# default: 0.0001
CutPasses: -1
# default: -1
write_lp: False
LogToConsole: True