Professional Documents
Culture Documents
Kwara State University, Malete: Course Lecturer: Dr. K.O Oladosu
Kwara State University, Malete: Course Lecturer: Dr. K.O Oladosu
1
Introduction
Management should be trained in decision-making processes
and one of the decision making process is Operation
Research (OR)
3
Phases of OR study
• Definition of the problem
4
• Solution of the model (graphical, simplex method etc)
5
Steps involved in the process of LP formulation are:
to be produced or purchased.
6
Steps involved in the process of LP formulation are
type.
method
7
Assumptions of LP
A general LP problem has four basis assumptions
• Product mix-problem
• Production scheduling problems
• Transportation problems
• Production distribution problems
• Profit planning
• Travelling salesman problem
• Staffing problem
• Agriculture problems like land allocation for different
crops/vegetables, animal diet problems
9
Examples on Problem formulation
1
0
Examples on Problem formulation
11
Example 3
Linear programming is a useful tool to decide how best existing
resources are utilized. As a production manager, you are not
only to supply information for application of this technique but
also to formulate the problem and interpret the result to the
management. You are required to briefly discuss the following
issue as applied to linear programming
(i) What is the objective?
(ii) What are the information requirements?
(iii) What are the capabilities?
12
Examples on Problem formulation
1
3
Examples on Problem formulation
A 2 3 5
B 4 2 7
The labour requirement per unit of Orange is twice that of lemon and
three times that of ginger while their unit profits are N6, N4 and
N10 respectively. Formulate the problem as a LP model to determine
1
5 the number of units of each product that will maximize profit
Solution to Linear Programming Problem.
Graphical Method
1
6
The stepwise procedure of graphical method of solving LP
• Formulate the L.P model in the standardized manner as
described above.
• Equalize the inequalities of the constraints so as to draw
graph of each constraint as line equation.
• Draw the axes of the graph that represent the two
decision variables.
• Draw each constraint as a separate line on the graph
• Identify and hatch the “feasible region”. This is the area
that does not contravene any of the constraint and is
therefore the area containing possible solutions. It should
be noted that:
17
(i) As more constraint are plotted the feasible region usually
becomes smaller
(ii) Any constraint line that does not touch the feasible region is
(iii) Find the point in or on the edge of the feasible region that give
18
Example 6:
method.
Subjects to:
19
Solution
25
20
15
10
5 10 15 20 25 30 35
method.
Max Z=3x1+5x2
Subjects to:
x1
2x2
3x1+2x2
3x1+5x2
X1,X2
21
The Simplex Method
23
The Simplex Method
24
Using Simplex Method to solve problem
Example 7:
KAAD Drinks Industries produce three types of soft drinks;
KAADOR, KAADMON and KAADGER. He uses three types of raw
materials: Orange, Lemon and Ginger of which 80, 48 and 40
units are available respectively. The raw materials requirements
per unit of the three products are given below
Requirements per unit /given products
Raw Materials
KAADOR KAADMON KAADGER
Orange 2 4 3
Lemon 4 2 1
Ginger 1 1 2
(2) For each column of the new matrix, find the smallest in that
column (which may be zero) and subtract this number from every
number in that (same comment as 1)
ii) Examine the matrix column by column. If there is exactly one zero
in the column, circle it and cross the row otherwise skip the column.
iii) Repeat step (i) and (ii) until no circles can be drawn around the
zeros.
26
ASSIGNMENT PROBLEM (MINIMIZATION)
iii) Repeat step (i) and (ii) until no circles can be drawn around the
zeros.
(4) If n zeros are circled (and here line are drawn) then stop because
according to property 2, the problem is solved and the circled
zeroes give the optimal solution.
27
Transportation Models
Assumption
• The shipment must all occur during the same time period
• Every source can supply destination and that each destination can be
supplied from any sources e.g. for a case of 6 source and 14 destination
there are 6 x 14 = 18 possible routes could be used.
• Cost of shipping along each route is known and fixed and that the cost is
proportional to the amount being shipped.
• The cost of shipping is additive.
• The total of the supply from all sources is exactly equal to the total of the
entire demand requirement
28
Solution Procedure
• Find a starting solution
• Check to see if the solution is optimal
• Improve the solution and return to step 2
Solution Methods
• North West corner method.
• Minimal cost method.
• Vogel Approximation Method
• Stepping stone method.
• MODI method
Note: Total supply must equal to demand.
Check lecture note for examples on North west corner and Minimal cost method
29
Vogel Approximation Method (VAM)
30
• Find the penalty for each row by subtracting the two minimum cost on the
row
• Find the penalty for each column by subtracting the two minimum cost on
the column
• Locate the row or column with the highest penalty
• In this case, the highest penalty is found in column 1 (with value 18 boxed)
• Fill the cell with the least cost in the highest penalty column (which is 14,
from Adoekiti to Benin) with the supplies to meet demand. For us to meet
Benin’s demand, supply 7 units from Ado Ekiti leaving Ado Ekiti’s supply
capacity with 5 more units (i.e Ado Ekiti’s total supply is 12)
• With this, the Benin column becomes deactivated as all demand has been
met
31
To/ Benin Osogbo Ibadan Ondo Supply Penalty 1
From
Lagos 32 18 16 28 8 18-16=2
Ado 14 12 19 23 12 14-12=2
Ekiti 7
Ilorin 37 35 30 40 16 35-30=5
Demand 7 9 11 9 36
32
• Repeat the first three steps as indicated above. In this instance now, the
penalty row and column is labelled penalty 2 (Bearing in mind that the
Benin column has been deactivated)
• Here, the highest penalty is found in row 2 (with value 7 boxed)
• Fill the cell with the least cost in the highest penalty row (which is 12, from
Adoekiti to Osogbo) with the supplies to meet demand. For us to meet
Osogbo’s demand, supply 5 units remaining from Ado Ekiti’s supply
capacity.
Note: Osogbo demanded for 9 units and only 5 units has been met.
• With this, the Ado Ekiti row also becomes deactivated as all supply has
been exhausted
Therefore, Benin column and Ado ekiti row have been deactivated
33
To/ Benin Osogbo Ibadan Ondo Supply Penalty Penalty 2
From 1
Lagos 32 18 16 28 8 18-16=2 18-16=2
Ilorin 37
7 35 5 30 40 16 35-30=5 35-30=5
Demand 7 9 11 9 36
34
• Repeat the steps to obtain penalty as done previously. In this instance now,
the penalty row and column is labelled penalty 3 (Bearing in mind that the
Benin column and Ado Ekiti row have been deactivated)
• Here, the highest penalty is found in column 2 (with value 17 boxed)
• Fill the cell with the least cost in the highest penalty row (which is 18, from
Lagos to Osogbo) with the supplies to meet demand. For us to meet
Osogbo’s remaining demand (which is 4, without forgetting that 5 of her
demand has been met from Ado Ekiti in the previous step), then supply 4
units from Lagos.
Note: This leaves Lagos with 4 more supply
• With this, the Osogbo’s total demand has been met
Therefore, Benin column, Ado ekiti row and osogbo column have been
deactivated
35
To/ Benin Osogbo Ibadan Ondo Supply Penalty Penalty Penalty
From 1 2 3
4
Lagos 32 18 16 28 8 18- 18- 18-
16=2 16=2 16=2
Ado 14 12 19 23 12 14- 19-
Ekiti
7 5 12=2 12=7
Ilorin 37 35 30 40 16 35- 35- 35-
30=5 30=5 30=5
Deman 7 9 11 9 36
d
Penalty 32- 18-12=6 19- 28-
1 14=18 16=3 23=5
Penalty 18-12=6 19- 28-
2 16=3 23=5
Penalty 35- 30- 40-
3 18=17 16=14 28=12
36
• Repeat the steps to obtain penalty as done previously. In this instance now,
the penalty row and column is labelled penalty 4 (Bearing in mind that the
Benin column, Ado Ekiti row, osogbo column have been deactivated)
• Here, the highest penalty is found in column 3 (with value 14 boxed)
• Fill the cell with the least cost in the highest penalty column (which is 16,
from Lagos to Ibadan) with the supplies to meet demand. For us to meet
Ibadan’s demand (which is 11), supply 4 units remaining from Lagos supply
capacity. This means that Lagos supply is exhausted.
• With this, Ibadan has 7 more demands to be met.
Therefore, Benin column, Ado ekiti row, osogbo column and Lagos row have
been deactivated
37
To/ Benin Osogbo Ibadan Ondo Supply Penalty 1 Penalty 2 Penalty Penalty
From 3 4
4 4 16=2 16=12
Deman 7 9 11 9 36
d
Penalty 32- 18- 19- 28-
1 14=18 12=6 16=3 23=5
• Also, Ondo’s total demand of 9 units will be met from Ilorin remaining
supply.
39
To/ Benin Osogbo Ibadan Ondo Supply Penalty 1 Penalty 2 Penalty Penalty
From 3 4
Lagos 32 18 16 28 8 2 2 2 12
4 4
Ado 14 12 19 23 12 2 7
Ekiti
Ilorin 37
7 35
5 30 40 16 5 5 5 10
7 9
Deman 7 9 11 9 36
d
Penalty 18 6 3 5
1
Penalty 6 3 5
2
Penalty 17 14 12
3
Penalty 14 12
4
40
• Therefore, total minimum cost of transportation will be obtained by
summing the multiples of the allotted units with their respective costs
per unit
Now, we have
41
(a) A firm manufactures 2 products A and B. The profits from A and B are
N6 and N8 respectively. The firm has two machines and given below is
the required processing time in minutes for each machine on each
products. Machine X and Y have 4000 and 5000 machines minutes
respectively. Set up linear programming model to maximize the profit?
Hence solve the LP problem using graphical method
A B
X 8 6 6
Y 4 4 8
42