girgit.org

Linear Programming

Which plans are allowed? The feasible region and its corners

The big ideaDraw every constraint on one graph; the area where all of them are true at once is the feasible region, and every point in it is an allowed plan.

In simple words

Each limit is a line on a map, with an allowed side and a not-allowed side. Colour in the allowed side for every line. The patch that gets coloured by all of them is where you are allowed to be. Its sharp tips are called corners, and they will matter a lot.

One line, two sides

From Class 11: a line such as 3x + y = 60 cuts the graph paper into two half-planes. On one side 3x + y < 60, on the other 3x + y > 60, and on the line itself 3x + y = 60. To find which side is which, put in an easy test point such as the origin (0, 0), as long as it is not on the line.

Drawing the dealer's region, step by step

The dealer's constraints (Concept 2) are \( 3x + y \le 60 \), \( x + y \le 40 \), \( x \ge 0 \), \( y \ge 0 \).

  1. x ≥ 0 and y ≥ 0. Keep only the part of the paper to the right of the y-axis and above the x-axis: the first quadrant, with both axes included.
  2. 3x + y ≤ 60. Draw the line 3x + y = 60 through its two intercepts: put y = 0 to get (20, 0), put x = 0 to get (0, 60). It is a steep line. Test (0, 0): 0 ≤ 60 is true, so keep the side that has the origin, below and to the left of the line.
  3. x + y ≤ 40. Draw x + y = 40 through (40, 0) and (0, 40). It slopes down at 45°. Test (0, 0): 0 ≤ 40 is true, so again keep the origin's side.
  4. Find where the two slanted lines cross. Subtract the equations: (3x + y) − (x + y) = 60 − 40, so 2x = 20, x = 10, and then y = 30. They meet at (10, 30).
  5. Shade the overlap. The part kept by all four steps is a four-sided shape with corners O(0, 0), A(20, 0), B(10, 30) and C(0, 40).

Picture its outline: start at the origin and run along the x-axis to A(20, 0). Climb the steep money line up and to the left to B(10, 30). Turn onto the gentler space line and go up and left to C(0, 40). Come straight down the y-axis back to O. Inside this shape, both limits are kept.

Feasible and infeasible

  • The feasible region (also called the solution region) is the common region of all the constraints, including x ≥ 0, y ≥ 0. For the dealer it is OABC.
  • Every point inside it or on its edge is a feasible solution: a plan that breaks no rule. (10, 20) is one: 3(10) + 20 = 50 ≤ 60 and 10 + 20 = 30 ≤ 40. The corners, such as (20, 0), are feasible too.
  • Everything outside is the infeasible region, and a point there is an infeasible solution. (15, 20) is infeasible: 3(15) + 20 = 65, more than 60, so it costs too much. (5, 38) is infeasible: it keeps the money rule (53 ≤ 60) but needs 43 places.

Breaking even one constraint makes a point infeasible.

Try it: lay the stencils one by one, then move a test point in and out of the region.

Corner points

A corner point (or vertex) of the feasible region is a point of the region where two of its boundary lines meet. You find one either by looking (like A(20, 0) on the x-axis) or by solving the two line equations together (like B).

Careful: two lines can cross at a point that is not in the region. The money line meets the y-axis at (0, 60), but 0 + 60 = 60 breaks x + y ≤ 40. So (0, 60) is not a corner. Always check that a crossing point obeys every constraint.

Bounded or unbounded?

A feasible region is bounded if you could draw a circle big enough to hold all of it. The dealer's OABC is bounded. Otherwise it is unbounded: it runs on forever in some direction.

The mess-snack region (Concept 2) is unbounded. Its constraints are \( 3x + 2y \ge 12 \) and \( x + 3y \ge 11 \), and ≥ means "keep the side away from the origin" (test: 0 ≥ 12 is false). The lines meet at (2, 3). The region's edge starts at (0, 6) high on the y-axis, runs down to (2, 3), then along a flatter line down to (11, 0) on the x-axis. Above and to the right of that bent edge, the region goes on without end. Its corners are (0, 6), (2, 3) and (11, 0).

A feasible region of an LPP is always convex: join any two points of it with a straight line and the whole line stays inside. It has no dents or holes.

Don't mix these up

  • Feasible region (the whole allowed area) is not the same as a feasible solution (one point in it).
  • Points on the boundary are feasible: ≤ and ≥ include the line.
  • Not every crossing of two lines is a corner: it must lie in the region.

Try it. For the dealer, is (8, 30) feasible? Is (12, 25)?

Answer
(8, 30): 3(8) + 30 = 54 ≤ 60 and 8 + 30 = 38 ≤ 40, so it is feasible. (12, 25): 3(12) + 25 = 61 > 60, so it is infeasible (too expensive), even though 37 pieces would fit.

Words to know

Half-plane
One of the two sides of a line on the graph.
Feasible region
The area where all the constraints are true together; also solution region.
Feasible solution
Any point inside or on the edge of the feasible region.
Infeasible solution
A point outside the feasible region: it breaks at least one constraint.
Corner point (vertex)
A point of the region where two boundary lines meet.
Bounded region
One that fits inside some circle; unbounded regions run on forever.
Convex
The straight line joining any two of its points stays inside it.

Which side of the line 2x + 5y = 20 belongs to the constraint 2x + 5y ≥ 20?

  1. The side containing the origin
  2. The side away from the origin, including the line
  3. Only the points on the line

The lines x + y = 10 and x = 2y meet at a point P. P is a corner point of the feasible region only if

  1. the two lines cross
  2. P satisfies every constraint of the problem
  3. both its coordinates are positive

Constraints: x + y ≥ 5, x ≥ 0, y ≥ 0. The feasible region is

  1. the triangle with corners (0, 0), (5, 0), (0, 5)
  2. unbounded, with corners (5, 0) and (0, 5)
  3. empty