setlb


Purpose
Set the lower bound of a variable.
Synopsis
procedure setlb(x:mpvar,r:real)
Arguments
A decision variable
Lower bound value
Further information
This procedure changes the lower bound of a variable directly in the Optimizer, that is, the bound change is not recorded in the problem definition held in Mosel. Since this change is immediate, there is no need to reload the problem into the Optimizer (indeed, doing so resets the variable to the lower bound value computed by Mosel).
Related topics
getlb, getub, loadprob, setub.


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