Skip to main content

Infeasible Model unbound Excel OpenSolver

Awaiting user input

Comments

1 comment

  • Maliheh Aramon
    Gurobi Staff Gurobi Staff

    Hi Adrian, 

    What are the coefficient values of variables \(x_i\) in your maximization model? Are they negative?

    The best way to figure out why your model is infeasible is to compute one of its IIS (Irreducible Inconsistent Subsystems). You can do this using the model.computeIIS() method of the Gurobi Python API. I looked at the OpenSolver list of APIs and it seems to me that there is no API to find IIS using OpenSolver directly.

    You can either use one of the Gurobi Python APIs directly to figure out why your model is infeasible. Alternatively, you can save your model as an MPS file following our instructions in How do I write an MPS model file from a third-party API? and share it with us using OneDrive, Google Drive, or Dropbox.

    Best regards,

    Maliheh

    0

Please sign in to leave a comment.