Skip to main content

Complexity of using the max constraint

Answered

Comments

2 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?.
  • Matthias Miltenberger
    • Gurobi Staff

    Hi Rohan,

    I would prefer the second option. I don't see why \(X_{\text{first}}\) would not be "exact". Just use integer variables and then minimize/maximize them via the objective function, so they will have the correct value.

    To be sure about the performance, I would try both approaches and see which one can be handled better by Gurobi.

    Cheers,
    Matthias

    0

Post is closed for comments.