You are on page 1of 58

Feb 15, 2012

Introduction to Operations Research


Feng Chen
Department of Industrial Engineering and Logistics
Management
Shanghai J iao Tong University
Feb 15, 2012
FC/fchen@sjtu.edu.cn 1
Copyright Feng Chen 2004-2012. All rights reserved.
My recent project
I received a question from an IT manager of Logistics
Company ten months ago:
How to load cars onto trucks, such that we can deliver
cars as many as possible, and meanwhile, using
trucks as less as possible?
How to do??????????????????????????????
Feb 15, 2012 FC/fchen@sjtu.edu.cn 2
Copyright Feng Chen 2004-2012. All rights reserved.
What I have done
We have investigated the company, and get answers for
the following questions:
What are the objectives?
What are the constraints/restrictions?
What are the variables we need to decide on?
What the models we adopt to describe our problem?
Feb 15, 2012
Step 1: problem analysis
FC/fchen@sjtu.edu.cn 3
Copyright Feng Chen 2004-2012. All rights reserved.
What I have done
Feb 15, 2012
( )
_ _ _
1 2
1 1 1 1 1 1 1 1 1 1
_ _ _
3 4
1 1 1 1 1 1
max 1
1
v n q v n q v n q q w w w
vj vjp vjp vp vjp
v j p v j p v j p p
v n q v n q p g w w
vj vjp vjph
v j p v j p h
c x M x M D x
M w x M y
= = = = = = = = = =
= = = = = =

