Get feasibility result
回答済みHello! I am minimizing a problem in python and I would like to check programatically whether the model is feasible or not, but I can't seem to find a way to get that in a variable. I would like to know if something like res = solver.optimize() where res would be the feasibility exists.
Thanks in advance.
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 try Gurobot, our chatbot interface offering instant, expert-level support. -
You can check the status of the model, see for example this python script
1 -
Thanks! That worked fine.
0
投稿コメントは受け付けていません。
コメント
3件のコメント