Skip to main content

How can I model min-max problem

Answered

Comments

1 comment

  • 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

Please sign in to leave a comment.