yalmip / YALMIP

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

Confusion in optimzer + bmibnb #1147

Closed johanlofberg closed 2 years ago

johanlofberg commented 2 years ago

Since bmibnb is used, it should relax to select lower

x = sdpvar(2,1);
y = sdpvar(2,1);
ops = sdpsettings('solver','bmibnb','bmibnb.lowersolver','linprog')
optimizer([-5>=[x,y] >= -5,x'*x >= 1,(x-y)'*(x-y) <= 1],sum(x),ops,x,y)