Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sos + expcone fails #1118

Open
johanlofberg opened this issue May 9, 2022 · 1 comment
Open

sos + expcone fails #1118

johanlofberg opened this issue May 9, 2022 · 1 comment
Assignees

Comments

@johanlofberg
Copy link
Member

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 johanlofberg self-assigned this May 9, 2022
@johanlofberg
Copy link
Member Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant