Skip to main content

how to get FarkasDual in matlab

Answered

Comments

2 comments

  • Official comment
    Simranjit Kaur
    • Gurobi Staff
    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.
  • Riley Clement
    • Gurobi Staff

    Hi Dai xiaoyu,

    The farkas dual is associated with infeasible LPs.  If you relax the variables to be continuous then you should be able to retrieve the farkas dual, assuming the LP relaxation is still infeasible.

    If the LP relaxation is not infeasible then the farkas dual does not exist, and you should try another method of understanding the MIP infeasibility.

    See How do I determine why my model is infeasible? 

    - Riley

     

     

    0

Post is closed for comments.