Skip to main content

Iterating over Non-Zero variables

Answered

Comments

1 comment

  • Maliheh Aramon
    • Gurobi Staff

    Hi Alexander, 

    Re-stated, I imagine I just want to know which variables are in the basis.

    You should query the attribute VBasis on each variable to find its status on the current basis. 

    Best regards,

    Maliheh

    0

Please sign in to leave a comment.