Description
Methods for modifying and accessing variables.
Constructors
XPRBvar()
XPRBvar(xbvar *v)
Methods
xbvar *getCRef() (C++ only)
bool isValid()
int print()
int setType(int type)
int setUB(double val)
int setLB(double val)
int setLim(double val)
int fix(double val)
int setDir(int type, double val)
int setDir(int type)
const char *getName()
int getColNum()
int getType()
double getLB()
double getUB()
int getBounds(double *lb, double *ub) (C++ only)
int getLim(double *val) (C++ only)
double getLim() (Java only)
double getSol()
double getRCost()
double getRNG(int rngtype)
If you have any comments or suggestions about these pages,
please send mail to docs@dashoptimization.com.