YALMIP
YALMIP copied to clipboard
sos + expcone fails
P = sdpvar(2);
x = sdpvar(1,1);
optimize([sos(x'*P*x), P(:)>=0, exp(P(1,1)) <= 3],[],sdpsettings('sos.model','image'))
value(exp(P(1,1)))
Appears to follow from thr parametric model being expanded inside compilesos, and then when model is setup in compilesos, it is declared as already which means that operators are lost, i.e. any nonlinear evaluation based thing