Click or drag to resize

XPRBprobnewSos Method

Overload List
 NameDescription
Public methodCode examplenewSos Create a default XPRBsos Special Ordered Set (of type 1) in the current problem.
Public methodCode examplenewSos(Int32) Create a default named XPRBsos Special Ordered Set in the current problem.
Public methodCode examplenewSos(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 examplenewSos(String, Int32) Create an XPRBsos Special Ordered Set in the current problem.
Public methodCode examplenewSos(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