Math Lab
Home/Class XII/Ch 12/Manufacturing and transportation problems

Manufacturing and transportation problems

A second standard class of LPPs is the manufacturing problem: a factory produces multiple products, each requiring resources (machine time, raw materials, labour) of which the supply is limited. The objective is usually to maximise profit.

Closely related is the transportation problem: goods are shipped from sources to destinations at known per-unit costs; the goal is to minimise total cost subject to supply and demand constraints.

Structure of a manufacturing problem

Decision variables: units of each product to produce.

Objective: maximise profit Z=p1x1+p2x2+Z = p_1 x_1 + p_2 x_2 + \cdots, where pip_i is profit per unit of product ii.

Constraints:

  • Resource limits: ai1x1+ai2x2+bia_{i1} x_1 + a_{i2} x_2 + \cdots \le b_i for each resource (machine hours, kg of material, etc.).
  • Demand limits (sometimes): xidix_i \le d_i or ximix_i \ge m_i.
  • Non-negativity: xj0x_j \ge 0.

The feasible region is typically bounded (all \le constraints) , corner-point method works directly.

Standard form

Let xx = units of A, yy = units of B.

Machine M1M_1Machine M2M_2Profit
Aa1a_1b1b_1p1p_1
Ba2a_2b2b_2p2p_2
Availablem1\le m_1m2\le m_2(max)

Maximise Z=p1x+p2yZ = p_1 x + p_2 y subject to:

  • a1x+a2ym1a_1 x + a_2 y \le m_1
  • b1x+b2ym2b_1 x + b_2 y \le m_2
  • x,y0x, y \ge 0.

Transportation problem (simple form)

A two-warehouse, one-destination problem. Warehouse 1 has S1S_1 units, ships at cost c1c_1 per unit. Warehouse 2 has S2S_2 units, ships at c2c_2 per unit. Destination needs DD units total.

Variables: xx from W1, yy from W2. Constraints: xS1x \le S_1, yS2y \le S_2, x+yDx + y \ge D, x,y0x, y \ge 0. Minimise Z=c1x+c2yZ = c_1 x + c_2 y.

This is bounded if you also have supply caps; corner-point method again.

Worked examples

Example 1. A factory makes two products A and B. A needs 33 hours on machine 1 and 44 hours on machine 2; B needs 55 hours on machine 1 and 33 on machine 2. Machine 1 available 1515 hours, machine 2 available 1212 hours. Profit ₹88 per A, ₹1010 per B.

xx = A, yy = B. Z=8x+10yZ = 8x + 10y. 3x+5y153x + 5y \le 15, 4x+3y124x + 3y \le 12, x,y0x, y \ge 0.

Corners: (0,0):0(0, 0): 0. (3,0)(3, 0) (on y=0y = 0, 4x124x \le 12 gives x3x \le 3): check 3(3)+0153(3) + 0 \le 15 ✓. (0,3)(0, 3): check 0+15150 + 15 \le 15 ✓, 0+9120 + 9 \le 12 ✓. Intersection of 3x+5y=15,4x+3y=123x + 5y = 15, 4x + 3y = 12: multiply first by 3, second by 5: 9x+15y=45,20x+15y=609x + 15y = 45, 20x + 15y = 60. Subtract: 11x=15,x=15/11,y=(1260/11)/3=(72/11)/3=24/1111x = 15, x = 15/11, y = (12 - 60/11)/3 = (72/11)/3 = 24/11.

Values: (3,0):24(3, 0): 24. (0,3):30(0, 3): 30. (15/11,24/11)(15/11, 24/11): 120/11+240/11=360/1132.7120/11 + 240/11 = 360/11 \approx 32.7. Max Z32.7Z \approx 32.7 at (15/11,24/11)(15/11, 24/11).

Example 2. A bookbinder makes two types of books: A uses 22 hours of finishing and 33 hours of binding; B uses 44 hours finishing and 22 hours binding. Available: 2020 hours finishing, 2424 hours binding. Profit ₹3030 for A, ₹5050 for B.

xx = A, yy = B. Z=30x+50yZ = 30x + 50y. 2x+4y202x + 4y \le 20 (finishing, simplify x+2y10x + 2y \le 10), 3x+2y243x + 2y \le 24, x,y0x, y \ge 0.

Corners: (0,0):0(0, 0): 0. (10,0)(10, 0): check 30+02430 + 0 \le 24? 30>2430 > 24, infeasible. So use x=8x = 8 on binding line: (8,0)(8, 0). (0,5)(0, 5): check 0+10240 + 10 \le 24 ✓. Intersection x+2y=10,3x+2y=24x + 2y = 10, 3x + 2y = 24: subtract first from second: 2x=14,x=7,y=3/22x = 14, x = 7, y = 3/2.

