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

GRBBinvcolj function returning different order of indices

回答済み

コメント

3件のコメント

  • 正式なコメント
    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?.
  • Thomas Opfer
    • Gurobi-versary
    • Thought Leader

    You can obtain the order of the variables in the current basis, see here: https://www.gurobi.com/documentation/9.0/refman/c_getbasishead.html 

    0
  • Heena Jain
    • Gurobi-versary
    • First Comment
    • First Question

    Thank you for your response. I did use the getbasishead function and obtained the order of the variables. The difficulty that I am facing now is with the values that it return after calculating (B-inv)(Aj) for a particular column. For example, for j = 0, I expect the values to be (2,1) but it returns (1,2) and for another column, expected vector is (1,-1) but returned vector is (-1,1). I will appreciate any insight you can provide me. Thanks again!

    0

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