How to view what is actually send to the MOSEK solver by YALMIP

9 views
Skip to first unread message

JackJack

unread,
Dec 1, 2025, 8:34:08 PM (5 days ago) Dec 1
to YALMIP
Dear Professor Johan, 

Is there any way to make Yalmip show what it actually sends to the MOSEK solver ?

I have a feeling that what I intend to do versus what is actually being sent to the solver is not the same, but I have no way on how to investigate this issue.

Thank you and best regards.

Michal Adamaszek

unread,
Dec 2, 2025, 1:44:49 PM (4 days ago) Dec 2
to YALMIP
sdpsettings('savedebug',1)
load('mosekdebug')

will give you the prob structure of the Mosek toolbox for Matlab, whereas

sdpsettings('mosektaskfile', 'dump.xxx') 

where xxx is the extension of your chosen file format from https://docs.mosek.com/latest/toolbox/supported-file-formats.html will force Mosek to write the file with the problem it was given.

michal
Reply all
Reply to author
Forward
0 new messages