Solution is non-binary for a binary variable
進行中When I run my program, Gurobi gives me a solution of 3 for one of my variables, but in the program I set the variable to be binary. What could have gone wrong to cause this?
0
-
正式なコメント
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?. -
Can you post the code you use to set the variable type and display the variable's solution value?
0 -
Nevermind... I had set the variable as integer. I had several binary variables and I had mistakenly set one to integer. A careless mistake!
0
投稿コメントは受け付けていません。
コメント
3件のコメント