meaning of "minrelax" in function "feasRelax"

Answered

Comments

1 comment

  • Silke Horn

    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
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk