ILOG CPLEX .NET Reference Manual

IMPModeler.SOS1 Method (INumVar[], Double[], String)

Creates an SOS of type 1 with the specified variables and weights and names the new SOS.

ISOS1 SOS1(
   INumVar[] var,
   double[] val,
   string 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 ISOS1 object.

See Also

IMPModeler Interface | ILOG.Concert Namespace | IMPModeler.SOS1 Overload List