Abou using multiple <= in one Constraints

14 views
Skip to first unread message

cheng Zhou

unread,
Sep 10, 2021, 11:39:22 AM9/10/21
to YALMIP
Dear Dr Johan Löfberg
sdpvar x y z p
Constraints=[Constraints,0<=x<=y<=z<=p<=1];
And the another Constraint is
Constraints=[Constraints,0<=x];
Constraints=[Constraints,x<=z];
Constraints=[Constraints,z<=p];
Constraints=[Constraints,p<=1];
Which one is better? the first and the second?
I am wondering whether you can help with this issue?

Thank you!

Johan Löfberg

unread,
Sep 10, 2021, 11:47:38 AM9/10/21
to YALMIP
same thing
Reply all
Reply to author
Forward
0 new messages