Gurobi selected a very small value (4.3e-16) for a binary decision variable!!
AnsweredGurobi selected a very small value (4.3e-16) for a binary decision variable, even though I had already set the variable as binary. Why does it happen, and how can I enforce these variables to only take values of zero and one?
1
-
Hi Siavash,
Please see the following article:
https://support.gurobi.com/hc/en-us/articles/360012237872-Why-does-Gurobi-sometimes-return-non-integral-values-for-integer-variables- Riley
0
Please sign in to leave a comment.
Comments
1 comment