XPRBdelcut
XPRBdelcut |
Purpose
Synopsis
int XPRBdelcut(XPRBcut cut);
Argument
cut
|
Reference to a cut.
|
Return value
0 if function executed successfully, 1 otherwise.
Example
The example shows how to delete cut
cut1.
XPRBcut cut1; XPRBprob expl1; expl1 = XPRBnewprob("cutexample"); cut1 = XPRBnewcut(expl1, XPRB_E, 1); XPRBdelcut(cut1);
Further information
This function deletes the definition of a cut in BCL, but
not the cut itself if it has already been added to the problem held in Xpress Optimizer (using function
XPRBaddcuts).
Related topics