Release the memory used by an XPRBcut object created for this problem. Does not remove a cut previously added by XPRSprob.addCuts from the problem.
Namespace: BCLAssembly: xprbdn (in xprbdn.dll) Version: 47.01.01+0ba4e76731516b80760698bbaa939494dae84e49
Syntaxpublic int delCut(
XPRBcut cut
)
Public Function delCut (
cut As XPRBcut
) As Integer
Parameters
- cut XPRBcut
- The XPRBcut to release.
Return Value
Int320 on success, 1 otherwise.
ExampleXPRBprob prob = new XPRBprob("NewProb");
XPRBvar var = new XPRBvar("Variable1");
XPRBvar var2 = new XPRBvar("Variable2");
XPRBcut cut;
cut = prob.newCut(var + 2.3*var2 >= 3.4);
...
prob.delCut(cut);
See Also