← 2016 Paper 2
UPSC 2016 Maths Optional Paper 2 Q2c — Step-by-Step Solution
20 marks · Section A
Simplex method (basic) · Linear Programming · asked 9× in 13 yrs · Read the full method →
Question
Maximize z=2x1+3x2+6x3 subject to
2x1+x2+x33x2+2x3x1≥0, x2≥0, x3≤5≤6≥0.
Is the optimal solution unique? Justify your answer.
Technique
Simplex (two iterations: enter x3 then x1); uniqueness via strict negativity of all non-basic reduced costs at the optimal table.
Solution
We solve by the simplex method, then test uniqueness via the reduced costs of the non-basic variables at the optimal table: a maximization optimum is unique iff every non-basic variable has a strictly negative reduced cost (cj−zj<0); a zero reduced cost on a non-basic variable signals alternative optima.
Add slacks s1,s2≥0:
2x1+x2+x3+s12x1+3x2+2x3 +s2=5=6maxz=2x1+3x2+6x3.
Initial basis {s1,s2}, z=0. Row-0 (reduced costs cj−zj, since all zj=0 initially): x1:2, x2:3, x3:6.
Step 2 — Iteration 1: enter x3 (largest positive reduced cost 6)
Ratios (RHS / column of x3): row s1: 5/1=5; row s2: 6/2=3 (min). So s2 leaves, x3 enters; pivot on the s2-row coefficient 2.
Pivot row (÷2): 23x2+x3+21s2=3.
Update s1-row (−1× pivot row): 2x1+x2+x3+s1=5⇒2x1+(1−23)x2+s1−21s2=5−3, i.e.
2x1−21x2+s1−21s2=2.
New z=6⋅3=18. Reduced costs cj−zj (zj=cB⋅(column), cB=(0,6) for basis {s1,x3}):
- x1: 2−6⋅0=2>0 (column (2,0), zj=6⋅0=0).
- x2: 3−6⋅23=3−9=−6<0.
- s2: 0−6⋅21=−3<0.
x1 still positive ⇒ not optimal.
Step 3 — Iteration 2: enter x1
Ratios (RHS / x1-column (2,0)): row s1: 2/2=1 (min); row x3: column entry 0, skip. So s1 leaves, x1 enters; pivot on 2 in the s1-row.
Pivot row (÷2): x1−41x2+21s1−41s2=1.
x3-row unchanged in x1 (coefficient 0): 23x2+x3+21s2=3.
Basic solution: x1=1, x3=3, x2=0, s1=s2=0.
z=2(1)+3(0)+6(3)=2+18=20.
Step 4 — Optimality check (reduced costs)
Basis {x1,x3}, cB=(2,6). Compute cj−zj for non-basic x2,s1,s2 using B−1:
B=(2012),B−1=(210−4121).
- x2 (column (1,3)): zj=cBB−1(1,3)T; c2−z2=3−8.5=−5.5<0.
- s1 (column (1,0)): c−z=0−1=−1<0.
- s2 (column (0,1)): c−z=0−2.5=−2.5<0.
All non-basic reduced costs are strictly negative, so the table is optimal and
zmax=20 at (x1,x2,x3)=(1,0,3).
Step 5 — Uniqueness
A maximization LP at an optimal basic feasible solution has alternative optima iff some non-basic variable has reduced cost exactly 0 (it could enter without changing z). Here every non-basic reduced cost is strictly negative (−5.5,−1,−2.5). Bringing any of them in would strictly decrease z. Hence
Answer
The optimal solution is unique.