Hello,
I have small doubt. The doubt is as follows:
Let P(x,y) be the polynomial whose certificate of positivity is to be determined subjected to bounds.
The bounds are given by
-100<=x<100 and
-100<=y<=100 (say).
I am using Sum of Squares (SOS) toolbox in YALMIP to find positivity of P(x,y).
g = [ 100 - x;
-100 + x;
100 - y;
-100 + y];
sdpvar s1 s2 s3 s4
F = [sos(pxy_12-[s1 s2 s3 s4]*g), s1>=0,s2>=0,s3>=0,s4>=0];
options = sdpsettings('sos.postprocess',1,'solver','sdpt3');
solvesos(F,[],options,[s1;s2;s3;s4]);
s1 = double(s1)
s2 = double(s2)
s3 = double(s3)
s4 = double(s4)
When I solve, i get all s1,s2,s3 and s4 positive. It means I obtain certificate of P(x,y) is positive in the given bounds. I have a doubt. Is using s1,s2,s3,s4 as constants instead of polynomials (as in example) make quite deiffernt ? Sometimes I used to get feasiblity by increasing the order of s1,..,s4.
true one. Is there any alternative way without calculating lower bounds as shown in the previous link?
The range of s1,s2,s3 and s4 are quite different for sedumi and sdpt3. For sdpt3 they are in range of 10^2 and for sedumi they are in range of 10^5.
Is that quite normal for these solvers ?
Thank You Very Much,
Best Regards,
Suman