getub


Purpose
Get the upper bound of a variable.
Synopsis
function getub(x:mpvar):real
Argument
A decision variable
Return value
Upper bound of the variable.
Further information
The bound value may be changed directly in the optimizer using setub. Changes to the variable in Mosel are not taken into account by this function unless the problem has been reloaded since (procedure loadprob).
Related topics
getlb, setlb, setub.


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