Skip to main content

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

Answered

Comments

2 comments

  • Official comment
    Yuriy Zinchenko
    Gurobi Staff 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,

  • 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

Please sign in to leave a comment.