Get an infeasible solution after timeout
AnsweredHallo, I have a MILP which it ist really hard to find a feasible solution for. I have a Timelimit of 600 Seconds and Sometimes this is Not enough to find a feasible solution. I guess during that time gurobi tried several infeasible solutions. Is it possible to get the solution which has the least residual?
Cheers Florian
-
Hi Florian,
The solver does not store infeasible solutions, but you can use our feasrelax functionality to achieve what you want.
I'd also try the following:
- setting a 0 objective, to get a "feasibility problem" and see if that is successful
- try our NoRel heuristic, by setting NoRelHeurTime or NoRelHeurWork to a non-zero value. In the first phase of NoRel it will be trying to find a feasible solution. In the second phase it looks to improve it.- Riley
0
Please sign in to leave a comment.
Comments
1 comment