optimization technique
DESCRIPTION
optimization techniqueTRANSCRIPT
![Page 1: Optimization technique](https://reader031.vdocuments.us/reader031/viewer/2022013118/55cf9ab7550346d033a309db/html5/thumbnails/1.jpg)
Optimization Techniques
(MA- 051)
![Page 2: Optimization technique](https://reader031.vdocuments.us/reader031/viewer/2022013118/55cf9ab7550346d033a309db/html5/thumbnails/2.jpg)
Overall Marking Scheme
Minor Test 1 20Minor Test 2 20
Major Test 50 Internal Assessment 10
Total 100 marks
![Page 3: Optimization technique](https://reader031.vdocuments.us/reader031/viewer/2022013118/55cf9ab7550346d033a309db/html5/thumbnails/3.jpg)
References
Taha,H.A.(1992)Taha,H.A.(1992) Operations Research- An Introduction, New Operations Research- An Introduction, New York : Macmillan,York : Macmillan,
Hadley, G.(1962)Hadley, G.(1962) Linear Programming, Massachusetts : Linear Programming, Massachusetts : Addison-Wesley,1962. Addison-Wesley,1962.
Hiller, F.S. and G.J.Lieberman(1995) Introduction to Operations Hiller, F.S. and G.J.Lieberman(1995) Introduction to Operations Research, San Francisco : Holden-Day.Research, San Francisco : Holden-Day.
Harvey M. Wagner (1975)Harvey M. Wagner (1975) Principles of Operations Research with Principles of Operations Research with Applications to Managerial Decisions, Prentice Hall of India Pvt. Ltd.Applications to Managerial Decisions, Prentice Hall of India Pvt. Ltd.
Quantitative Techniques in Management by ND Vohra(Second Edition). Schaum Series of Operation Research.
![Page 4: Optimization technique](https://reader031.vdocuments.us/reader031/viewer/2022013118/55cf9ab7550346d033a309db/html5/thumbnails/4.jpg)
Applications
Personnel Administrator• Forecasting the manpower requirement, recruitment policies,
job assignments. Marketing
Product selection,timing,competitive actions. Financial Controller
in finding out a profit plan for the company. Scheduling : of aircrews and the fleet of airlines,of the operating
theatres in a hospital. Indian Railways, Media Planning.
![Page 5: Optimization technique](https://reader031.vdocuments.us/reader031/viewer/2022013118/55cf9ab7550346d033a309db/html5/thumbnails/5.jpg)
Objective : OR attempts to locate the best or optimal solution to the problem under consideration.
Methodology• Formulate the problem.
» decision variables that define the problem» constraints that limit the decision choices» objectives of the decision maker
• Mathematical representation of the problem.» Optimize z = f(x1,x2,….,xn)
subject to gi(x1,x2,….,xn) bi , i = 1,2,…..,m
![Page 6: Optimization technique](https://reader031.vdocuments.us/reader031/viewer/2022013118/55cf9ab7550346d033a309db/html5/thumbnails/6.jpg)
• Solution of the model.• Validation of the model.• Implementation of the solution.
A solution of the model is feasible if it satisfies all the constraints. Along with it if it yields the best(max or min) value of the objective
function then it is a optimal solution. In OR, we do not have a single general technique that solves all
mathematical models that arise in practice. Few of them are linear programming, integer programming, nonlinear programming.
![Page 7: Optimization technique](https://reader031.vdocuments.us/reader031/viewer/2022013118/55cf9ab7550346d033a309db/html5/thumbnails/7.jpg)
Mathematical Formulation
A firm is engaged in producing two products, A and B. Each unit of product A requires 2 kg of raw material and 4 labour hours for processing, whereas each unit of product B requires 3 kg of raw material and 3 hours of labour, of the same type. Every week, the firm has an availability of 60 kg of raw material and 96 labour hours.One unit of product A sold yields Rs 40 and one unit of product B sold gives Rs 35 as profit. Formulate this problem as a linear programming problem to determine as to how many units of each of the products should be produced per week so that the firm can earn the maximum profit. Assume that there is no marketing constraint so that all that is produced can be sold.
![Page 8: Optimization technique](https://reader031.vdocuments.us/reader031/viewer/2022013118/55cf9ab7550346d033a309db/html5/thumbnails/8.jpg)
Aim: To determine the no. of units of each of the products to be produced per week so that the firm can earn the maximum profit.
Decision variables : Let x1 and x2 represent the number of units produced per week of the products A and B respectively.
Return Function : Profit function Z = c1x1 + c2x2
Constraints : Raw material constraint, Labour hours constraint.
Trivial Constraints: xj 0.
![Page 9: Optimization technique](https://reader031.vdocuments.us/reader031/viewer/2022013118/55cf9ab7550346d033a309db/html5/thumbnails/9.jpg)
A B Availability
Raw Material 2 kg 3 kg 60
Labour hours 4 3 96
Profit Rs 40 Rs 35
Maximise Z = 40x1 + 35x2 ProfitSubject to
2x1 + 3x2 60 Raw material constraint 4x1 + 3x2 96 Labour hours constraint
x1, x2 0 Non-negativity restriction
![Page 10: Optimization technique](https://reader031.vdocuments.us/reader031/viewer/2022013118/55cf9ab7550346d033a309db/html5/thumbnails/10.jpg)
Example
Evening shift resident doctors in a government hospital work five consecutive days and have two consecutive days off. Their five days of work can start on any day of the week and the schedule rotates indefinitely. The hospital requires the following minimum number of doctors working : Sun Mon Tues Wed Thurs Fri Sat 35 55 60 50 60 50 45No more than 40 doctors can start their five working days on the same day. Formulate this problem as an LP model to minimize the number of doctors employed by the hospital.
![Page 11: Optimization technique](https://reader031.vdocuments.us/reader031/viewer/2022013118/55cf9ab7550346d033a309db/html5/thumbnails/11.jpg)
Let xj be the number of doctors who start their duty on day j( j = 1,2,….,7 ) of the week.
Minimize Z = x1 + x2 + x3 + x4 + x5 + x6 + x7
Subject to x1 + x4 + x5 + x6 + x7 35
x2 + x5 + x6 + x7 + x1 55
x3 + x6 + x7 + x1 + x2 60
x4 + x7 + x1 + x2 + x3 50
![Page 12: Optimization technique](https://reader031.vdocuments.us/reader031/viewer/2022013118/55cf9ab7550346d033a309db/html5/thumbnails/12.jpg)
x5 + x1 + x2 + x3 + x4 60
x6 + x2 + x3 + x4 + x5 50
x7 + x3 + x4 + x5 + x6 45
xj 40
xj 0 for all j
![Page 13: Optimization technique](https://reader031.vdocuments.us/reader031/viewer/2022013118/55cf9ab7550346d033a309db/html5/thumbnails/13.jpg)
A multinational company has two factories that ship to three regional warehouses.The costs of transportation per unit are :
Transportation Costs(Rs)
Factory F2 is old and has a variable manufacturing cost of Rs 20 per unit. Factory F1 is modern and produces for Rs 10 per unit. Factory F2 has a monthly capacity of 250 units, Factory F1 has a monthly capacity of 400 units. The requirements at the warehouses are :
W1 W2 W3
F1 2 2 5
F2 4 2 3
![Page 14: Optimization technique](https://reader031.vdocuments.us/reader031/viewer/2022013118/55cf9ab7550346d033a309db/html5/thumbnails/14.jpg)
How should each factory ship to each warehouse in order to minimize the total cost? Formulate this problem as a linear programming model.
Warehouse RequirementW1 200
W2 100
W3 250
![Page 15: Optimization technique](https://reader031.vdocuments.us/reader031/viewer/2022013118/55cf9ab7550346d033a309db/html5/thumbnails/15.jpg)
Let xij be the quantity shipped from ith factory to jth warehouse.
FactoryWarehouse
AvailabilityW1 W2 W3
F1 12 12 15 400
F2 24 22 23 250
Requirement 200 100 250 550/650
The total cost(manufacturing plus transportation ) matrix is given below:
![Page 16: Optimization technique](https://reader031.vdocuments.us/reader031/viewer/2022013118/55cf9ab7550346d033a309db/html5/thumbnails/16.jpg)
x11 + x21 = 200
x12 + x22 = 100
x13 + x23 = 250
xij 0 for i = 1,2 and j = 1,2,3
Minimise Z = 12x11 + 12x12 + 15x13 + 24x21 + 22x22 + 23x23
Subject to x11 + x12 + x13 400
x21 + x22 + x23 250
![Page 17: Optimization technique](https://reader031.vdocuments.us/reader031/viewer/2022013118/55cf9ab7550346d033a309db/html5/thumbnails/17.jpg)
A 400-meter medley relay involves four different swimmers, who successively swim 100 meters of the backstroke,breaststroke,butterfly, and freestyle. A coach has six very fast swimmers whose expected times(in seconds) in the individual events are given below:
Event 1(backstroke)
Event 2(breaststroke)
Event 3(butterfly)
Event 4(freestyle)
Swimmer 1 65 73 63 57
Swimmer 2 67 70 65 58
Swimmer 3 68 72 69 55
Swimmer 4 67 75 70 59
Swimmer 5 71 69 75 57
Swimmer 6 69 71 66 59
![Page 18: Optimization technique](https://reader031.vdocuments.us/reader031/viewer/2022013118/55cf9ab7550346d033a309db/html5/thumbnails/18.jpg)
How should the coach assign swimmers to the relay so as to minimize the sum of their times?
Let xij designate the number of times swimmer i will be assigned to event j(where i = 1,2,…….,6 ; j = 1,2,3,4)
Minimise Z = 65x11 + 73x12 + 63x13 + 57x14 +………….. + 66x63 + 59x64
Since no swimmer can be assigned to more than one event.
x11 + x12 + x13 + x14 1
x21 + x22 + x23 + x24 1
………………………
x61 + x62 + x63 + x64 1
![Page 19: Optimization technique](https://reader031.vdocuments.us/reader031/viewer/2022013118/55cf9ab7550346d033a309db/html5/thumbnails/19.jpg)
Since each event must have one swimmer assigned to it.x11 + x21 + x31 + x41 + x51 + x61 = 1
…………………………………… x14 + x24 + x34 + x44 + x54 + x64 = 1.
xij 0 for i = 1,2,…..,6 and j = 1,2,3,4.
![Page 20: Optimization technique](https://reader031.vdocuments.us/reader031/viewer/2022013118/55cf9ab7550346d033a309db/html5/thumbnails/20.jpg)
Graphical Solutions of LPP
LPP involving two decision variables can be easily solved by graphical methods.
To solve using graphical methods following steps are involved(a) Identify the problem-the decision variable,the objective
function,and the constraints.(b) Plot a graph representing all the constraints of the problem and
identify the feasible region.(c) Obtain the point on the feasible region that optimises the objective
function-the optimal solution.(d) Interpret the results.
![Page 21: Optimization technique](https://reader031.vdocuments.us/reader031/viewer/2022013118/55cf9ab7550346d033a309db/html5/thumbnails/21.jpg)
Maximization Case
Maximise Z = 40x1 + 35x2
Subject to 2x1 + 3x2 60
4x1 + 3x2 96
x1, x2 0
(18,8)
(0,20)
(24,0)
40(18) + 35(8)=1000 Q
P
O R
J
T
![Page 22: Optimization technique](https://reader031.vdocuments.us/reader031/viewer/2022013118/55cf9ab7550346d033a309db/html5/thumbnails/22.jpg)
Minimisation Case
Use graphical method to solve the following LPP:
Minimise Z = 3x1 + 2x2
Subject to 5x1 + x2 10
x1 + x2 6
x1 + 4x2 12
x1, x2 0
2 128
2
12
8
(1,5)
(0,10)
(4,2)3(1) + 2(5) = 13
![Page 23: Optimization technique](https://reader031.vdocuments.us/reader031/viewer/2022013118/55cf9ab7550346d033a309db/html5/thumbnails/23.jpg)
Multiple Optimal Solutions
Maximise Z = 8x1 + 16x2
Subject to x1 + x2 200
x2 125
3x1 + 6x2 900
x1, x2 0
50 200 300
50
200
(50,125)
(100,100)
Z = 8(50) + 16(125) = 2400
Z = 8(100) + 16(100) = 2400
![Page 24: Optimization technique](https://reader031.vdocuments.us/reader031/viewer/2022013118/55cf9ab7550346d033a309db/html5/thumbnails/24.jpg)
Inferences:• The objective function is parallel to a constraint that forms the
boundary of the feasible solutions region.
• The constraint should form a boundary on the feasible region in the direction of optimal movement of the objective function.
![Page 25: Optimization technique](https://reader031.vdocuments.us/reader031/viewer/2022013118/55cf9ab7550346d033a309db/html5/thumbnails/25.jpg)
Unbounded Solution
Maximise Z = 6x1 + x2
Subject to 2x1 + x2 3
x2 - x1 0
x1, x2 0
![Page 26: Optimization technique](https://reader031.vdocuments.us/reader031/viewer/2022013118/55cf9ab7550346d033a309db/html5/thumbnails/26.jpg)
Inference:
When the values of the decision variables can be increased indefinitely w/o violating any of the constraints, then the solution is stb unbounded.
There is a difference b/w feasible region being unbounded and an LP problem being unbounded.
![Page 27: Optimization technique](https://reader031.vdocuments.us/reader031/viewer/2022013118/55cf9ab7550346d033a309db/html5/thumbnails/27.jpg)
Infeasible Solution
Maximise Z = x1 + x2/2
Subject to 3x1 + 2x2 12
5x1 = 10
x1 + x2 8
-x1 + x2 4
x1, x2 0 1
2
3
4
![Page 28: Optimization technique](https://reader031.vdocuments.us/reader031/viewer/2022013118/55cf9ab7550346d033a309db/html5/thumbnails/28.jpg)
Inference:
Infeasibility is a condition that arises when no value of the variables satisfy all of the constraints simultaneously.
Redundancy: A redundant constraint does not affect the feasible solution region.
![Page 29: Optimization technique](https://reader031.vdocuments.us/reader031/viewer/2022013118/55cf9ab7550346d033a309db/html5/thumbnails/29.jpg)
Exercise
Solve graphically the LPP:
Minimise Z = 6x1 + 14x2
Subject to 5x1 + 4x2 60
3x1 + 7x2 84
x1 + 2x2 18
x1, x2 0
![Page 30: Optimization technique](https://reader031.vdocuments.us/reader031/viewer/2022013118/55cf9ab7550346d033a309db/html5/thumbnails/30.jpg)
Non-Linear Programming Problem
Solve graphically the following NLP problem:
Maximize Z = 2x1 + 3x2
Subject to
0x,x
8.xx
20xx
21
21
22
21
(2,4)
(4,2)
Z = 2(2) + 3(4) = 16