Values: (8,0):240(8, 0): 240. (7,3/2):210+75=285(7, 3/2): 210 + 75 = 285. (0,5):250(0, 5): 250. Max Z=285Z = 285 at (7,3/2)(7, 3/2).

Example 3. A garment shop produces shirts and pants. Shirts use 11 m of fabric, 11 button, profit ₹5050. Pants use 22 m fabric, 00 buttons (just zippers), profit ₹8080. Available: 2020 m fabric, 1212 buttons (so number of shirts at most 12).

xx = shirts, yy = pants. Z=50x+80yZ = 50x + 80y. x+2y20x + 2y \le 20, x12x \le 12, x,y0x, y \ge 0.

Corners: (0,0)(0, 0), (12,0)(12, 0) (x+0=1220x + 0 = 12 \le 20 ✓), (12,4)(12, 4) (x=12x = 12, 12+2y=2012 + 2y = 20, y=4y = 4). (0,10)(0, 10).

Values: (0,0):0(0, 0): 0. (12,0):600(12, 0): 600. (12,4):600+320=920(12, 4): 600 + 320 = 920. (0,10):800(0, 10): 800. Max Z=920Z = 920 at (12,4)(12, 4).

Example 4. A trucker has two trucks. Truck A: capacity 55 tonnes, fuel cost ₹200200/trip. Truck B: capacity 33 tonnes, fuel cost ₹100100/trip. Need to move at least 2424 tonnes. Truck A can do at most 66 trips, truck B at most 1010. Minimise total fuel cost.

xx = trips of A, yy = trips of B. Z=200x+100yZ = 200x + 100y. 5x+3y245x + 3y \ge 24, x6x \le 6, y10y \le 10, x,y0x, y \ge 0.

Corners: (6,0)(6, 0): check 30+02430 + 0 \ge 24 ✓; z=1200z = 1200. (0,8)(0, 8): check 0+24240 + 24 \ge 24 ✓; z=800z = 800. (0,10)(0, 10): z=1000z = 1000 (also feasible). (6,10)(6, 10): z=2200z = 2200. Intersection of 5x+3y=245x + 3y = 24 and x=6x = 6: y=2y = -2, not in first quadrant. Intersection with y=10y = 10: 5x+30=245x + 30 = 24, x=1.2x = -1.2, infeasible. Intersection with axes: covered. Try the line itself crossing the box: from (6,2)(6, -2) to (1.2,10)(-1.2, 10) , clipping to feasibility we get (6,0)(6, 0) on x=6x = 6 and (0,8)(0, 8) on yy-axis.

Min: (0,8):800(0, 8): 800. So 00 trips of A, 88 trips of B.

Example 5. A jewellery shop produces two types of necklaces. N1 uses 55 g silver and 2020 minutes of labour; N2 uses 44 g silver and 3030 minutes labour. Available: 150150 g silver, 12001200 minutes. Profit: ₹500500 per N1, ₹800800 per N2.

xx = N1, yy = N2. Z=500x+800yZ = 500x + 800y. 5x+4y1505x + 4y \le 150, 20x+30y120020x + 30y \le 1200 (simplify 2x+3y1202x + 3y \le 120), x,y0x, y \ge 0.

Corners: (0,0)(0, 0). (30,0)(30, 0) (5(30)=1501505(30) = 150 \le 150 ✓, 60+012060 + 0 \le 120 ✓). (0,37.5)(0, 37.5) , check 0+4(37.5)=1501500 + 4(37.5) = 150 \le 150 ✓, 0+112.51200 + 112.5 \le 120 ✓. So (0,37.5)(0, 37.5).

Intersection: 5x+4y=1505x + 4y = 150, 2x+3y=1202x + 3y = 120. From first: y=(1505x)/4y = (150 - 5x)/4. Sub: 2x+3(1505x)/4=1202x + 3(150 - 5x)/4 = 120, multiply by 4: 8x+45015x=4808x + 450 - 15x = 480, 7x=30-7x = 30, x=30/7x = -30/7 , infeasible.

So just the two axis corners (and origin) and we use simpler analysis: the line 5x+4y=1505x + 4y = 150 ends at (30,0)(30, 0) and (0,37.5)(0, 37.5). The line 2x+3y=1202x + 3y = 120 ends at (60,0)(60, 0) and (0,40)(0, 40). They are both upward-sloping (or downward-sloping) constraints in the same direction; the tighter one binds. At each axis: silver constraint binds (smaller intercept).

Values: (30,0):15000(30, 0): 15000. (0,37.5):30000(0, 37.5): 30000. Max Z=30000Z = 30000 at (0,37.5)(0, 37.5).

Example 6. A transporter has 2020 trucks. Each "Type 1" trip earns ₹10001000, uses 11 truck-day. Each "Type 2" trip earns ₹15001500, uses 1.51.5 truck-days. Available: 2525 truck-days per week. Each Type 1 needs at least 55 trips/week (to maintain a contract). Maximise revenue.

