getrange


Purpose
Get a range value for a variable or constraint.
Synopsis
function getrange(w:integer, x:mpvar):real
function getrange(w:integer, c:linctr):real
Arguments
Which information to return. Possible values:
XPRS_UPACT 
Upper activity
XPRS_LOACT 
Lower activity
XPRS_UUP 
Upper unit cost
XPRS_UDN 
Lower unit cost
XPRS_UCOST 
Upper cost (variable only)
XPRS_LCOST 
Lower cost (variable only)
A variable of the problem
A constraint of the problem
Return value
Range information depending on the value of w.
Further information
This function returns ranging information to be used for sensitivity analysis after the problem has been optimized. On MIP problems, global entities have to be ``fixed'' using the procedure fixglobal before this function can be called.
Related topics
fixglobal


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