Skip to main content

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

Answered

Comments

3 comments

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

    Thanks for the kind words Mohammad

    - Riley

    0

Please sign in to leave a comment.