Click or drag to resize

XPRBprobdelSos Method

Delete an XPRBsos from the current problem.

Namespace: BCL
Assembly: xprbdn (in xprbdn.dll) Version: 47.01.01+0ba4e76731516b80760698bbaa939494dae84e49
Syntax
public void delSos(
	XPRBsos sos
)

Parameters

sos  XPRBsos
The XPRBsos Special Ordered Set to remove from the problem.

Return Value

0 on success, 1 otherwise.
Example
C#
XPRBprob prob = new XPRBprob("NewProb");
XPRBvar var = new XPRBvar("Variable");
XPRBvar var2 = new XPRBvar("Variable2");
XPRBsos sos;
sos = prob.newSos(BCLconstant.XPRB_S2, var + 3.4*var2);
...
prob.delSos(sos);
See Also