Groups
Groups
Sign in
Groups
Groups
YALMIP
Conversations
Labels
About
Send feedback
Help
SDP solve iteration count from Mosek
12 views
Skip to first unread message
Gabor Pataki
unread,
Feb 13, 2026, 8:24:18 AM
Feb 13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to YALMIP
Hello,
I would need some help in this: I solve an SDP using Mosek, and I would like to get how many iterations it took.
Now I am using:
ops = sdpsettings(
...
'solver'
,
'mosek'
,
...
'verbose'
, 0,
...
'savesolveroutput'
, 1,
...
% <-- so diagnostics.solveroutput exists
'savesolverinput'
, 1,
...
% <-- optional, useful for debugging
'mosek.MSK_IPAR_INTPNT_MAX_ITERATIONS'
, 100);
diagnostics= optimize(F,trace(C*solverX),ops);
iterations = diagnostics.solveroutput.res.info.intpnt_iter;
and I get an error. (It is also important to set the max iterations to be high).
Thank you
Gabor
Michal Adamaszek
unread,
Feb 13, 2026, 2:41:41 PM
Feb 13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to YALMIP
diagnostics.solveroutput.res.info.MSK_IINF_INTPNT_ITER
In general for every optimizer information item listed in
https://docs.mosek.com/latest/toolbox/api-reference.html
there is a field in
diagnostics.solveroutput.res.info
with that name
Michal
Reply all
Reply to author
Forward
0 new messages