XPRBsos


Description
Methods for modifying and accessing Special Ordered Sets and operators for constructing them.
Constructors
XPRBsos()
XPRBsos(xbsos *s)
XPRBsos(xbsos *s, XPRBlinExp& l)
Methods
xbsos *getCRef()  (C++ only)
bool isValid()
int print()
Calls XPRBprintsos
const char *getName()
Calls XPRBgetsosname
int getType()
Calls XPRBgetsostype
int setDir(int type, double val)
Calls XPRBsetsosdir
int setDir(int type)
Calls XPRBsetsosdir
int addElement(XPRBvar& var, double val)
Calls XPRBaddsosel
int addElement(double val, XPRBvar& var)
Calls XPRBaddsosel
int delElement(XPRBvar& var)
Calls XPRBdelsosel
Operators  (C++ only)
Assigning and adding linear expressions to Special Ordered Sets:
set = linexp
set += linexp


If you have any comments or suggestions about these pages, please send mail to docs@dashoptimization.com.