What Is Operations Research?
What Is Operations Research?
Meaning Of OR:
• In Agriculture
• In Finance
• In Industry
• In Marketing
• In Production Management
• In Personnel Management
• In Production Management
• In L.I.C
Methodology Of OR:
Other Limitations:
• Make no more than 450 chairs
• Make at least 100 tables
Decision Variables:
T = No. of tables to make
C = No. of chairs to make
Non-negativity:
Cannot make a negative number of chairs or
tables
T>0
C>0
Max Z = 7T + 5C (Profit)
Subject to the constraints:
3T + 4C < 2400 (carpentry hrs)
2T + 1C < 1000 (painting hrs)
C < 450 (max no.of chairs)
2T
+
2T + 1C = 1000
1C
600
=1
000
Intercepts
(T = 0, C = 1000)
(T = 500, C = 0) 0
0 500 800 T
C
1000
Max Chair Line
C = 450
(T=0, C=450)
600
450
Min Table Line
T = 100
Feasible
(T=100, C=0) Region
0
0 100 500 800 T
The corner points of the feasible region are:
A(100,0)
B(500,0)
C(320,360)
D(200,450)
E(100,450)
Z value at A(100,0) = 700
Z value at B(500,0) =3500
Z value at C(320,360) =4040
Z value at D(200,450) =3650
Z value at E(100,450) =2950
Minimize Z 3x1 2 x 2
Subject to x1 x 2 1
x1 x 2 3
and x1 0, x 2 0
4. Solve graphically
Maximize Z x1 x 2
Subject to x1 x 2 1
- 3x1 x 2 3
and x1 0, x 2 0
Simplex method of solving GLPP
Standard from of LPP:
1.Check whether the objective function is to
be maximized or minimized. If minimized
convert it into maximization form
Min Z= -{Max(-Z)}
EX:Min Z= 2x-3y+7z
Min Z= -{Max(-[2x-3y+7z ])}
Min Z= -{Max(-2x+3y-7z)}
2. The right hand side constant of each
constraint should be non-negative. If not made
it positive by multiplying it by
-1(one).
Ex: Max Z 2x 5y
s.t 8x - 5y 26
2x - y -7
and (x, y) 0
Max Z 2x 5y
s.t 8x - 5y 26
(-1)[2x - y] (1)(-7) -2x y 7
and (x, y) 0
3. All the decision variables should be non-
negatively restricted i.e if the variable x is
unrestricted in sign then such a variable is
expressed as the difference between two
variables which are non-negative
x x x where x 0, x 0
EX : Max Z 2x - 7y
s.t 2x 9y 12
3x - y 7
x 0
Max Z 2x - 7(y - y) 2x - 7y 7y
s.t 2x 9(y - y) 12
2x 9y - 9y 12
3x - (y - y) 7
3x - y y 7
x 0, y 0, y 0
4.Convert all the inequalities into equations by
introducing non-negative variables on the left hand
side of each constraint called slack or surplus
variables.
Max Z 5x1 4 x 2
s.t 6x1 4x 2 24
x1 2x 2 6
- x1 x 2 1
x2 2
and (x1 , x 2 ) 0
Step 1: Convert the LPP into standard form.
Max Z 5x1 4x 2
s.t 6x1 4x 2 s1 24
x1 2x 2 s2 6
- x1 x 2 s3 1
x2 s4 2
and (x1 0, x 2 0, s1 0, s2 0, s3 0, s 4 0)
Max Z 5x1 4x 2 0.s1 0.s2 0.s3 0.s4
s.t 6x1 4x 2 s1 24
x1 2x 2 s2 6
- x1 x 2 s3 1
x2 s4 2
and (x1 0, x 2 0, s1 0, s2 0, s3 0, s 4 0)
Step 2: Prepare simplex table
cj 5 4 0 0 0 0
B.V C B Sol b i x 1 x2 s1 s2 s3 s4
s1 0 24 6 4 1 0 0 0
s2 0 6 1 2 0 1 0 0
s3 0 1 -1 1 0 0 1 0
s4 0 2 0 1 0 0 0 1
Now compute j z j c j
where z j (C.B) x j or s j
cj 5 4 0 0 0 0
B.V C B Sol b i x 1 x2 s1 s2 s3 s4
s1 0 24 6 4 1 0 0 0
s2 0 6 1 2 0 1 0 0
s3 0 1 -1 1 0 0 1 0
s4 0 2 0 1 0 0 0 1
Δj 5 4 0 0 0 0
Step 3 :
Case I :If all Δ 0 then the solution will be optimal.
j
Case II : If atleast one Δ is negative then the solution
j
is not otimal.Got o the next step.
Step 4 : Determine incoming & outgoing variable
Sol b i x1 x2 s1 s2 s3 s4
4 1 4/6 1/6 0 0 0
For each row other than the key row,
2 nd old row:
Sol b i x1 x2 s1 s 2 s3 s 4
6 1 2 0 1 0 0
Old row element- Row element in key column* corresponding replacement
value
6 1 4 =2
1 1 1 =0
2 1 4/6 =8/6
0 1 1/6 =-1/6
1 1 0 =1
0 1 0 =0
0 1 0 =0
2 nd row (new):
Sol b i x1 x2 s1 s2 s3 s4
2 0 8/6 - 1/6 1 0 0
Corresponding replacement row value:
Sol b i x1 x 2 s1 s 2 s 3 s 4
4 1 4/6 1/6 0 0 0
3 rd old row:
Sol b i x1 x2 s1 s 2 s3 s 4
1 -1 1 0 0 1 0
Old row element- Row element in key column* corresponding replacement
value
1 -1 4 =5
-1 -1 1 =0
1 -1 4/6 =10/6
0 -1 1/6 =1/6
0 -1 0 =0
1 -1 0 =1
0 -1 0 =0
3 rd row (new):
Sol b i x1 x2 s1 s2 s3 s4
5 0 10/6 1/6 0 1 0
Corresponding replacement row value:
Sol b i x1 x2 s1 s2 s3 s 4
4 1 4/6 1/6 0 0 0
4 th old row:
Sol b i x1 x2 s1 s 2 s3 s 4
2 0 1 0 0 0 1
Old row element- Row element in key column* corresponding replacement
value
2 0 4 =2
0 0 1 =0
1 0 4/6 =1
0 0 1/6 =0
0 0 0 =0
0 0 0 =0
1 0 0 =1
4 th row (new)
Sol b i x1 x2 s1 s2 s3 s4
2 0 1 0 0 0 1
cj 5 4 0 0 0 0
B.V C B Sol b i x 1 x2 s1 s2 s3 s4
x1 5 4 1 4 6 16 0 0 0
s2 0 2 0 8 6 1 6 1 0 0
s3 0 5 0 10 6 16 0 1 0
s4 0 2 0 1 0 0 0 1
Now compute again ΔJ
cj 5 4 0 0 0 0
B.V C B Sol b i x 1 x2 s1 s2 s3 s4
x1 5 4 1 4 6 16 0 0 0
s2 0 2 0 8 6 1 6 1 0 0
s3 0 5 0 10 6 16 0 1 0
s4 0 2 0 1 0 0 0 1
j 0 -4 5 0 0 0
6 6
cj 5 4 0 0 0 0
B.V C B Sol bi x 1 x2 s1 s2 s3 s4 Ratio sol/x 2
4
x1 5 4 1 4 6 16 0 0 0 6
46
2 12
s2 0 2 0 8 6 1 6 1 0 0 ( . )
86 8
5
s3 0 5 0 10 6 16 0 1 0 3
10 6
2
s4 0 2 0 1 0 0 0 1 2
1
j 0 -4 5 0 0 0
6 6
cj 5 4 0 0 0 0
B.V C B Sol b i x 1 x2 s1 s2 s3 s4
x1 5 3 1 0 1/4 - 1/2 0 0
x2 4 3/2 0 1 1 8 3/4 0 0
s3 0 5/2 0 0 3/8 - 5/4 1 0
s4 0 1/2 0 0 1/8 - 3/4 0 1
cj 5 4 0 0 0 0
B.V C B Sol b i x 1 x2 s1 s2 s3 s4
x1 5 3 1 0 1/4 - 1/2 0 0
x2 4 3/2 0 1 1 8 3/4 0 0
s3 0 5/2 0 0 3/8 - 5/4 1 0
s4 0 1/2 0 0 1/8 - 3/4 0 1
Δj 0 0 6/8 1/2 0 0
Since all Δ j ' s are 0 hence an optimum solution is attained.
and is given by x 1 3, x 2 3 and the maximum profit is
2
3 5 1
Z C.B Sol (5 * 3) 4 * 0 * 0 * 21.
2 2 2
• The Omega manufacturing company has
discontinued the production of a certain
unprofitable product lin. This act created
considerable excess production capacity.
Management is considering devoting this
excess capacity to one or more of the
three products; call them products 1,2 and
3. The available capacity on the machines
that might limit output is summarized in the
following table:
Machine Type Available Time(Machine Hrs per
week)
Milling machine 500
Lathe 350
Grinder 150
Milling machine 9 3 5
Lathe 5 4 0
Grinder 3 0 2
The sales department indicates that the
sales potential for product 3 is 20 units per
week. The unit profit would be Rs. 50,
Rs.20, and Rs.25 respectively on products
1,2 and 3. the objective is to determine
how much of each product Omega should
produce to maximize the profit.
• A firm produces three products A,B and C,
each of which passes through three
departments: Fabrication, Finishing and
Packaging. Each unit of product A requires
3,4 and 2; a unit of product B requires 5, 4
and 4, while each unit of product C requires
2, 4 and 5 hours respectively in three
departments. Everyday, 60 hours are
available in the fabrication department, 72
hours in the finishing department and 100
hours in the packaging department. The unit
contribution of product A is Rs.5, of product
is Rs.10, and of product C is Rs.8.