MILP: values that are constrained to be equal, have a 0.000001 difference
AnsweredThis fact affects the solution time a lot, as I guess the solver tries to optimize in such a small scale the variables. any ideas?
0
-
Official comment
This post is more than three 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 why not try our AI Gurobot?. -
Hi Makedon,
as most computer programs, we use floating point arithmetic, so an equality constraint will be satisfied up to a given tolerance. You can change the tolerance setting for your variables through IntFeasTol.
0
Post is closed for comments.
Comments
2 comments