Sonzaschool
Rudi

Sekondari ya Juu · Kidato cha Tano

Advanced Mathematics 1

Transportation problems

takriban dakika 11 kusoma

Mada za sehemu hiiLinear ProgrammingMada 3

Transportation problems

Transportation problems arise when a product is distributed from several sources (e.g., factories or warehouses) to several destinations (e.g., customers or outlets), with the goal of minimizing the total transportation cost.

Key concepts

  1. Source (Supply): A location from which products are sent.
  2. Destination (Demand): A location where products are needed.
  3. Balanced Problem: Total supply = total demand.
  4. Unbalanced Problem: Total supply ≠ total demand (must be adjusted).

The transportation problem is a type of linear programming problem designed to minimize the cost of shipping from sources to destinations.

Formulating a transportation problem

Case 1: Two sources and two destinations

Suppose:

  • Source PP has kk units
  • Source QQ has hh units
  • Destination AA needs aa units
  • Destination BB needs bb units

Let the decision variables be:

  • xx: units transported from PP to AA
  • yy: units transported from PP to BB
  • axa - x: units from QQ to AA
  • byb - y: units from QQ to BB

Case 2: Two sources and three destinations

Suppose:

  • Source PP has kk units
  • Source QQ has hh units
  • Destination AA needs aa, BB needs bb, and CC needs cc units

Let the decision variables be:

  • xx: from PP to AA
  • yy: from PP to BB
  • zz: from PP to CC
  • axa - x: from QQ to AA
  • byb - y: from QQ to BB
  • czc - z: from QQ to CC

These variables help us create the constraints to ensure that the total supply from each source is not exceeded, and each destination receives its required demand.

Example

A manufacturer has two warehouses:

  • Warehouse H1H_1: 80 units
  • Warehouse H2H_2: 70 units

Customer demands:

  • Customer C1C_1: 35 units
  • Customer C2C_2: 60 units

Transportation cost table (Tanzanian shillings):

From → ToC1C_1C2C_2
H1H_180100
H2H_2120130

Let:

  • xx: units from H1H_1 to C1C_1
  • yy: units from H1H_1 to C2C_2
  • 35x35 - x: units from H2H_2 to C1C_1
  • 60y60 - y: units from H2H_2 to C2C_2

Constraints

Supply constraints:

  • x+y80x + y \leq 80
  • (35x)+(60y)70(35 - x) + (60 - y) \leq 70

Demand constraints (automatically satisfied with the above setup):

  • x+(35x)=35x + (35 - x) = 35
  • y+(60y)=60y + (60 - y) = 60

Objective function

Minimize the total transportation cost:

Cost=80x+100y+120(35x)+130(60y)\text{Cost} = 80x + 100y + 120(35 - x) + 130(60 - y)

This simplifies to a linear expression in xx and yy that can be minimized using linear programming techniques.

Transportation problems are structured and solvable using linear programming techniques such as:

  • North-West Corner Method
  • Least Cost Method
  • Vogel's Approximation Method
  • Simplex Method

Linear programming problems

  1. Two printers N and T produce three types of books. N produces 80 types I books per day, 10 type II books per day and 20 types III books per day, while T produces 20 types I books per day 10 type II books per day and 70 types III books per day. The orders placed are 1600 type I, 500 type II and 2100 type III books. The daily operating costs for N shs. 10,000/=, for Tshs, 20,000/= how many days should each printer operate to meet the orders at a minimum cost.

  2. A small textile company manufactures three different size of shirts, Large (L), medium (M) and small (S) at two different plants A and B. The number of shirts of each size produced and the cost of production per day are as follows!

ABMonthly demand
Large size per day50602500
Medium size per day100703500
Small size per day1002007000
Production Cost per day Tshs.25003500_
  1. How many days per month should each factory operate in order to minimize total cost.
  2. What is the minimum cost of production

Solution 1

Let xx be number of days printer N should operate

Let yy be number of days printer T should operate

Objective function

f(x,y)=10000x+20000yf(x, y) = 10000x + 20000y

