ILOG CPLEX .NET Reference Manual

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

Computes and returns sensitivity analysis for the righthand side (RHS) values of a range of constraints.

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

Parameters

lower
lower[i] will contain the lowest value to which the lower bound of range rng[i] 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 the same length as rng.
upper
upper[i] will contain the highest value to which the lower bound of range rng[i] 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 the same length as rng.
rng
An array containing the constraints 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