Good morning,
this is my code
n=2;
variable x(n)
minimize((1/2)*x'*P*x+q'*x+r);
subject to
square(x(1)) >=0; % first constraint
x(1)^2-4*x(2)>=0; %second constraint
where P is a definite positive matrix, so without these constraints it all works. Both first constraint and second constraint give me this kind of problem, although they are convex inequalities.
Can someone help me?
thanks