I have to cope with a constraint of the form (1) in the following problem:
$$\begin{align}\max\quad& x+y\\ \text{s.t.}\quad& x + y \leq \max \{x,y\} &(1)\\ &0 \leq x \leq U_x&(2)\\ &0 \leq y \leq U_y&(3)\\ \end{align}$$
In the following link you can find an approach but I don't understand it.
https://www.leandro-coelho.com/how-to-linearize-max-min-and-abs-functions/
I don't understand: what is $S^+$, $S^-$ and how would a penalization look like? (I refer to the text: "The max function can be linearized as follows: ..." in the reference).
I would be grateful if somebody could help.
The linked figure shows the problem in LP Format and the solution.
See also https://optimization.mccormick.northwestern.edu/index.php/Optimization_with_absolute_values
– nathan.j.mcdougall Jan 23 '19 at 22:51