XPRBprobnewSos(Int32) Method |
Create a default named XPRBsos Special Ordered Set in the current problem.
Namespace: BCLAssembly: xprbdn (in xprbdn.dll) Version: 47.01.01+0ba4e76731516b80760698bbaa939494dae84e49
Syntaxpublic XPRBsos newSos(
int type
)
Public Function newSos (
type As Integer
) As XPRBsos
Parameters
- type Int32
- The type of the new XPRBsos. Possible values are:
- BCLconstant.XPRB_S1 – Special Ordered Set of type 1.
- BCLconstant.XPRB_S2 – Special Ordered Set of type 2.
Return Value
XPRBsosThe new XPRBsos object.
ExampleXPRBprob prob = new XPRBprob("NewProb");
XPRBsos sos;
...
sos = prob.newSos(BCLconstant.XPRB_S2);
See Also