A type 2 special ordered set: at most two of its members are nonzero, and they are adjacent in the order of the set.
The members are variables, ordered as given, or [variable, weight] pairs
whose weights give the order. A set is either all variables or all pairs,
and the weights of a type 2 set must be distinct.
A type 2 special ordered set: at most two of its members are nonzero, and they are adjacent in the order of the set.
The members are variables, ordered as given, or
[variable, weight]pairs whose weights give the order. A set is either all variables or all pairs, and the weights of a type 2 set must be distinct.