Professional Documents
Culture Documents
Hillier, Liberman; Operations Research Levi D, E Simchi, Keminsky P; Designing and Managing Supply Chain; TMH Chopra, Meindil and Kalra; SCM-Strategy, planning and Operation; Pearson Vollman, Berry et al: Mfg Planning and Control for SCM; TMH Salvendi G; Hand Book of Industrial Engg; Wiley
25-Nov-12
Prof. S. N. VARMA
How subject X works? for Process planning, control, implementation and auditing.
25-Nov-12
Prof. S. N. VARMA
Operations Research
Why to study OR? Roots and History The term OR was first used at about 1939, but Sciences evolve over a time and their terminology changes. (Newton in his time was not known as physicist but as a natural philosopher) Credit for fast development of OR goes to World War I, II. Military technology developed faster than it can be absorbed and military executives turned to scientist for aid. In England a team of scientist was drawn to aid in tactics & strategies of air defense with the then new radar. This team got considerable success and demand spread to western allies. Since the team was assigned to military operations, so the body of knowledge known as Operations Research. These persons tickled from military to industry in 1950s. OR Society of America was formed in 1953 & International OR Society in 1957. Need of OR functions began to develop after first Industrial revolution as a consequence of single man advent replaced by organizations, division/ specialization of work, conflict in objectives of these subsystems and need of coordinating these specialized functions.
25-Nov-12 Prof. S. N. VARMA 3
Need for OR
The industrial need for OR:
Industr ial growth Division/ segment of work Specialization & conflict of objectives Executive need for co ordination System view OR/ Quanti tative tech.
25-Nov-12
What is OR?
Objectives: It is to provide scientific basis to decision makers for solving the problems involving integration of the interacting components of the organization system. It uses different disciplines to find optimum solution in the best interest of organization as whole Def: 1. Operation research is research into operations (J. Steinhardt). 2. OR is scientific approach to problem solving for executive mgt. 3. Or is scientific method of providing executive mgt with Quantitative basis for decisions regarding the operations. So named QT for Mgt. 4. OR is - the application of scientific methods - by interdisciplinary teams - to problems evolving control of organized man-m/c systems - to provide solutions which best serve organization as a whole Characteristics: System oriented; Quantitative scientific methods; Use of interdisciplinary teams; Uncovering of new problems
25-Nov-12
Prof. S. N. VARMA
How OR works?
1. 2. 3. 4. 5. 6. Phases/ methodology of OR and Modelling: Search, define and formulate problem, list alternatives to evaluate. Make hypothesis, construct model and validate with the real system Experiment and deduct results leading to model conclusion & theory Evaluate alternatives & compare/ verify with real system attributes Select best solution, establish controls and implement. Post audit
Formulate/ Inductive generalize Real System Draw conclusions Real system attributes
25-Nov-12
Types of Models
Model types at abstraction level:
1. Iconic or physical models e.g. clay, wooden-models of plane, car, bldg 2. Analogue or schematic models e.g. graphs, contours, pie diagram 3. Symbolic or mathematical models e.g. algebraic, differential equation Mathematical models used in OR:
Deterministic models
Allocation: LPP, IPP, Goal Prog., TPP, Assignment, Sequencing, Dynamic P Network models; Deterministic Inventory models Non linear prog.; Capital Investment; Replacement Optimization
Probabilistic models
Forecasting Decision theory, games and competitive strategy. Queuing and waiting models Probabilistic Dynamic programming Probabilistic Inventory Simulation modeling
25-Nov-12 Prof. S. N. VARMA 7
Types of solutions
Most of OR models can be represented by a set of equations: Utility function, U=F(X,Y); where X are control var., Y uncontrolled var./ param. Subject to resource constraints f (X,Y) < > = 0. Deductive Method: If we can deduct (find out) values of X as a function of known values of Y, then it is a solution to F(X,Y). Many times this method fail because: (i)lack of closed expression (strict equality) for f, U (ii) complexity of constraint functions, OR (iii) large number of variables (now use computer) Many other time we have set of rules to find U for any set of X, Y (Simplex). Iterative method that successively improve sol. are used in such conditions. eg Deterministic allocation (Y are Ci , Bi , Aij and X are Xi ); NetWrk models Inductive method: Change X values in logical manner and observe effect on U. Simulation, Operational gaming, Experimentaly optimize, Metaheuristic search algorithms for polynomial and combinatorial prob. If Y is selected by nature use Decision model; if Y is selected by intelligent opponent then Game theory/ competitive strategy models are used.
25-Nov-12 Prof. S. N. VARMA 8
25-Nov-12
Prof. S. N. VARMA
25-Nov-12
Prof. S. N. VARMA
10
There are efficient solution techniques that solve LPP. The output generated from LPP provides useful what if analysis.
25-Nov-12 Prof. S. N. VARMA 11
subject to:
xj = decision variables bi = constraint levels cj = objective function coefficients aij = constraint coefficients
25-Nov-12 Prof. S. N. VARMA 12
A Prototype Example
Galaxy Company manufactures two toy doll models: Space Ray and Zapper.
Cost/ profit parameters Profit of Space ray doll per dz. = 8 units Profit of Zapper doll per dz = 5 units Resources are limited/ constrained to 1000 Kgs. of special plastic. 40 Hrs of production time per week. Technological input/ constraints Space Rays need 2 kg of plastic and 3 minutes of labor/ dz. Zappers requires 1 Kg of plastic and 4 minutes of labor/ dz. Marketing constraints Total production cannot exceed 700 dozens. Number of dozens of Space Rays cannot exceed number of dozens of Zappers by more than 350.
25-Nov-12
Prof. S. N. VARMA
13
Max 8X1 + 5X2 (Weekly profit) Subject to 2X1 + 1X2 1000 (Plastic, Kg.) 3X1 + 4X2 2400 (Production Time, mts/wk) X1 + X2 700 (Total production) X1 - X2 350 (Mix) Xj> = 0 for j = 1,2 (Non-negativity)
25-Nov-12
Prof. S. N. VARMA
14
X1
25-Nov-12
Prof. S. N. VARMA
15
1000
700 500
Infeasible
Production Time 3X1+4X2 2400
Feasible
500
700 X1
25-Nov-12
Prof. S. N. VARMA
16
1000
The Plastic constraint 2X1+X2 1000 Total production constraint: X1+X2 700 (redundant)
700 500
Infeasible
Feasible
500
700
Extreme points.
17
Start at some arbitrary profit, say = 1,000 Then increase the profit, if possible...
L(125,0;0,200)
Profit= 4360
X1
18
500
25-Nov-12 Prof. S. N. VARMA
Zappers production.
25-Nov-12
Prof. S. N. VARMA
19
Feasible Area is always a convex polygon and optimal solutions is at Extreme points
If a linear programming problem has an optimal solution, any one of extreme points is optimal.
25-Nov-12
Prof. S. N. VARMA
20
25-Nov-12
Prof. S. N. VARMA
21
Parameter values used were only best estimates. Dynamic environment may cause changes. What-if analysis may provide economical and operational information. Sensitivity analysis seeks to find range of cj ,bi and aij which does not change solution values of xj , though value of objective function may change. It also seek to find shadow prices of constraints (duality)
25-Nov-12
Prof. S. N. VARMA
22
Sensitivity Analysis of cj , bi
Range of Optimality of cj The optimal solution will remain unchanged as long as Any one objective function coefficient lies within its range of optimality There are no changes in any other input parameters. The value of the objective function will change if the coefficient multiplies a variable whose value is nonzero. Shadow price Assuming there are no other changes to the input parameters, the change to the objective function value per unit increase to a right hand side of a constraint is called the Shadow Price or the value of the constraint-resource
25-Nov-12
Prof. S. N. VARMA
23
500
X1
25-Nov-12 Prof. S. N. VARMA
500
800
24
Shadow Price graphical demonstration . When more plastic becomes available (the
X2
plastic constraint is relaxed), the right hand side of the plastic constraint increases.
500
X1 500
Prof. S. N. VARMA 25
Range of Feasibility of bi
Assuming there are no other changes to the input parameters, the range of feasibility of bi is
The range of values for a right hand side of a constraint, in which the shadow prices for the constraints remain unchanged. In this case the solution (X1 , X2 ) also changes. In the range of feasibility the objective function value changes as follows: Change in objective value = [Shadow price][Change in the right hand side value]
25-Nov-12
Prof. S. N. VARMA
26
Range of Feasibility of bi
The Plastic constraint
X2
Increasing the amount of plastic is effective until a new constraint becomes active.
1000
500
25-Nov-12
Prof. S. N. VARMA
500
27
25-Nov-12
Prof. S. N. VARMA
28
$D$6
All the constraints have the same direction, thus are included in one Excel constraint.
25-Nov-12
$D$7:$D$10
$F$7:$F$10
Prof. S. N. VARMA
29
25-Nov-12
Prof. S. N. VARMA
30
25-Nov-12
Prof. S. N. VARMA
31
Adjustable Cells Cell Name Original Value $B$4 Dozens Space Rays 320 $C$4 Dozens Zappers 360
Constraints Cell Name $D$7 Plastic Total $D$8 Prod. Time Total $D$9 Total Total $D$10 Mix Total
25-Nov-12
Prof. S. N. VARMA
32
Adjustable Cells Final Reduced Objective Allowable Allowable Cell Name Value Cost Coefficient Increase Decrease $B$4 Dozens Space Rays 320 0 8 2 4.25 $C$4 Dozens Zappers 360 0 5 5.666666667 1 Constraints Cell $D$7 $D$8 $D$9 $D$10 Name Plastic Total Prod. Time Total Total Total Mix Total Final Shadow Constraint Allowable Allowable Value Price R.H. Side Increase Decrease 1000 3.4 1000 100 400 2400 0.4 2400 100 650 680 0 700 1E+30 20 -40 0 350 1E+30 390
25-Nov-12
Prof. S. N. VARMA
33
Unboundness: Occurs when the objective can become infinitely large (max), or infinitely small (min). (Excell output The Set Cell values do not
converge)
25-Nov-12
Prof. S. N. VARMA
34
Infeasible Model
below lines .
2 and 3
1 3
25-Nov-12 Prof. S. N. VARMA 35
Unbounded solution
25-Nov-12
Prof. S. N. VARMA
36
The Model Cost per unit Minimize 0.60X1 + 0.50X2 Subject to 20X1 + 50X2 100 Vitamin A % Vitamin A 25X1 + 25X2 100 Vitamin D provided per unit 50X1 + 10X2 100 Iron X1, X2 0
% required
25-Nov-12
Prof. S. N. VARMA
37
Feasible Region
Vitamin D constraint
Vitamin A constraint
25-Nov-12
Prof. S. N. VARMA
38
25-Nov-12
Prof. S. N. VARMA
39
Transportation Problem
Transportation problem is a special kind of LP problem in which goods are transported from a set of sources to a set of destinations subject to restrictions on the supply and demand of the source and the destination respectively, such that the total cost of transportation is minimized. Solution of transportation problems is a two phase process:
First phase:
25-Nov-12
Prof. S. N. VARMA
40
S1
D1
b1 b2
D2
ai
Si
Dj
bj
am
Sm
Dn
bn
25-Nov-12
Prof. S. N. VARMA
41
Transportation as a LP model
There are mn unknown variables and m+n-1 independent equations (1 less due to balancing)
Minimize : Z cij X ij
i 1 j 1
subject to
X
j 1 m i 1 ij
ij
ai i 1,2,....,m bj j 1,2,.....,n
X
25-Nov-12
Include a dummy source or a dummy destination having a supply ak or demand bl to convert it to a balanced transportation problem. Where
ak
b
j 1
a
i 1
or bl
a
i 1
b
j 1
25-Nov-12
Prof. S. N. VARMA
43
Supplies
D3 D4
D1 Sources S1 S2 S3
D2
50 65 40
75 80 70
30 40 50
45 60 55
12 17 11
Demand
10
10
10
10
40 \ 40
25-Nov-12
Prof. S. N. VARMA
44
Supplies
D3 D4
D1
Sources S1
D2
50
75
30
45
12
S2
S3 (Dummy- S)
65
40 0 15
80
70 0 10
40
50 0 15
60
55 0 10
17
11 10 50 \ 50
Demand
25-Nov-12
Prof. S. N. VARMA
45
2. Select the row or column with the largest penalty found in step 1 and note the supply remaining for its row, s, and the demand remaining in its column, d.
3. Allocate the minimum of s or d to the variable in the selected row or column with the lowest remaining unit cost. If this minimum is s, eliminate all variables in its row from future consideration and reduce the demand in its column by s; if the minimum is d, eliminate all variables in the column from future consideration and reduce the supply in its row by d.
25-Nov-12
Prof. S. N. VARMA
46
Suppli es
Column Penalty
50
75
30
45
12
15
65
40 10
80
70 10
5
10 40
50 10 0
10
60
55 10
10
17 7
11 40 \ 40
20
5
Deman d
Row Penalties 10
25-Nov-12
Prof. S. N. VARMA
47
25-Nov-12
Prof. S. N. VARMA
48
25-Nov-12
Prof. S. N. VARMA
49
Shadow cost-continue
3. Since the CijZij values for basic variables are 0 (i.e., Cij Ui + Vj = 0 for basic variables), we can easily solve for the remaining values of the Uis and Vjs from the m + n 1 equations for the basic variables. 4. Once the Uis and Vjs have been determined, the CijZij values for the non-basic variables can be calculated by Cij - Zij = Cij - Ui + Vj
25-Nov-12
Prof. S. N. VARMA
50
25-Nov-12
Prof. S. N. VARMA
51
Calculations for cell evaluations, non-basic Note: X13 is the entering variable.
25-Nov-12
Prof. S. N. VARMA
52
Step 2.2: Determine leaving Basic Variable Note: Cycle property; X12 is the leaving variable
25-Nov-12
Prof. S. N. VARMA
53
25-Nov-12
Prof. S. N. VARMA
54
25-Nov-12
Prof. S. N. VARMA
56
25-Nov-12
Prof. S. N. VARMA
57
Assignment example
25-Nov-12
Prof. S. N. VARMA
59
Subtract row minima from all row elements, then do for columns.
25-Nov-12
Prof. S. N. VARMA
60
25-Nov-12
Prof. S. N. VARMA
61
25-Nov-12
Prof. S. N. VARMA
62
The Hungarian algorithm works only if the matrix is a cost matrix. A maximization assignment problem can be converted to a minimization problem by creating a lost opportunity matrix. The problem then is to minimize the total lost opportunity.
25-Nov-12
Prof. S. N. VARMA
63