メインコンテンツへスキップ

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

進行中

コメント

3件のコメント

  • 正式なコメント
    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.
  • David Torres Sanchez
    • 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
    • First Comment
    • Gurobi-versary
    • Curious

    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

投稿コメントは受け付けていません。