Menu Close

Linear Programming – Mathematics Optional PYQs (2008–2026)

Here are all 55 Linear Programming questions asked in UPSC Mathematics Optional Paper II from 2008 to 2026, arranged under the 3 topics of the official syllabus. Within each topic the latest questions come first.

Each question ends with a code such as [2024/10m/1a] – the year, the marks and the question number in the paper.

Topic-wise weightage graph of Linear Programming, Mathematics Optional Paper II, 2013–2026 vs 2022–2026
Topic-wise weightage of Linear Programming (Paper II) – share of marks, 2013–2026 (white) vs 2022–2026 (black).

4.1] LPP, graphical and simplex methods

30 questions

  1. Solve the dual problem of the following linear programming problem by the graphical method : Minimize Y=10y1+6y2+2y3+y4 subject to the constraints : y1+y2+y3+y4≥22y1+y2−y3−2y4≥1y1,y2,y3,y4≥0 [2026/10m/1e]

  2. Solve the following linear programming problem by the Simplex method : Maximize Z=4x1+10x2 subject to the constraints 2x1+x2≤102x1+5x2≤202x1+3x2≤18x1,x2≥0 Obtain an alternate optimal solution, if it exists, with explanation. [2026/20m/4c]

  3. How many basic solutions are there for the following system of equations? 2x1−x2+3x3+x4=64x1−2x2−x3+2x4=10 Find all of them. Furthermore, find the number of basic solutions, which are feasible/non-feasible/non-degenerate. [2025/10m/1e]

  4. Use two phase method to solve the following linear programming problem : Maximize z=x1+2x2 subject to x1−x2≥32x1+x2≤10x1,x2≥0 [2024/10m/1e]

  5. 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/10m/1e]

  6. Solve the following linear programming problem by Big M method : Minimize Z=2x1+3x2 subject to x1+x2≥9x1+2x2≥152x1−3x2≤9x1,x2≥0 Is the optimal solution unique? Justify your answer. [2023/20m/3c]

  7. Use two-phase method to solve the following linear programming problem : Minimize Z=x1+x2 subject to 2x1+x2≥4x1+7x2≥7x1,x2≥0 [2022/10m/1e]

  8. 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=x1+x2+x3 subject to 2x1+x2+x3≤24x1+2x2+x3≤2x1,x2,x3≥0 [2022/15m/3c]

  9. Solve the following linear programming problem using Big M method : Maximize Z=4x1+5x2+2x3 subject to 2x1+x2+x3≥10x1+3x2+x3≤12x1+x2+x3=6x1,x2,x3≥0 [2021/15m/4c]

  10. 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 required570094007300 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/10m/1e]

  11. Solve the linear programming problem using simplex method : Minimize z=−6x1−2x2−5x3 subject to 2x1−3x2+x3≤14−4x1+4x2+10x3≤462x1+2x2−4x3≤37x1≥2,x2≥1,x3≥3 [2020/15m/3b]

  12. Use graphical method to solve the linear programming problem. Maximize Z=3x1+2x2 subject to x1−x2≥1,x1+x3≥3 and x1,x2,x3≥0 [2019/10m/1e]

  13. Solve the linear programming problem using Simplex method. Minimize Z=x1+2x2−3x3−2x4 subject to x1+2x2−3x3+x4=4x1+2x2+x3+2x4=4 and x1,x2,x3,x4≥0 [2019/15m/3b]

  14. 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/10m/1e]

  15. 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=3x1+5x2 subject to x1+2x2≥83x1+2x2≥125x1+6x2≤60,x1,x2≥0. [2018/20m/2b]

  16. How many basic solutions are there in the following linearly independent set of equations ? Find all of them. 2x1−x2+3x3+x4=64x1−2x2−x3+2x4=10. [2018/15m/3c]

  17. Using graphical method, find the maximum value of 2x+y subject to 4x+3y≤124x+y≤84x−y≤8x,y≥0. [2017/10m/1e]

  18. Solve the following linear programming problem by simplex method : Maximize z=3x1+5x2+4x3 subject to 2x1+3x2≤82x2+5x3≤103x1+2x2+4x3≤15x1,x2,x3≥0. [2017/20m/3c]

  19. Find the maximum value of 5x+2y with constraints x+2y≥1,2x+y≤1,x≥0 and y≥0 by graphical method. [2016/10m/1e]

  20. Maximize z=2x1+3x2+6x3 subject to 2x1+x2+x3≤53x2+2x3≤6x1≥0,x2≥0,x3≥0. Is the optimal solution unique ? Justify your answer. [2016/20m/2c]

  21. Consider the following linear programming problem : Maximize Z=x1+2x2−3x3+4x4subject tox1+x2+2x3+3x4=12x2+2x3+x4=8x1,x2,x3,x4≥0 \(i\) Using the definition, find its all basic solutions. Which of these are degenerate basic feasible solutions and which are non-degenerate basic feasible solutions? (ii) Without solving the problem, show that it has an optimal solution. Which of the basic feasible solution(s) is/are optimal? [2015/20m/3c]

  22. 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=2x1−4x2+5x3subject tox1+4x2−2x3≤2−x1+2x2+3x3≤1x1,x2,x3≥0 [2015/20m/4c]

  23. Solve graphically : Maximize Z=6x1+5x2 subject to 2x1+x2≤16x1+x2≤11x1+2x2≥65x1+6x2≤90x1,x2≥0 [2014/10m/1e]

  24. Find all optimal solutions of the following linear programming problem by the simplex method : Maximize Z=30x1+24x2 subject to 5x1+4x2≤200x1≤32x2≤40x1,x2≥0 [2014/20m/4c]

  25. Maximize z=2x1+3x2−5x3 subject to x1+x2+x3=7and2x1−5x2+x3≥10,xi≥0. [2013/10m/1e]

  26. Minimize z=5x1−4x2+6x3−8x4 subject to the constraints x1+2x2−2x3+4x4≤402x1−x2+x3+2x4≤84x1−2x2+x3−x4≤10xi≥0 [2013/20m/4c]

  27. For each hour per day that Ashok studies mathematics, it yields him 10 marks and for each hour that he studies physics, it yields him 5 marks. He can study at most 14 hours a day and he must get at least 40 marks in each. Determine graphically how many hours a day he should study mathematics and physics each, in order to maximize his marks ? [2012/12m/1d]

  28. Solve by Simplex method, the following LP Problem : Maximize, Z=5x1+3x2 Constraints, 3x1+5x2≤155x1+2x2≤10x1,x2≥0 [2011/12m/1d]

  29. A paint factory produces both interior and exterior paint from two raw materials M1 and M2. The basic data is as follows : Tons of raw material per ton ofMaximumExterior paintInterior paintdaily availabilityRaw Material M16424Raw Material M2126Profit per ton (Rs. 1,000)54 A market survey indicates that the daily demand for interior paint cannot exceed that of exterior paint by more than 1 ton. The maximum daily demand of interior paint is 2 tons. The factory wants to determine the optimum product mix of interior and exterior paint that maximizes daily profits. Formulate the LP problem for this situation. [2009/12m/1f]

  30. Maximize : Z=3x1+5x2+4x3 subject to : 2x1+3x2≤8,3x1+2x2+4x3≤15,2x2+5x3≤10,xi≥0. [2009/30m/4b]

