メインコンテンツへスキップ

Unbounded ray of an infeasible LP problem (Python)

回答済み

コメント

3件のコメント

  • 正式なコメント
    Simranjit Kaur
    • Gurobi Staff
    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?.
  • Matthias Miltenberger
    • Gurobi Staff

    Hi Canqi,

    You can query the unbounded ray using the variable attribute UnbdRay.

    Cheers
    Matthias

    0
  • Thomas Opfer
    • Gurobi-versary
    • Thought Leader

    The question was about infeasible LPs. So I guess, we are looking for the unbounded ray of the dual (if the dual is unbounded and not infeasible).

    Don't we have to use FarkasDual to query it?

    I don't know what FarkasDual returns when both primal and dual are infeasible, which does not happen too often (there is one example in the netlib).

    0

投稿コメントは受け付けていません。