Skip to main content

Unbounded ray of an infeasible LP problem (Python)

Answered

Comments

2 comments

  • Matthias Miltenberger
    Gurobi Staff 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

Please sign in to leave a comment.