I have the following non linear programming to solve:
$$\left\{\begin{matrix} \min & (x-y)^2 +e^z+e^{-z} \\ \text{s.t.} & xz=0 \\ & yz=0 \end{matrix}\right.$$
The book suggests to make one or more change of variables. I couldn't find a change of variables that makes the non linear programming easier to solve.
I would be glad if someone could help me.
I'm not into non-linear programming so I'm not sure what the hint is getting at. That being said, I have a solution:
We can re-write the expression to be minimized as $$f(x,y,z) = (x-y)^2 + 2 \cosh z.$$ Now $\cosh z \ge 1$ for all $z$ and $(x-y)^2 \ge 0$ for all $x,y$ so certainly $f(x,y,z) \ge 2$ for all $x,y,z$. If we can find $x,y,z$ satisfying the constraint and $f(x,y,z) = 2$ then we are done. This is quite simple just by minimizing each of $\cosh z$ and $(x-y)^2$ individually. Taking $z = 0$ and $x=y$, we see that the constraints are met and $f(x,y,z) = 2$. Thus the expression is minimized at $z = 0$ along the ling $x=y$.