ILOG CPLEX .NET Reference Manual

IMPModeler.AddSOS2 Method

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

Overload List

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

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

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

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

Creates an SOS of type 2 with num of the specified variables and weights, starting from the index specified by start, and adds the new SOS along with its name to the invoking model.

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

Creates an SOS of type 2 with the specified variables, weights, and name, and adds the new SOS to the invoking model.

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

See Also

IMPModeler Interface | ILOG.Concert Namespace