LPP Formulation
LPP Formulation
Solution
Here the decision is concerned with maximization of profit; hence the objective function will be of
maximization type.
Let x1 and x2 be the number of units of product X and Y respectively. (Defining the decision variables)
The total profit is calculated by the number of products of X and Y and their contribution (profit/unit). As
profit contribution of products X and Y are Rs 5 and Rs 4 respectively. Therefore, the objective function
will be
Maximum z = 5x1 + 4x2
The content in the problem can be expressed in the tabular form as below
As information is concerned with availability of the resources (hours of each machine), all the structural
constraints will be of less than equal to type (≤) and can be written as below.
0x1 + 2x2 ≤ 50
x1 + 2x2 ≤ 25
x1 + x2 ≤ 15
The non-negativity constraint can be written as
x 1 , x2 ≥ 0
Hence the problem formulation can be
Maximum z = 5x1 + 4x2
Subjected to the constraints
0x1 + 2x2 ≤ 50
x1 + 2x2 ≤ 25
x1 + x2 ≤ 15
x 1 , x2 ≥ 0
PROBLEM 2
A retail store stocks two types of shirts A and B. These are packed in attractive cardboard boxes. During
a week the store can sell a maximum of 400 shirts of type A and a maximum of 300 shirts of type B. The
storage capacity however is limited to a maximum of 600 of both types combined. Type A shirt fetches a
profit of Rs 2 per unit and type B a profit of Rs 5 per unit. How many of each type the store should stock
per week to maximize the total profit? Formulate the problem as LPP.
Solution
Let x1 and x2 be the number of units of type A and B shirts respectively.
As type A shirt fetches a profit of Rs 2 per unit and type B a profit of Rs 5 per unit, the objective function
will be
Maximum z = 2x1 + 5x2
Subjected to constraints
x1 ≤ 400 Sales constraint
x2 ≤ 300 Sales constraint
x1 + x2 ≤ 600 Storage capacity constraint
x 1 , x2 ≥ 0 Non negativity constraints
PROBLEM 3
A patient consulted a doctor to check up his ill health. Doctor examines him and advises him that he is
having deficiency of two vitamins, vitamin A and vitamin D. Doctor advises him to consume vitamin A
and D regularly for a period of time so that he can regain his health. Doctor prescribes tonic X and Y,
which are having vitamin A and D in certain proportion. Also advises the patient to consume at least 40
units of vitamin A and 50 units of vitamin daily. The cost of tonics X and Y and proportion of vitamin A
and D that present in X and Y are given in the table below.
Vitamins Tonics Daily requirement
X Y In units
A 2 4 40
D 3 2 50
Cost (Rs/unit) 5 3
Let x1, and x2 be the number of days per month mill A and Mill B is operated Y respectively
Minimize z = 2000x1 + 1500x2
Subjected to constraints
6x1 + 2x2 ≥ 8
2x1 + 4x2 ≥ 12
4x1 + 12x2 ≥ 24
x 1 , x2 ≥ 0
PROBLEM 5
A farmer has Rs 80 and space for 20 hens. The cost of feeding per hen is Re 1 per week. The purchasing
of young hen is Rs 5 and it lays 5 eggs per week, whereas the old hen can be bought for Rs 2 and it lays 3
eggs per week. If an egg is worth for 30 paise, how many hens of each type a farmer should purchase to
maximize his profit?
Solution
Let x1, and x2 be the number of hens of young and old type respectively a farmer purchases
Profit= (0.30 X number of eggs –cost of feeding) X No. of hens
Maximize z = (0.3 X 5 – 1) x1 + (0.3 X 3 – 1) x2
Maximize z = 0.5 x1 – 0.1x2
Subjected to constraints
x1 + x2 ≤ 20
5x1 + 2x2 ≤ 80
x1 , x2 ≥ 0
PROBLEM 6
A company produces two types of belts- Belt A and Belt B. Belt A is superior to belt B and requires twice
time as much belt B. If all the belts of type B are produced then a company can produce 1500 belts. The
leather supply is limited to produce 1000 belts and each type of belt requires same amount of leather.
Belt A requires a fancy buckle for which supply is limited to 400 buckles per day. The profit per unit for
belt A and belt B is Rs 5 and Rs 4 respectively. How many belts of each type a company can manufacture
so as to maximize the total profit. Formulate the problem as LPP.
Solution
Let x1 and x2 be the number of belts of type A and type B manufactured respectively
Maximize z = 5x1 + 4x2
Subjected to constraints
2x1 + x2 ≤ 1500
x1 + x2 ≤ 1000
x1 ≤ 400
x1 , x2 ≥ 0
PROBLEM 7
A ship has three cargo holds, forward, aft and centre. The capacity limits are
Forward- 2000 tons, 1,00,000 cubic meters
Centre - 3000 tons, 1,35,000 cubic meters
Aft - 1500 tons, 30,000 cubic meters
The following cargoes are offered, the ship owners may accept all or any part of each commodity:
In order to preserve the trim of the ship the weight in each hold must be proportional to the capacity in
tons. How should the cargo be distributed so as to maximize profit? Formulate the problem as LPP.
Let x1, x2 and x3 be the tons of commodities of type A, B and C respectively.
Maximum z = 60x1 + 80x2 + 50 x3
The weight constraint is
6000x1 + 4000x2 + 2000x3 ≤ 6500
The tonnage of commodity A is 6000 and each tone occupies of 60 cubic meters, hence there are 100
cubic meters capacity is available. Similarly cubic capacity for commodity B and C will be 80 cubic
meters.
Hence capacity constraint will be
100x1 + 80x2 + 80x3 ≤ 6500
Hence the formulation will be
Maximum z = 60x1 + 80x2 + 50 x3
Subjected to constraints
6000x1 + 4000x2 + 2000x3 ≤ 6500
100x1 + 80x2 + 80x3 ≤ 6500
x1 , x2 ,x3 ≥ 0
General form of LPP