newSos Method (String, Int32)
Create an XPRBsos Special Ordered Set in the current problem.
Namespace: BCL
Assembly: xprbdn (in xprbdn.dll) Version: 4.8.14.0

Parameters
- name
-
Type:
SystemString
The string name of the new XPRBsos. - type
-
Type:
SystemInt32
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
Type: XPRBsosThe new XPRBsos object.

XPRBprob prob = new XPRBprob("NewProb"); XPRBsos sos; ... sos = prob.newSos("Sos1", BCLconstant.XPRB_S2);
