Matlab crashes with solvesdp(F,t)

178 views
Skip to first unread message

Masako Kishida

unread,
Nov 10, 2013, 9:24:28 PM11/10/13
to yal...@googlegroups.com
I'm using Matlab R2013a with Mac with the newest version of yalmip. 

My codes, which previously worked with my old windows machine, does not work with my Mac.
After some trials, I found the problem is ``solvesdp(F,t)'' part of my code.

My Matlab crashes and terminate at the line of ``solvesdp(F,t)'' in the example given below

Anybody knows how I could get around this problem?

Thank you.

Johan Löfberg

unread,
Nov 11, 2013, 1:49:20 AM11/11/13
to yal...@googlegroups.com
You would have to show us what happens. Impossible to say anything.

My guess: It is not solvesdp that crashes, but the solver. Perhaps it has to be recompiled for your new setup.

To see the crash verbatim

solvesdp(F,t,sdpsettings('debug',1))


Masako Kishida

unread,
Nov 11, 2013, 2:51:32 AM11/11/13
to yal...@googlegroups.com
Hi Johan,

Thanks for your quick response.

It is Matlab System Error. I attached the crash report.

I added sdpsettings('debug',1) to my program, but it does not change any, 
maybe because that command line cannot be finished.

When Matlab crashes, the command window shows
------
SeDuMi 1.3 by AdvOL, 2005-2008 and Jos F. Sturm, 1998-2003.
Alg = 2: xz-corrector, theta = 0.250, beta = 0.500
----
and stay busy.
Crash occurs within a second when the program reaches at ``solvesdp''.

matlab_crash_dump.18030-1

Johan Löfberg

unread,
Nov 11, 2013, 2:53:50 AM11/11/13
to yal...@googlegroups.com
So it is not solvesdp which crashes but SeDuMi.

I can only suggest that you recompile SeDuMi for your new system, or see if there is a suitable complied version already https://github.com/sedumi

Masako Kishida

unread,
Nov 11, 2013, 2:54:58 AM11/11/13
to yal...@googlegroups.com
By the way, I also tried with a different computer with a different Matlab version (2012b), the problem stays the same.

Johan Löfberg

unread,
Nov 11, 2013, 2:56:46 AM11/11/13
to yal...@googlegroups.com
and the cause is the same: SeDuMi is not compiled for the setup you have.

Masako Kishida

unread,
Nov 11, 2013, 3:04:46 AM11/11/13
to yal...@googlegroups.com
Ah, SeDuMi... Thank you for the link. 
Actually, I tried to re-install SeDuMi as well as YALMIP today,  
but the links I found for SeDuMi did not work and could not re-install. 
I replaced SeDuMi with your link, and now it works all fine.
Thank you very much!
Reply all
Reply to author
Forward
0 new messages