Skip to main content

Does the barrier method for LP automatically start from the dual problem?

Answered

Comments

3 comments

  • Official comment
    Yuriy Zinchenko
    • Gurobi Staff

    Hello Bo:

     

    we do apply dual transformation automatically (in some cases), specifically, indeed, when A is "long and narrow" we would look into that with the code. In other words, the matrix "aspect ratio" (m/n) is one of the main problem statistics we look at when deciding if it is worth solving the dual instead of the primal.  

    Regarding the full rank, we do not require this, but generally speaking non-full rank in A may lead to some numerical issues (very rare).  If you can make sure the matrix is full rank, this would not hurt.

     

    Hope this helps,

  • Official comment
    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?.
  • Bo Yang
    • Gurobi-versary
    • Conversationalist
    • Curious

    I also want to ask if the matrix A is full column rank (given m>>n), would Gurobi benefit from this condition? Thank you for your answer.

    0

Post is closed for comments.