Skip to main content

meaning of "minrelax" in function "feasRelax"

Answered

Comments

2 comments

  • Official comment
    Simranjit Kaur
    • Gurobi Staff 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?.
  • Silke Horn
    • Gurobi Staff Gurobi Staff

    With minrelax=true, Gurobi will first minimize the cost of the violation and then among those solutions with minimal violation return the one that minimizes the original objective. So in your example, it will pick s1 over s2 since the cost of the violation is smaller.

    0

Post is closed for comments.