I'm looking to satisfy a set of constraints using PuLP and I'm not exactly sure how to set up the variables to do so.
For example, how would I set up variables for the following constraint:
((x_1 < x_2) AND (x_1 < x_3)) OR ((x_1 > x_2) AND (x_1 > x_3))
A variable x_1 is either less or greater than both, x_2 and x_3.
Any help would be appreciated. Thanks!