Initializing help system before first use

newCut Method (Int32)

Create a new cut. This method has to be called before XPRBcut.addTerm(XPRBvar, double) or XPRBcut.setTerm(XPRBvar, double) are used to add terms to the cut. Cuts are inequalities or equations. If no type is specified the type BCLconstant.XPRB.E is assumed, it can be changed with method XPRBcut.setType(int).

Namespace:   BCL
Assembly:  xprbdn (in xprbdn.dll) Version: 4.8.14.0
Syntax
C#
VB
public XPRBcut newCut(
	int id
)

Parameters

id
Type:  SystemInt32
The identification number for cut classification.

Return Value

Type:  XPRBcut
The new XPRBcut object.
Examples
XPRBprob prob = new XPRBprob("NewProb"); XPRBcut cut; ... cut = prob.newCut(1);
See Also