ILOG CPLEX .NET Reference Manual

IMPModeler.AddSOS1 Method (INumVar[], Double[])

Creates an SOS of type 1 with the specified variables and weights and adds it to the invoking model.

ISOS1 AddSOS1(
   INumVar[] var,
   double[] val
);

Parameters

var
The variables in the new SOS.
val
The weight values for the variables in the new SOS.

Return Value

The new ISOS1 object.

See Also

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