Click or drag to resize

XPRBprobnewSos(String, Int32) Method

Create an XPRBsos Special Ordered Set in the current problem.

Namespace: BCL
Assembly: xprbdn (in xprbdn.dll) Version: 47.01.01+0ba4e76731516b80760698bbaa939494dae84e49
Syntax
public XPRBsos newSos(
	string name,
	int type
)

Parameters

name  String
The string name of the new XPRBsos.
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

XPRBsos
The new XPRBsos object.
Example
C#
XPRBprob prob = new XPRBprob("NewProb");
XPRBsos sos;
...
sos = prob.newSos("Sos1", BCLconstant.XPRB_S2);
See Also