Skip to main content

What is Gurobi's equivalent to SCIP's getBasisStatus method?

Ongoing

Comments

2 comments

  • David Torres Sanchez
    • Gurobi Staff Gurobi Staff

    Hi Brannon,

    Each variable has a VBasis attribute with values:

    0 (basic), -1 (non-basic at lower bound), -2 (non-basic at upper bound), and -3 (super-basic).

    Each linear constraint has CBasis attribute with values:

    0 (basic) or -1 (non-basic)

    Cheers, 
    David

    1
  • Brannon King
    • Gurobi-versary
    • First Comment
    • First Question

    Each row has an associated slack variable. Does the slack variable use the same upper/lower status information? How would I determine this VBasis information for a slack variable, since CBasis doesn't specify upper/lower?

    0

Please sign in to leave a comment.