Shadow Price in Linear Programming¶
Definition¶
The shadow price of resource is the rate of change of the optimal objective value when its right-hand side increases slightly. Within the applicable sensitivity range,
For the course's maximization LPs with resource constraints, it equals the coefficient of slack in the final objective row.
Interpretation¶
A shadow price measures the marginal value of a resource: how much the optimal objective value rises per extra unit of it under the current model. Compared with the cost of acquiring the resource, buying more pays off only while the price per unit is below the shadow price.
The figure draws the optimal value as a curve in the resource level . The shadow price is the slope of the line that touches the curve at the current level , written there and on this page. For an LP the curve is made of straight pieces, so within the sensitivity range the line and the curve coincide and the change in the Definition is exact rather than approximate.
The slope of on the right is the shadow price . It is valid only within the range where the basis stays the same.
For maximization LPs with resource constraints, a shadow price is never negative, since more of a resource can only enlarge the feasible region. A resource with unused slack has shadow price : extra units of something already left over cannot help. In the Giapetto model, finishing and carpentry hours both have shadow price , so one extra finishing hour raises the maximum profit from to .
A common slip is to read the shadow price as the value of the whole stock of a resource or to apply it to large changes; it is a rate, valid only over the RHS sensitivity range.
Key Results¶
- The rate is valid only over its allowable right-hand-side range.
- At a degenerate optimum the rates for increasing and for decreasing can differ, so the tableau value is then only a one-sided shadow price.
- An unused resource has zero marginal value in the illustrated resource-allocation setting.
- A binding constraint does not by itself guarantee a positive shadow price.
- The tableau sign interpretation must be adjusted if the model or objective convention changes.
Examples¶
- Malt and barley have shadow prices 1, while hops has shadow price 0 in the beer-and-ale example.
- In the drinks example, an additional unit of sugar is worth 0.5 within the valid range.
Prerequisites¶
Related Concepts¶
Sources¶
- OR Modelling · Week 3
Aliases: dual price, dual value Keywords: shadow price Symbols: delta, mu
Last updated: 20 October 2026 03:02
Shadow Price in Linear ProgrammingRHS Sensitivity RangeSensitivity AnalysisSlack VariableSimplex TableauReduced CostShadow Price in Constrained Optimization