For example. The problem I'm working on is
\begin{align} U(x,y)=(\max\{x,y\}+2)^3+5 \end{align}
I had a problem where min was in the objective function before, so I would set $x$ and $y$ equal. I'm sure that's not the same in this situation but not sure how to approach it.