Initializing help system before first use

getrange

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
Module

© 2001-2019 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.