Skip to main content

How can I model min-max problem

Answered

Comments

2 comments

  • Official comment
    Simranjit Kaur
    • Gurobi Staff
    This post is more than two 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 try Gurobot, our chatbot interface offering instant, expert-level support.
  • Maliheh Aramon
    • Gurobi Staff

    Hi Shawn, 

    Yes, to model the optimization problem \(\min \max_i x_i\), you can model the \(\max\) constraint using the Gurobi APIs for general constraints. You can also model this problem as below (Gurobi would do exactly the same under the hood if you use general constraint APIs).

    \[\begin{align} \min z  & & \notag \\ \mbox{s.t.}~~ & z \geq x_i, ~~ \forall i & \notag \end{align}\]

    Best regards,

    Maliheh

    0

Post is closed for comments.