Adds cut as a global user cut to the problem being solved.

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

Syntax

C#
protected virtual IRange Add(
	IRange cut,
	int cutmanagement
)
Visual Basic
Protected Overridable Function Add ( _
	cut As IRange, _
	cutmanagement As Integer _
) As IRange

Parameters

cut
Type: ILOG.Concert..::..IRange
The constraint to be added as a global cut. The constraint must be linear.
cutmanagement
Type: System..::..Int32
An integer indicating how the cut should be managed by CPLEX. Possible values are listed in Cplex.CutManagement.

Return Value

The cut that has been added.

Remarks

This cut must be globally valid. The cut must also not cut off any solution. The cut will not be removed by backtracking. If you designate the cut as purgeable, then CPLEX can remove the cut under certain conditions.

See Also