All rows and columns removed but still get new incumbent
AnsweredI have a current solution 'sol_0' and set v.Start as the current value, then i fix some of the variables and solve the model.
In the presolve stage, all rows and columns are removed but i still get another solution instead of 'sol_0'. Do i do something wrong? If not, why does this happen?
-
Official comment
This post is more than two years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum, or try Gurobot, our chatbot interface offering instant, expert-level support. -
Hello,
This is a quote from the Start parameter page: "If the Gurobi MIP solver log indicates that your MIP start didn't produce a new incumbent solution, note that there can be multiple explanations. ... Another, more common possibility is that one of the Gurobi heuristics found a solution that is as good as the solution produced by the MIP start, so the MIP start solution was cut off."
I believe this is the explanation of what happened in your case.
The way I see it, providing Gurobi with an initial solution has the main objective of finding a better solution faster. Your model seems to simple enough that this start solution ends up having no effect.
-1
Post is closed for comments.
Comments
2 comments