Numerical issue in .mst or .sol
回答済みWhen 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
-
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
サインインしてコメントを残してください。
コメント
1件のコメント