Greetings,
I have the following problem and would appreciate your advice:
I wish to find the greatest ball around 0 on which a polynomial P is positive. Of course in 1 dimension this could be done by finding its roots but I'm interested in the general case.
Therefore I wrote this code:
x=sdpvar(1);
P=2*x^2-1./3.*x^4;
%polynomial describing the ball
radius_squared=sdpvar(1);
ball=(x'*x-radius_squared);
%multiplier for Positivstellensatz
L=polynomial(x,6);
constraints=[sos(L),sos(P+L*ball)];
ops=sdpsettings('sos.model',2);
%The tiny quadratic part in the objectice is a "convexifier".
[diag,mons,grams,resids]=solvesos(constraints,-radius_squared+0.01*radius_squared^2,ops,[radius_squared;coefficients(L,x)])
The only bmi solver I have is PENLAB, which returns:
PenLab didn't converge: unconstrained minimization failed
or falsely that radius_squared is about 15^2.
If, on the other hand I choose the fixed value radius_squared = 2^2, CSDP correctly states feasibility.
Lastly, if I choose radius_squared=3^2, CSDP correctly states infeasibility.
How can I get PENLAB to solve my problem?
Best,
Eike