ILOG CPLEX .NET Reference Manual

Cplex.GetRHSSA Method (Double[], Double[], IRange[], Int32, Int32)

Computes and returns sensitivity analysis for the righthand side (RHS) values of num constraints, starting from the index specified by start.

public virtual void GetRHSSA(
   double[] lower,
   double[] upper,
   IRange[] rng,
   int start,
   int num
);

Parameters

lower
lower[i] will contain the lowest value to which the lower bound of rng[i+start] can be set without affecting the optimality of the basis. If this information is not required, null may be passed. Otherwise, the array must have at least num.
upper
upper[i] will contain the highest value to which the lower bound of rng[i+start] can be set without affecting the optimality of the basis. If this information is not required, null may be passed. Otherwise, the array must have at least length num.
rng
An array containing the constraints for which the sensitivity analysis is requested.
start
The first element in rng for which the sensitivity analysis is requested
num
The number of consecutive elements in rng for which the sensitivity analysis is requested.

Remarks

The returned bounds represent the interval in which both bounds can simultaneously be moved without affecting the solution. This is useful for equality constraints, that is, ranged constraints where the upper and lower bound match. In this case the returned bounds indicate within which interval the value b for a constraint in the form a'x = b can be moved. It is not possible to obtain this information from getRangeSA, since both bounds are moved independently.

See Also

Cplex Class | ILOG.CPLEX Namespace | Cplex.GetRHSSA Overload List