Constraints

  • 80x+20y160080x + 20y \geq 1600
  • 10x+10y50010x + 10y \geq 500
  • 20x+70y210020x + 70y \geq 2100
  • x0x \geq 0, y0y \geq 0

Equations

  • 80x+20y160080x + 20y \geq 1600

80x+20y=160080x + 20y = 1600

8x+2y=1608x + 2y = 160

When x=0x = 0, y=80y = 80

y=0y = 0, x=20x = 20

  • 10x+10y50010x + 10y \geq 500

10x+10y=50010x + 10y = 500

x+y=50x + y = 50

When x=0x = 0, y=50y = 50

y=0y = 0, x=50x = 50

  • 20x+70y210020x + 70y \geq 2100

20x+70y=210020x + 70y = 2100

2x+7y=2102x + 7y = 210

When x=0x = 0, y=30y = 30

y=0y = 0, x=105x = 105

Corner pointsF(x,y)=10000x+20000yF(x, y) = 10000x + 20000y
A (0, 80)10000 (0) + 20000 (80) = 1,600,000
B (28, 22)10000 (28) + 20000 (22) = 720,000
C (105, 0)10,000 (105) + 20000 (0) = 1,050,000

Printer N should be operated for 28 days and printer T should work for 22 days to meet the orders at minimum cost.

Solution 2

Let xx be number of days per month factory A should operate

Let yy be number of days per month factory B should operate

Objective function

F(x,y)=2500x+3500yF(x, y) = 2500x + 3500y

Constraints

  • 50x+60y250050x + 60y \geq 2500
  • 100x+70y3500100x + 70y \geq 3500
  • 100x+200y7000100x + 200y \geq 7000
  • x0x \geq 0, y0y \geq 0

Minimize f(x,y)=2500x+3500yf(x, y) = 2500x + 3500y

Subject to 50x+60y250050x + 60y \geq 2500

100x+70y3500100x + 70y \geq 3500

100x+200y7000100x + 200y \geq 7000

x0x \geq 0, y0y \geq 0

Equations

  • 50x+60y=250050x + 60y = 2500

When y=0y = 0, x=50x = 50

x=0x = 0, y=41.7y = 41.7

  • 100x+70y=3500100x + 70y = 3500

When y=0y = 0, x=35x = 35

x=0x = 0, y=50y = 50

  • 100x+200y=7000100x + 200y = 7000

When y=0y = 0, x=70x = 70

x=0x = 0, y=35y = 35

Corner pointsF(x,y)=2500x+3500yF(x, y) = 2500x + 3500y
A (0, 50)2500 (0) + 3500 (50) = 175,000
B (15, 30)2500 (15) + 3500 (30) = 142,500
C (20, 25)2500 (20) + 3500 (25) = 137,500
D (70, 0)2500 (70) + 3500 (0) = 175,000

Factory A should operate for 20 days and factory B should operate for 25 days in order to minimize total cost.

Minimum cost of production is 137,500

  1. In a certain garage the manager had the following facts floor space required for a saloon is 2m2 and for a lorry is 3m2. Four technicians are required to service a saloon car and three technicians for a lorry per day. He has a maximum of 24m2 of a floor space and a maximum of 36 technicians available; in addition he is not allowed to service more Lorries than saloon cars. The profit for serving a saloon car is 40,000/= and a lorry is 60,000/=. How many motor vehicles of each type should be serviced daily in order to maximize the profit?

Solution

Let xx be number of saloon cars to be serviced daily

Let yy be number of lorries to be serviced daily

Objective function

F(x,y)=40000x+60000yF(x, y) = 40000x + 60000y

Constraints

  • 2x+3y242x + 3y \leq 24
  • 4x+3y364x + 3y \leq 36
  • xyx \geq y
  • x0x \geq 0 and y0y \geq 0

Maximize f(x,y)=40000x+60000yf(x, y) = 40000x + 60000y

Subject to 2x+3y242x + 3y \leq 24

4x+3y364x + 3y \leq 36

xyx \geq y

x0x \geq 0 and y0y \geq 0

Equations

  • 2x+3y242x + 3y \leq 24

