ILOG CPLEX .NET Reference Manual

ISOS2 Interface

A special ordered set of type 2.

For a list of all members of this type, see ISOS2 Members.

public interface ISOS2 : IConstraint, IIntExpr, INumExpr, ICopyable, IAddable

Remarks

A special ordered set of type 2 (SOS2) specifies an ordered set of variables. Only two of these variables may take a nonzero value in a feasible solution, and the two variables must be adjacent with respect to the order of the variables. The order of the variables in the set is determined by weighted values assigned to each variable in the set.

ISOS2 objects are created with the method IMPModeler.SOS2().

See IMPModeler.AddSOS2.

Requirements

Namespace: ILOG.Concert

Assembly: ILOG.CPLEX (in ILOG.CPLEX.dll)

See Also

ISOS2 Members | ILOG.Concert Namespace