unbdray
AnsweredHi
my second stage problem is infeasible. I would appreciate it if you could say how can I extract unbounded rays for the dual of the second stage problem?
I write dual of it and I used
Dualproblem.setParam('InfUnbdInfo', 1)
dualsp=Dualproblem.getAttr('UnbdRay', Dualproblem.getVars())
are they correct?
0
-
Official comment
This post is more than two 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. -
Hi Zahra,
An unbounded ray is only available if your model is unbounded, i.e., if \(\texttt{model.Status == GRB.UNBOUNDED}\). If your model is infeasible, you can retrieve a Farkas Proof or try to determine why your model is infeasible as described in How do I determine why my model is infeasible?
Best regards,
Jaromił0
Post is closed for comments.
Comments
2 comments