Cover of UPSC Prelims Topic-wise PYQs eBook with detailed explanations

From the Optional Province team

Preparing for Prelims too?

Our UPSC Prelims Topic-wise PYQ eBook covers every Prelims question with detailed explanations, so you can see exactly where UPSC asks from.

View the BookDownload Free Sample

4.2] Duality

10 questions

  1. Solve the dual problem of the following linear programming problem by the graphical method : Minimize Y=10y1+6y2+2y3+y4 subject to the constraints : y1+y2+y3+y4≥22y1+y2−y3−2y4≥1y1,y2,y3,y4≥0 [2026/10m/1e]

  2. Apply the principle of duality to solve the following linear programming problem : Maximize Z=3x1+4x2 subject to the constraints x1−x2≤1x1+x2≥4x1−3x2≤3x1,x2≥0 [2025/15m/3c]

  3. Using duality principle, solve the following linear programming problem : Minimize z=4x1+3x2+x3 subject to x1+2x2+4x3≥123x1+2x2+x3≥8x1,x2,x3≥0 [2024/15m/3c]

  4. 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=x1+x2+x3 subject to 2x1+x2+x3≤24x1+2x2+x3≤2x1,x2,x3≥0 [2022/15m/3c]

  5. Convert the following LPP into dual LPP : Minimize Z=x1−3x2−2x3 subject to 3x1−x2+2x3≤72x1−4x2≥12−4x1+3x2+8x3=10 where x1, x2≥0 and x3 is unrestricted in sign. [2021/15m/3c]

  6. Consider the following LPP, Maximize Z=2x1+4x2+4x3−3x4 subject to x1+x2+x3=4x1+4x2+x4=8 and x1,x2,x3,x4≥0 Use the dual problem to verify that the basic solution (x1,x2) is not optimal. [2019/10m/4d]

  7. 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=2x1−4x2+5x3subject tox1+4x2−2x3≤2−x1+2x2+3x3≤1x1,x2,x3≥0 [2015/20m/4c]

  8. Write down the dual of the following LP problem and hence solve it by graphical method : Minimize, Z=6x1+4x2 Constraints, 2x1+x2≥13x1+4x2≥1.5x1,x2≥0 [2011/20m/4c]

  9. Construct the dual of the primal problem : Maximize z=2x1+x2+x3, subject to the constraints x1+x2+x3≥6, 3x1−2x2+3x3=3, −4x1+3x2−6x3=1, and x1,x2,x3≥0. [2010/12m/1f]

  10. Find the dual of the following linear programming problem: Max. Z=2x1−x2+x3 such that x1+x2−3x3≤84x1−x2+x3=22x1+3x2−x3≥5x1,x2,x3≥0 [2008/12m/1f]

