Chapter 2 Formulation Introduction + Linear Programming-b(MAS)
Chapter 2 Formulation Introduction + Linear Programming-b(MAS)
A firm produces three products. These products are processed on three different
machines. The time required to manufacture one unit of each of the three products and the
daily capacity of the three machines are given in the table below.
It is required to determine the daily number of units to be manufactured for each product.
The profit per unit for product 1, 2 and 3 is Rs 4, Rs 3 and Rs 6 respectively. It is assumed that all the
amounts produced are consumed in the market. Formulate the mathematical (L.P.) model that will
maximize the daily profit. [G.N.D.U. BBA Sept., 1998; H.P.U. MCA, 1999]
Formulation of Linear Programming
Model
STEP 1 Decision Variables
Let x1 = Daily manufactured for Product-
x2 1= ….. … ׀׀.. Product-
2
x3 = Daily manufactured for Product-3
STEP 2 Objective Function
To maximize the Z = 4 x1 + 3 x2 + 6
profit : ? x3
STEP 3 Constraints
2 x1 + 3 x2 + 2 x3 ≤ 440 (Machine M1)
4 x1 + 0 x2 + 3 x3 ≤ 470 (Machine
M2)
2 x1 + 5 x2 + 0 x3 ≤ 430 (Machine M3)
STEP 4 Non-negativity
x1 , x2 , x3 ≥ 0
EXAMPLE2.6·2 (Diet Problem)
A person wants to decide the constituents of a diet which will fulfil his daily requirements of
proteins, fats and carbohydrates at the minimum cost. The choice is to be made from four
different types of foods. The yields per unit of these foods are given in table 2.2.
TTABLE 2.2
Costs of the various raw materials per ton are: Rs 90 for A, Rs 280 for B and Rs
40 for C. Formulate the L.P. model to find the proportions in which A, Band C be
used to obtain an alloy of desired properties while the cost of raw materials is
minimum.
[G.N.D.U. BEA April, 2006; P. U.B.E. (E. and Ee.) 1998]
Formulation of Linear Programming
Model
STEP 1 Decision Variables
Let x1 = Percentage contents of raw Material A
x2 = ….. … ׀׀.. raw Material
B
x3 = Percentage contents of raw Material C
STEP 2 Objective Function
To minimize the cost : ? Z = 90 x1 + 280 x2 + 40 x3 (Rs)
STEP 3 Constraints
0.92 x1 + 0.97 x2 + 1.04 x3 ≤ 0.98 (Specific
gravity)
7 x1 + 13 x2 + 16 x3 ≥ 8 (Chronium)
440 x1 + 490 x2 + 480 x3 ≥ 450 (Melting Point)
STEP 4 Non-negativity
x1 , x2 , x3 ≥ 0
EXAMPLE (2.6.4) Advertising Media Selection
Problem
An advertising company wishes to plan its advertising strategy in three different
media television, radio and magazines. The purpose of advertising is to reach as large
a number of potential customers as possible. Following data have been obtained from
market survey.
TABLE 2.4
[H.P. U.B. Tech. (Mech.) June, 2010; P.T. U. MBA May, 2002]
EG. (2.6.4) SOLUTION :
x3 ≥ 3 (no. of units on magazine)
STEP 1 Decision Variables
x4 ≥ 2 …….. …… ׀׀
Let x1 = advertising units bought on TV
5 ≤ x1 ≤ 10 or x1 ≥ 5, x1 ≤ 10 (tele-
x2 = …….. …… ׀׀ v)
Radio 5 ≤ x2 ≤ 10 or x2 ≥ 5, x2 ≤ 10
(radio)
x3 = …….. …… ׀׀Magazine-1 STEP 4 Non-negativity
x1 , x2 , x3 , x4 ≥ 0
STEP 2x Objective
= Function
…….. …… ׀׀Magazine-2
4
To maximize Potential
customers: ?
Z = 105 ( 2 x1 + 6 x2 + 1.5 x3 + x4
) 3 Constraints
STEP
30 x1 + 20 x2 + 15 x3 + 10 x4 ≤ 450
15(adv)
x1 + 40 x2 + 7 x3 + 5 x4 ≥ 100 (adv-fem)
15 x3 + 10 x4 ≤ 150 (expense on
EXAMPLE 2.6·5 (Inspection Problem)
A company has two grades of inspectors, I and II to undertake quality control inspection. At
least 1,500 pieces must be inspected in an 8-hour day. Grade I inspector can check 20 pieces in
an hour with an accuracy of 96%. Grade II inspector checks 14 pieces an hour with an accuracy
of 92%.
Wages of grade I inspector are Rs 5 per hour while those of grade II inspector are Rs 4 per
hour. Any error made by an inspector costs Rs 3 to the company. If there are, in all, 10 grade I
inspectors and 15 grade II inspectors in the company, find the optimal assignment of inspectors
that minimizes the daily inspection cost. [P. U. B.Com. April, 2008; D. U. MBA, 2003, 02, 00;
NIIFT Mohali, 2000]
STEP 1 Decision Variables
Let x1 = no, of grade I inspectors
x2 = no. of grade II inspectors
STEP 2 Objective Function
20 x 8 x1 + 14 x 8 x2 ≥ 1500
160 x1 + 112 x2 ≥ 1500
STEP 4 Non-negativity
x1 , x2 ≥ 0
EXAMPLE (2.6.6) Product Mix
Problem
A chemical company produces two products, X and Y. Each unit of product X
requires 3 hours on Operation I and 4 hours on operation II, while each unit of
product Y requires 4 hours on operation I and 5 hours on operation II. Total available
time for Operations I and II is 20 hours and 26 hours respectively. The production of
each unit of product Y also results in two units of a by-product Z at no extra cost.
[P. U.B. Com. April, 2006; Jammu U.B.E. (Mech.) 2004; P.T. U.B.Tech. 2000; R.E.C. Hamirpun 1998]
EG. (2.6.6) SOLUTION STEP 3 Constraints
STEP 1 Decision Variables Operation I : ? 3 x1 + 4 x2 ≤ 20
Let x1 = no. of units of Product X Operation II : ? 4 x1 + 5 x2 ≤ 20
x2 = ….. … ׀׀.. Product No. of units of product Z sold: ? x3 ≤ 5
Y
No. of units of product Z produced: 2y = Z
xz = no. of units of Product Z
xz = no. of units of Z sold + (OR) 2 x2 = x3 + x4
no. of units of Z (OR) ̶ 2 x2 + x3 + x4 = 0
destroyed
= x3 + x4
STEP 2 Objective Function STEP 4 Non-negativity
x1 , x2 , x3 , x4 ≥ 0
To maximize the profit : ?
Z = 10 x1 + 20 x2 + 6 x3 ̶ 4 x4
EG. (2.6.9)
TABLE 2.6
1 7 5 6 4
2 4 7 5 8
3 2 9 7 3
Formulate the L.P model to determine the number of production runs for each method
so as to maximize the total number of complete units of the final product.
[H.P U. B.Tech. (Mech.) June, 2008]
EG. (2.6.9) SOLUTION Each unit of final product requires 5 units of
STEP 1 Decision Variables Part-A and 4 units of Part-B.
Let x1 = no. of product run for Method-1 It is evident that the maximum no. of units
x2 = …….. …… ׀׀ Method- of the Final product cannot exceed the
2 smaller value of
x3 = no. of product run for Method-3
STEP 2 Objective Function and
An oil company produces two grades of gasoline P and Q which it sells at Rs 30 and Rs 40
per litre. The company can buy four different crude oils with the following constituents and
costs:
Table 2.7
EG. (2.6.10) SOLUTION
How much of each crude oil be used in making each of the two grades of gasoline.
Let Quantities in litres be = xij i = Crude oil, i = 1, 2, 3, 4 j = Gasoline of grades P and Q
Let x1p = amount in litres of crude Oil-1 used in Gasoline-P
x2p = …….. …… ׀׀crude Oil-2 …….. …… ׀׀
x3p = …….. …… ׀׀ crude Oil-3 …….. …… ׀׀
x4p = amount in litres of crude Oil-4 used in Gasoline-P
And x1q = amount in litres of crude Oil-1 used in Gasoline-Q
x2q = …….. …… ׀׀crude Oil-2 …….. …… ׀׀
x3q = …….. …… ׀׀ crude Oil-3 …….. …… ׀׀
x4q = amount in litres of crude Oil-4 used in Gasoline-Q
STEP 2 OBJECTIVE FUNCTION
To maximize the net profit: ?