メインコンテンツへスキップ

How can I model min-max problem

回答済み

コメント

1件のコメント

  • 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

サインインしてコメントを残してください。