setub
PurposeSynopsisprocedure setub(x:mpvar,r:real)
Arguments
x A decision variable r Upper bound valueFurther informationThis 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
If you have any comments or suggestions about these pages, please send mail to docs@dashoptimization.com.