You're offline — cached pages and worlds still work
Drishti Innovations logo
Drishti Innovations

Linear Programming

Operations Research — Linear Programming

Linear Programming

Linear Programming Optimization

Core Concept

Linear Programming (LP) finds the maximum or minimum of a linear objective function subject to a set of linear constraints (inequalities). The set of points satisfying all constraints simultaneously is the feasible region — a convex polygon in two dimensions.

The Corner-Point Theorem (Fundamental Theorem of LP) states: if an optimal solution exists, it occurs at a vertex (corner point) of the feasible region. This means we only need to evaluate the objective at the corners, not everywhere.

The Simplex Method exploits this: starting at one vertex, it moves along edges to adjacent vertices that improve the objective, stopping when no improving neighbour exists. For nn variables and mm constraints, it typically converges in O(m)O(m) pivot steps — far fewer than checking all (mn)\binom{m}{n} vertices.

Key Formula

Standard LP form:

MaximiseZ=c1x1+c2x2\text{Maximise} \quad Z = c_1 x_1 + c_2 x_2

subject to:

a11x1+a12x2b1,a21x1+a22x2b2,x1,x20a_{11}x_1 + a_{12}x_2 \leq b_1, \quad a_{21}x_1 + a_{22}x_2 \leq b_2, \quad x_1, x_2 \geq 0

At the optimum corner (x1,x2)(x_1^*, x_2^*): evaluate Z=c1x1+c2x2Z^* = c_1 x_1^* + c_2 x_2^*.

Worked Example

A factory makes chairs (profit ₹200 each) and tables (profit ₹300 each). Constraints: carpentry \leq 240 hours (chairs need 2 h, tables 4 h) and finishing \leq 120 hours (chairs 2 h, tables 2 h).

Feasible corners: (0,0)(0, 0), (60,0)(60, 0), (0,30)(0, 30), (60,30)(60, 30)... solving the binding constraints gives corner (60,30)(60, 30):

2(60)+4(30)=240 2(60) + 4(30) = 240\ ✓, 2(60)+2(30)=180>1202(60) + 2(30) = 180 > 120. Recalculate: binding intersection 2x1+4x2=2402x_1 + 4x_2 = 240 and 2x1+2x2=1202x_1 + 2x_2 = 120 gives x2=60x_2 = 60 (infeasible). Correct corner: (0,30)(0, 30) gives Z=0+9,000=9,000Z = 0 + 9{,}000 = ₹9{,}000; (60,0)(60, 0) gives Z=12,000+0=12,000Z = 12{,}000 + 0 = ₹12{,}000; intersection (30,45)(30, 45): Z=6,000+13,500=19,500Z = 6{,}000 + 13{,}500 = ₹19{,}500. Optimum is at the intersection corner.

Real-World Connection

Airlines use LP to assign aircraft to routes, minimising costs subject to safety, crew, and gate constraints — problems with millions of variables solved in seconds. Diet planning (minimum cost meeting nutritional requirements), supply-chain routing, and portfolio optimisation all reduce to LP. The 1975 Nobel Prize in Economics was awarded to Kantorovich and Koopmans for applying LP to resource allocation.

Quick Check

  1. A manufacturer produces two goods: x1x_1 with profit ₹5 and x2x_2 with profit ₹4. Constraints: 6x1+4x2246x_1 + 4x_2 \leq 24 and x1+2x26x_1 + 2x_2 \leq 6, x1,x20x_1, x_2 \geq 0. Find the corner points and the maximum profit.

  2. Why must the optimal solution of an LP always lie at a vertex of the feasible region (and not in the interior)?

Key Takeaways (TL;DR)

  • Core Concept
  • Key Formula
  • Worked Example
  • Real-World Connection

Master this topic with Drishti OS

Get unlimited mock tests, AI-powered mentorship, and complete video courses when you join.

Start Free Practice