A special ordered set of type 2.

Namespace: ILOG.Concert
Assembly: oplall (in oplall.dll)

Syntax

C#
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 Also