girgit.org

Linear Programming

Why the best plan sits at a corner: the corner point method

The big ideaIf an LPP has a best value, it is reached at a corner point of the feasible region, so you only need to work out Z at the corners and compare.

In simple words

The allowed patch has endless points, far too many to try. But the best point is always at one of its few sharp tips. So try only the tips, and pick the one with the best score. That is the whole trick.

Too many points to test

Any point of the feasible region that gives the best value of Z (the largest, if we maximise; the smallest, if we minimise) is an optimal solution, also called an optimal feasible solution. The dealer's region OABC holds infinitely many points. We cannot test them all. We need a shortcut.

The ruler sliding across the region

Which of the dealer's plans give a profit of exactly ₹6,000? The points on the line 600x + 250y = 6000, through (10, 0) and (0, 24). Plans earning ₹9,000 lie on 600x + 250y = 9000. All such "same-profit" lines have the same slope, so they are parallel, like one ruler moved to different places.

Lay a ruler along the ₹6,000 line, which cuts right through the region. Slide it, keeping it parallel, away from the origin. The profit on it rises: ₹9,000, ₹12,000, ₹13,000, and feasible plans still lie under it. Then, at ₹13,500, the ruler touches the region at one point only: the corner B(10, 30). Slide it any further, to ₹14,000, and it misses the region completely: no allowed plan earns that much. So the most profit is ₹13,500, at B.

This is why the best is always at a corner. A straight ruler sliding across a shape with straight edges always leaves it last at a corner. The only other possibility is that the ruler is exactly parallel to an edge: then it leaves along that whole edge, corners included (Concept 6). It never leaves from the middle of the region, because from any inside point you can still move further in the direction that makes Z bigger.

Try it: slide the ruler yourself, then change the profits and see the winning corner move.

The two theorems

Corner point theorems (proofs are beyond the book)

  • Theorem 1. Let R be the feasible region (a convex polygon) of an LPP and Z = ax + by its objective function. Whenever Z has a best value on R (a maximum or a minimum), that best value is reached at a corner point (vertex) of R.
  • Theorem 2. If R is bounded, Z is sure to reach a greatest and a least value on R, and each one is reached at a corner point of R.

The corner point method (bounded region)

  1. Draw the feasible region and find all its corner points, by looking or by solving the two lines that meet there.
  2. Work out Z = ax + by at each corner. Call the largest value M and the smallest m.
  3. If the region is bounded, M is the maximum and m is the minimum of Z. (If it is unbounded, one more check is needed: Concept 5.)

For the dealer:

Corner pointZ = 600x + 250y (₹)
O(0, 0)0
A(20, 0)12,000
B(10, 30)13,500 (maximum)
C(0, 40)10,000

Answer: buy 10 desks and 30 chairs, for a maximum profit of ₹13,500.

Guess first: change the profit, change the corner?

Suppose a desk's profit jumps from ₹600 to ₹900, and nothing else changes. Guess: is B(10, 30) still the best plan?

See what happens

Now Z = 900x + 250y. At O: 0. At A(20, 0): ₹18,000. At B(10, 30): 9,000 + 7,500 = ₹16,500. At C(0, 40): ₹10,000. The winner moves to A: only desks.

The region did not change; the ruler's tilt did. The ₹900 profit line (slope −3.6) is steeper than the money edge AB (slope −3), so it leaves the region at A. With ₹600 its slope, −2.4, lay between the money edge (−3) and the space edge (−1), so it left at B, where those edges meet. The best corner depends on the objective, not just the shape.

Worked example: a maximum and a minimum together

Find the maximum and minimum of Z = 3x + 2y subject to \( 2x + y \le 12 \), \( x + 2y \le 12 \), \( x + y \ge 3 \), \( x, y \ge 0 \).

Region. 2x + y = 12 passes through (6, 0) and (0, 12); keep the origin's side. x + 2y = 12 passes through (12, 0) and (0, 6); keep the origin's side. x + y = 3 passes through (3, 0) and (0, 3); keep the side away from the origin. The first two lines meet where 2x + y = x + 2y, so x = y, and 3x = 12 gives (4, 4). The region is a five-sided shape, bounded, with a small corner cut off near the origin.

Corner pointZ = 3x + 2y
(3, 0)9
(6, 0)18
(4, 4)20 (maximum)
(0, 6)12
(0, 3)6 (minimum)

The region is bounded, so the maximum is 20 at (4, 4) and the minimum is 6 at (0, 3). Notice the origin is not a corner here: x + y ≥ 3 cuts it off.

Don't mix these up

  • The optimal value is a number (₹13,500); the optimal solution is the point that gives it (10, 30). Exams want both.
  • Find corners of the feasible region, not every crossing of lines on the page.

Try it. Solve the tailor's LPP from Concept 2: maximise Z = 150x + 200y subject to \( 2x + y \le 16 \), \( x + 3y \le 18 \), \( x, y \ge 0 \).

Answer
The lines meet where y = 16 − 2x and x + 3(16 − 2x) = 18, so 5x = 30, x = 6, y = 4. Corners and Z: (0, 0) → 0; (8, 0) → 1200; (6, 4) → 900 + 800 = 1700; (0, 6) → 1200. Bounded region, so the maximum is ₹1,700: make 6 shirts and 4 kurtas.

Words to know

Optimal solution
A feasible point that gives the best value of Z.
Optimal value
That best value itself: the maximum or minimum of Z.
Corner point method
Find the corners, work out Z at each, compare.
Same-profit line
A line ax + by = k; all points on it give the same Z. Sliding it shows where Z is best.
Theorem 2
On a bounded feasible region, Z always has a maximum and a minimum, both at corners.

A bounded feasible region has corners (0, 0), (5, 0), (3, 4) and (0, 5). What is the maximum of Z = 2x + 3y?

  1. 15
  2. 18
  3. 10

Why is the maximum of a linear Z on a bounded feasible region never only at a point deep inside it?

  1. Inside points are not feasible
  2. From any inside point you can still move to increase Z
  3. Because there are only a few points inside

The dealer's region has corners O(0, 0), A(20, 0), B(10, 30), C(0, 40). Which objective has its maximum at C?

  1. Z = x + y
  2. Z = 3x + y
  3. Z = x + 2y