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

Adding and removing Scenarios in multiscenario setting

回答済み

コメント

3件のコメント

  • 正式なコメント
    Simranjit Kaur
    • Gurobi Staff 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?.
  • Eli Towle
    • Gurobi Staff Gurobi Staff

    In your example, you can remove the RHS change of constraint 1 in scenario 1 by setting the constraint's ScenNRHS attribute to \( \texttt{GRB_UNDEFINED} \) or \( \texttt{GRB.UNDEFINED} \) (depending on your API). This way, scenario 1 would only include the change to the RHS of constraint 2. Does this work for you?

    0
  • Seyedkianoush Mousavichashmi
    • Gurobi-versary
    • Curious
    • First Comment

    Thank you very Much! It solved my issue!

     

    Regards,

    Kianoush

    0

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