Declaring SOS members

Describes routines and methods for declaring a special ordered set.

CPLEX offers you several ways to declare an SOS in a problem:

Members of an SOS should be given unique weights that in turn define the order of the variables in the set. (These unique weights are also called reference row values.) Each of those ways of declaring SOS members allows you to specify weights.

The SOS example, Example: SOS Type 1 for sizing a warehouse, used the coefficients of the warehouse capacity constraint to assign weights.