Delete an XPRBsos from the current problem.
Namespace: BCLAssembly: xprbdn (in xprbdn.dll) Version: 47.01.01+0ba4e76731516b80760698bbaa939494dae84e49
Syntaxpublic void delSos(
XPRBsos sos
)
Public Sub delSos (
sos As XPRBsos
)
Parameters
- sos XPRBsos
- The XPRBsos Special Ordered Set to remove from the problem.
Return Value
0 on success, 1 otherwise.
ExampleXPRBprob 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