Professional Documents
Culture Documents
Q. 2 Diet Problem: The medical experts and dieticians tell that it is nec-
essary for and adult to consume at least 75 gm of proteins, 85 gm of
fats and 300 gm of carbohydrates daily. The table below gives the food
items analysis and their respective cost. One is interested in finding
the food mix that should be recommended so that the total cost of food
satisfying minimum requirements of balanced diet is the lowest.
Food Type Food value (Gms.) Per kg. Cost per kg.
Proteins Fats Carbohydrates (Rs.)
1 8.0 1.5 35.0 1.00
2 18.0 15.0 – 3.00
3 16.0 4.0 7.0 4.00
4 4.0 20.0 2.5 2.00
5 5.0 8.0 40.0 1.50
6 2.5 – 25.0 3.00
1
Sol. xj : Quantity of food type j
Sol. y1 : Rent charged for shop A per man-day y2 : Rent charged for shop
B per man-day
2
4 X
X 5
Minimize cij xij
i=1 j=1
5
X
Subject to xij = 1, i = 1, 2, 3, 4
j=1
X4
xij ≤ 1, j = 1, 2, 3, 4, 5
i=1
xij = 0 or 1, ∀ (i, j)
Sol. xij : Quantity of product shipped from ith center to j th retail outlet.
4 X
X 4
Minimize cij xij
i=1 j=1
4
X
Subject to xij = ai , i = 1, 2, 3, 4
j=1
X4
xij = bj , j = 1, 2, 3, 4
i=1
xij = 0 or 1, ∀ (i, j)
Q. 6 There are 3 wholesales dealers having 8, 12, 14, quintals of rice available
with them. They supply to 4 retailers whose requirements are 7, 9,
8 and 6 quintals. The transportation cost (rupees per quintal) for
shipping rice from wholesalers to retailers are shown in the following
table.
3
Retailers
1 2 3 4
1 54 53 52 60
Wholesalers 2 61 59 53 57
3 58 62 56 55
3 X
X 4
Minimize cij xij
i=1 j=1
4
X
Subject to xij = ai , i = 1, 2, 3
j=1
X3
xij ≥ bj , j = 1, 2, 3, 4
i=1
xij = 0 or 1, ∀ (i, j)
(b) Retailers are not prepared to receive more than their requirements.
Sol.
3 X
X 4
Minimize cij xij
i=1 j=1
4
X
Subject to xij ≤ ai , i = 1, 2, 3
j=1
X3
xij = bj , j = 1, 2, 3, 4
i=1
xij = 0 or 1, ∀ (i, j)
Site: A B C D
No. of Trucks: 5 10 7 3
4
Customers X, Y and Z require trucks as shown:
Customers: X Y Z
No. of Trucks: 10 8 7
Customer
X Y Z
A 2 3 1
Site B 1.5 1 0.5
C 1 2 1.5
D 0.5 2 1.2
where )
tij (xij ) = tij (≥ 0), if xij > 0
= 0, if xij = 0