(
| |
+
( |
(
\ .


s.t.
_
1
; 1,2, , , 1,2, , _ , 1,2, ,
p g
vjph vjp
h
y P x v w j v n p q
=
s = .. = .. = ..

(2)
( )
_ _
1 1
, 1,2, , , 1,2, , ,
1,2, ,
p g v n
vphk vjp vjk
h j
z x C v w p q
k l
= =
= = .. = ..
= ..

(3)
1
if , 1,2, , , 1,2, , ,
1,2, , _ , 1,2, ,
w
vphk aphk v
v
z S a a b p q
h p g k l
=
s = = .. = ..
= .. = ..


(4)
_
1 1
1 1,2, ,
v n q
vjp
j p
x v w
= =
s = ..

(5)
( )
_
1
1,2, , , 1,2, , , 1,2, , _ ,
1,2, ,
v n
vphk vjph vjk
j
z y C v w p q h p g
k l
=
s = .. = .. = ..
= ..



(6)

0 0 1, int, 1,2, , ,
1,2, , _ , 1,2, , , 1,2, , _ , 1,2, ,
vphk vjp vjph vphk vjp vjph
z x y z x y v w
j v n p q h p g k l
s s s e = ..
= .. = .. = .. = ..


(7)
Step 2:
modeling
FC/fchen@sjtu.edu.cn 4
Copyright Feng Chen 2004-2012. All rights reserved.
What I have done
Feb 15, 2012
Step 3: solving with tools of Cplex
FC/fchen@sjtu.edu.cn 5
Copyright Feng Chen 2004-2012. All rights reserved.
What?
What is Operations Research?
Operations? Research?
Feb 15, 2012 FC/fchen@sjtu.edu.cn 6
Copyright Feng Chen 2004-2012. All rights reserved.
Operations
Operations in Distribution Center / Logistics
Generally, you can understand operations consist of
some steps to do something.
Feb 15, 2012 FC/fchen@sjtu.edu.cn 7
Copyright Feng Chen 2004-2012. All rights reserved.
One story
Continental Airlines Survives 9/11
Feb 15, 2012 FC/fchen@sjtu.edu.cn 8
Copyright Feng Chen 2004-2012. All rights reserved.
Continental Airlines Survives 9/11
Why?
Long before September 11, 2001, Continental
Airline asked a question: how it could plan
recovery from potential disasters such as massive
weather delays.
Feb 15, 2012 FC/fchen@sjtu.edu.cn 9
Copyright Feng Chen 2004-2012. All rights reserved.
Continental Airlines (cont)
They faced a complicated/complex problem.
Requirements/Constraints
1,400 daily flights
5,000 pilots
9,000 flight attendants
FAA regulations
Union contracts
Feb 15, 2012 FC/fchen@sjtu.edu.cn 10
Copyright Feng Chen 2004-2012. All rights reserved.
Continental Airlines (cont)
They Operations Research, What?
Consulting:
To identify or answer what is the real problem?.
Model building
Optimization model, to find
Optimal assignments of pilots and crews / from a major
disruption of service
Integrated into system, DSS/decision support
system, to recover from the disrupted flight
schedule
Feb 15, 2012 FC/fchen@sjtu.edu.cn 11
Copyright Feng Chen 2004-2012. All rights reserved.
Continental Airlines (cont)
The value
Cost reduction
Millions of dollars and thousands of hours saved for the
airline and its passengers with each major disruption
Improve repute and competition in market
After 9/11, Continental was the first airline to resume
normal operations
Feb 15, 2012 FC/fchen@sjtu.edu.cn 12
Copyright Feng Chen 2004-2012. All rights reserved.
China also needs OR.
Complex-snow disaster
Feb 15, 2012 FC/fchen@sjtu.edu.cn 13
Copyright Feng Chen 2004-2012. All rights reserved.
More complex/Wenchuan Earthquake
What are efficient ways to rescue?
What are efficient means to recover?
Feb 15, 2012 FC/fchen@sjtu.edu.cn 14
Copyright Feng Chen 2004-2012. All rights reserved.
More complex problem
Feb 15, 2012 FC/fchen@sjtu.edu.cn 15
Copyright Feng Chen 2004-2012. All rights reserved.
Why do we need OR?
These problems are very hard to solve.
We need to study it carefully.
OR tools New OR tools
Feb 15, 2012 FC/fchen@sjtu.edu.cn 16
Copyright Feng Chen 2004-2012. All rights reserved.
OR questions
Research how towork efficiently.
Research how to produce efficiently, e.g.,
automobile manufacturing.
Research how to move items (logisticsefficiently.
Research how to reduce patients waiting time in
hospital (manage hospital efficiently).
Research how to do management projects
efficiently.

OR provides these tools.


Feb 15, 2012 FC/fchen@sjtu.edu.cn 17
Copyright Feng Chen 2004-2012. All rights reserved.
Today
Syllabus and course structure
Brief introduction to operations research
Feb 15, 2012 FC/fchen@sjtu.edu.cn 18
Copyright Feng Chen 2004-2012. All rights reserved.
Me
CHEN Feng ()
Office: Rm 618, Mechanism Building A, Minhang Campus
Cell: 13918071898
E: fchen@sjtu.edu.cn
Feb 15, 2012 FC/fchen@sjtu.edu.cn 19
Copyright Feng Chen 2004-2012. All rights reserved.
Wayne L. Winston, Operations Research: Applications and
Algorithms, third edition, 1994.
Text book
Feb 15, 2012 FC/fchen@sjtu.edu.cn 20
Copyright Feng Chen 2004-2012. All rights reserved.
Course Objectives
In Class
To learn some basic modeling techniques and solving
methodologies of Operations Research (OR) (in class).
To learn the most known optimization tools / softwares
(lab).
Project Oriented Homework
To learn how to solve real problems occurred in practice
(application oriented project), including analysis, modeling,
optimization.
For Example: Do we need J iangchuan No. 3 bus?
Feb 15, 2012 FC/fchen@sjtu.edu.cn 21
Copyright Feng Chen 2004-2012. All rights reserved.
Class Structure
Grading and Assignments
Attendance - 10%
Quiz - 10%
Oriented Project - 20%
Middle Exam - 20%
Final Exam - 40%
Attendance in class is required, 5 times lost will be D.
Feb 15, 2012 FC/fchen@sjtu.edu.cn 22
Copyright Feng Chen 2004-2012. All rights reserved.
Score distribution for year 2009,2011
2
4
11 11
12
5 5
3 3
6
0
2
4
6
8
10
12
14
1
A+ A A- B+ B B- C+ C C- D
2
6
7
6
7
9
2
4
8
13
0
2
4
6
8
10
12
14
1 A+ A A- B+ B B- C+ C C- D
2009
2011
Feb 15, 2012 FC/fchen@sjtu.edu.cn 23
Copyright Feng Chen 2004-2012. All rights reserved.
Home Work
Each week, submit your homework electronically
before Wed Class.
Quiz every two weeks.
Feb 15, 2012 FC/fchen@sjtu.edu.cn 24
Feb 15, 2012
Operations Research
Definitions, History, OR@China
FC/fchen@sjtu.edu.cn 25
Copyright Feng Chen 2004-2012. All rights reserved.
When OR starts?
Operations Research started as a
named field in WWII(1930s),
thanks to physicists such as Philip M.
Morse
http://hcohl.shell42.com/morse.jpg
Feb 15, 2012 FC/fchen@sjtu.edu.cn 26
Copyright Feng Chen 2004-2012. All rights reserved.
Feb 15, 2012 FC/fchen@sjtu.edu.cn Page 27
History(1)
1947: George Dantzig Project Scoop
Developed the simplex method
for linear programming
1950's: Lots of excitement, mathematical developments
queuing theory, mathematical programming
1960's: More excitement, more development and grand plans
1970's: Disappointment, and a settling down
NP-completeness
More realistic expectations
Copyright Feng Chen 2004-2012. All rights reserved.
Feb 15, 2012 FC/fchen@sjtu.edu.cn Page 28
History (2)
1980's: Widespread availability of personal computers
Increasingly easy access to data
Widespread willingness of managers to use models
1990's: Improved use of O.R. systems and technology
optimization and simulation add-ins to spreadsheets
modeling languages
large scale optimization
more intermixing of A.I. and O.R.
Adapted from: James Orlin, MIT, 2003
Copyright Feng Chen 2004-2012. All rights reserved.
Feb 15, 2012 FC/fchen@sjtu.edu.cn Page 29
History (3)
21
st
century: Lots of opportunities
widespread availability of data (network)
need for increased coordination and resource
efficiency
automated decision making
Culture
Feb 15, 2012 FC/fchen@sjtu.edu.cn 30
Copyright Feng Chen 2004-2012. All rights reserved.
Feb 15, 2012 FC/fchen@sjtu.edu.cn Page 31
Culture
Most Major Advances in Operations Research
Have Come from Work on Real Problems
Copyright Feng Chen 2004-2012. All rights reserved.
Feb 15, 2012 FC/fchen@sjtu.edu.cn Page 32
Culture
A. K. Erlang, Danish
telephone engineer --
invented queueing theory
in work aimed to determine
optimal capacity of newly
invented central telephone
switching centers (1915)
http://www.polytechphotos.dk/pics/A.K_Erlang.jpg
In China
Feb 15, 2012 FC/fchen@sjtu.edu.cn 33
Copyright Feng Chen 2004-2012. All rights reserved.
Feb 15, 2012 FC/fchen@sjtu.edu.cn Page 34
Chinese postman problem
Mei-Ko Kwan() ,Graphic Programming Using Odd
or Even Points , Chinese Mathematics, 1:273-277, 1962.
When the author was
plotting a diagram for a
mailmans route, he
discovered the following
problem: A mailman has
to cover his assigned
segment before returning
to the post office. The
problem is to find the
shortest walking distance
for the mailman.
Chinese Postman Problem
Copyright Feng Chen 2004-2012. All rights reserved.
Feb 15, 2012 FC/fchen@sjtu.edu.cn Page 35
Why the problem?
I think he had nothing to do at
that times.
I believe he was relax, when
he could not change anything.
I believe he did not know how
to do farmer works
Educated urban youth
Copyright Feng Chen 2004-2012. All rights reserved.
Feb 15, 2012 FC/fchen@sjtu.edu.cn Page 36
A facility location problem
Hua Lo-Keng and others, Application of Mathematical Methods
to Wheat Harvesting, Chinese Mathematics 2:77-91, 1962.
the work of wheat
harvesting in the Peking
suburbs was participated in by
teachers and studentsThe
objective was experimental
use of mathematical methods
in the selection of the
threshing site most economical
of transportation.
Quotes
Feb 15, 2012 FC/fchen@sjtu.edu.cn 37
Copyright Feng Chen 2004-2012. All rights reserved.
Quotes(1)
From Methods of Operations Research, Morse and
Kimball
Operations Research is a scientific method of
providing executive departments with a
quantitative basis for decisions regarding
operations under their control.
Feb 15, 2012 FC/fchen@sjtu.edu.cn 38
Copyright Feng Chen 2004-2012. All rights reserved.
Quotes (2)
Operations Research is an applied science
utilizing all known scientific techniques as tools
in solving a specific problem.
Feb 15, 2012 FC/fchen@sjtu.edu.cn 39
Copyright Feng Chen 2004-2012. All rights reserved.
Quotes (3)
Operations Research uses mathematics, but
it is not a branch of mathematics.
Use mathematics Mathematics
Feb 15, 2012 FC/fchen@sjtu.edu.cn 40
Copyright Feng Chen 2004-2012. All rights reserved.
Quotes (4)
Operations Research is often an
experimental science as well as an observational
one.
Chemistry=IELM
Feb 15, 2012 FC/fchen@sjtu.edu.cn 41
Copyright Feng Chen 2004-2012. All rights reserved.
Quotes (5)
It often occurs that the major contribution
of the operations research worker is to
decide what is the real problem.
Feb 15, 2012 FC/fchen@sjtu.edu.cn 42
More Successful OR Stories
Feb 15, 2012 FC/fchen@sjtu.edu.cn 43
Copyright Feng Chen 2004-2012. All rights reserved.
Feb 15, 2012 FC/fchen@sjtu.edu.cn Page 44
O.R. success stories
2001: NBC Optimizes Advertise Sales
2000: Ford Motor Prototype Vehicle Testing
1996: Procter & Gamble Supply Chain
1991: American Airlines Revolutionizes Pricing
Copyright Feng Chen 2004-2012. All rights reserved.
Feb 15, 2012 FC/fchen@sjtu.edu.cn Page 45
Case 1: NBC Optimizes Ad Sales
The problem
NBC sales staff had to manually develop sales
plans for advertisers, a long and laborious process
to balance the needs of NBC and its clients
The company also sought to improve the pricing of
its ad slots as a way of boosting revenue
Copyright Feng Chen 2004-2012. All rights reserved.
Feb 15, 2012 FC/fchen@sjtu.edu.cn Page 46
NBC (cont)
Objectives and requirements
Complete intricate sales plans
Reduce labor cost
Maximize income
Copyright Feng Chen 2004-2012. All rights reserved.
Feb 15, 2012 FC/fchen@sjtu.edu.cn Page 47
NBC (cont)
The O.R. solution
Used optimization models to reduce labor time and
Used revenue management to improve pricing of
its ad spots, which were viewed as a perishable
commodity
Copyright Feng Chen 2004-2012. All rights reserved.
Feb 15, 2012 FC/fchen@sjtu.edu.cn Page 48
NBC (cont)
The value
In their first four years, the systems
Increased revenues by over $200 million.
Improved sales-force productivity.
Improved customer satisfaction.
Copyright Feng Chen 2004-2012. All rights reserved.
Feb 15, 2012 FC/fchen@sjtu.edu.cn Page 49
Case 2: Ford motor prototype vehicle testing
The problem
Developing prototypes for new cars and modified
products is enormously expensive
Sought to reduce costs on these unique, first-of-
their-kind creations
Copyright Feng Chen 2004-2012. All rights reserved.
Feb 15, 2012 FC/fchen@sjtu.edu.cn Page 50
Ford (cont)
Objectives and requirements
Needed to verify the designs of its vehicles and
perform all necessary tests
Prototypes often sit idle awaiting various tests, so
increasing their usage would offer clear benefits
Copyright Feng Chen 2004-2012. All rights reserved.
Feb 15, 2012 FC/fchen@sjtu.edu.cn Page 51
Ford (cont)
The solution
Ford and an O.R. consulting firm developed a
Prototype Optimization Model (POM) to reduce
the number of prototype vehicles
The model determined an optimal set of vehicles
that can be shared and used to satisfy all testing
needs
Copyright Feng Chen 2004-2012. All rights reserved.
Feb 15, 2012 FC/fchen@sjtu.edu.cn Page 52
Ford (cont)
The value
Ford reduced annual prototype costs by $250
million
Copyright Feng Chen 2004-2012. All rights reserved.
Feb 15, 2012 FC/fchen@sjtu.edu.cn Page 53
Case 3: Procter & Gamble Supply Chain
The problem
To ensure smart growth, P&G needed to
Improve its supply chain
Streamline work processes
Drive out non-value-added costs
Eliminate duplication
Copyright Feng Chen 2004-2012. All rights reserved.
Feb 15, 2012 FC/fchen@sjtu.edu.cn Page 54
Procter & Gamble (cont)
Objectives and requirements
P&G recognized that there were potentially
millions of feasible options for its 30 product
strategy teams to consider
Executives needed sound analytical support to
realize P&Gs goal within the tight, one-year
deadline
Copyright Feng Chen 2004-2012. All rights reserved.
Feb 15, 2012 FC/fchen@sjtu.edu.cn Page 55
Procter & Gamble (cont)
The solution
The P&G O.R. department and an O.R. consulting
team created decision-making models and
software.
Followed a modeling strategy of solving two
easier-to-handle sub-problems:
Distribution/location
Product sourcing
Copyright Feng Chen 2004-2012. All rights reserved.
Feb 15, 2012 FC/fchen@sjtu.edu.cn Page 56
Procter & Gamble (cont)
The value
The overall effort saved $200 million a year before
tax
Allowed P&G to write off $1 billion in assets and
transition costs
Copyright Feng Chen 2004-2012. All rights reserved.
Definition
Operations research is a scientific approach to decision
making that seeks to best design and operate a system.
Usually requires the allocation of scarce resources.
Term originates from WW II era, when military scientists
and engineers were asked to do research on military
operations.
Logistics, convoy scheduling, anti-submarine
operations, radar deployment, mining operations
Feb 15, 2012 FC/fchen@sjtu.edu.cn 57
The End
Feb 15, 2012 FC/fchen@sjtu.edu.cn 58

You might also like