Loading pyehub/energy_hub/ehub_model.py +4 −3 Original line number Diff line number Diff line Loading @@ -92,7 +92,7 @@ class EHubModel: solver = solver_settings["name"] options = solver_settings["options"] solver_path = solver_settings["solver_path"] if options is None: options = {} Loading @@ -103,6 +103,7 @@ class EHubModel: try: # Use of the solver path is optional, however, # needed when doing cluster submission. solver_path = solver_settings["solver_path"] status = pylp.solve(objective=self.objective, constraints=self.constraints, minimize=True, Loading Loading
pyehub/energy_hub/ehub_model.py +4 −3 Original line number Diff line number Diff line Loading @@ -92,7 +92,7 @@ class EHubModel: solver = solver_settings["name"] options = solver_settings["options"] solver_path = solver_settings["solver_path"] if options is None: options = {} Loading @@ -103,6 +103,7 @@ class EHubModel: try: # Use of the solver path is optional, however, # needed when doing cluster submission. solver_path = solver_settings["solver_path"] status = pylp.solve(objective=self.objective, constraints=self.constraints, minimize=True, Loading