01 / 22

Shadow & Binding
Constraints

Discover how binding constraints shape the optimal solution and how shadow prices reveal the value of each resource in linear programming.

Finite Mathematics

What is a Constraint?

In linear programming, a constraint is an inequality (or equation) that limits the values the decision variables can take. Each constraint represents a scarce resource: labor hours, raw materials, budget, machine time, etc.

When we solve a linear program, the feasible region is the set of all points satisfying every constraint simultaneously. The optimal solution always sits on the boundary of this region.

The Feasible Region Visualized

\( x_1 \)
\( x_2 \)
Optimal
Constraint 1
Constraint 2
Constraint 3
Feasible Region

Binding vs Non-Binding

Binding Constraint
At the optimal solution, all of this resource is used up. The constraint holds as an equality: slack \( = 0 \).
Non-Binding Constraint
At the optimal solution, some of this resource is left over. The constraint is a strict inequality: slack \( \gt 0 \).

Formal Definitions

1
Binding constraint: A constraint \( a_1 x_1 + a_2 x_2 \leq b \) is binding at \( \mathbf{x}^* \) if \( a_1 x_1^* + a_2 x_2^* = b \).
2
Shadow price (dual value): The rate of change of the optimal objective value with respect to a one-unit increase in the right-hand side \( b \) of a constraint.
3
Key relationship: A constraint has a nonzero shadow price only if it is binding. Non-binding constraints have a shadow price of \( 0 \).

What a Shadow Price Tells You

\( x_1 \)
\( x_2 \)
Original b
b + 1
\( Z^* \)
\( Z^* + \Delta Z \)
Shadow Price = \( \frac{\Delta Z}{\Delta b} \)

Shadow Price vs Slack

Shadow Price Slack
What it measures Value of one more unit of resource Unused amount of resource
When binding \( \gt 0 \) (or \( \lt 0 \) for \( \geq \)) \( = 0 \)
When non-binding \( = 0 \) \( \gt 0 \)
Units Objective per resource unit Same as the resource
Interpretation Marginal worth of the resource How much is left over

Why Shadow Prices Matter

Shadow prices answer the most practical question in resource management: "If I could get one more unit of a resource, how much would my profit (or cost) improve?"

Resource Allocation
Prioritize acquiring or freeing up resources whose shadow prices are highest.
Pricing Decisions
If a supplier charges less than the shadow price, buy more of that resource.
Bottleneck ID
Binding constraints are the bottlenecks. Non-binding ones have surplus.

How to Identify Each Type

1
Solve the LP. Find the optimal solution \( \mathbf{x}^* \) using the simplex method or graphing.
2
Compute each slack. For constraint \( i \): \( s_i = b_i - (a_{i1} x_1^* + a_{i2} x_2^*) \).
3
Classify. If \( s_i = 0 \), the constraint is binding. If \( s_i > 0 \), it is non-binding.
4
Read shadow prices from the simplex tableau (they appear in the bottom row under the slack columns) or sensitivity report.

Example 1: Furniture Factory

A factory makes tables (\( x_1 \)) and chairs (\( x_2 \)). Maximize profit: \( Z = 40x_1 + 30x_2 \), subject to:

C1
Wood: \( 2x_1 + x_2 \leq 100 \) board-feet
C2
Labor: \( x_1 + x_2 \leq 80 \) hours
C3
Storage: \( x_1 + 2x_2 \leq 120 \) sq ft

Example 1: Finding the Optimum

To find the optimal solution, we identify the feasible corner points of the region and evaluate the profit \( Z \) at each one.

Vertex Description Coordinates (\( x_1, x_2 \)) Profit \( Z = 40x_1 + 30x_2 \)
Origin (0, 0) $0
C1 ∩ x-axis (50, 0) $2000
C3 ∩ y-axis (0, 60) $1800
C1 ∩ C3 (\( \tfrac{80}{3}, \tfrac{140}{3} \)) \( \tfrac{7400}{3} \approx \$2466.67 \) (Optimal)

Example 1: Binding Analysis

At the optimal point \( (\tfrac{80}{3}, \tfrac{140}{3}) \), we check the slack for each constraint to see which are binding.

Constraint LHS at Optimum RHS Slack Status
C1: Wood \( 2(\tfrac{80}{3}) + \tfrac{140}{3} = 100 \) 100 0 Binding
C2: Labor \( \tfrac{80}{3} + \tfrac{140}{3} \approx 73.33 \) 80 \( \approx 6.67 \) Non-Binding
C3: Storage \( \tfrac{80}{3} + 2(\tfrac{140}{3}) = 120 \) 120 0 Binding

Example 1: Shadow Prices

To find the shadow prices, we solve the dual constraints at the optimal basis (C1 and C3 binding):

1
Dual for \( x_1 \): \( 2y_1 + y_3 = 40 \)
2
Dual for \( x_2 \): \( y_1 + 2y_3 = 30 \)

Solving: \( y_1 = \tfrac{50}{3} \approx \$16.67 \) and \( y_3 = \tfrac{20}{3} \approx \$6.67 \). The shadow price for Labor (C2) is \( y_2 = 0 \) (non-binding).

Example 1: Interpretation

Continuing from Example 1, the shadow price for the Wood constraint (C1) is \( \approx \$16.67 \) and for Storage (C3) is \( \approx \$6.67 \). What does this mean?

One More Board-Foot
If wood supply increases from 100 to 101 board-feet, optimal profit rises by about \$16.67.
Should We Buy More?
If extra wood costs less than \$16.67 per board-foot, it is worth acquiring. If it costs more, it is not.

Example 1: Graphical View

\( x_1 \)
\( x_2 \)
20
40
60
80
20
40
60
C1 (Wood) - Binding
C2 (Labor) - Non-Binding
C3 (Storage) - Binding
Optimal (26.7, 46.7)

Common Mistakes

✕ Confusing Slack with Shadow Price
Slack measures leftover resource. Shadow price measures value of more resource. They are inversely related: when one is zero, the other may be positive.
✕ Nonzero Shadow for Non-Binding
Students sometimes assign a shadow price to a constraint with positive slack. Remember: non-binding = shadow price of 0, always.
✕ Ignoring the Valid Range
Shadow prices are only valid over a limited range of \( \Delta b \). Beyond that range, the basis changes and the shadow price is different.

Summary at a Glance

Property Binding Constraint Non-Binding Constraint
Slack \( s = 0 \) \( s \gt 0 \)
Shadow price \( \neq 0 \) (typically positive for \( \leq \)) \( = 0 \)
Resource status Fully consumed Surplus remains
Graphically Optimal point lies on the line Optimal point is away from the line
Managerial action This is a bottleneck: seek more No need to acquire more

Question 1 of 5

A constraint has a slack of 0 at the optimal solution. Which statement is true?

Question 2 of 5

The shadow price of a labor constraint is \$8 per hour. Extra labor costs \$5 per hour. Should the manager buy more?

Question 3 of 5

At the optimal solution, constraint C2 has slack \( = 15 \). What is the shadow price of C2?

Question 4 of 5

Graphically, a binding constraint at the optimal solution means the optimal point:

Question 5 of 5

Which principle states that for each constraint, either the slack is zero or the shadow price is zero (or both)?