In my constraint, z<=x/y. x,y,z are variables. How do I express this expression in the syntax accepted by CVX?
How to express z<=x/y?
I know what you mean. In the code, I’ll write it as
[x z;y 1]==semidefinite(2);
But now my program is infeasible, and I’m looking for constraints one by one, so considering whether this constraint is the problem, I wonder if there are other solutions to express this formula.
This will force [x z;y 1] to be symmetric, if I didn’t get it wrong from The Basics — CVX Users' Guide. So you will have z=y, which might not be what you wanted.