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

How to set objective upper bound?

回答済み

コメント

4件のコメント

  • 正式なコメント
    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?.
  • Gwyneth Butera
    • Gurobi Staff

    Hi Wei - 

    Have you had a look at the Cutoff parameter? I think it should work for you.

    Gwyneth

    0
  • Wei Tang
    • Gurobi-versary
    • First Comment
    • Curious

    And how should I set it? It is not one of the model attributes where I can just do model.setAttr

    0
  • Gwyneth Butera
    • Gurobi Staff

    This is because it is a parameter, not an attribute.

    The various Gurobi APIs all provide routines for querying and modifying parameter values. Please refer to our Parameter Examples for additional information.

    Gwyneth

    0

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