







The SOS type
Namespace: Optimization
Assembly: Optimization.Framework (in Optimization.Framework.dll) Version: 0.3.1036.0
Syntax
C# |
---|
public enum SOSType |
Visual Basic |
---|
Public Enumeration SOSType |
Visual C++ |
---|
public enum class SOSType |
Members
Member name | Value | Description | |
---|---|---|---|
SOS1 | 0 | A SOS1 is a set of variables in which at most one variable may be positive at an integer feasible solution. | |
SOS2 | 1 | A SOS2 is a set of variables in which at most two variables may be positive at an integer feasible solution, and moreover, any positive variables must be adjacent in he ordering specified by the ordering values. | |
SOS3 | 2 | The set of variables appearing in an equation with only binary variables and +1 or -1 coefficients, and a right-hand-side value of 1 - (number of -1 coefficients). This is a special case of SOS1. |