Adds user cuts.

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

Syntax

C#
public abstract void AddUserCuts(
	IRange[] cuts,
	int[] cutmanagement,
	bool[] local
)
Visual Basic
Public MustOverride Sub AddUserCuts ( _
	cuts As IRange(), _
	cutmanagement As Integer(), _
	local As Boolean() _
)

Parameters

cuts
Type: array<ILOG.Concert..::..IRange>[]()[][]
The cuts to be added.
cutmanagement
Type: array<System..::..Int32>[]()[][]
An array with values from Cplex.CutManagement, one for each cut.
local
Type: array<System..::..Boolean>[]()[][]
An array with Boolean flags (one for each cut) that indicate whether the cut is only locally valid.

Remarks

Throws ILOG.Concert.Exception if an error occurs. Throws NullPointerException if any of the arrays or any of its elements is null.

See Also