yalmip / YALMIP

MATLAB toolbox for optimization modeling
https://yalmip.github.io/
Other
463 stars 134 forks source link

R^n->R nonlinear operators fail when included in an optimizer #1403

Closed johanlofberg closed 1 month ago

johanlofberg commented 1 month ago

R^n->R nonlinear operators fail when included in an optimizer.

yalmip('clear') x = sdpvar(2,1); sdpvar a cost = entropy(x); constr = [-1 <= x <= a]; optim = optimizer(constr,cost,[],a,x); sol = optim(5)