Hello,
Merry Christmas and happy new year to everyone…
Please, suppose I have the following optimization problem, with x being a matrix variable and y being a scaller variable,
maximize f(x,y)
x(2,2), y
subject to
1/norm(xx(2,:)-xx(1,:))+norm(xx(2,:)-xx(1,:))^3<=y;
for which I used the following CVX code,
variables x(2,2) y
maximize f(x)
subject to
inv_pos(norm(xx(2,:)-xx(1,:)))+pow_pos(norm(xx(2,:)-xx(1,:)),3)<=y;
However, CVX is not accepting the part inv_pos(norm(xx(2,:)-xx(1,:))) of the above constraint saying “Disciplined convex programming error: Illegal operation: pow_p( {convex}, {-1} )”. Please, is there a way to represent this part to make it acceptable by CVX?
Many thanks
Ali