Lexicographic constraint
AnsweredI have coordinates (x,y) of size n. Here x ,y coordinates are decision variables
I am trying strict lexicographical ordering (x1,y1) > lex (x2,y2) i.e. x1>x2 or if x1=x2 then y1>y2.
This is logical constraint if x1>x2 is true then no need to add this constraint x1=x2 then y1>y2
Just guide me how to achieve this mathematical form
0
-
The Knowledge Base article How do I model conditional statements in Gurobi? should be helpful.
0
Please sign in to leave a comment.
Comments
1 comment