Initializing help system before first use

setlb

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 is modified in the problem that is currently loaded in the Optimizer but does not get recorded in the problem definition held in Mosel. If the problem has not yet been loaded into the Optimizer then the new bound value is ignored. Reloading the problem into the Optimizer after a call to setlb will reset the lower bound for the variable to the value computed by Mosel, that is, the bound value resulting from setlb is overwritten.
Related topics
Module