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

Infeasibility Issue with Quadratic Objective Model with a few General MAX constraints

回答済み

コメント

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.
  • Riley Clement
    • Gurobi Staff

    Hi Mohammad,

    A common mistake is not realizing that the default lower bound for variables is zero.  In the .ilp file there are no bounds mentioned for w[1] or v[1], meaning that both of these variables are >= 0.  Is this what you expect?

    - Riley

    0
  • Mohammad Derakhshi
    • Gurobi-versary
    • First Comment
    • First Question

    Hi Riley,

    Thank you for the swift and effective guidance. Setting the variable bounds to lb=-GRB.INFINITY, ub=GRB.INFINITY solved the issue perfectly.

    I'm grateful for your support -Gurobi's excellence truly shines through its community.

    0
  • Riley Clement
    • Gurobi Staff

    Thanks for the kind words Mohammad

    - Riley

    0

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