Purpose
Return the current value of the step bound of an mpvar
Synopsis
function getstepbound(v:mpvar | i:integer) :real
Arguments
|
v
|
an mpvar
|
|
i
|
an integer, being the index of an mpvar
|
Return value
The value of the step bound of the mpvar or zero if there is no
step bound
Example
The following code fragment checks the status of variable v(i)
and if the variable has a step bound, the value of the bound is retrieved:
if bittest(getstatus(v(i)),131072) > 0 then
sb := getstepbound(v(i))
Further information
If you have any comments or suggestions about these pages,
please send mail to docs@dashoptimization.com.