added relaxation to objective as well as time limit
This commit is contained in:
parent
8920810b34
commit
6d36762533
@ -46,7 +46,7 @@ class Problem(BaseModel):
|
|||||||
|
|
||||||
# creating problem multi-objective functions
|
# creating problem multi-objective functions
|
||||||
objective_functions = solver_run.objective_function.for_problem(self, solver_run)
|
objective_functions = solver_run.objective_function.for_problem(self, solver_run)
|
||||||
self.problem.sequentialSolve(objective_functions)
|
self.problem.sequentialSolve(objective_functions, None, None, pulp.COIN(gapRel=0.2, timeLimit=300))
|
||||||
|
|
||||||
return self.problem
|
return self.problem
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user