Sunteți pe pagina 1din 30

Optimization Techniques (MA- 051)

Overall Marking Scheme

Minor Test 1 Minor Test 2 Major Test Internal Assessment

20 20 50 10

Total

100 marks

References
Taha,H.A.(1992) Operations Research- An Introduction, New York : Macmillan, Hadley, G.(1962) Linear Programming, Massachusetts : Addison-Wesley,1962. Hiller, F.S. and G.J.Lieberman(1995) Introduction to Operations Research, San Francisco : Holden-Day. Harvey M. Wagner (1975) Principles of Operations Research with Applications to Managerial Decisions, Prentice Hall of India Pvt. Ltd. Quantitative Techniques in Management by ND Vohra(Second Edition). Schaum Series of Operation Research.

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.

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

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.

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.

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.

A Raw Material Labour hours Profit 2 kg 4 Rs 40

B 3 kg 3 Rs 35

Availability 60 96

Maximise Z = 40x1 + 35x2 Subject to 2x1 + 3x2 60 4x1 + 3x2 96 x1, x2 0

Profit Raw material constraint Labour hours constraint Non-negativity restriction

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 45 No 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.

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

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

A multinational company has two factories that ship to three regional warehouses.The costs of transportation per unit are :
Transportation Costs(Rs)
W1 F1 F2 2 4 W2 2 2 W3 5 3

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 :

Warehouse Requirement W1 200 W2 100 W3 250

How should each factory ship to each warehouse in order to minimize the total cost? Formulate this problem as a linear programming model.

The total cost(manufacturing plus transportation ) matrix is given below:


Warehouse W2 12 22 100

Factory F1 F2 Requirement

W1 12 24 200

W3 15 23 250

Availability 400 250 550/650

Let xij be the quantity shipped from ith factory to jth warehouse.

Minimise Z = 12x11 + 12x12 + 15x13 + 24x21 + 22x22 + 23x23

Subject to

x11 + x12 + x13 400


x21 + x22 + x23 250 x11 + x21 = 200 x12 + x22 = 100 x13 + x23 = 250 xij 0 for i = 1,2 and j = 1,2,3

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 Event 2 Event 3 (backstroke) (breaststroke) (butterfly) Swimmer 1 Swimmer 2 Swimmer 3 Swimmer 4 Swimmer 5 65 67 68 67 71 73 70 72 75 69 63 65 69 70 75 Event 4 (freestyle) 57 58 55 59 57

Swimmer 6

69

71

66

59

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

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.

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.

Maximization Case
Maximise Z = 40x1 + 35x2
Subject to 2x1 + 3x2 60 4x1 + 3x2 96 x1, x2 0

J
(0,20) P

40(18) + 35(8)=1000 O

(18,8)

R
(24,0)

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 3(1) + 2(5) = 13

12 (0,10) 8

(1,5)
2 2 (4,2) 8 12

Multiple Optimal Solutions

Maximise Z = 8x1 + 16x2 Subject to x1 + x2 200 x2 125 3x1 + 6x2 900


200

x1, x2 0
Z = 8(50) + 16(125) = 2400 Z = 8(100) + 16(100) = 2400
50

(50,125) (100,100)

50

200

300

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.

Unbounded Solution
Maximise Z = 6x1 + x2
Subject to 2x1 + x2 3 x2 - x1 0

x1, x2 0

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.

Infeasible Solution
Maximise Z = x1 + x2/2
Subject to 3x1 + 2x2 12 5x1 = 10

2 4

x1 + x2 8
-x1 + x2 4 x1, x2 0
1 3

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.

Exercise

Solve graphically the LPP: Minimise Z = 6x1 + 14x2 Subject to 5x1 + 4x2 60 3x1 + 7x2 84 x1 + 2x2 18 x1, x2 0

Non-Linear Programming Problem


Solve graphically the following NLP problem: Maximize Z = 2x1 + 3x2 Subject to
2 x1 x2 2 20

x1.x 2 8 x1 , x 2 0
Z = 2(2) + 3(4) = 16

(2,4) (4,2)

S-ar putea să vă placă și