Description
Methods for modifying and accessing
constraints and operators for constructing them.
Constructors
XPRBctr()
XPRBctr(xbctr *c)
XPRBctr(xbctr *c, XPRBlinRel& ctr)
Methods
xbctr *getCRef() (C++ only)
bool isValid()
int print()
int setType(int type)
int setRange(double low, double up)
int setModCut(bool mstat)
bool isModCut()
const char *getName()
double getRangeL()
double getRangeU()
int getRange(double *lw, double *up) (C++ only)
double getRHS()
int getRowNum()
int getType()
double getSlack()
double getAct()
double getDual()
double getRNG(int rngtype)
int setTerm(XPRBvar& var, double val)
int setTerm(double val, XPRBvar& var)
int setTerm(double val)
int addTerm(XPRBvar& var, double val)
int addTerm(double val, XPRBvar& var)
int addTerm(XPRBvar& var)
int addTerm(double val)
int delTerm(XPRBvar& var)
void add(XPRBlinExp& l)
Operators (C++ only)
Assigning constraints and adding linear expressions:
If you have any comments or suggestions about these pages,
please send mail to docs@dashoptimization.com.