Reading a Solver Sensitivity Report
Interpret the Variable Cells and Constraints sections of a linear-programming solver's sensitivity report — reduced costs, shadow prices, and allowable ranges — and apply the 100% rule to handle simultaneous parameter changes.
Tutorial
The Sensitivity Report and Reduced Costs
When you solve a linear program with a software solver (Excel Solver, LINDO, Gurobi, etc.), you can request a sensitivity report that summarizes how the optimal solution would respond to small changes in the model's coefficients.
The report has two parts.
The Variable Cells section has one row per decision variable, with columns
The Constraints section has one row per functional constraint, with columns
We begin with the Variable Cells.
The reduced cost of a decision variable is the rate of change in the optimal objective per unit increase of that variable away from its current optimal value (with the remaining basic variables adjusting to preserve feasibility).
- A basic variable (one taking a positive value in the optimum) has reduced cost .
- A nonbasic variable sits at its lower bound — typically — with reduced cost for a maximization and for a minimization.
Forcing a nonbasic variable from up to some level (along the local parametric direction) changes the optimal objective by
For example, suppose a max LP with returns the row
Forcing from up to changes the objective by , giving a new objective of . Equivalently, 's coefficient would have to rise by more than — above — before might enter the optimal basis.