I'm working on a OR project. I have a code which fixes my problem which uses the constraint
((a =< b) or (c =< d) or (e =< f)) = True
I need to rewrite this condition as mathematical expression(s)
(a-b) * (c-d) * (e-f) =< 0
Which seems to work for most cases but fails when two of them are positive and one of them are negative.
Any help is greatly appreciated.