Click or drag to resize

XPRBvargetRNG Method

Compute (if required) ranges and return a column range.

Namespace: BCL
Assembly: xprbdn (in xprbdn.dll) Version: 47.01.01+0ba4e76731516b80760698bbaa939494dae84e49
Syntax
public double getRNG(
	int rngtype
)

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

Double
The double range value. Returns 0 on error.
Example
xbworkrng.cs in the Introductory Examples folder.
See Also