Returns the number of cuts of the specified type in use at the end of the previous mixed integer optimization.

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

Syntax

C#
public virtual int GetNcuts(
	int which
)
Visual Basic
Public 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 this type in use.

Remarks

For values of which, see the enumeration Cplex.CutType. ILOG.Concert.Exception If the method fails, an exception of type ILOG.Concert.Exception, or one of its derived classes, is thrown.

See Also