spacer

SeDuMi
Let SeDuMi seduce you, too!


New SeDuMi bugfix release!

A new bugfix version, SeDuMi 1.1R3 was released on October 12, 2006. For a complete list of changes see the Version history link to the left. Thanks to Johan Löfberg, Michael Grant, Paul Tseng, Pablo Parrilo and Antonis Papachristodoulou for the bug reports.

 
Looking for old SeDuMis

A SeDuMi archive has been set up in the Downloads section. Here you can find several older version. These versions are no longer supported, but they offer a great view on how SeDuMi was developed. If you have an old version not listed here, please contact us at the email address at the bottom of the page.

 
Main Menu
Home
Downloads
Version history
Development plans
Forum
Links
FAQ
Login Form





Lost Password?
No account yet? Register
Visitors: 2182927
Countries
Totals Top 25
 
Home arrow Forum

SeDuMi Forum

homepost replythreaded viewhelp
 
nfezans
User

Fresh Boarder
Posts: 3
graphgraph
 
Segmentation Fault on a basic SOCP (w YALMIP) - 2009/06/22 04:34 Hi,

First of all thank you for the work you do on SeDuMi!

I submit a bug here because I guess that is a bug of SeDuMi and not YALMIP (but I am not 100% sure of it). As a new user of both SeDuMi and YALMIP I was doing some basic tests to see whether I really understand the way I can use them and I found what seems to be a very basic example generating a Segmentation Fault.

I use SeDuMi 1.21 and YALMIP R20090505 with MATLAB R2006a under Windows XP SP3.

The first example:

x = sdpvar(2,1);
F = cone(diag([1,2])*x,1); % cone constraint
solvesdp(F, [-3,2]*x,sdpsettings('solver','sedumi','verbose',1));

works properly. But the following one generate a segmentation fault:

n = 100;
big_x = sdpvar(n,1);
big_F = cone(big_x,1);
solvesdp(big_F,-3*sum(big_x),sdpsettings('solver','sedumi','verbose',1));

It seems to work properly with the same syntax but calling another solver (SDPT3), so I guess my YALMIP syntax is not wrong, is it?

n = 100;
big_x = sdpvar(n,1);
big_F = cone(big_x,1);
solvesdp(big_F,-3*sum(big_x),sdpsettings('solver','sdpt3','verbose',1));

I tried to restart MATLAB and Windows before submitting this bug and each time the same error occurs.
What is also interesting (and maybe will help you to find the bug) is that it seems to occur only for n>50. Is there a test on the size of the problem involving this value (50) and making some "special/other treatments" for bigger problems?

Best regards,

Nicolas
  The administrator has disabled public write access.
lofberg
User

Platinum Boarder
Posts: 1081
graph
 
Re:Segmentation Fault on a basic SOCP (w YALMIP) - 2009/06/22 08:18 Crashes on [Lden, Ld] = dpr1fact(LAD, L.d, symLden, smult, pars.maxuden); in deninfac.m, i.e. issue in latest sedumi. Probably related to the problem reported by shabbychef just below.
  The administrator has disabled public write access.
nfezans
User

Fresh Boarder
Posts: 3
graphgraph
 
Re:Segmentation Fault on a basic SOCP (w YALMIP) - 2009/06/23 02:51 mmm... it seems my MATLAB is too old!
At least some elements of the C++ Math API of the R2006b are needed to recompile SeDuMi 1.21 . That is not really a problem as I will have a R2007b (instead of the R2006a I have now) in a couple of days. As soon as I get it I will try again and tell you more about it.

Best regards
  The administrator has disabled public write access.
nfezans
User

Fresh Boarder
Posts: 3
graphgraph
 
Re:Segmentation Fault on a basic SOCP (w YALMIP) - 2009/06/29 04:07 I have been able to recompile SeDuMi under MATLAB R2007b for Windows and it seems to work properly now.

Thanks for your help!
  The administrator has disabled public write access.
spacer
Polls
What is the most important feature of SeDuMi for you?
 
SeDuMi History

Developed by Jos F. Sturm

  • 1997-1998


  • 1998-2001


  • 2001-2003


Developed by AdvOL

  • 2004-2008
Who's Online
We have 2 guests online

This website is powered by Joomla, an open source content management system. If you have any problems with the site you can contact us by sending an email to (package name)@polik.net, where (package name) is sedumi.
spacer