Compute (if required) ranges and return a column range.
Namespace: BCLAssembly: xprbdn (in xprbdn.dll) Version: 47.01.01+0ba4e76731516b80760698bbaa939494dae84e49
Syntaxpublic double getRNG(
int rngtype
)
Public Function getRNG (
rngtype As Integer
) As Double
Parameters
- rngtype Int32
- The type of ranging information sought. This is one of:
- BCLconstant.XPRB_UPACT – For a variable which is at one of its bounds, the largest value which that bound can take while the current basis remains optimal.
- BCLconstant.XPRB_LOACT – For a variable which is at one of its bounds, the smallest value which that bound can take while the current basis remains optimal.
- BCLconstant.XPRB_UUP – The change in objective value per unit increase in the variable activity, assuming the the current basis remains optimal.
- BCLconstant.XPRB_UDN – The change in objective value per unit decrease in the variable activity, assuming the the current basis remains optimal.
- BCLconstant.XPRB_UCOST – The largest value which this variable's objective coefficient can take while the current basis remains optimal.
- BCLconstant.XPRB_LCOST – The smallest value which this variable's objective coefficient can take while the current basis remains optimal.
Return Value
DoubleThe double range value. Returns 0 on error.
Examplexbworkrng.cs in the Introductory Examples folder.
See Also