- Asked 15/34
- 2079 Bhadra · 8 marks
Two-phase simplex method max:Z=3x₁−x₂
Short answer
Applying the two-phase simplex method, Phase I eliminates the artificial variable, and Phase II yields the optimal solution: x1 = 2, x2 = 0, maximum Z = 6.
Solve the linear programming problem by the simplex method using the two phase method: Maximize Z = 3x₁ − x₂ subject to 2x₁ + x₂ ≥ 2, x₁ + 3x₂ ≤ 2, x₂ ≤ 4; x₁, x₂ ≥ 0.
Idea of the two-phase method. Phase I removes the artificial variables by maximising −(sum of artificial variables) (the same as minimising their sum). If the optimum is 0, a basic feasible solution of the original problem has been found. Phase II then optimises the real objective function starting from that solution.
Step 1: Standard form.
- 2x₁ + x₂ ≥ 2: subtract surplus variable s₁ and add artificial variable A₁.
- x₁ + 3x₂ ≤ 2: add slack variable s₂.
- x₂ ≤ 4: add slack variable s₃.
2x₁ + x₂ − s₁ + A₁ = 2
x₁ + 3x₂ + s₂ = 2
x₂ + s₃ = 4
Phase I. Maximize Z′ = −A₁ (cost 0 for all other variables). Starting basis: A₁, s₂, s₃.
Table 1
Cj 0 0 0 -1 0 0
Basis CB x₁ x₂ s₁ A₁ s₂ s₃ b Ratio
---------------------------------------
A₁ -1 2 1 -1 1 0 0 2 1
s₂ 0 1 3 0 0 1 0 2 2
s₃ 0 0 1 0 0 0 1 4 -
---------------------------------------
Zj -2 -1 1 -1 0 0 -2
Cj-Zj 2 1 -1 0 0 0
Entering: x₁ Leaving: A₁ Pivot = 2
Table 2
Cj 0 0 0 0 0
Basis CB x₁ x₂ s₁ s₂ s₃ b
--------------------------------
x₁ 0 1 1/2 -1/2 0 0 1
s₂ 0 0 5/2 1/2 1 0 1
s₃ 0 0 1 0 0 1 4
--------------------------------
Zj 0 0 0 0 0 0
Cj-Zj 0 0 0 0 0
In the last table of Phase I, Max Z′ = 0 and A₁ is no longer in the basis, so the original problem is feasible. Delete the A₁ column and go to Phase II.
Phase II. Restore the original objective: Maximize Z = 3x₁ − x₂ + 0s₁ + 0s₂ + 0s₃, starting with the final basis of Phase I (x₁, s₂, s₃).
Table 1
Cj 3 -1 0 0 0
Basis CB x₁ x₂ s₁ s₂ s₃ b Ratio
---------------------------------------
x₁ 3 1 1/2 -1/2 0 0 1 -
s₂ 0 0 5/2 1/2 1 0 1 2
s₃ 0 0 1 0 0 1 4 -
---------------------------------------
Zj 3 3/2 -3/2 0 0 3
Cj-Zj 0 -5/2 3/2 0 0
Entering: s₁ Leaving: s₂ Pivot = 1/2
Table 2
Cj 3 -1 0 0 0
Basis CB x₁ x₂ s₁ s₂ s₃ b
------------------------------
x₁ 3 1 3 0 1 0 2
s₁ 0 0 5 1 2 0 2
s₃ 0 0 1 0 0 1 4
------------------------------
Zj 3 9 0 3 0 6
Cj-Zj 0 -10 0 -3 0
All Cj − Zj ≤ 0, so the solution is optimal.
Answer: x₁ = 2, x₂ = 0, Maximum Z = 6.
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Simplex method max:Z=10x₁+x₂+2x₃ · Mathematics III, chapter 5 · asked 18×
- Simplex method max:P=15x+10y · Mathematics III, chapter 5 · asked 17×
- Simplex method max:Z=15x₁+10x₂ · Mathematics III, chapter 5 · asked 15×
- Big-M method max:F=2x₁+x₂ · Mathematics III, chapter 5 · asked 17×
- Simplex method max:Z=3x₁+5x₂ · Mathematics III, chapter 5 · asked 17×
- Simplex method max:Z=4x+3y · Mathematics III, chapter 5 · asked 17×
- Simplex method max:P=20x₂−5x₁ · Mathematics III, chapter 5 · asked 17×
- Big-M method max:Z=2x₁+x₂ · Mathematics III, chapter 5 · asked 17×
- Big-M method max:P=2x₁+x₂+3x₃ · Mathematics III, chapter 5 · asked 17×
- Simplex method max:Z=3x₁+5x₂ · Mathematics III, chapter 5
- Simplex method max:P=−x₁+2x₂ · Mathematics III, chapter 5 · asked 8×
- Duality LPP min:Z=3x₁+2x₂ · Mathematics III, chapter 5 · asked 3×
- Duality LPP min:Z=3x₁+2x₂ · Mathematics III, chapter 5 · asked 3×
- Graphical method max:z=2x₁+3x₂ · Mathematics III, chapter 5 · asked 12×
- Difference eq x(k+2)+2x(k+1)+3x(k)=0 · Applied Mathematics, chapter 2 · asked 5×
- Difference equation x(k+2)+3x(k+1)+2x(k)=0 · Digital Control System, chapter 2 · asked 5×
- Difference eq x(k+2)+3x(k+1)+2x(k)=0 · Applied Mathematics, chapter 2 · asked 3×
- Difference eq x(k+2)-3x(k+1)+2x(k)=4^k · Applied Mathematics, chapter 2