Is the new version compatible with MATLAB R2009a? And is there any simple example for test?

121 views
Skip to first unread message

Chao Yu

unread,
Apr 12, 2013, 3:50:10 AM4/12/13
to yal...@googlegroups.com
Hi, I'm a new user of YALMIP, not quite familiar with it now. I install the tool box based on the directions of the YALMIP Wiki website.

I run yalmiptest, it works. Then I test the "Semidefinite Programming" of standard problems, 


but I get a different result as the website shows.

The result on my matlab is "Marginal infeasibility: these LMI constraints may be feasible but are not strictly feasible"
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|   ID|      Constraint|                  Type|   Primal residual|
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|   #1|   Numeric value|     Matrix inequality|           0.23888|
|   #2|   Numeric value|     Matrix inequality|           0.88038|
|   #3|   Numeric value|   Equality constraint|      -2.7756e-016|
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
which the Primal residuals are different from the website. There is no random variables, so I think the values should be the same. 

Could you please indicate the reason? 
Many thanks

Chao Yu

unread,
Apr 12, 2013, 3:53:11 AM4/12/13
to yal...@googlegroups.com
Is it maybe because I install the toolbox wrongly? I also test some other examples, cannot get same results as the YALMIP website shows.

Johan Löfberg

unread,
Apr 12, 2013, 3:59:07 AM4/12/13
to yal...@googlegroups.com
R2009 should be no problems. Are you experiencing problems?

The LMI is solved perfectly fine. You can almost never expect strictly feasible solutions. To obtain that, you typically have to add explicit bounds such as X>=smallnumber*I. An error of 10^-16 is about as you ever ever could have in standard floating point numerics.

The message indicated "Marginal infeasibility: these LMI constraints may be feasible but are not strictly feasible" indicates to me that you are using LMILAB. Don't.

Install a better solver such as SeDuMi or SDPT3, or Mosek 7 for example.

Chao Yu

unread,
Apr 12, 2013, 4:10:22 AM4/12/13
to yal...@googlegroups.com
Thank you very much. I just install a SDPT3 toolbox from their website

I run some examples on your website. The program works fine.

Thanks again :)
Reply all
Reply to author
Forward
0 new messages