Click or drag to resize

XPRBprobdelCut Method

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: BCL
Assembly: xprbdn (in xprbdn.dll) Version: 47.01.01+0ba4e76731516b80760698bbaa939494dae84e49
Syntax
public int delCut(
	XPRBcut cut
)

Parameters

cut  XPRBcut
The XPRBcut to release.

Return Value

Int32
0 on success, 1 otherwise.
Example
C#
XPRBprob 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