Initializing help system before first use

newSos Method

Overload List
  Name Description
Public methodCode example newSos
Create a default XPRBsos Special Ordered Set (of type 1) in the current problem.
Public methodCode example newSos(Int32)
Create a default named XPRBsos Special Ordered Set in the current problem.
Public methodCode example newSos(Int32, XPRBexpr)
Create a default named XPRBsos Special Ordered Set in the current problem. For the expression which is given as a parameter, the variables in the expression are added to the SOS and the coefficient of each variable becomes its weight.
Public methodCode example newSos(String, Int32)
Create an XPRBsos Special Ordered Set in the current problem.
Public methodCode example newSos(String, Int32, XPRBexpr)
Create an XPRBsos Special Ordered Set in the current problem. For the expression which is given as a parameter, the variables in the expression are added to the SOS and the coefficient of each variable becomes its weight.
Top
See Also