Initializing help system before first use

XPRBsetlb

XPRBsetlb


Purpose
Set a lower bound.
Synopsis
int XPRBsetlb(XPRBvar var, double bdl);
Arguments
var 
BCL reference to a variable.
bdl 
The variable's new lower bound.
Return value
0 if function executed successfully, 1 otherwise.
Example
The following code changes the lower bound of x1 to 3.
XPRBprob prob;
XPRBvar x1;
   ...
x1 = XPRBnewvar(prob, XPRB_UI, "abc3", 1, 100);
XPRBsetlb(x1, 3.0);
Further information
This function sets the lower bound on a variable.
Related topics