When x=0x = 0, y=8y = 8

y=0y = 0, x=12x = 12

  • 4x+3y364x + 3y \leq 36

When x=0x = 0, y=12y = 12

y=0y = 0, x=9x = 9

  • x=yx = y
Corner pointsF(x,y)=40000x+60000yF(x, y) = 40000x + 60000y
A (0, 0)40000 (0) + 60000 (0) = 0
B (4.8, 4.8)40000 (4.8) + 60000 (4.8) = 480,000
C (6, 4)40000 (6) + 60000 (4) = 480,000
D (9, 0)40000 (9) + 60000 (0) = 360,000

6 saloon cars and 4 lorries should be serviced daily to maximize profit to 480,000/=

More example

A builder has two stores, one at S1 and the other at S2. He is building houses at P1, P2, and P3. He needs 5 tons of bricks at P1, 6 tons of bricks at P2 and 4 tons of bricks at P3. The stores contain 9 tons of bricks at S1 and 6 tons of bricks at S2. The transport cost per ton are shown in the diagram

To FromP1P2P3
S16/=3/=4/=
S24/=2/=6/=

How does the builder send his bricks at a minimum cost? What is the minimum overall cost?

Solution

Let the builder send xx tons of bricks from S1 to P1 and yy tons of bricks from S1 to P2

Then the transportation of bricks to P1, P2 and P3 will be as follow:

To FromP1P2P3
S1xy9 - (x + y)
S25 - x6 - y4 -

The constraints are obtained as follows

  • x0x \geq 0, y0y \geq 0
  • 9(x+y)09 - (x + y) \geq 0 i.e. x+y9x + y \leq 9
  • 5x05 - x \geq 0 i.e. x5x \leq 5
  • 6y06 - y \geq 0 i.e. y6y \leq 6
  • 44 -

The objective function:

F(x,y)=6x+3y+4(9xy)+4(5x)+2(6y)+6(4)F(x, y) = 6x + 3y + 4(9 - x - y) + 4(5 - x) + 2(6 - y) + 6(4)

Simplifying:

F(x,y)=6x+3y+364x4y+204x+122y+24F(x, y) = 6x + 3y + 36 - 4x - 4y + 20 - 4x + 12 - 2y + 24

F(x,y)=(6x4x4x)+(3y4y2y)+(36+20+12+24)F(x, y) = (6x - 4x - 4x) + (3y - 4y - 2y) + (36 + 20 + 12 + 24)

F(x,y)=2x3y+92F(x, y) = -2x - 3y + 92

Since we want to minimize, this is equivalent to maximizing 2x+3y2x + 3y, or we can rewrite as:

F(x,y)=4x+3y+38F(x, y) = 4x + 3y + 38

Minimize f(x,y)=4x+3y+38f(x, y) = 4x + 3y + 38

Subject to x+y9x + y \leq 9

x+y5x + y \geq 5

x5x \leq 5, y0y \geq 0

y6y \leq 6, y0y \geq 0

Equations

  • x+y=9x + y = 9

When x=0x = 0, y=9y = 9

y=0y = 0, x=9x = 9

  • x+y=5x + y = 5

x=0x = 0, y=5y = 5

y=0y = 0, x=9x = 9

  • x=5x = 5

  • y=6y = 6

Corner pointsF(x,y)=4x+3y+38F(x, y) = 4x + 3y + 38
A (0, 5)4 (0) + 3 (5) + 38 = 53
B (0, 6)4 (0) + 3 (6) + 38 = 56
C (3, 6)4 (3) + 3 (6) + 38 = 68
D (5, 4)4 (5) + 3 (4) + 38 = 70
E (5, 0)4 (5) + 3 (0) + 38 = 58

The builder should send the bricks of tons as follows:

To FromP1P2P3
S1054
S2510

The overall minimum cost is 53/=

Mwalimu

Unasoma somo hili? Niulize nikuelezee chochote kilichomo.

Ingia ili kumuuliza Mwalimu wa AI wa Sonza kuhusu mada hii.

Ingia ili kuuliza