Skip to main content

FarkasDual and Barrier method

Answered

Comments

2 comments

  • Riley Clement
    Gurobi Staff Gurobi Staff

    Hi Dong Han,

    In order to provide a Farkas dual there needs to be a basis.  When wanting the Farkas dual users need to set InfUnbdInfo=1 which:

    Determines whether simplex (and crossover) will compute additional information when a model is determined to be infeasible or unbounded

    Perhaps this would be better phrased as

    Determines whether additional information is computed when a simplex basis is available (from simplex or crossover)

    Farkas duals can sometimes be obtained with barrier, but if your model is being declared infeasible mid-barrier then there will be no basis, and a Farkas dual will not be available.

    Currently there is no workaround for this, so either primal or dual simplex will be needed in your case.

    - Riley

    0
  • Dong Han
    Gurobi-versary
    Curious
    Conversationalist

    Hi Riley,

    Thank you very much for your quick reply. It helps a lot !

    0

Please sign in to leave a comment.