Operations Research 230911 125151
Operations Research 230911 125151
RESEARCH
WHAT IS OPERATIONS RESEARCH?
• Operations research is an analytical method of problem solving and
decision making that is useful in the management of organizations.
• In OR, problems are broken down into basic components and then solved
in defined steps by mathematical analysis.
• Help the organization in solving complex problems on time, with greater
accuracy and in most economical way.
• Today, several OR techniques are available to solve managerial problems
and use of these techniques helps managers become explicit about their
objectives and provides additional information to select an optimal
decision.
HISTORY AND OVERVIEW OF OR
• As a discipline, OR originated in the efforts of military planners during world war II to assist
in military operations. Later it is flourishing in business and industry with the aid of
computers.
• OR involves a wide range of problem-solving techniques and methods such as,
• Linear programming problem
• Transportation problem
• Assignment problem
• Game theory
• Inventory control
• Decision theory
• Simulation
• Queuing theory
• Stochastic process
DEFINITION OF OR
• OR is the application of scientific methods, techniques and tools to
problems involving the operations of a system so as to provide those in
control of the system with optimum solutions to the problem.
Church Man, Ackoff & Arnoff
CLASSIFICATION OF
MODELS
• During World War II, the US Air force sought more effective procedure for
allocation of resources
The Decision
Variable
Objective
Function
The
Constraints
STEPS IN FORMULATION OF LPP
• Identify decision variables
• Write objective function to be optimized (maximised or minimised)
as a linear function of the decision variables after identifying the
cost coefficients (Cj’s)
• Formulate constraints on the basis of the conditions specified
regarding availability of time, demand for the product, etc.,
Constants aij’s and bi’s are involved.
• Define the non-negativity restrictions. Generally as x1, x2, x3 ..........xn
≥ 0.
• 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:
M1 2 3 2 440
M2 4 - 3 470
M3 2 5 - 430
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 maximise the daily profit.
Formulation of Linear Programming Model
• Step 1
From the study of the situation find the key-decision to be made. In the given situation key decision is to decide the
extent of products 1, 2 and 3, as the extents are permitted to vary.
• Step 2
Assume symbols for variable quantities noticed in step 1. Let the extents (amounts) of products 1, 2 and 3
manufactured daily be x1, x2 and x3 units respectively.
• Step 3
Express the feasible alternatives mathematically in terms of variable. Feasible alternatives are those which are
physically, economically and financially possible. In the given situation feasible alternatives are sets of values of x1, x2 and x3 units
respectively.
Where x1, x2 and x3 ≥ 0. Since negative production has no meaning and is not feasible.
• Step 4
Mention the objective function quantitatively and express it as a linear function of variables. In the present situation,
objective is to maximize the profit.
i.e., Z = 4x1+ 3x2 + 6x3
• Step 5
Put into words the influencing factors or constraints. These occur generally because of constraints on availability
(resources) or requirements (demands). Express these constraints also as linear equations/inequalities in terms of variables.
Here, constraints are on the machine capacities and can be mathematically expressed as
2x1+ 3x2 + 2x3 ≤ 440
4x1+ 0x2 + 3x3 ≤ 470
2x1+ 5x2 + 0x3 ≤ 430
• Hence the LPP is:
Objective function:
Maximise Z = 4x1+ 3x2 + 6x3
Subject to the constraints:
2x1+ 3x2 + 2x3 ≤ 440
4x1+ 0x2 + 3x3 ≤ 470
2x1+ 5x2 + 0x3 ≤ 430
Non- negativity restrictions:
x1, x2 and x3 ≥ 0
Vitamins B1 and B2 are found in two foods F1 and F2. 1 unit of F1 contains 3 units of B1 and 5 units
of B2. 1 unit of F2 contains 5 units of B1 and 7 units of B2 respectively.
Minimum daily prescribed consumption of B1 & B2 is 30 and 40 units respectively. Cost per unit
of F1 & F2 is Rs. 6 & Rs. 3 respectively. Formulate a LPP
Solution:
Vitamins Foods Minimum
Consumption
F1 F2
B1 3 5 30
B2 5 7 40
Decision Variables:
• x1 = No. of units of B1 per day. x2 = No. of units of B2 per day.
• Objective function:
• Min. Z = 6x1 + 3 x2
• Subject to constraints:
• 3x1+ 5x2 ≥ 30 (for F1)
• 5x1+ 7x2 ≥ 40 (for F2) x1, x2 ≥ 0
• A firm makes two products P1 & P2 and has production capacity of 18 tonnes per day. P1 & P2
require same production capacity. The firm must supply at least 4 t of P1 & 6 t of P2 per day.
Each tonne of P1 & P2 requires 60 hours of machine work each. Maximum machine hours
available are 720. Profit per tonne for P1 is Rs. 160 & P2 is Rs. 240. Formulate the LPP.
Solution:
• X1 = Tonnes of P1 / Day ; X2 = Tonnes of P2 / Day
• Max. Z = 160 X1 + 240 X2
• Subject to constraints
• X1 ≥ 4
• X2 ≥ 6
• X1 + X2 ≤ 18
• 60 X1 + 60 X2 ≤ 720
• X1, X2 ≥ 0
METHODS OF SOLVING LPP
• Graphical method
–Graphical method can be used only for a two
variables problem i.e. a problem which involves two
decision variables. The two axes of the graph (X &
Y axis) represent the two decision variables X1 &
X2.
• Simplex method
–a linear-programming algorithm that can solve
problems having more than two decision variables.
• Max Z = 100 X1 + 80 X2
• Subject to constraints:
• 6 X1 + 4 X2 ≤ 7200
• 2 X1 + 4 X2 ≤ 4000 X1, X2 ≥ 0
Solution:
• Constraint No. 1: 6 X1 + 4 X2 ≤ 7200
• Converting into equality:
• 6 X1 + 4 X2 ≤ 7200
• X1 is the intercept on X axis and X2 is the intercept on Y axis. To find X1, let X2 = 0
• 6 X1 = 7200
•
6 X1 = 7200 ⸫X1 = 1200; X2 = 0 (1200, 0)
• To find X2, let X1 = 0
• 4 X2 = 7200 X2 = 1800; X1 = 0 (0, 1800)
• Hence the two points which make the constraint line are:
• (1200, 0) and (0, 1800)
• Constraint No. 2:
• 2 X1 + 4 X2 ≤ 4000
• To find X1, let X2 = 0
• 2 X1 = 4000 ⸫X1 = 2000; X2 = 0 (2000, 0)
• To find X2, let X1 = 0
• 4 X2 =4000 ⸫X2 = 1000; X1 = 0 (0, 1000)
• The co-ordinates of points are:
• 1. Constraint No. 1: (1200, 0) and (0, 1800)
• 2. Constraint No. 2: (2000, 0) and (0, 1000)
• Representing constraint lines on graph
• Constraint No. 1:
• The line joining the two points (1200, 0) and (0, 1800) represents the constraint 6 X1 + 4 X2
≤ 7200.
• The line joining the two points (2000, 0) and (0, 1000) represents the constraint 2 X1 + 4 X2
≤ 4000
Scale
X Axis 1 cm = 200 units
Y Axis 1 cm = 200 units
(0, 1800)
2 X1 + 4 X2 ≤ 4000
3. Constraint No. 3:
40 X1 + 20 X2 ≥ 200 To ⸫ X1 = 5, X2 = 0 (5, 0)
find X1, let X2 = 0
40 X1 = 200
To find X2, let X1 = 0
20 X2 = 200 ⸫ X1 = 0, X2 = 10 (0, 10)
The co-ordinates of points are:
1. Constraint No. 1: (3, 0) & (0, 18)
2. Constraint No. 2: (12, 0) & (0, 3)
3. Constraint No. 3: (5, 0) & (0, 5)
Every point on the line will satisfy the equation (equality) 72 X1 + 12 X2 = 216.
Every point above the line will satisfy the inequality (greater than) 72 X1 + 12 X2 = 216. Similarly, we can
draw lines for other two constraints.
Feasible Region
40 X1 + 20 X2 ≥ 200
(0, 10)
B
6 X1 + 24 X2 ≥ 72
(0, 3) C
D
(3, 0) (5, 0) (10, 0)
• The vertices of the feasible region are A, B, C & D.
• For B - Point B is at intersection of constraint lines '72 X1 + 12 X2 ≥ 216' and '40 X1 + 20 X2
• ≥ 200'. Hence, point B should satisfy both the equations.
• 72 X1 + 12 X2= 216 (1)
• 40 X1 + 20 X2 = 200 (2)
• ⸫360 X1 + 60 X2 = 1080 (1) x 5
• 120 X1 + 60 X2 = 600 (2) x 3
• ⸫240 X1 = 480
• X1 = 2
• Substituting value of X1 in equation (1), we get:
• 12 X2= 216 - 144 = 72
• X2= 6
• For C - Point C is at intersection of constraint lines '6 X1 + 24 X2= 72' and '40 X1 + 20 X2 = 200'. Hence, point C should satisfy both
the equations.
• 6 X1 + 24 X2= 72 (1)
• 40 X1 + 20 X2 = 200 (2)
• 30 X1 + 120 X2 = 360 (1) x 5
• 240 X1 + 120 X2 = 1200 (2) x 6
• 210 X1 = 840
• X1 = 4
• Substituting value of X1 in equation (1), we get 24 X2= 72 - 24 = 48
• X2= 2
• Corner Point Method
Vertex Co-ordinates Z = 40 X1 + 80 X2
A X1 = 0, X2 = 18 ⸫Z = 1, 440
From Graph
B X1 = 2, X2 = 6 ⸫Z = 560
From Simultaneous Equations
C X1 = 4, X2 = 2 ⸫Z = 320
From Simultaneous Equations
D X1 = 12, X2 = 0 ⸫Z = 480
From graph
SOURCES DESTINATIONS
TABULAR REPRESENTATION OF A
TRANSPORTATION PROBLEM
To D1 D2 …. Dn SUPPLY ai
From
S1 C11 C12 …. C1n a1
. . . …. . .
. . . …. . .
. . . …. . .
DEMAND bj b1 b2 …. bn TOTAL
σ𝑚
𝑖=1 𝑎 i = σ𝑛𝑖=1 𝑏 𝑗
BALANCED TRANSPORTATION PROBLEM
• When the total supplies of all sources are equal to the total demand of all
destinations, the problem is a balanced transportation problem.
• Total supply = Total demand
σ𝒎
𝒊=𝟏 𝒂 𝐢 = σ𝒏
𝒊=𝟏 𝒃 𝒋
σ𝒎
𝒊=𝟏 𝒂 𝐢 ≠ σ 𝒏
𝒊=𝟏 𝒃 𝒋
DEMAND NOT EQUAL TO SUPPLY
• In real-life situations, supply and demand requirement will rarely be equal.
• Because of the variation in production from the supplier end, and
variations in forecast from the customer end.
• Supply variations – shortage of raw materials, labour problems, improper
planning and scheduling
• Demand variations – change in customer preference, change in prices and
introduction of new products by competitors.
SOLVING UNBALANCED
TRANSPORTATION PROBLEM
• Solved by introducing dummy sources and dummy destinations.
• If the total supply is greater than the total demand, dummy destination
(dummy column) with demand equal to supply surplus is added.
• If the total demand is greater than the total supply, dummy source
(dummy row) with supply equal to the demand surplus is added.
• The unit transportation cost for the dummy column and dummy row are
assigned zero values, because no shipment is actually made in case of a
dummy source and destination.
FINDING AN INITIAL BASIC FEASIBLE
SOLUTION
• There are a number of methods for generating an initial basic feasible
solution for a transportation problem.
Destination
Sources
1 2 3 Supply
1 15 20 30 350
2 10 9 15 200
3 14 12 18 400
Demand 250 400 300
•Solve the following transportation problem using north west corner rule:
Destination
Sources
1 2 3 Supply
1 25 45 10 200
2 30 65 15 100
3 15 40 55 400
Demand 200 100 300
• Find the initial basic solution for the transportation problem using Vogel’s Approximation Method
Destination
1 2 3 4 Supply
1 4 2 7 3 250
Source 2 3 7 5 8 450
3 9 4 3 1 500
Demand 200 400 300 300
• Find the initial basic feasible solution for the transportation problem using VAM
To
A B C Available
I 50 30 220 2
From II 90 45 170 3
III 250 200 50 4
Requirement 4 2 2