YALMIP icon indicating copy to clipboard operation
YALMIP copied to clipboard

Convex graph models should be sufficient in some logic or models

Open johanlofberg opened this issue 8 years ago • 0 comments

This should be able to represent the components of the second set using no binary variables

x = sdpvar(2,1);
plot([-10 <= x <= 10, ([abs(x-1) <= 1, abs(x-1)>=0.1] | (norm(x-2,1) <= 1)),x],x)

johanlofberg avatar Sep 29 '16 07:09 johanlofberg