Skip to the content

Topics Covered

Graphical Method Steps Maximisation Minimisation Convex Hull Alternative Solutions Unbounded Infeasible
On this page
  1. 1. When is the Graphical Method Applicable?
  2. 2. Steps in the Graphical Method
  3. 3. Convex Set, Convex Hull and Feasible Region
  4. 4. Worked Example — Maximisation
  5. 5. Worked Example — Minimisation
  6. 6. Special / Exceptional Cases
  7. 7. Quick Summary — Possible Outcomes
  8. Key Take-aways

1. When is the Graphical Method Applicable?

The graphical method works only for LPPs with two decision variables (and rarely three, where you plot in 3-D and shade a feasible polyhedron). For more variables the simplex method (Unit 3) is required.

2. Steps in the Graphical Method

  1. Express the problem in standard form (variables non-negative).
  2. Plot each constraint as a straight line in the \(x_1\)-\(x_2\) plane (treat \(\le, \ge\) as equalities for the line).
  3. Identify the feasible region — the set of \((x_1, x_2)\) satisfying all constraints and non-negativity. It is always a convex polygon.
  4. Find the corner points (vertices) of the feasible region.
  5. Evaluate the objective function \(Z\) at each corner point.
  6. The maximum (or minimum) value of \(Z\) gives the optimal solution.
Fundamental theorem of LP: If an LPP has an optimal solution, it is attained at at least one vertex of the feasible region.

3. Convex Set, Convex Hull and Feasible Region

DEFINITIONS

Why this matters for LPP

EXAMPLE 1 — Identifying a convex set

The set \(\{(x, y) : x + y \le 4, x \ge 0, y \ge 0\}\) is a triangular region with vertices (0,0), (4,0), (0,4). It is convex.

EXAMPLE 2 — Non-convex set

The union \(\{x^2 + y^2 \le 1\} \cup \{(x-3)^2 + y^2 \le 1\}\) — two disjoint discs — is non-convex; a line segment between centres of the two discs leaves the set.

4. Worked Example — Maximisation

PROBLEM

Maximise \(Z = 3 x_1 + 5 x_2\) subject to

Solution (Step-by-Step)

  1. Plot each line:
    • \(x_1 = 4\) → vertical line
    • \(2 x_2 = 12 \Rightarrow x_2 = 6\) → horizontal line
    • \(3 x_1 + 2 x_2 = 18\) → connects (6, 0) and (0, 9)
  2. Shade feasible region: all \(\le\) constraints + first quadrant.
  3. Vertices of feasible region: \(O(0,0),\; A(4,0),\; B(4,3),\; C(2,6),\; D(0,6)\).
  4. Evaluate Z at each:
    VertexZ = 3x₁ + 5x₂
    O(0, 0)0
    A(4, 0)12
    B(4, 3)27
    C(2, 6)36 (max)
    D(0, 6)30
  5. Optimal: \(x_1 = 2,\; x_2 = 6,\; Z_{\max} = 36\).
x₁ x₂ O A B C (optimum) D 2 4 6 8 1 2 3 4 5 6 x₁ ≤ 4 x₂ ≤ 6 3x₁ + 2x₂ ≤ 18
Fig 2.1 — Feasible region for maximisation; optimum at C(2, 6) with Z = 36

5. Worked Example — Minimisation

PROBLEM

Minimise \(Z = 20 x_1 + 10 x_2\) subject to

Solution

  1. Plot the three lines:
    • \(x_1 + 2 x_2 = 40\) through (40, 0) and (0, 20)
    • \(3 x_1 + x_2 = 30\) through (10, 0) and (0, 30)
    • \(4 x_1 + 3 x_2 = 60\) through (15, 0) and (0, 20)
  2. Feasible region lies above all three lines and in the first quadrant — it's unbounded above and to the right. (The third constraint \(4 x_1 + 3 x_2 \ge 60\) turns out to be redundant: it is satisfied automatically wherever the other two hold.)
  3. Find vertices that border the feasible region:
    • \(P_1 = (0, 30)\) — where \(3 x_1 + x_2 = 30\) meets the \(x_2\)-axis
    • \(P_2 = (4, 18)\) — intersection of \(3 x_1 + x_2 = 30\) and \(x_1 + 2 x_2 = 40\)
    • \(P_3 = (40, 0)\) — where \(x_1 + 2 x_2 = 40\) meets the \(x_1\)-axis

    (The points \((6, 12)\) and \((15, 0)\) lie below the line \(x_1 + 2 x_2 = 40\) — e.g. at \((6,12)\), \(x_1 + 2x_2 = 30 < 40\) — so they are infeasible and are not corner points of the region.)

  4. Compute Z at each feasible vertex:
    VertexZ = 20x₁ + 10x₂
    (0, 30)300
    (4, 18)260 (min)
    (40, 0)800
  5. Optimal: \(x_1 = 4,\; x_2 = 18,\; Z_{\min} = 260\).

6. Special / Exceptional Cases

6.1 Alternative (Multiple) Optimal Solutions

Occur when the objective line is parallel to one of the binding constraints. Every point on that edge gives the same optimum.

EXAMPLE 1

Max \(Z = 4 x_1 + 6 x_2\) subject to \(2 x_1 + 3 x_2 \le 24,\; x_1 + 4 x_2 \le 20, \;x_1, x_2 \ge 0\).

The line \(Z = 4 x_1 + 6 x_2\) is parallel to constraint \(2 x_1 + 3 x_2 = 24\) (both have slope \(-2/3\)). All points on the edge from (12, 0) to (7.2, 3.2) — the intersection of \(2 x_1 + 3 x_2 = 24\) and \(x_1 + 4 x_2 = 20\) — give \(Z = 48\), so there are infinitely many optimal solutions.

6.2 Unbounded Solution

Occurs when the feasible region extends infinitely in the direction of improvement. The objective can be made arbitrarily large (max) or small (min).

EXAMPLE 2

Max \(Z = 2 x_1 + 3 x_2\) subject to \(x_1 - x_2 \le 1,\;\; x_1 + x_2 \ge 3,\;\; x_1, x_2 \ge 0\).

The feasible region is open above; \(Z\) can grow without bound — unbounded.

Often indicates a formulation error in the original model.

6.3 Non-Existing Feasible Solution (Infeasible)

Occurs when no point satisfies all constraints simultaneously. The feasible region is empty.

EXAMPLE

Max \(Z = 3 x_1 + 2 x_2\) subject to \(x_1 + x_2 \le 2,\; x_1 + x_2 \ge 5,\; x_1, x_2 \ge 0\).

The two constraints contradict each other — empty feasible region → no feasible solution exists.

6.4 Redundant Constraint

A constraint that does not affect the feasible region — it lies entirely outside or coincides with the boundary of another. Removing it leaves the optimum unchanged.

7. Quick Summary — Possible Outcomes

CaseFeasible RegionOptimal Solution
Unique optimumBounded, single best vertexExactly one
Alternative optimaBounded, objective parallel to an edgeInfinitely many on that edge
UnboundedOpen in direction of improvementZ → ∞ (or −∞)
InfeasibleEmpty (no common point)None

Key Take-aways