Returns the number of SOSs of both types, 1 and 2, in the active model.

Namespace: ILOG.CPLEX
Assembly: ILOG.CPLEX (in ILOG.CPLEX.dll) Version: 22.1.1.0

Syntax

C#
public virtual int GetNSOSs()
Visual Basic
Public Overridable Function GetNSOSs As Integer

Return Value

The number of SOSs in the active model.

See Also