I think this model in combination with optimizer+bmibnb simply won't work
% Works, yalmip understands that lower relaxations will be done in elementwise stuff and does not introduce socps for the convex stuff as linprog does not support it
x = sdpvar(2,1);
y = sdpvar(2,1);
ops = sdpsettings('solver','bmibnb','bmibnb.lowersolver','linprog')
optimize([-5>=[x,y] >= -5,x'*x >= 1,(x-y)'*(x-y) <= 1],sum(x),ops)
% Does not work, yalmip misses that solver will be relax the convex qps to elementwise stuff and models socp cones for the convex stuff, which linprog does not support
optimizer([-5>=[x,y] >= -5,x'*x >= 1,(x-y)'*(x-y) <= 1],sum(x),ops,y,x)