You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"I'm sorry, I'm so foolish; I didn't install the SDPT3 solver correctly. My current question is whether it will automatically switch to a solvable solver because I haven't installed the MOSEK solver, yet I can miraculously run it and display the correct images now."
Thanks for your comment. I am not aware of Yalmip switching automatically to the available solver, but it is possible it does. If you have any doubt, you can simply define the solver used by adding, just after the initialization: pen.solver='sdpt3';
pen = SOStab([0;1;0],[1;1;1],[1,2]);
pen.dynamics = [-2pen.x(1)pen.x(2)^2;2pen.x(1)^2pen.x(2);0];
pen.SoS_out(6,40,0.5);
vopen = value(pen.vcoef_outer);
wopen = value(pen.wcoef_outer);
pen.plot_roa([1,2,1],3,'outer',1,"\theta","\omega");
pen.SoS_in(6,40,0.5);
vipen = value(pen.vcoef_inner);
wipen = value(pen.wcoef_inner);
wipen(1) = wipen(1)-1;
if wipen'*wipen > 0.00001
pen.plot_roa([1,2],3,'inner',0,"\theta","\omega");
else
disp("w not relevant")
end
in this example
i can not get the right Outer ROA and the inter ROA
maybe i think wory
the result of this example is this?
The text was updated successfully, but these errors were encountered: