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

How to include negative exponent in model

ユーザーの入力を待っています。

コメント

2件のコメント

  • 正式なコメント
    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.
  • Ryuta Tamura
    • Gurobi Staff

    Hi,

    addGenConstrPow(x, y, a) should accept a=-0.5 as an argument. But there are a few things to note.

    • If the exponent a is negative, the lower bound on x must be strictly positive.
    • If the exponent isn’t an integer, the lower bound on x must be non-negative.

    You can also use computeIIS() to see why it is Infeasible. Please see: How do I determine why my model is infeasible?

    Regards,
    Ryuta

    0

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