Commit ec62b809 authored by brugerma's avatar brugerma
Browse files

update model

parent 7b7bc6a8
......@@ -404,7 +404,7 @@ class OptimisationModel(LpProblem):
if solver is None:
pareto_model.solve(solver=PULP_CBC_CMD(timeLimit=60), use_mps=False)
pareto_model.solve(solver=PULP_CBC_CMD(maxSeconds=60), use_mps=False)
pareto_model.solve(solver=solver, use_mps=False)
......@@ -421,7 +421,7 @@ class OptimisationModel(LpProblem):
print("\n- - WARNING - -")
print(" A time limit has been set at 60 seconds")
print(" A way to change it is to change the solve method of the model with the following script")
print("\n (solver=PULP_CBC_CMD(timeLimit = T ), use_mps=False)")
print("\n (solver=PULP_CBC_CMD(maxSeconds = T ), use_mps=False)")
print("\n with T the number of seconds you need to perform your pareto assessment")
print("\n- - WARNING - -")
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment