UPSC 2020 Maths Optional Paper 2 Q1e — Step-by-Step Solution
10 marks · Section A
LPP: standard form; basic, basic feasible, optimal solutions · Linear Programming · asked 6× in 13 yrs · Read the full method →
Question
The UPSC maintenance section has purchased sufficient curtain cloth pieces; the length of each piece is 17 feet. The requirement by curtain length is: length 5 ft → 700 required; length 9 ft → 400 required; length 7 ft → 300 required. The width of all curtains is the same as the available pieces. Form a linear programming problem in standard form that decides the number of pieces cut in different ways so that the total trim loss is minimum. Also give a basic feasible solution to it.
Technique
Cutting-stock (Gilmore–Gomory) formulation: decision variables = pieces cut per pattern; minimize ∑(trimj)xj subject to demand ≥ constraints; standard form via surplus + artificial variables.
Solution
This is a classic cutting-stock / trim-loss problem. Each stock piece (17 ft) can be cut into curtains of length 5,7,9 ft. A cutting pattern specifies how many of each length come from one piece.
Step 1 — Enumerate the (efficient) cutting patterns
A pattern (n5,n7,n9) must satisfy 5n5+7n7+9n9≤17. We keep the maximal patterns (those in which no further curtain of any length fits — otherwise the trim could be reduced):
Pattern
5 ft (n5)
7 ft (n7)
9 ft (n9)
Length used
Trim loss (ft)
P1
0
1
1
16
1
P2
0
2
0
14
3
P3
1
0
1
14
3
P4
2
1
0
17
0
P5
3
0
0
15
2
Let xj≥0 = number of stock pieces cut according to pattern Pj, j=1,…,5.
Step 2 — Objective: minimize total trim loss
minz=1x1+3x2+3x3+0x4+2x5.
Step 3 — Demand constraints
Number of each curtain produced must meet the requirement (5 ft: 700, 7 ft: 300, 9 ft: 400):
Step 4 — Standard form (surplus + artificial variables)
Convert each ≥ constraint to equality by subtracting a surplus variable si≥0. For a starting basis one also adds an artificial variable Ai≥0 (penalised by +M in the objective, Big-M method). The standard form is:
The constraints are three ≥ inequalities in five nonnegative variables. A BFS in standard form has at most 3 (= number of constraints) basic variables.
A convenient feasible point using only patterns that directly supply the larger curtains. Use P5 (three 5-ft each) for the 5-ft demand, P2 (two 7-ft each) for the 7-ft demand, P1 (one 9-ft each) for the 9-ft demand: