XPRBprobnewCut(XPRBrelation, Int32) Method |
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: BCLAssembly: xprbdn (in xprbdn.dll) Version: 47.01.01+0ba4e76731516b80760698bbaa939494dae84e49
Syntaxpublic XPRBcut newCut(
XPRBrelation ac,
int id
)
Public Function newCut (
ac As XPRBrelation,
id As Integer
) As XPRBcut
Parameters
- ac XPRBrelation
- The XPRBrelation relation.
- id Int32
- The identification number for cut classification.
Return Value
XPRBcutThe new XPRBcut object.
Examplexbelsc.cs in the Advanced Examples folder and xbcutex.cs in the User's Guide Examples folder.
See Also