Returns the number of indicator constraints in the active model.

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

Syntax

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

Return Value

The number of indicator constraints in the active model.

See Also