Originally posted by: Liebe
Hi everyone,
I want to use sos2 to solve my problem. But I have a question about sos2.
The definition is:
SOS Type 2 is a set of variables where at most two variables may be nonzero. If two variables are nonzero, they must be adjacent in the set.
For example:
I have 4 variables: x1, x2, x3 and x4. There are 2 nonzero variables.
The solution may be: x1 und x2 or x2 und x3 or x3 und x4.
Because of adjacent, the solution cannot be x1 und x3 or x2 und x4.
Is that right?
Thanks!
#CPLEXOptimizers#DecisionOptimization