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

How do I model if and only if statements in Gurobi

回答済み

コメント

4件のコメント

  • 正式なコメント
    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.
  • Jaromił Najman
    • Gurobi Staff

    Hi Anggita,

    We discuss how to debug a key error in the Knowledge Base article Tutorial: Preparing a Minimal Reproducible Example.

    Best regards, 
    Jaromił

    0
  • Anggita Ketlin Bella Pratiwi
    • Gurobi-versary
    • First Comment
    • First Question

    Hi, I want to ask more. To describe conditional statements whether there are additional indicator limits besides this

    m.addConstr((b == 1 ) >> (z == w1), name= "indicator_constr1" )
    m.addConstr((b == 0 ) >> (z == w2), nama= "indicator_constr2" )
    0
  • Jaromił Najman
    • Gurobi Staff

    To describe conditional statements whether there are additional indicator limits besides this

    Could you elaborate what exactly you mean by "additional indicator limits"?

    Maybe the Knowledge Base article How do I model conditional statements in Gurobi? can help.

    0

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