hyunjoopark
← Back to Notes

Energy System Modeling / Concepts

Complementary Slackness

Created · Updated

For every inequality constraint gj(x)≤0g_j(x) \le 0 with multiplier μj≥0\mu_j \ge 0: μj⋅gj(x)=0\mu_j \cdot g_j(x) = 0 → at least one of the two is zero:

  • constraint non-binding (gj<0g_j < 0, room left) → μj=0\mu_j = 0 (relaxing it changes nothing)
  • μj>0\mu_j > 0 → constraint binding (gj=0g_j = 0, full)
Binding ≠ non-zero

Binding allows μj≠0\mu_j \ne 0 but doesn’t guarantee it (μj=0\mu_j = 0 is still possible).

Economic reading: μ\mu on q≥0q \ge 0 (producer)

μ\mu = loss per unit if the producer is forced to produce one more = cost − price

  • μ>0\mu > 0 (price < cost) → producing hurts → q=0q = 0
  • μ=0\mu = 0 (price = cost) → indifferent → any qq
  • μ<0\mu < 0 (price > cost) → impossible: an unused profitable unit is left → not an equilibrium

→ same as P=MCP = MC in Perfect Competition and the Shutdown Rule

Use by hand (active set): guess which constraints are binding → binding: gj=0g_j = 0, others: μj=0\mu_j = 0 → solve the equations → check gj≤0g_j \le 0 and μj≥0\mu_j \ge 0 → if violated, change the guess.

Links: KKT Conditions, Shadow Price, Duality, Mixed Complementarity Problem, Perfect Competition