Define $w_{i,j}=x_iy_j+z_i$. I am interested in finding (or proving that there cannot be found) $x_i,y_j,z_i$ such that the $w_{i,j}$ satisfy a given order. For example, find $x_i,y_j,z_i$ such that
$0<w_{1,1}<w_{2,1}<w_{1,2}<w_{3,1}<w_{3,2}<w_{1,3}<w_{2,2}<w_{3,3}<w_{2,3}<1$
To this end I would like to solve the following optimization problem:
Minimize $\max\{0-w_{1,1}, w_{1,1}-w_{2,1},…,w_{3,3}-w_{2,3}, w_{2,3}-1\}$
If the optimal value is strictly less than zero, then I have a solution. Unfortunately each $w_{i,j}$ is nonconvex due to the bilinear $x_i y_j$ term. What is the best way to deal with this nonconvexity? Transformation to convex problem, global search techniques, ways to verify that the a local min is actually global...?
I don't see any way to transform this to a convex problem, but simply throwing the problem at a global solver spits out a negative solution rather easily
An implementation in the MATLAB Toolbox YALMIP (disclaimer, developed by me) would look something like this