Get feasibility result
AnsweredHello! 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
-
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 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
Post is closed for comments.
Comments
3 comments