Scaling the objective by a positive constant changes the result a lot when using solvesos

10 views
Skip to first unread message

Pan Zhao

unread,
Feb 23, 2026, 1:04:12 PM (6 days ago) Feb 23
to YALMIP
Dear Johan,

Hope you are doing well. Recently, I created an SOS program to find the incremental gain of a nonlinear system, which is solved using solvesos. I noticed that scaling the objective by a positive constant changes the result a lot, which does not make sense to me. I attached my code. Can you help take a look?

Thank you. 

Best,
Pan
sos_issue_w_objective_scaling.m

Michal Adamaszek

unread,
Feb 24, 2026, 8:24:46 AM (5 days ago) Feb 24
to YALMIP
Mosek has convergence issues, so it is likely that the solution is inaccurate, just each time in a different way.

Michal

Pan Zhao

unread,
Feb 24, 2026, 9:59:45 AM (5 days ago) Feb 24
to YALMIP
Thank you, Michal. How did you typically mitigate the convergence issues?

Pan

Pan Zhao

unread,
Feb 27, 2026, 10:13:21 AM (2 days ago) Feb 27
to YALMIP
Johan, can you share your insights about this issue? Thank you. 
Reply all
Reply to author
Forward
0 new messages