2
$\begingroup$

I want to solve a problem of the form $\min_x\max_y f(x,y)$ using Gurobi, where $x,y\in [0,1]$.

Is there a simple way to model this in Gurobi? I've seen examples where the domain of $y$ is finite, but in my case it can take any value in $[0,1]$.

$\endgroup$
2
  • 4
    $\begingroup$ What is your function f? $\endgroup$ Commented Mar 10, 2022 at 20:22
  • 1
    $\begingroup$ @MarkL.Stone - it's quite hairy (requires many intermediate variables, and is not easy to analytically simplify). I am able to model it properly, so if I replace $y$ with a constant I get the correct result for $x$. So right now I'm discretizing the $[0,1]$ interval and am building a new model for each such $y$. I just wonder if there's a way to let Gurobi do this automatically. $\endgroup$
    – Eli C
    Commented Mar 11, 2022 at 9:05

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.