xx = Type 1, yy = Type 2 trips/week. Z=1000x+1500yZ = 1000x + 1500y. x+1.5y25x + 1.5y \le 25, x5x \ge 5, x,y0x, y \ge 0.

Corners: (5,0)(5, 0): 1.5y=201.5y = 20, so y=0y = 0 works, z=5000z = 5000. (25,0)(25, 0) on x=25x = 25 axis but then x+0=2525x + 0 = 25 \le 25 and x5x \ge 5, OK: z=25000z = 25000. (5,40/3)(5, 40/3): 5+1.5(40/3)=5+20=255 + 1.5(40/3) = 5 + 20 = 25, OK: z=5000+20000=25000z = 5000 + 20000 = 25000.

So two corners both give 2500025000 , tie along the edge from (5,40/3)(5, 40/3) to (25,0)(25, 0). Max Z=25000Z = 25000 along that edge.

Try it yourself

  1. Factory makes two TVs. A: ₹20002000 profit, 33 h machine 1, 22 h machine 2. B: ₹30003000 profit, 44 h machine 1, 11 h machine 2. Available: 5050 h, 2424 h.
  2. Carpenter makes chairs (₹2525 profit each, 22 h work, 11 kg wood) and tables (₹100100 profit, 44 h work, 33 kg wood). Available: 3030 h, 2020 kg.
  3. Bakery makes biscuits and cookies. Biscuit: 11 kg flour, 22 kg sugar, ₹55 profit. Cookie: 22 kg flour, 11 kg sugar, ₹44. Flour: 1010 kg, sugar: 1212 kg.
  4. Two product factory: P1 uses 22 kg material, 11 h time, ₹3030. P2 uses 11 kg, 33 h, ₹4040. Available: 2020 kg, 3030 h.
  5. A clothing maker. Shirts: ₹5050, 11 m fabric, 0.50.5 h. Pants: ₹8080, 22 m, 11 h. Available: 3030 m, 1515 h.
  6. Cement plant: types C1C_1 and C2C_2. C1C_1 uses 44 h crusher, 22 h mixer, ₹20002000 profit. C2C_2 uses 22 h crusher, 55 h mixer, ₹25002500 profit. Available 2020 h crusher, 2525 h mixer.
  7. A craftsman makes two articles X and Y. Both need molding and finishing. X: 22 min mold, 33 min finish, profit ₹5050. Y: 44 min mold, 11 min finish, profit ₹3030. Available: 6060 min mold, 4040 min finish.
  8. Trucking: Truck 1 carries 44 tonnes/trip, ₹5050/trip. Truck 2 carries 33 tonnes/trip, ₹3030/trip. Need to move 3636 tonnes. Truck 1 can do 8\le 8, Truck 2 6\le 6. Min cost.
  9. Two cosmetics products. C1: 33 hours mixing, 11 hour packing, profit ₹200200. C2: 22 h mixing, 22 h packing, profit ₹150150. Available: 2424 h mixing, 1818 h packing.
  10. A printing press has 8080 hours of machine time and 100100 kg ink. Magazines: 44 h, 22 kg, profit ₹1515. Books: 66 h, 44 kg, profit ₹2525.
  11. Two chemicals A and B. A: ₹50005000 profit, 22 raw materials, 11 man-day. B: ₹40004000, 11 raw, 22 man-days. Available: 200200 raw, 150150 man-days.
  12. A computer assembly: laptops use 44 h labour, 11 board, profit ₹30003000. Desktops: 22 h labour, 11 board, profit ₹20002000. 4040 h labour, 1515 boards.
  13. A logistics: trucks of capacity 1010 and 1515 tonnes, costs ₹100100 and ₹150150/trip. Need to move 9090 tonnes. Available: 66 small, 44 large trucks. Min cost.
  14. A multi-product factory: 33 products P, Q, R with constraints , but for 2D restrict to P+Q+R100P + Q + R \le 100 and similar...

Pitfalls and tricks

  • Identify the bottleneck resource. The constraint that binds at the optimum is the "scarce" resource.
  • Check integer feasibility separately if the problem demands integer units (you produce whole biscuits, not 2.7 biscuits). For Class XII problems, fractional answers are often acceptable.
  • Profit problems are usually maximisation with \le constraints → bounded region → corner-point method directly.
  • Transportation problems are minimisation with mixed constraints (\le on supply, \ge on demand) , may give bounded or unbounded region.
  • Sketch and verify that each corner you compute is in the feasible region. A common error is to include an infeasible intersection.

Practice quiz

Quick check on this topic.

Quiz
Quick check : Manufacturing
6 questions · pick the best answer
Q1

Manufacturing objective is usually

Q2

Resource constraints in manufacturing are

Q3

Feasible region in manufacturing is typically

Q4

If a binding constraint at optimum is 'machine A: 40 h', then

Q5

Transportation problem variables represent

Q6

Transportation problems are usually