Skip to content

Commit

Permalink
updated gui and showroom
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipp Brendel committed Apr 26, 2021
1 parent dc04806 commit 68f2962
Show file tree
Hide file tree
Showing 33 changed files with 5,558,979 additions and 18 deletions.
4 changes: 2 additions & 2 deletions config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ lon: [7.50, 7.90]
##################
# Model settings #
##################
objective: 0
objective: 1
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: 0 # only allow leq this many vehicles being used
constrain_vehicles: # only allow leq this many vehicles being used

######################
# Heuristic settings #
Expand Down
2 changes: 1 addition & 1 deletion gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def run(self):
if self.visuals.t_ind < self.visuals.t_steps - 1:
self.visuals.t_ind += 1
elif event == 'IP_SHOW_MAP':
self.visuals.show_map = values['IP_SHOW_MAP']
self.visuals.ip_show_map = values['IP_SHOW_MAP']
elif event == 'IP_APPLY_LIM':
update = True
try:
Expand Down
Binary file added showroom/18c_01p/18c_01p_020t_11v.p
Binary file not shown.
Loading

0 comments on commit 68f2962

Please sign in to comment.