sdpvar x w F = [x+w <= 1, ismember(x,[0.2 0.4])]; W = [-0.5 <= w <= 0.5,uncertain(w)]; objective = -x; sol = solvesdp(F + W,objective)