Yalmip Error - LMI Not Available

88 views
Skip to first unread message

S

unread,
Dec 20, 2012, 5:05:02 PM12/20/12
to yal...@googlegroups.com
In Matlab, I'm getting an error that I'm not sure about and can't seem to find (from Google searches) any information on.

When I try to run Yalmip's solvesdp:

options = sdpsettings('verbose',2,'warning',1,'showprogress',1,'savesolverinput',1,'savesolveroutput',1,'solver','IPOPT');
sol = solvesdp(constraints,objective,options);

 I get...

Error using lmi/subsref (line 44)
LMI #227 not available.
Error in compileinterfacedata>convertsocp2NONLINEAR (line 1232)
        z = sdpvar(Fsocp(i));
Error in compileinterfacedata (line 699)
                [F,changed] = convertsocp2NONLINEAR(F);
Error in solvesdp (line 241)
[interfacedata,recoverdata,solver,diagnostic,F,Fremoved] =
compileinterfacedata(F,[],logdetStruct,h,options,0,solving_parametric);
Error in RunOptimizer (line 126)
sol = solvesdp(constraints,objective,options); 

I've also tried this with Matlab's fmincon solver, and I get the same error.  Any one know about this?

Thanks!

Johan Löfberg

unread,
Dec 21, 2012, 2:13:50 AM12/21/12
to yal...@googlegroups.com
I am pretty sure you are running an old version of YALMIP. This was supposed to have been fixed in R20121126.

S

unread,
Dec 21, 2012, 1:39:18 PM12/21/12
to yal...@googlegroups.com
I am using Yalmip Release 20121126.  I've tried this with Matlab 2012a (32-bit) and Matlab 2012b (32-bit).  Please let me know what other information I can provide to help debug this.

S

unread,
Dec 21, 2012, 1:40:13 PM12/21/12
to yal...@googlegroups.com
Also I'm using Windows XP.

Johan Löfberg

unread,
Dec 21, 2012, 3:55:16 PM12/21/12
to yal...@googlegroups.com
No, you are running R20120926. Line 1232 in R20121126 looks like this
Fout = [Fout,lambda(0+1) <= r(1), sum(r)==1];

your error message says
Error in compileinterfacedata>convertsocp2NONLINEAR (line 1232)
       z = sdpvar(Fsocp(i));

which exactly what line 1232 looks like in R20120926.

S

unread,
Dec 21, 2012, 5:08:58 PM12/21/12
to yal...@googlegroups.com
Thanks for the follow up.  I checked \yalmip\extras\compileinterfacedata.m, and line 1232 is what it should be for R20121126.  I no longer get that error, and I'm pretty sure I didn't change anything, so I really don't know what was up with that.  I am running in to another error though, and I'll post that in a new thread if I can't figure it out.

Thanks again for your help!

Reply all
Reply to author
Forward
0 new messages