ILOG CPLEX .NET Reference Manual

IMPModeler.SOS2 Method

Creates an SOS of type 2 with the specified variables and weights.

Overload List

Creates an SOS of type 2 with the specified variables and weights.

ISOS2 SOS2(INumVar[],double[]);

Creates an SOS of type 2 with the num specified variables and weights, starting from the index specified by start.

ISOS2 SOS2(INumVar[],double[],int,int);

Creates an SOS of type 2 with the num specified variables and weights, starting from the index specified by start, and assigns the new SOS its name.

ISOS2 SOS2(INumVar[],double[],int,int,string);

Creates an SOS of type 2 with the specified variables and weights, and assigns the new SOS its name.

ISOS2 SOS2(INumVar[],double[],string);

See Also

IMPModeler Interface | ILOG.Concert Namespace