4.3] Transportation and assignment problems

15 questions

  1. The following table represents the estimated costs of assigning jobs to machines. Solve this assignment problem to minimize the total cost. Job∖MachineM1M2M3M4J18242832J28131719J38151922 Is the assignment unique for the total minimum cost ? Justify your answer and obtain an alternate assignment, if it exists. [2026/15m/3c]

  2. 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∖MarketIIIIIIIVSupplyA524322B481615C46758Requirement712179 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. [2025/20m/4c]

  3. 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∖OfficeDelhiMumbaiKolkataChennaiA16222420B10322616C10204630 Find the assignment which minimizes the total cost of relocation and also determine the minimum cost. [2024/20m/4c]

  4. 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∖JobsABCDEI494124II15112058III177151218IV91311914V61112914 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. [2023/20m/4c]

  5. 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∖DestinationABCDAvailabilityS12116251311S21718142313S33227184119Requirement610121543 [2022/20m/4c]

  6. 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∖EmployeesIIIIIIIVVA105131516B3918136C107222D7119712E7910412 [2021/10m/1e]

  7. 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. Sources∖DestinationsD1D2D3D4AvailabilityS1100201115S212892025S3014161810Demand5201510 [2020/20m/4c]

  8. Operator∖MachineM1M2M3M4M5O12429183219O21726342221O32716281725O42218283024O52816312427 In a factory there are five operators O1,O2,O3,O4,O5 and five machines M1,M2,M3,M4,M5. The operating costs are given when the Oi operator operates the Mj machine (i,j=1,2,…,5). But there is a restriction that O3 cannot be allowed to operate the third machine M3 and O2 cannot be allowed to operate the fifth machine M5. The cost matrix is given above. Find the optimal assignment and the optimal assignment cost also. [2018/15m/4c]

  9. Find the initial basic feasible solution of the following transportation problem using Vogel’s approximation method and find the cost. D1D2D3D4D5SupplyO14703614O212−3389O33−140517Demand838138 [2017/15m/4b]

  10. Solve the following assignment problem to maximize the sales : Salesmen∖TerritoriesIIIIIIIVVA34567B4151376C61312511D7121585E8131069 [2015/10m/1e]

  11. Find the initial basic feasible solution to the following transportation problem by Vogel’s approximation method. Also, find its optimal solution and the minimum transportation cost : D1D2D3D4SupplyO1641514O2892716O343625Demand610154 [2014/20m/2c]

  12. Solve the minimum time assignment problem : Jobs∖MachinesM1M2M3M4J1312514J279812J35111012J4614411 [2013/15m/4a]

  13. By the method of Vogel, determine an initial basic feasible solution for the following transportation problem : Products P1, P2, P3 and P4 have to be sent to destinations D1, D2 and D3. The cost of sending product Pi to destinations Dj is Cij, where the matrix [Cij]=[10015573615011913]. The total requirements of destinations D1, D2 and D3 are given by 45, 45, 95 respectively and the availability of the products P1, P2, P3 and P4 are respectively 25, 35, 55 and 70. [2012/20m/4c]

  14. Determine an optimal transportation programme so that the transportation cost of 340 tons of a certain type of material from three factories F1, F2, F3 to five warehouses W1, W2, W3, W4, W5 is minimized. The five warehouses must receive 40 tons, 50 tons, 70 tons, 90 tons and 90 tons respectively. The availability of the material at F1, F2, F3 is 100 tons, 120 tons, 120 tons respectively. The transportation costs per ton from factories to warehouses are given in the table below : W1W2W3W4W5F141269F264357F352648 Use Vogel’s approximation method to obtain the initial basic feasible solution. [2010/30m/4c]

  15. Solve the following transportation problem : D1D2D3D4D5D6AvailabilityF121332550F232243440F335424160F442212230Demand305020403010 (rows: Factories; columns: Destinations) by finding the initial solution by Matrix Minima method. [2008/30m/4c]

Cover of UPSC Mains Topic-wise and Year-wise PYQs eBook (2013–2026)

From the Optional Province team

Strengthen your GS papers

Our UPSC Mains Topic-wise & Year-wise PYQ eBook (2013–2026) maps every GS question to the syllabus, so you know what UPSC asks and how often.

View the BookDownload Free Sample

Spotted an error? Tell us.

We classify every PYQ with care, but mistakes can slip in. If a question is in the wrong topic, has a typo, the wrong year, or is missing, let us know. We review every report and update the page.

Report an Error

« Previous: Complex Analysis  |  Next: Partial Differential Equations »

Back to: Mathematics Optional PYQs – Topic-wise | Also see: Mathematics Optional year-wise question papers

Last updated: 30 October 2026