Initializing help system before first use

addCuts Method

Add an array of cuts to the Optimizer problem. This method adds an array of previously defined cuts to the problem currently held in Xpress-Optimizer. Typically, this method will be called from the cut manager callback of the Optimizer. Cuts are not stored in the BCL problem. See the BCL examples for demonstrations.

Namespace:   BCL
Assembly:  xprbdn (in xprbdn.dll) Version: 37.1.1.0
Syntax
C#
VB
public int addCuts(
	XPRBcut[] cuts,
	int num
)

Parameters

cuts
Type:  BCLXPRBcut
The XPRBcut array containing the predefined cuts.
num
Type:  SystemInt32
The number of cuts to be added.

Return Value

Type:  Int32
0 on success, 1 otherwise.
Examples
xbelsc.cs in the Advanced Examples folder and xbcutex.cs in the User's Guide Examples folder.
See Also