Skip to content
Snippets Groups Projects
Commit 58ddc14b authored by Christoph von Oy's avatar Christoph von Oy
Browse files

Parameterized objective function

parent 0961692d
No related branches found
No related tags found
No related merge requests found
......@@ -26,7 +26,9 @@ from pyomo.opt import SolverStatus, TerminationCondition
import matplotlib.pyplot as plot
import os
def pareto_analysis(prosumer, strategy_name_1, strategy_name_2):
def pareto_analysis(prosumer, strategy_names):
strategy_name_1 = strategy_names[0]
strategy_name_2 = strategy_names[1]
solver = pyomo.SolverFactory("gurobi")
solver.options['MIPGap'] = 0.01
solver.options['Presolve'] = 2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment