Operations Research - Linear Programming
Operations Research - Linear Programming
decisions.
As the name implies, OR involves “research on
operations”
◦ Manufacturing
◦ Transportation
◦ Construction
◦ Telecommunications
◦ Financial planning
◦ Health care
Super
Deluxe 17 8 $300
Machine
Silver Ball
14 12 $250
Special
Bumper
10 15 $200
King
3. Constraints???
Subject to
x1, x2 , x3
Decision Variables
Example Problem No. 2
An advertising company wishes to plan an advertising
campaign in three different media – television, radio, and
magazines. The purpose of the advertising program is to
reach as many potential customers as possible. Results of
a market study are as follows.
Television Radio Magazines
Daytime Prime Time
Cost of an advertising $40,000 $75,000 $30,000 $15,000
unit
No. of potential 400,000 900,000 500,000 200,000
customers reached per
unit
No. of women 300,000 400,000 200,000 100,000
customers reached per
unit
Example Problem No. 2
The company does not want to spend more than $800,000
on advertising. It further requires that
constant
Example Problem No.3
A financial advisor who recently graduated from
IIMK received a call from a client who wanted to
invest a portion of a $ 150,000 inheritance
The client wanted to realize an annual income, but
also wanted to spend some of the money
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
bonds
x2 / (x1+x2+x3) ≤ 0.35
The investment must produce at least $12,000 annually
(ROI)
0.11x1 + 0.08x2 + 0.07x3 ≥ 12000
Objective Function: Maximize Z = 150,000 – (x 1 + x2 + x3)
Problem No. 4 - Recruitment
A hospital administrator has the following minimal daily requirements for
nursing personnel:
Period Clock Time Minimal No. of
nurses
1 6 AM to 10 AM 60
2 10 AM to 2 PM 70
3 2 PM to 6 PM 60
4 6 PM to 10 PM 50
5 10 PM to 2 AM 20
6 2 AM to 6 AM 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.
Problem No. 4 - Solution
Decision variables: Let xi represent the number of nurses
reporting in period ‘i’ where i varies from 1 to 6 (x i >=0)
Constraints: x1+x6>=60 (Period 1)
x2+x1>=70 (Period 2)
x2+x3>=60 (Period 3)
x3+x4>=50 (Period 4)
x4+x5>=20 (Period 5)
x5+x6>=30 (Period 6)
Objective Function: Minimize Z = x1+x2+x3+x4+x5+x6
Problem No. 5 - Lifeguards
problem
In the summer, the City of Sunset Beach staffs lifeguard
stations seven days a week.
Regulations require that city employees (including
lifeguards) work five days a week and be given two
consecutive days off.
For most city employees, these days are Saturday and
Sunday, but for lifeguards, these are the two busiest days
of the week.
Insurance requirements mandate that Sunset Beach
provide at least one lifeguard per 8000 average daily
Problem No. 5 - Lifeguards
problem
The following table gives the average daily attendance figures
required during the summer months, at Sunset Beach.
Given the current budget situation, Sunset Beach would like
to determine a schedule that will employ as few lifeguards as
possible Day Average attendance
Sunday 58000
Monday 42000
Tuesday 35000
Wednesday 25000
Thursday 44000
Friday 51000
Saturday 68000
Problem No. 6 - Library problem
Larry Edison needs to schedule the staffing of a computer
center which is open from 8 am until midnight. Larry
determined that the following number of computer
consultants are required to man the center at various
times of the day
Shift: 1 8 am – noon 4 (Minimum number required on
duty)
2 Noon – 4 pm 8
3 4 pm – 8 pm 10
4 8 pm – midnight 6
Problem No. 6 - Library problem…
The full-time consultants work for 8 consecutive hours
and are paid $14 per hour.
Part-time consultants can be hired to work in any of the
four shifts and are paid $12 per hour.
An additional requirement is that during every time
period, there must be at least 2 full time consultants on
duty for every part time consultant on duty.
How many full-time and part-time consultants should
work each shift to meet the requirements at minimum
cost?
Problem No. 7 – Quality Control
A company has two grades of inspectors, 1 and 2,
who are to be assigned for a quality control
inspection.
Grade 1 inspectors can check pieces at the rate of
25 per hour, with an accuracy of 98%. Grade 2
inspectors check at the rate of 15 pieces per hour,
with an accuracy of 95%.
Inspectors work exactly 8 hours a day and have to
inspect at least 1800 pieces per day
Problem No. 7 – Quality
Control…
The wage rate of a Grade 1 inspector is $4 per hour,
while that of a Grade 2 inspector is $3 per hour. Each
time an error is made by an inspector, the cost to the
company is $2.
The company has a maximum of eight Grade 1
inspectors and ten Grade 2 inspectors for performing
inspection.
The company wants to determine the optimal
assignment of inspectors, which will minimize the total
cost of the inspection
Problem No. 7 - Solution
Minimize Z 40 x1 36 x2
Subject to
5x1 3 x2 45
x1 8
x2 10
x1 , x2 0
x1<=8
x2
B (8,10)
A (3,10)
x2<=10
Feasible
Z(A)=40(3) region
+36(10) 5x1+3x2≥45
Z(A)=480 Feasible
solution
Z(B)=320
+360=680
C (8,5/3)
Z(C)=320
+60=380 x1
I 7 5 6 4
II 4 8 5 8
III 2 7 7 3
100 200