Returns the number of lazy constraints that have been added to the invoking Cplex object with the methods addLazyConstraint and addLazyConstraints.

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

Syntax

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

Return Value

The number of lazy constraints in the active model.

See Also