ILOG CPLEX .NET Reference Manual |
|
IMPModeler.SOS2 Method (INumVar[], Double[], String)
Creates an SOS of type 2 with the specified variables and weights, and assigns the new SOS its name
.
Parameters
-
var
- The variables in the new SOS.
-
val
- The weight values for the variables in the new SOS.
-
name
- The name of the new SOS.
Return Value
The new ISOS2
object.
See Also
IMPModeler Interface | ILOG.Concert Namespace | IMPModeler.SOS2 Overload List