YALMIP icon indicating copy to clipboard operation
YALMIP copied to clipboard

sos + expcone fails

Open johanlofberg opened this issue 2 years ago • 1 comments

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)))

johanlofberg avatar May 09 '22 15:05 johanlofberg

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

johanlofberg avatar Apr 25 '23 13:04 johanlofberg