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: BCLAssembly: xprbdn (in xprbdn.dll) Version: 47.01.01+0ba4e76731516b80760698bbaa939494dae84e49
Syntaxpublic int addCuts(
XPRBcut[] cuts,
int num
)
Public Function addCuts (
cuts As XPRBcut(),
num As Integer
) As Integer
Parameters
- cuts XPRBcut
- The XPRBcut array containing the predefined cuts.
- num Int32
- The number of cuts to be added.
Return Value
Int320 on success, 1 otherwise.
Examplexbelsc.cs in the Advanced Examples folder and xbcutex.cs in the User's Guide Examples folder.
See Also