Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Techniques in
Management
ADL-07
(Session – 3)
Arun Sharma
Professor
Amity Institute of Information
Technology
Amity University
---Uttar Pradesh---
arunsharma@aiit.amity.edu
Linear Programming
Problems (LPP)
Z = Objective function or
linear function
Requirement: Maximization of the linear
function Z.
Z = c1X1 + c2X2 + c3X3 + ………+ cnXn
• Steps Involved:
– Determine the objective of the problem
and describe it by a criterion function in
terms of the decision variables.
– Find out the constraints.
– Do the analysis which should lead to the
selection of values for the decision
variables that optimize the criterion
function while satisfying all the
constraints imposed on the problem.
Developing LP Model
Example: Product Mix Problem
The ABC Company produces two products: I and II.
The raw material requirements, space needed for
storage, production rates, and selling prices for these
products are given in Table 1.
Example Problem
Solution
Developing LP Model
Eq. (5)
The Simplex Method
In any
iteration, a
variable that
has a
nonzero
value in the
solution is
called a
basic
variable.
Simplex Tableau for
Maximization
Step II: . Identify the variable that will be
assigned a nonzero value in the next iteration
so as to increase the value of the objective
function. This variable is called the entering
variable.
It is that nonbasic variable which is
associated with the smallest negative
coefficient in the objective function.
If two or more nonbasic variables are tied
with the smallest coefficients, select one of
these arbitrarily and continue.
: : :
: : :
Cm1 .. .. Cmn Sm
demand D1 .. .. Dn X
Xm1 mn
Formulation of the
Transportation Problem:
i = index for Source (factory); i = 1 to
m
j = index for Destinations; j = 1 to n
Xij = number of units shipped per route
from origin i to destination j for each
route.
Cij = cost per unit of shipping from
origin i to destination j.
si = supply (capacity) at origin i.
dj = demand at destination j.
Xij ≥ 0
Continued…
m n
Min Z = Σ Σ CijXij
i=1 j=1
s.t. n
Σ Xij = si (Supply Constraints)
j=1
m
Σ Xij = di (Demand Constraints)
i=1
Balanced TP
n m
Σ sij = Σ dij
j=1 i=1
Linear programming
formulation of the
Transportation problem
D1 D2 D3 D4 Supply
S1 19 30 50 10 7
S2 70 30 40 60 9
S3 40 8 70 20 18
Demand 5 8 7 14 34
Continued…
Min Z = (19X11+30X12+50X13+10X14)
+ (70X21+30X22+40X23+60X24)
+ (40X31+8X32+70X33+20X34)
Subject to-
Capacity constraints:
19X11+30X12+50X13+10X14 = 7
70X21+30X22+40X23+60X24 = 9
40X31+8X32+70X33+20X34 = 18
Demand Constraints:
19X11+70X21+40X31 = 5
30X11+30X12+8X13 = 8
50X11+40X12+70X13 = 7
10X11+60X12+20X13 = 14
Transportation Technique:
Step I: To determine Initial Basic Solution.
Step II: To determine entering variable among non basic.
Step III: To determine leaving variable among basics.
S1 19 30 50 10 7
5 2 2
S2 70 30 40 60 9
3
6 3
S3 40 8 70 20 18
14 14
4
Demand 5 8 7 14 34
6 4
D1 D2 D3 D4 Supply
S1 19 30 50 10 7
7
S2 70 30 40 60 9
7 2
2
S3 40 8 70 20 18 3
3 8 7 10
Deman 5 8 7 14 34
d
7
S1 19 5 30 50 10 7 2 9 9
S2 70 30 40 60 9 10 20
S3 40 8 8 70 20 10 1810 12 20
Demand 5 8 7 14 4 34
21 22 10 10
Assignment Problem
Example
Machine 1 14 5 8 7
Machine 2 2 12 6 5
Machine 3 7 8 3 9
Machine 4 2 4 6 10
Problem 1
• A company centre has got four expert
programmers. The centre needs four
application programmes to be
developed. The head of the computer
centre, after studying carefully the
programme’s to be developed, estimate
the computer time in minutes required
by the respective experts to develop the
application programmes as follows.
Program A B C D
mers
1 120 100 80 90
2 80 90 110 70
3 110 140 120 100
4 90 90 80 90
Hungarian Algorithm
• Two Observations
– Adding a constant to any row or column
does not change the solution Changing
C
– If C is nonnegative and ∑cijxij = 0 then X is
a solution.
Machine 1 14 5 8 7
Machine 2 2 12 6 5
Machine 3 7 8 3 9
Machine 4 2 4 6 10
Hungarian Algorithm
Machine 14 5 8 7
1
Machine 2 12 6 5
2
Machine 7 8 3 9
3
Machine 2 4 6 10
4
Machine 1 9 0 3 2
Machine 2 0 10 4 3
Machine 3 4 5 0 6
Machine 4 0 2 4 8
Machine 1 9 0 3 0
Machine 2 0 10 4 1
Machine 3 4 5 0 4
Machine 4 0 2 4 6
Column
Reduction
Hungarian Algorithm
How do we
find the
minimum
number of
lines?!
Example: Step 2
Machine 9 0 3 0
1
Machine 0 10 4 1
2
Machine 4 5 0 4
3
Machine 0 2 4 6
4
We need 3<4
lines, so
continue to Step
3
Hungarian Algorithm
Machine 1 9 0 3 0
Machine 2 0 10 4 1
Machine 3 4 5 0 4
Machine 4 0 2 4 6
Machine 1 10 0 3 0
Machine 2 0 9 3 0
Machine 3 5 5 0 4
Machine 4 0 1 3 5
Example: Step 2 (again)
Zero
Assignment
Machine 10 0 3 0
1
Machine 0 9 3 0
2
Machine 5 5 0 4
3
Machine 0 1 3 5
4
Need 4 lines, so we
have the optimal
assignment and we
stop
Example: Final Solution
Machine 10 0 3 0
1
Machine 0 9 3 0
2
Machine 5 5 0 4
3
Machine 0 1 3 5
4
Optimal assignment
x1 2 = 1, x3 3 = 1, x4 1 = 1, x2 4 = 1
How did
we know
which 0’s
to
Thank You