Skip to main content

get solution mipsol

Answered

Comments

4 comments

  • Official comment
    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?.
  • Eli Towle
    • Gurobi Staff

    Hi Jose,

    Is the model is infeasible? You can try to compute an IIS to determine if this is the case. If the model is infeasible, there are no solutions from which to generate lazy constraints. Additionally, lazy constraints can only reduce the feasible region (which already contains no feasible solutions).

    Thanks,

    Eli

    1
  • Thomas Opfer
    • Gurobi-versary
    • Thought Leader

    If you know bounds for every variable that cannot be exceeded, you could add them to model to resolve the ambiguity between infeasibility and unboundedness. If every variable is bounded, then the model cannot be unbounded. Thus, Gurobi will either find a feasible solution or prove infeasibility.

    1
  • Jose Vindel
    • Gurobi-versary
    • Thought Leader
    • Investigator

    Thank you both for your answers!

    0

Post is closed for comments.