Maximise \(Z = 5x_1 + 4x_2\) subject to \(6x_1 + 4x_2 \le 24,\; x_1 + 2x_2 \le 6,\; -x_1 + x_2 \le 1,\; x_2 \le 2,\; x_1, x_2 \ge 0\).
To solve a two-variable LPP graphically by plotting the constraints and evaluating the objective at each vertex of the feasible region.
Applying it:
Blank working table:
| Vertex \((x_1, x_2)\) | \(Z = 5x_1 + 4x_2\) |
|---|---|
| (0, 0) | |
| (4, 0) | |
| (3, 1.5) | |
| (2, 2) | |
| (1, 2) | |
| (0, 1) |
The binding pair \(6x_1 + 4x_2 = 24\) and \(x_1 + 2x_2 = 6\) intersect at \((3, 1.5)\).
| Vertex \((x_1, x_2)\) | \(Z = 5x_1 + 4x_2\) |
|---|---|
| (0, 0) | 0 |
| (4, 0) | 20 |
| (3, 1.5) | 21 (max) |
| (2, 2) | 18 |
| (1, 2) | 13 |
| (0, 1) | 4 |
The optimum is \(x_1 = 3,\; x_2 = 1.5,\; Z_{\max} = 21\).
Maximise \(Z = 3x_1 + 2x_2\) subject to \(x_1 + x_2 \le 4,\; x_1 + 3x_2 \le 6,\; x_1, x_2 \ge 0\).
To solve the LPP by the simplex method and verify the result graphically.
Applying it:
Blank working table (iteration summary):
| Iteration | Basis | \((x_1, x_2)\) | \(Z\) |
|---|---|---|---|
| Initial | \(s_1, s_2\) | ||
| 1 |
| Iteration | Basis | \((x_1, x_2)\) | \(Z\) |
|---|---|---|---|
| Initial | \(s_1, s_2\) | (0, 0) | 0 |
| 1 (x₁ in, s₁ out) | \(x_1, s_2\) | (4, 0) | 12 |
After one pivot all \(c_j - z_j \le 0\), so the optimum is reached.
Graphical check: vertices (0,0), (4,0), (3,1), (0,2) give \(Z = 0, 12, 11, 4\); max = 12 ✓.
The optimum is \(x_1 = 4,\; x_2 = 0,\; Z_{\max} = 12\).
Minimise \(Z = 7x_1 + 9x_2\) subject to \(3x_1 + 6x_2 \ge 18,\; 8x_1 + 4x_2 \ge 16,\; x_1, x_2 \ge 0\).
To solve a minimisation LPP with \(\ge\) constraints using surplus and artificial variables and the Big-M penalty.
Applying it:
Blank working table (corner-point evaluation):
| Corner \((x_1, x_2)\) | Binding constraints | \(Z = 7x_1 + 9x_2\) |
|---|---|---|
| (6, 0) | ||
| (2/3, 8/3) | ||
| (0, 4) |
At the optimum both constraints bind: \(3x_1 + 6x_2 = 18\) (i.e. \(x_1 + 2x_2 = 6\)) and \(8x_1 + 4x_2 = 16\) (i.e. \(2x_1 + x_2 = 4\)). Solving gives \(x_1 = 2/3,\; x_2 = 8/3\).
| Corner \((x_1, x_2)\) | Binding constraints | \(Z = 7x_1 + 9x_2\) |
|---|---|---|
| (6, 0) | first only | 42 |
| (2/3, 8/3) | both | 86/3 ≈ 28.67 (min) |
| (0, 4) | second only | 36 |
\(Z = 7(2/3) + 9(8/3) = 14/3 + 72/3 = 86/3 \approx 28.67\).
The optimum is \(x_1 = 2/3 \approx 0.667,\; x_2 = 8/3 \approx 2.667,\; Z_{\min} = 86/3 \approx 28.67\).
Solve the LPP of Experiment 3 (Min \(Z = 7x_1 + 9x_2\) s.t. \(3x_1 + 6x_2 \ge 18,\; 8x_1 + 4x_2 \ge 16,\; x_1, x_2 \ge 0\)) by the Two-Phase method.
To solve the same problem in two phases (minimise the artificial sum, then optimise the original objective) and confirm it matches Big-M.
Applying it:
Blank working table:
| Phase | Objective value | \((x_1, x_2)\) |
|---|---|---|
| End of Phase 1 | \(W =\) | |
| End of Phase 2 | \(Z =\) |
| Phase | Objective value | \((x_1, x_2)\) |
|---|---|---|
| End of Phase 1 | \(W = 0\) | (2/3, 8/3) |
| End of Phase 2 | \(Z = 86/3 \approx 28.67\) | (2/3, 8/3) |
Phase 1 ends with \(W = 0\) and a feasible BFS at \((2/3, 8/3)\); Phase 2 confirms optimality with \(c_j - z_j \ge 0\).
\(x_1 = 2/3,\; x_2 = 8/3,\; Z_{\min} = 86/3 \approx 28.67\) — identical to the Big-M result, as expected.
(a) Show that Max \(Z = 3x_1 + 5x_2\) s.t. \(x_1 + x_2 \ge 2,\; x_1 - x_2 \le 1,\; x_1, x_2 \ge 0\) is unbounded. (b) Show that Max \(Z = 2x_1 + 4x_2\) s.t. \(x_1 + 2x_2 \le 5,\; x_1 + x_2 \le 4,\; x_1, x_2 \ge 0\) has alternative optima.
To recognise and interpret the special cases of an unbounded solution and of multiple (alternative) optima.
Applying it:
Blank working table (alternative-optima vertices):
| Optimal vertex | \(Z = 2x_1 + 4x_2\) |
|---|---|
| (0, 2.5) | |
| (3, 1) |
(a) Taking \(x_1 = 0\), the constraints allow \(x_2 \to \infty\), so \(Z = 5x_2 \to \infty\): the problem is unbounded.
(b) Since \(2x_1 + 4x_2 = 2(x_1 + 2x_2) \le 10\), any point on \(x_1 + 2x_2 = 5\) inside the region attains \(Z = 10\):
| Optimal vertex | \(Z = 2x_1 + 4x_2\) |
|---|---|
| (0, 2.5) | 10 |
| (3, 1) | 10 |
(a) The first LPP is unbounded (\(Z \to \infty\)). (b) The second has alternative optima: \((0, 2.5)\) and \((3, 1)\) both give \(Z = 10\), and every convex combination of them is also optimal.
For the primal Max \(Z = 4x_1 + 5x_2\) s.t. \(2x_1 + x_2 \le 8,\; x_1 + 2x_2 \le 10,\; x_1, x_2 \ge 0\), write the dual, solve the primal, and verify strong duality and complementary slackness.
To form the dual, obtain the shadow prices from the primal, and confirm \(Z^* = W^*\) and the complementary-slackness conditions.
Applying it:
Blank working table:
| Quantity | Value |
|---|---|
| Primal optimum \((x_1, x_2)\) | |
| \(Z^*\) | |
| Dual optimum \((y_1, y_2)\) | |
| \(W^*\) |
Both primal constraints bind at the optimum: \(2x_1 + x_2 = 8,\; x_1 + 2x_2 = 10 \Rightarrow x_1 = 2,\; x_2 = 4\), so \(Z^* = 4(2) + 5(4) = 28\). The dual constraints (both binding) give \(2y_1 + y_2 = 4,\; y_1 + 2y_2 = 5 \Rightarrow y_1 = 1,\; y_2 = 2\).
| Quantity | Value |
|---|---|
| Primal optimum \((x_1, x_2)\) | (2, 4) |
| \(Z^*\) | 28 |
| Dual optimum \((y_1, y_2)\) | (1, 2) |
| \(W^*\) | 8(1) + 10(2) = 28 |
Complementary slackness: both primal constraints are binding ⇒ \(y_1, y_2 > 0\); both primal variables are positive ⇒ both dual constraints bind (\(2(1)+2 = 4\) ✓, \(1 + 2(2) = 5\) ✓).
\(Z^* = W^* = 28\) (strong duality holds), with shadow prices \(y_1 = 1,\; y_2 = 2\), and all complementary-slackness conditions are satisfied.
Minimise \(Z = 2x_1 + x_2\) subject to \(3x_1 + x_2 \ge 3,\; 4x_1 + 3x_2 \ge 6,\; x_1 + 2x_2 \le 3,\; x_1, x_2 \ge 0\).
To solve the LPP by the dual simplex method, starting from a dual-feasible but primal-infeasible tableau.
Applying it:
Blank working table (initial tableau):
| \(c_B\) | Basis | \(x_B\) | x₁ (−2) | x₂ (−1) | s₁ | s₂ | s₃ |
|---|---|---|---|---|---|---|---|
| 0 | s₁ | −3 | −1 | 1 | 0 | 0 | |
| 0 | s₂ | −4 | −3 | 0 | 1 | 0 | |
| 0 | s₃ | 1 | 2 | 0 | 0 | 1 | |
| \(c_j - z_j\) | |||||||
| \(c_B\) | Basis | \(x_B\) | x₁ (−2) | x₂ (−1) | s₁ | s₂ | s₃ |
|---|---|---|---|---|---|---|---|
| 0 | s₁ | −3 | −3 | −1 | 1 | 0 | 0 |
| 0 | s₂ | −6 | −4 | −3 | 0 | 1 | 0 |
| 0 | s₃ | 3 | 1 | 2 | 0 | 0 | 1 |
| \(c_j - z_j\) | −2 | −1 | 0 | 0 | 0 | ||
The tableau is dual feasible (all \(c_j - z_j \le 0\)) but primal infeasible (\(b < 0\)). Leaving: the most negative \(b = -6\) (row s₂). Ratios over its negative entries: x₁ \(= |{-2}/{-4}| = 0.5\), x₂ \(= |{-1}/{-3}| = 0.33\); the smaller is x₂, so x₂ enters (pivot \(-3\)). Continuing the iterations drives all \(b_i \ge 0\), giving \(x_1 = 3/5,\; x_2 = 6/5\).
The optimum is \(x_1 = 3/5 = 0.6,\; x_2 = 6/5 = 1.2,\; Z_{\min} = 2(0.6) + 1.2 = 12/5 = 2.4\).