Returns the number of cuts of the specified type that have been added to the node relaxation at the moment the callback is called.

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

Syntax

C#
protected virtual int GetNcuts(
	int which
)
Visual Basic
Protected Overridable Function GetNcuts ( _
	which As Integer _
) As Integer

Parameters

which
Type: System..::..Int32
The type of cut to count.

Return Value

The number of cuts of the specified type added so far.

Remarks

For values of which, see the enumeration Cplex.CutType.

See Also