SOS postprocessing slower with newer versions of Yalmip/Matlab

5 views
Skip to first unread message

Morten Hovd

unread,
Oct 29, 2025, 5:55:04 AMOct 29
to YALMIP
I am running the command
[sol,msol,Bsol,residual]=solvesos(Constr,[],sdpsettings('sos.model',1,'sos.postprocess',1,'
sos.numblkdg',1e-12,'solver','mosek', ...

On my desktop I have Matlab R2025b with Yalmip R20250626

While solving the problem with Mosek is fast, Yalmip spend very long time with the
postprocessing. This is strange, since when I run the same code on my laptop with
Matlab R2021A and an older version of Yalmip (apparently R20230622) the postprocessing
runs much faster.

My desktop is significantly more powerful than the laptop, Mosek runs almost three times
faster on the desktop.

Is there any explanation for the slow postprocessing - and is there anything that can be
done about it?

Johan Löfberg

unread,
Oct 29, 2025, 6:56:56 AMOct 29
to YALMIP
You would have to supply a minimal reproducible example

Johan Löfberg

unread,
Oct 29, 2025, 6:58:28 AMOct 29
to YALMIP
or profile it and see if there is any specific part which stands out as excessively slow
Reply all
Reply to author
Forward
0 new messages