Operations Research - Class1 To Class 3
Operations Research - Class1 To Class 3
Operations Research - Class1 To Class 3
Operations research (OR) is an interdisciplinary mathematical science that focuses on the effective use of resources/technology by organizations
Scarce resources Labor, materials, machinery, money Quest for best combination of inputs Minimizing costs or Maximizing profits Linear Programming (LP) problems - Linear objective function - Linear constraints Why only LP? - Majority of real-life problems can be approximated - Efficient solution procedures - Easy Sensitivity Analysis
Linear Programming problems Formulation, Graphical method - Sensitivity Analysis and Duality Transportation, Transshipment and Assignment problems Network optimization models Integer programming problems
Project management
Simulation A brief overview Waiting line models
A. Exams: Mid term: 25%; End term: 35% B. Assignments + Case Presentation: 15% C. Surprise Quizzes: 15%
A model should never be taken too literally Beware of overselling a model Verification and Validation
Linear Programming problems Formulation, Graphical method - Sensitivity Analysis and Duality Transportation, Transshipment and Assignment problems Network optimization models Integer programming problems
Project management
Simulation A brief overview Waiting line models
Linear Programming problems Formulation, Graphical method - Sensitivity Analysis and Duality Transportation, Transshipment and Assignment problems Network optimization models Integer programming problems
Project management
Simulation A brief overview Waiting line models
Plant I
Plant II
Profit / Kg
Soap Shampoo
3 4
5 4
Rs.10 Rs. 13
Detergent
Hours / week
Rs. 12
40 hrs
40 hrs
3. Constraints???
4. Time available per week (40 hours) 5. Last, the objective function (Max Profit or Minimize Cost)
Maximize
Objective Function
Subject to 3X1 + 4X2 + 4X3 < 40 5X1 + 4X2 + 2X3 < 40 X1 > 0, X2 > 0, X3 > 0 X1, X2 , X3
Decision Variables
Cost
Vitamin A
Vitamin B
Vitamin D
Eggs
Milk
Cereals Daily requirement
Rs. 14.00/lit
Rs. 18/unit (kg)
30 mg/lit
10 mg/kg 100 mg
25 mg/lit
55 mg/kg 250mg
20 mg/lit
30 mg/kg 120mg
Decision Variables?
Let X1, X2, X3 be the quantities of eggs, milk and cereals bought. The problem is of the form
(i) There is an objective function which describes what we desire (ii) A set of constraints, usually in the form of inequalities (iii) Non-negativity constraints for the decision variables (iv) The objective function and the constraints are linear.
Subject to
an1 x1 + an2 x2 + + amn xn < or bm x1 , x2 ,.., xn - Unrestricted in Sign b1 , b2 ,.., bm - Unrestricted in Sign OR
Maximize / Minimize Z C j x j
j
Subject to
a x
j 1 ij
or bi i 1.....m
After discussing the matter, the client and the adviser agreed that a mutual fund, corporate bonds, and a money market account would make suitable investments.
The client was willing to leave allocation of the funds among these investment vehicles to the financial adviser, but with the following conditions:
At least 25 percent of the amount invested should be in the money market account A maximum of only 35% should be invested in corporate bonds The investment must produce at least $ 12,000 annually (ROI) The un-invested portion should be as large as possible
The annual returns would be 11 percent for the mutual fund, 8 percent for the bonds, and 7 percent for the money market
Formulate an LP model that will achieve the clients requests. Ignore transaction costs, the advisers fee and so on.
Let X1, X2, X3 be the amounts to be invested in mutual fund, corporate bonds and money market
A trucking company with Rs.20 crores to spend on new equipment is contemplating three types of vehicles
Vehicle A has a 10-ton payload and is expected to cover 55 km per hour. It costs Rs.40 lakhs.
Vehicle B has a 20-ton payload and is expected to cover 50 km per hour. It costs Rs.65 lakhs.
for one driver, and this reduces its capacity to 18-tons and
raises the cost to Rs.75 lakhs.
Vehicle A requires a crew of one man, and, if driven on three shifts per day, could be run for an average of 18 hours per day. Vehicles B and C require a crew of two men each. Where, B would be driven 18 hours per day with three shifts, C could be run for an average 21 hours per day. The company has 150 drivers available each day and would find it very difficult to obtain further crews. Maintenance facilities are such that the total number of vehicles must not exceed 30. How many vehicles of each type should be purchased if the company wishes to maximize its capacity in ton-km per day?
This scheme is available only for the next six months (Encashment is possible on 181st day) Returns received at the end of any month can be used immediately for reinvesting either as a fresh investment or as a follow-up investment
Noting that, in any month, the cash outflow must not exceed the cash on hand, the following linear programme is formulated
Day 0:
X1
100
Day 30:
Day 60:
X1 X 2 100 X1 2 X2 X1 X 3 100 X2 2 2
Day 90:
Day 120: Day 150:
X3 X1 X 2 X 4 100 X3 2 2 2
X4 X 5 100 2 X5 100 2 X1 2 X1 2 X2 X3 X4 2 2 X2 X3 X4 X5 2 2 2
On 181st day, the cash on hand must be maximum Hence the objective function is
A hospital administrator has the following minimal daily requirements for nursing personnel:
Period 1 2 Clock Time 6 AM to 10 AM 10 AM to 2 PM Minimal No. of nurses 60 70
3
4 5 6
2 PM to 6 PM
6 PM to 10 PM 10 PM to 2 AM 2 AM to 6 AM
60
50 20 30
Nurses report to the hospital wards at the beginning of each period and work for 8 consecutive hours. The hospital wants to determine the minimal number of nurses to employ so that there will be a sufficient number of personnel available for each period.
A brewery blends three raw materials, A, B and C in varying proportions to obtain three final products, D, E and F. The salient data is given below.
Final Product Selling price/ Litre Ingredient Cost/ Litre Quantity Available D $15 A $10 10,000 E $9 B $8 12,000 F $12 C $7 15,000
Final Product D E
Specifications At least 25% of ingredient A Not more than 15% of C At least 50% of ingredient B Not more than 30% of C
B
C
A
B C
300
500 400
1.2 m3
0.8 m3 1 m3
Rs. 10,000
Rs. 7,000 Rs. 8,000
Weight in aft, center, forward must be in the same proportion as the holding capacities by weight, i.e., 100 : 200 : 75
A final product is assembled with 4 units of component A and 3 units of component B. The manufacturing shop runs three different processes, each of which requires varying amounts of raw materials and produce different amounts of A and B. Two types of raw materials are used. 100 units of raw material I (RM I) and 200 units of raw material II (RM II) are available to the shop each day
Shop
II
III
4
2
8
7
5
7
8
3
100
200
A machine tool company conducts a job-training program for machinists Trained machinists are used as teachers in the program at a ratio of one for every ten trainees. The training program lasts for one month (Assumption: No. of trainees multiple of 10) From past experience it has been found that out of ten trainees hired, only seven complete the program successfully (the unsuccessful trainees are released) Trained machinists are also needed for machining and the companys requirements for the next three months are as follows: January 100 February 150 March 200
Each Trainee
Each trained machinist (machining or teaching)
$ 400
$ 700
$500
(Union contract forbids firing trained machinists) Set up the linear programming problem that will produce the
Every month, a trained machinist can do one of the following: (1) Work a machine, (2) Teach or (3) Stay idle Since the number of trained machinists for machining is fixed, the only decision variables are the number teaching and the number idle for each month. Thus, the decision variables are: X1 trained machinists teaching in January X2 trained machinists idle in January X3 - trained machinists teaching in February X4 trained machinists idle in February X5 trained machinists teaching in March X6 trained machinists idle in March
Number machining + Number teaching + Number idle = Total trained machinists available at the beginning of the month For January : 100 + X1 + X2 = 130 For February : 150 + X3 + X4 = 130 + 7X1 For March : 200 + X5 + X6 = 130 + 7X1 + 7X3 Since the company requires 250 trained machinists by April, 130 + 7X1 + 7X3 + 7X5 = 250 Objective Function: Minimize Z = 400 (10X1 + 10X3 + 10X5) +700 (X1 + X3 + X5) +500 (X2 + X4 + X6)
50 units produced
F1
$ 900/unit
30 units needed
W1
$ 300/unit
$ 200/unit
10 units max
DC
40 units produced
F2
$ 200/unit
W2
60 units needed