setub


Purpose
Set the upper bound of a variable.
Synopsis
procedure setub(x:mpvar,r:real)
Arguments
A decision variable
Upper bound value
Further information
This procedure changes the upper 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 upper bound value computed by Mosel).
Related topics
getlb, getub, loadprob, setlb.
Module
mmxprs


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

© Copyright 2001-2013 Fair Isaac Corporation. All rights reserved.