Yannick Zakowski
unread,Mar 15, 2013, 8:37:49 AM3/15/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to yal...@googlegroups.com
Hello,
Here's a bit of general context : I am a (french) computer scientist (student actually) interested in invariant inference. I happen to be confronted with quite wild constraints : non-linear polynomials, with bi-linear parametrization. Auxiliary, I'm trying to use the objective function in order to "guide" the solver toward a meaningful invariant.
Now here's a practical example I'm experiencing :
clear all; yalmip ('clear');
sdpvar x y a b c l l1 l2 l3 l4;
I = a*x^2+b*y^2+c;
F = [sos(I - l1*x -l2*(1-x) -l3*y -l4*(1-y)), l1>=0, l2>=0, l3>=0, l4>=0]; % Precondition
F = F + [sos(a*(3/4*x-1/8*y)^2+b*(3/4*x-1/8*y)+c-l*I), l>=0] % Consecution
sol = solvesos(F, a^2+b^2+c^2, sdpsettings('solver','penbmi'), [a;b;c;l;l1;l2;l3;l4])
disp(sprintf('%+g*x^2 %+g*y^2 %+g >= 0', double(a)*10000, double(b)*10000, double(c)*10000));
It's an exampe among others, just to illustrate precisely the kind of stuff I'm doing.
And here comes my problem: from one example to another, or simply by tweaking my objective function, I regularly (actually, in most cases) two different errors:
"PENBMI Error:
Stopped by linesearch failure. Result may be wrong.
PENBMI failed."
"PENBMI Error:
Stopped by iterations counter. Result may be wrong.
PENBMI failed."
I digged a bit both through the basics of optimization theory and the specific papers dedicated to penbmi, but am still far from an expert. I therefore don't manage to understand either how to avoid these errors, or how to configure penbmi in order to dodge these. I might even be doing a more fundamental error through the way I formulate my problem that I would not be aware of?
I'm sorry for how vague can my question be, but any indication or pointers toward relevant documentation would be of great help.
Thanks a lot,
Best,
Yannick.