Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
The LP Procedure

Sensitivity Analysis

Sensitivity analysis is a technique for examining the effects of changes in model parameters on the optimal solution. The analysis enables you to examine the size of a perturbation to the right-hand-side or objective vector by an arbitrary change vector for which the basis of the current optimal solution remains optimal.

Note: When sensitivity analysis is performed on integer constrained problems, the integer variables are fixed at the value they obtained in the integer optimal solution. Therefore, care must be used when interpreting the results of such analyses. Care must also be taken when preprocessing is enabled, because preprocessing usually alters the original formulation.

Right-Hand-Side Sensitivity Analysis

Consider the problem (lpr(\phi))

x^{opt}(\phi)= {\rm min}c^Tx
subject to
Ax \geq, =, \leq b+\phi r
\ell \leq x \leq u
where r is a right-hand-side change vector.

Let x^{opt}(\phi) denote an optimal basic feasible solution to (lpr(\phi)).PROC LP can be used to examine the effects of changes in \phi on the solution xopt(0) of problem (lpr(0)) . For the basic solution xopt(0), let B be the matrix composed of the basic columns of A and let N be the matrix composed of the nonbasic columns of A. For the basis matrix B, the basic components of xopt(0), written as xopt(0)B, can be expressed as

xopt(0)B = B-1 (b-Nxopt(0)N)
Furthermore, because xopt(0) is feasible
\ell_B\leq B^{-1}(b-Nx^{opt}(0)_N)\leq u_B
where lB is a column vector of the lower bounds on the structural basic variables, and uB is a column vector of the upper bounds on the structural basic variables. For each right-hand-side change vector r identified in the RHSSEN statement, PROC LP finds an interval [\phi_{min} ,\phi _{max}] such that
\ell_B\leq B^{-1}(b+\phi r-Nx^{opt}(0)_N)\leq u_B
for \phi \in [\phi_{min} ,\phi _{max}] . Furthermore, because changes in the right-hand side do not affect the reduced costs, for \phi \in [\phi_{min} ,\phi _{max}]
x^{opt}(\phi)^T=((B^{-1}(b+\phi r-Nx^{opt}(0)_N))^T,x^{opt}(0)_N^T)
is optimal in (lpr(\phi)).

For \phi =\phi_{min} and \phi =\phi_{max},PROC LP reports the following:

The leaving variable identifies the basic variable i that first reaches either the lower bound li or the upper bound ui as \phi reaches \phi_{min} or \phi_{max}.This is the basic variable that would leave the basis to maintain primal feasibility. Multiple RHSSEN variables can appear in a problem data set.

Price Sensitivity Analysis

Consider the problem (lpp(\phi))
x^{opt}(\phi)= {\rm min}(c+\phi r)^Tx
subject to
A x \geq, =, \leq b
\ell \leq x \leq u

where r is a price change vector.

Let x^{opt}(\phi) denote an optimal basic feasible solution to (lpp(\phi)).PROC LP can be used to examine the effects of changes in \phi on the solution xopt(0) of problem (lpp (0 )). For the basic solution xopt(0), let B be the matrix composed of the basic columns of A and let N be the matrix composed of the nonbasic columns of A. For basis matrix B, the reduced cost associated with the i th variable can be written as

 rc_i(\phi)=((c+\phi r)^T_N-
(c+\phi r)^T_BB^{-1}N)_i
where (c +\phi r )_N and (c +\phi r)_B is a partition of the vector of price coefficients into nonbasic and basic components. Because xopt(0) is optimal in (lpp (0 )), the reduced costs satisfy
rc_i(\phi)\geq0
if the nonbasic variable in column i is at its lower bound and
rc_i(\phi)\leq0
if the nonbasic variable in column i is at its upper bound. For each price coefficient change vector r identified with the keyword PRICESEN in the TYPE variable, PROC LP finds an interval [\phi_{min} ,\phi _{max}] such that for \phi \in [\phi_{min} ,\phi _{max}]
rc_i(\phi)\geq0
if the nonbasic variable in column i is at its lower bound and
rc_i(\phi)\leq0
if the nonbasic variable in column i is at its upper bound. Because changes in the price coefficients do not affect feasibility, for \phi \in [\phi_{min} ,\phi _{max}],x^{opt}(\phi) is optimal in (lpp(\phi)).For \phi =\phi_{min} and \phi =\phi_{max},PROC LP reports the following: The entering variable identifies the variable whose reduced cost first goes to zero as \phi reaches \phi_{min} or \phi_{max}.This is the nonbasic variable that would enter the basis to maintain optimality (dual feasibility). Multiple PRICESEN variables may appear in a problem data set.

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.