Here is my problem.
I guess I can use minimize(max(.......)) this form to optimization. And it’s convex for z and (x,x0,y,y0).
minimize(max(.......))
But how to set z for max and (x,x0,y,y0) for min?
min t
t>=g(…,z);
%do something like this