Numerical issue in .mst or .sol
AnsweredWhen I try to use .mst or .sol as the MIP start, there is always some issue problem, for example violate some binary variables by 0.000010000, or some some other constraints by very some difference. Is there any way to settle this problem? Thank you very much.
0
-
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. -
There are a couple of things you can try:
- Manually round the binary variables to 0 or 1 before setting the MIP start to ensure they respect the binary conditions.
- If your MIP start is generated by solving a Gurobi model, try decreasing the tolerance parameters such as IntFeasTol and FeasibilityTol in that run to make the solver stricter about variable and constraint violations.
- Inspect the feasibility of your MIP start solution. To do this, set each binary or integer variable's lower and upper bound to its start value and solve the resulting model. If it is infeasible, investigate it by following the steps in How do I determine why my model is infeasible?.
0
Post is closed for comments.
Comments
2 comments