Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
COLLABORATIVE PROGRAM
MS IN ENGINEERING MANAGEMENT
EMAL ZG612-METHODS AND TECHNIQUES OF
SYSTEM ENGINEERING
P R O F V .M U R A L IDH A R
Linear programming
Queuing Theory
Integer programming
Inventory control
Simulation
Maintenance Models
Sampling Techniques
Decision Models
Forecasting
Techniques
Network scheduling
Models
Mathematical Models
(1)Operation Research Models (2)Statistical Models
APPLICATIONS
AREAS OF
Accounting facilities :Cash flow planning, credit policy planning
TYPES OF OR MODELS
ANALOGUE MODEL (DIAGRAMATIC)
SYMBOLIC MODEL (PHYSICAL MODEL)
DESCRIPTIVE MODEL
METHODOLOGY OF OR MODEL
Identifying the problem
Formulating the problem
Finding out the key areas of the problem
Constructing a mathematical model
Deriving the solution to the model
Testing and updating the model for feasibility of the
solution
Establishing controls over the model and the solution
Implementing the solution obtained
any company/Industry
Minimization of expenditure/loss of any
company/Industry
ANSWER
Max z= 3x+4y
Subject to the constraints
4 x 2 y 80
2 x 5 y 180
with nonnegative restrictio ns x 0, y 0
PRODUCT-MIX PROBLEM
The manager of an oil refinnery has to decide upon
process
1
2
input
output
Crude-A
Crude-B
Crude-C
Crude-D
5
4
3
5
5
4
8
4
respectively. Market requirements show that at least 100 units of gasoline X and
80units of gasoline y must be produced. The profit per production run from
process 1 and 2 are Rs3 and Rs4 respectively. Formulate the problem as a Lpp
model.
Answer
GRAPHICAL METHOD
APPLIED ONLY WHEN THERE ARE TWO VARIABLES ONLY
CONVERTING INEQUALITY CONSTRAINTS TO EQUALITY
CONSTRAINTS
DETERMINING THE POINTS BY PUTTING EACH
VARIABLES EQUATED TO ZERO
PLOTTING OF GRAPH
IDENTIFYING FEASIBLE REGION
FEASIBLE POINTS TO BE DETERMINED
FINDING THE VALUE OF OBJECTIVE FUNCTION AT
FEASIBLE POINTS
FINDING OPTIMUM SOLUTIONS
Max z= 5x+4y
Subject to the constraints
6 x 4 y 24
x 2y 6
y x 1
y2
with x, y 0
Minimization Model
1.Find the minimum value of Z=4x+7y
subject to the constraints
x y 6
x 5y 5
x5
with x, y 0
Solution
X=0,Y=1 AND MIN Z=7
Nutrient
contents in the
products
Nutrient
contents in the
products
Minimum
amount of
nutrient
Nutrient
36
108
12
36
20
10
100
Product A costs Rs20 per unit and Product B costs Rs40 per unit. How much of the products A and
B should be purchased at the lowest possible cost so as to provide the pigs nutrients not less than
that the minimum required as given in the table.
x, y 0
x 2 y 40
4 x 3 y 60
3 x y 30
x, y 0
x y 1
x y 3
with x, y 0
No Feasible solution
If it is not possible to find a feasible region that
2.Maximize Z=5x+3y
Subject to the constraints
3 x 4 y 12
x 2
x, y 0
2x y 2
x 4,
with x, y 0
DEGENERATE
FEASIBLE SOLUTION
SOLUTION
OPTIMAL SOLUTION
UNBOUNDED
SOLUTION
BASIC FEASIBLE
SOLUTION
SIMPLEX METHOD
STEP-1 : standard form of LPP :
MAX OR MIN (Z)
SUBJECT TO CONSTRAINTS
Ax< or > B
STEP-2 : Check whether the objective function is to
Continued
STEP-3 :Determine a starting basic feasible solution
Cj
CV
X1
X2
X3
S1
S2
S3
Ratio
S1
9/6
S2
1/3
S3
2/8
Zj
25
-1
21
-3
(ZjCj)
Continued
STEP-5 :
Cj row --- The value of cost coefficients of the variables in the objective
function
C column Cost coefficients of non-basic variables in the objective function
CV column- Basic variables column
X1,x2,s1,s1, ---Decision,slack or surplus or artificial variables
RatioRatio column
Zj ---rowMultiplying key column(Incoming variable column) with C
column and adding
(Zj-Cj) rowNet profit
Bold row--- Key row(outgoing variable row) obtained by choosing minimum
element of ratio column
Pivotal element--- Intersection element of key row and key column
Continued
STEP-6 :
To get new simplex table we proceed as follows :
If optimality is not obtained we move to next simplex
Continued
STEP-7 :
Divide each element of key column by the
Continued
STEP-9 :The remaining new elements in the simplex
Continued
STEP-10 :
Proceeding as in step-6 till we get optimal or
optimum solution.
Minimization problems
Use of Artificial variables :
In the constraints of the > type , to obtain the initial basic feasible
solution we first put the given lpp in the standard form and then a
nonnegative variable is added to the left side of each equation that
lacks the much needed starting basic variables. This added
variable is called artificial variable.
The artificial variables plays the same role as a slack variable in
providing the initial basic feasible solution . The method will be
valid only if we are able to force these artificial variables to be out
or at zero level when the optimum solution is attained.
In other words, to get back to the original problem artificial
variables must be driven to zero in the final solution; otherwise
the resulting solution may be infeasible.
objective function.
STEP-II Write the given L.P.P into its standard form and check whether there exists a starting
basic solution : (a)If there is a ready starting basic feasible solution, move onto step-IV
(b)If there does not exists a ready starting basic feasible solution, move onto step-III .
STEP-III Add artificial variables to the left side of each equation that has no obvious starting
basic variables.Assign a very high penalty (say M) to these variables in the objective function.
STEP-IV Substitute the values of artificial variables from the constraint equations into the
modified objective function.
STEP-V Apply simplex method to the modified L.P.P. Following cases arise at the last
iteration :
(a) At least one artificial variable is present in the basic solution with zero value. In such case
the current optimum basic feasible solution is degenerate.
(b) At least one artificial variable is present in the basic solution with a positive value. In such
a case, the given L.P.P does not posses an optimum basic feasible solution. The given problem
is said to have a pseudo-optimum solution.
Minimize z=4x+y
SUBJECT TO THE CONSTRAINTS
3x y 3
4x 3y 6
x 2y 4
x, y 0
Solution :
Using s1 as surplus variable and s2 as slack variable
Continued
Initially we let x=0,y=0,s2=0 (Non-Basic level)
Then we get R1=3,R2=6 and s2=4(Basic level)
Simplex table
Cj
100
100
BV
CV
R1
R2
s1
s2
ratio
R1
R2
-1
6/4
S2
Zj
Zj
900
700
400
100
100
-100
696
399
-100
Zj-Cj
Cj
100
BV
CV
R2
s1
s2
ratio
1/3
R2
5/3
-1
6/5
s2
5/3
9/5
Zj
4/3
Zj
204
504/ 100
3
-100
501/
3
Zj-Cj
Cj
BV
CV
s1
s2
3/5
1/5
6/5
-3/5
s2
Zj
18/5
1/5
1/5
Zj-Cj
ratio
Minimize z=12x+20y
subject to constraints
6 x 8 y 100
7 x 12 y 120
x, y 0
3.Max W=2x+y+3z
subject to the constraints
x y 2z 5
2 x 3 y 4 z 12
x, y , z 0
X=3,y=2,z=0
and max w=8
SOLUTION
Examples
I Standard Primal :
Max Z=C1X1+C2X2+C3X3+..CnXn
Subject to the constraints :
A11X1+a12X2+a1nXn=bi, (i=1,2,3,m)
Dual :
Min Z=b1y1+b2y2+b3y3+bmym
Subject to the constraints :
A1jy1+a2jy2+amjymCj, (j=1,2,3,n)
yi unrestricted
(i=1,2,3.m)
I Standard Primal :
Min Z=C1X1+C2X2+C3X3+..CnXn
Subject to the constraints :
ai1X1+ai2X2+ain Xn=bi, (i=1,2,3,n)
Xj0 ; (j=1,2,3.m)
Dual :
Min Z=b1y1+b2y2+b3y3+bmym
Subject to the constraints :
A1jy1+a2jy2+amjynCj, (j=1,2,3,n)
yi unrestricted
(i=1,2,3.m)
PROBLEMS
1.Formulate the dual of the following linear
programming problem :
Maximize z 5 x1 3 x2
Subject to the constra int s
3 x1 5 x2 15,
5 x1 2 x2 10,
x1 , x2 0
Solution :
Introducing slack variables
s1 0, s2 0
Minimize w 15 y1 10 y2
Subject to the constra int s
3 y1 5 y2 5,
5 y1 2 y2 3,
y1 , y2 0
y1 and y2 unrestrict ed (redundant )
Maximize z 2 5 x1 35 x2
Subject to the constra int s
2 x1 3x2 15,
x1 4 x2 20,
3 x1 x2 12
where x1 , x2 0
SOLUTION :
Minimize w 5 x1 6 x2 4 x3
Subject to the constra int s
3 x1 4 x2 6 x3 9,
x1 3x2 2 x3 5,
7 x1 2 x2 x3 10
x1 2 x2 4 x3 4
2 x1 5 x2 3x3 3
x1 , x2 , x3 0
Maximize w 9 y1 5 y2 10 y3 4 y4 3 y5
Subject to the constra int s
3 y1 y2 7 y3 y4 y5 5,
4 y1 3 y2 2 y3 2 y4 5 y5 6,
6 y1 2 y2 y3 4 y4 3 y5 4,
y1 , y2 , y3 , y4 , y5 0
y1 , y2 , y3 , y4 and y5 unrestrict ed (redundant )
4.One unit of product A contributes Rs7 and requires 3 units of raw materials and 2 hours of labour. One unit of product B contributes Rs 5 and requires one unit of raw material and one unit of labour. Availability of raw material of present is 48 units and there are 40 hours of labour.
Solution :
Maximize z 7 x1 5 x2
Subject to the constra int s
3 x1 x2 48,
2 x1 x2 40,
x1 , x2 0
Dual problem
Minimize w 48 y1 40 y2
Subject to the constra int s
3 y1 2 y2 7,
y1 y2 5,
y1 , y2 0
SOLUTION
OPTIMUM SOLUTION OF DUAL VARIABLES ARE
y1 0 and y2 5
Xj0 ; (j=1,2,3.n)
Where Xj are integer valued for j=1,2,3.p (pn)
If p=n , the problem is called Pure Integer
programming problem , otherwise it is called Mixed
Integer programming problem.
Also if all the variables of an integer programming problem
are either 1 0r 0, the problem is called Zero-one
programming problem.
Project
Returns(million$)
20
10
40
20
15
10
30
Available
funds(milli
on$)
25
25
25
solution
Maximize z 20 x1 40 x2 20 x3 15 x4 30 x5
Subject to the constra int s
5 x1 4 x2 3x3 7 x4 8 x5 25,
x1 7 x2 9 x3 4 x4 6 x5 25,
8 x1 10 x2 2 x3 x4 10 x5 25,
x1 , x2 , x3 , x4 , x5 (0,1)
x1 x 2 x3 x 4 1, x5 0
and max z 95 ( million $)
0 x1 , x2 , x3 , x4 , x5 1
Solution is
x1 0.5789 , x 2 x3 x 4 1, x5 0.7368
and max z 108.68 ( million $)
k0
j 0
kj
kj
G1 f k 0 f kj x j
j 0
where 0 f kj 1 and 0 f k 0 1
Continued .
Step-4 Add the constraint to the optimum simplex
Maximize z 60 x1 40 x2
Subject to the constra int s
2 x1 x2 60,
x1 25
x2 35,
x1 , x2 0 and are int egers
Standard form
TRANSPORTATION MODEL
Definition :There are m sources and n destinations which are
represented by a node.
ith source and jth destination are linked by the arc (i,j). The
transporation cost from ith source to jth destination is represented by
cij
xij
ai
bj
xij
that will minimize
the total transportation cost while satisfying all the
SUPPLY
X11 (2)
X12 (35)
x13
x14
b1
x21
X22 (23)
x23
x24
b2
X31 (18)
x32
X33 (42)
x34
b3
DEMAND
a1
a2
a3
a4
Grand
Total
demand for its product occurs from March to June of each year.
The company estimates the demand for the four months to be
100,200,180,and 300 units. The company uses part time labour
to manufacture the backpacks and as such its production
capacity varies monthly. It is estimated that company can
produce 50,180,280, and 270 units for March to June,
respectively.Because the production capacity and demand for
different months do not match, a current months demand may
be satisfied in one of the three ways :
1. Current months production
2. Surplus production in earlier months
3. Surplus production in later months
Continued
In the first case, the production cost per backpack is
CAPACITY
40
40.50
41.00
41.50
50
42.00
40.00
40.50 41.00
180
44.00
42.00
40.00 40.50
280
46.00
44.00
42.00 40.00
270
DEMAN
D
100
200
180
300
TRANSPORTATION ALGORITHM
I NORTH WEST CORNER RULE METHOD
II LEAST COST METHOD
III VOGELS APPROXIMATION METHOD
starting solution :
STEP-1
For each row(column), determine a penalty measure by subtracting the smallest unit cost
element in the row(column) from the next smallest unit cost element in the same row
(column)
STEP-2
Identify the row or column with the largest penalty. Break ties arbitarily. Allocate as much
as possible to the variable with the least unit cost in the selected row or column. Adjust the
supply and demand , and cross out the satisfied row or column. If a row and a column are
satisfied simultaneously, only one of the two is crossed out, and the remaining row(column)
is assigned zero supply(demand)
STEP-3
(a) If exactly one row or one column with zero supply or deman remains uncrossed out,
stop.
(b)If one row(column) with positive supply(demand) remains uncrossed out, determine the
basic variables in the row(column) by the least cost method.
(c) If all the uncrossed out rows and columns have (remaining) zero supply and demand,
determine the zero basic vaiables by the least cost method. Stop.
(d) Otherwise go to step-1
Problems-1
Warehous
e
Stores
Availabilit
y
II
III
IV
34
15
12
-1
19
25
17
17
80
Requirement 21
Wareh
ouse
Stores
Availab
ility
II
III
IV
5 (6)
1 (6)
3 (17)
3 (5)
34
3
(15)
15
3 (12)
12
-1 (19)
19
Require
ment
21
25
17
17
80
stor
es
Avail
abilit
y
Row
penalties
II
III
IV
34
2 2 0 0
15
0 0 1
12
1 1
-1
19
3 - -
Requirement
21
25
17
17
80
Column
penalties
D1
D2
O1
13
15
O2
O3
Demand
Supply
D3
17
16 (11)
12
11
2 (12)
16
10 (14)
20 (2)
14
23
(6)
45
Supply
ORIGI
N
D1
D2
D3
D4
O1
5 (10)
3 (20)
O2
4 (20) 5 (20)
4 (10) 50
O3
2 (20)
20
Deman
d
30
40
20
10
100
30
FROM
Require
ment
II
III
IV
Availability
15
10
17
18
16
13
12
13
12
17
20
11
15
ASSIGNMENT MODELS : The assignment problem is a special case of the transportation problem in which the objective is to assign a number of origins to the equal number of destinations at a minimum cost (or maximum profit). The assignment is to be made on a one-one basis.
Mathematical Formulation :
Min Z= CijXij
Subject to the constraints
Xij =1 and Xij =1 ; xij = 0 or 1
For all i=1,2,3,4, and j=1,2,3,4
Where Cij is the cost associated with assigning ith
REDUCTION THEOREM
TH-1 : In an assignment problem , if we add or
to step-3.
(ii) If the number of sources is not equal to the number of destinations
go to step-2.
Step-2
Add a dummy source or dummy destination, so that the cost table
becomes a square matrix. The cost entries of dummy
source/destinations are always zero.
Step-3
Locate the smallest element in each row of the given cost matrix and
then the same from each element of that row
Continued .
Step-4
In the reduced matrix obtained in step-3, locate the smallest element of each
column and then subtract the same from each element of that column. Each
column and row now have at least one zero.
Step-5
In the modified matrix obtained in step-4, search for an optimal assignment as
follows :
(a) Examine the rows succesively until a row with single zero is found. En
rectangle this zer0 and cross off all other zeros in its column. Continue in this
manner untill all the rows have been taken care of.
(b) Repeat the procedure for each column of the reduced matrix.
(c) If a row and/ or column has two or more zeros and one cannot be chosen by
inspection then assign arbitary any one of these zeros and cross off all other zeros
of that row/column.
(d) Repeat the above process until the chain of assigning rectangle or cross ends.
Continued .
Step-6
If the number of assignments are equal to n an optimum solution is reached.
If the number of assignments are less than n, go to next step.
Step-7
Draw the minimum number of horizontal and/ vertical lines to cover all the zeros of the reduced matrix as
follows :
(a)Mark () rows that do not have any assigned zero.
(b) Mark() columns that have zeros in the marked rows.
(c) Mark() rows that have assigned zeros in the marked columns
(d) Repeat above until the chain of marking is completed.
(e) Draw lines through all the unmarked rows and marked columns. This gives the minimum number of
lines.
Step-8
Devel0p the new revised cost matrix as follows :
(a) Find the smallest element of the reduced matrix not covered by any of the lines.
(b) Subtract this element from all the uncovered elements and add the same to all the elements lying at the
intersection of any two lines.
Step-9
Go to step-6 and repeat the procedure until an optimum solution is attained.
PROBLEMS :
Answer : 1-I , 2-III , 3-II , 4-IV ;
Minimum Time = 42 hours
Subordinate
II
III
IV
26
17
11
13
28
26
38
19
18
15
19
26
24
10
2.Shortest-Route problem
Network diagram