ILOG CPLEX .NET Reference Manual

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

Computes and returns sensitivity analysis for righthand side (RHS) values of the constraints corresponding to the rows of an LP matrix.

public virtual void GetRHSSA(
   double[] lower,
   double[] upper,
   ILPMatrix matrix
);

Parameters

lower
lower[i] will contain the lowest value to which the lower bound of the constraint corresponding to row i of matrix 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 a length equal to the number of rows in matrix.
upper
upper[i] will contain the highest value to which the lower bound of the constraint corresponding to row i of matrix can be set without affecting the optimality of the basis. If this information is not required, null may be passed. a length equal to the number of rows in matrix.
matrix
The matrix for the rows of 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 using getRangeSA, since both bounds are moved independently.

See Also

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