Mathematics Paper 2 syllabus: Linear Programming
UPSC Mathematics optional Paper 2 syllabus with PYQs
Linear Programming: Linear programming problems, basic solution, basic feasible solution and optimal solution; Graphical method and simplex method of solutions; Duality. Transportation and assignment problems
- Simplex method and duality
- Transportation and assignment
Previous year questions
- 2026 Q1(e): Solve the dual problem of the following linear programming problem by the graphical method: Minimize $Y = 10y_1 + 6y_2 + 2y_3 + y_4$ subject to the constraints: $$y_1 + y_2 + y_3 + y_4 \ge 2$$ $$2y_1 + y_2 - y_3 - 2y_4 \ge 1$$ $$y_1, y_2, y_3, y_4 \ge 0$$
- 2026 Q3(c): The following table represents the estimated costs of assigning jobs to machines. Solve this assignment problem to minimize the total cost. | Job \ Machine | M1 | M2 | M3 | M4 | |---|---|---|---|---| | J1 | 8 | 24 | 28 | 32 | | J2 | 8 | 13 | 17 | 19 | | J3 | 8 | 15 | 19 | 22 | Is the assignment unique for the total minimum cost? Justify your answer and obtain an alternate assignment, if it exists.
- 2026 Q4(c): Solve the following linear programming problem by the Simplex method: Maximize $Z = 4x_1 + 10x_2$ subject to the constraints $$2x_1 + x_2 \le 10$$ $$2x_1 + 5x_2 \le 20$$ $$2x_1 + 3x_2 \le 18$$ $$x_1, x_2 \ge 0$$ Obtain an alternate optimal solution, if it exists, with explanation.
- 2025 Q1(e): How many basic solutions are there for the following system of equations? $$2x_1 - x_2 + 3x_3 + x_4 = 6$$ $$4x_1 - 2x_2 - x_3 + 2x_4 = 10$$ Find all of them. Furthermore, find the number of basic solutions, which are feasible/non-feasible/non-degenerate.
- 2025 Q3(c): Apply the principle of duality to solve the following linear programming problem: Maximize $Z = 3x_1 + 4x_2$ subject to the constraints $x_1 - x_2 \leq 1$ $x_1 + x_2 \geq 4$ $x_1 - 3x_2 \leq 3$ $x_1, x_2 \geq 0$
- 2025 Q4(c): The following table shows all the necessary information on the available supply to each warehouse, the requirement of each market and the unit transportation cost from each warehouse to each market: | Warehouse / Market | I | II | III | IV | Supply | |---|---|---|---|---|---| | A | 5 | 2 | 4 | 3 | 22 | | B | 4 | 8 | 1 | 6 | 15 | | C | 4 | 6 | 7 | 5 | 8 | | Requirement | 7 | 12 | 17 | 9 | | The shipping clerk has worked out the following schedule from experience: 12 units from $A$ to $II$, 1 unit from $A$ to $III$, 9 units from $A$ to $IV$, 15 units from $B$ to $III$, 7 units from $C$ to $I$ and 1 unit from $C$ to $III$ Find the optimal schedule and minimum total shipping cost.
- 2024 Q1(e): Use two phase method to solve the following linear programming problem: Maximize $z = x_1 + 2x_2$ subject to $x_1 - x_2 \ge 3$ $2x_1 + x_2 \le 10$ $x_1, x_2 \ge 0$
- 2024 Q3(c): Using duality principle, solve the following linear programming problem: Minimize $z = 4x_1 + 3x_2 + x_3$ subject to $x_1 + 2x_2 + 4x_3 \ge 12$ $3x_1 + 2x_2 + x_3 \ge 8$ $x_1, x_2, x_3 \ge 0$
- 2024 Q4(c): The personnel manager of a company wants to assign officers A, B and C to the regional offices at Delhi, Mumbai, Kolkata and Chennai. The cost of relocation (in thousand Rupees) of the three officers at the four regional offices are given below: | Officer | Delhi | Mumbai | Kolkata | Chennai | |---|---|---|---|---| | A | 16 | 22 | 24 | 20 | | B | 10 | 32 | 26 | 16 | | C | 10 | 20 | 46 | 30 | Find the assignment which minimizes the total cost of relocation and also determine the minimum cost.
- 2023 Q1(e): A person requires 24, 24 and 20 units of chemicals $A$, $B$ and $C$ respectively for his garden. Product $P$ contains 2, 4 and 1 units of chemicals $A$, $B$ and $C$ respectively per jar and product $Q$ contains 2, 1 and 5 units of chemicals $A$, $B$ and $C$ respectively per jar. If a jar of $P$ costs ₹ 30 and a jar of $Q$ costs ₹ 50, then how many jars of each should be purchased in order to minimize the cost and meet the requirements?
- 2023 Q3(c): Solve the following linear programming problem by Big M method: Minimize $Z = 2x_1 + 3x_2$ subject to $x_1 + x_2 \geq 9$ $x_1 + 2x_2 \geq 15$ $2x_1 - 3x_2 \leq 9$ $x_1, x_2 \geq 0$ Is the optimal solution unique? Justify your answer.
- 2023 Q4(c): A department head has 5 subordinates and 5 jobs to be performed. The time (in hours) that each subordinate will take to perform each job is given in the matrix below: | Subordinates \ Jobs | A | B | C | D | E | |---|---|---|---|---|---| | I | 4 | 9 | 4 | 12 | 4 | | II | 15 | 11 | 20 | 5 | 8 | | III | 17 | 7 | 15 | 12 | 18 | | IV | 9 | 13 | 11 | 9 | 14 | | V | 6 | 11 | 12 | 9 | 14 | How should the jobs be assigned, one to each subordinate, so as to minimize the total time? Also, obtain the total minimum time to perform all the jobs if the subordinate IV cannot be assigned job C.
- 2022 Q1(e): Use two-phase method to solve the following linear programming problem: Minimize $Z=x_1+x_2$ subject to $2x_1+x_2\geq 4$ $x_1+7x_2\geq 7$ $x_1,x_2\geq 0$
- 2022 Q3(c): Solve the following linear programming problem by the simplex method. Write its dual. Also, write the optimal solution of the dual from the optimal table of the given problem: Maximize $Z=x_1+x_2+x_3$ subject to $2x_1+x_2+x_3\leq 2$ $4x_1+2x_2+x_3\leq 2$ $x_1,x_2,x_3\geq 0$
- 2022 Q4(c): Find the initial basic feasible solution of the following transportation problem by Vogel's approximation method and use it to find the optimal solution and the transportation cost of the problem: | Source \ Destination | A | B | C | D | Availability | |---|---|---|---|---|---| | $S_1$ | 21 | 16 | 25 | 13 | 11 | | $S_2$ | 17 | 18 | 14 | 23 | 13 | | $S_3$ | 32 | 27 | 18 | 41 | 19 | | Requirement | 6 | 10 | 12 | 15 | 43 |
- 2021 Q1(e): A department of a company has five employees with five jobs to be performed. The time (in hours) that each man takes to perform each job is given in the effectiveness matrix. Assign all the jobs to these five employees to minimize the total processing time: | Jobs \ Employees | I | II | III | IV | V | |---|---|---|---|---|---| | A | 10 | 5 | 13 | 15 | 16 | | B | 3 | 9 | 18 | 13 | 6 | | C | 10 | 7 | 2 | 2 | 2 | | D | 7 | 11 | 9 | 7 | 12 | | E | 7 | 9 | 10 | 4 | 12 |
- 2021 Q3(c): Convert the following LPP into dual LPP: Minimize $Z = x_1 - 3x_2 - 2x_3$ subject to $3x_1 - x_2 + 2x_3 \le 7$ $2x_1 - 4x_2 \ge 12$ $-4x_1 + 3x_2 + 8x_3 = 10$ where $x_1, x_2 \ge 0$ and $x_3$ is unrestricted in sign.
- 2021 Q4(c): Solve the following linear programming problem using Big M method: Maximize $Z = 4x_1 + 5x_2 + 2x_3$ subject to $2x_1 + x_2 + x_3 \ge 10$ $x_1 + 3x_2 + x_3 \le 12$ $x_1 + x_2 + x_3 = 6$ $x_1, x_2, x_3 \ge 0$
- 2020 Q1(e): UPSC maintenance section has purchased sufficient number of curtain cloth pieces to meet the curtain requirement of its building. The length of each piece is 17 feet. The requirement according to curtain length is as follows: | Curtain length (in feet) | Number required | |---|---| | 5 | 700 | | 9 | 400 | | 7 | 300 | The width of all curtains is same as that of 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.
- 2020 Q3(b): Solve the linear programming problem using simplex method: Minimize $z=-6x_1-2x_2-5x_3$ subject to $2x_1-3x_2+x_3\le 14$ $-4x_1+4x_2+10x_3\le 46$ $2x_1+2x_2-4x_3\le 37$ $x_1\ge 2,\ x_2\ge 1,\ x_3\ge 3$
- 2020 Q4(c): Find the initial basic feasible solution of the following transportation problem by Vogel's approximation method and use it to find the optimal solution and the transportation cost of the problem. | Source | D1 | D2 | D3 | D4 | Availability | |---|---|---|---|---|---| | S1 | 10 | 0 | 20 | 11 | 15 | | S2 | 12 | 8 | 9 | 20 | 25 | | S3 | 0 | 14 | 16 | 18 | 10 | | Demand | 5 | 20 | 15 | 10 | |
- 2019 Q1(e): Use graphical method to solve the linear programming problem. Maximize $Z=3x_1+2x_2$ subject to $x_1-x_2\geq 1,$ $x_1+x_3\geq 3$ and $x_1,x_2,x_3\geq 0$
- 2019 Q3(b): Solve the linear programming problem using Simplex method. Minimize $Z=x_1+2x_2-3x_3-2x_4$ subject to $x_1+2x_2-3x_3+x_4=4$ $x_1+2x_2+x_3+2x_4=4$ and $x_1,x_2,x_3,x_4\geq 0$
- 2019 Q4(d): Consider the following LPP, Maximize $Z=2x_1+4x_2+4x_3-3x_4$ subject to $x_1+x_2+x_3=4$ $x_1+4x_2+x_4=8$ and $x_1,x_2,x_3,x_4\geq 0$ Use the dual problem to verify that the basic solution $(x_1,x_2)$ is not optimal.
- 2018 Q1(e): An agricultural firm has 180 tons of nitrogen fertilizer, 250 tons of phosphate and 220 tons of potash. It will be able to sell a mixture of these substances in their respective ratio $3:3:4$ at a profit of Rs. 1500 per ton and a mixture in the ratio $2:4:2$ at a profit of Rs. 1200 per ton. Pose a linear programming problem to show how many tons of these two mixtures should be prepared to obtain the maximum profit.
- 2018 Q2(b): Solve the following linear programming problem by Big M-method and show that the problem has finite optimal solutions. Also find the value of the objective function : Minimize $z = 3x_1 + 5x_2$ subject to $x_1 + 2x_2 \ge 8$ $3x_1 + 2x_2 \ge 12$ $5x_1 + 6x_2 \le 60$, $x_1, x_2 \ge 0$.
- 2018 Q3(c): How many basic solutions are there in the following linearly independent set of equations ? Find all of them. $2x_1 - x_2 + 3x_3 + x_4 = 6$ $4x_1 - 2x_2 - x_3 + 2x_4 = 10$.
- 2018 Q4(c): In a factory there are five operators $O_1, O_2, O_3, O_4, O_5$ and five machines $M_1, M_2, M_3, M_4, M_5$. The operating costs are given when the $O_i$ operator operates the $M_j$ machine ($i, j = 1, 2, \ldots, 5$). But there is a restriction that $O_3$ cannot be allowed to operate the third machine $M_3$ and $O_2$ cannot be allowed to operate the fifth machine $M_5$. The cost matrix is given above. Find the optimal assignment and the optimal assignment cost also. | | $M_1$ | $M_2$ | $M_3$ | $M_4$ | $M_5$ | |---|---|---|---|---|---| | $O_1$ | 24 | 29 | 18 | 32 | 19 | | $O_2$ | 17 | 26 | 34 | 22 | 21 | | $O_3$ | 27 | 16 | 28 | 17 | 25 | | $O_4$ | 22 | 18 | 28 | 30 | 24 | | $O_5$ | 28 | 16 | 31 | 24 | 27 |
- 2017 Q1(e): Using graphical method, find the maximum value of $2x + y$ subject to $4x + 3y \le 12$ $4x + y \le 8$ $4x - y \le 8$ $x, y \ge 0$.
- 2017 Q3(c): Solve the following linear programming problem by simplex method : Maximize $z = 3x_1 + 5x_2 + 4x_3$ subject to $2x_1 + 3x_2 \le 8$ $2x_2 + 5x_3 \le 10$ $3x_1 + 2x_2 + 4x_3 \le 15$ $x_1, x_2, x_3 \ge 0$.
- 2017 Q4(b): Find the initial basic feasible solution of the following transportation problem using Vogel's approximation method and find the cost. | | D1 | D2 | D3 | D4 | D5 | Supply | |---|---|---|---|---|---|---| | O1 | 4 | 7 | 0 | 3 | 6 | 14 | | O2 | 1 | 2 | -3 | 3 | 8 | 9 | | O3 | 3 | -1 | 4 | 0 | 5 | 17 | | Demand | 8 | 3 | 8 | 13 | 8 | |
- 2016 Q1(e): Answer all the questions : Find the maximum value of $5x + 2y$ with constraints $x + 2y \geq 1$, $2x + y \leq 1$, $x \geq 0$ and $y \geq 0$ by graphical method.
- 2016 Q2(c): Maximize $z = 2x_1 + 3x_2 + 6x_3$ subject to $2x_1 + x_2 + x_3 \leq 5$ $3x_2 + 2x_3 \leq 6$ $x_1 \geq 0, x_2 \geq 0, x_3 \geq 0$. Is the optimal solution unique ? Justify your answer.