ILOG CPLEX .NET Reference Manual

IMPModeler.AddSOS1 Method

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

Overload List

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

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

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

ISOS1 AddSOS1(INumVar[],double[],int,int);

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

ISOS1 AddSOS1(INumVar[],double[],int,int,string);

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

ISOS1 AddSOS1(INumVar[],double[],string);

See Also

IMPModeler Interface | ILOG.Concert Namespace