Introduction To Optimization: MIT and James Orlin ©2003 1
Introduction To Optimization: MIT and James Orlin ©2003 1
1
MIT and James Orlin
What is Operations Research?
What is Management Science?
World War II : British military leaders asked scientists
and engineers to analyze several military problems
Deployment of radar
Management of convoy, bombing, antisubmarine, and mining
operations.
The result was called Military Operations Research,
later Operations Research
2
MIT and James Orlin
What is Management Science
(Operations Research)?
3
MIT and James Orlin
Voices from the past
Waste neither time nor money, but make the
best use of both.
Benjamin Franklin
5
MIT and James Orlin
Operations Research Over the Years
1970's
Disappointment, and a settling down. NP-completeness.
More realistic expectations.
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.
Further inroads of O.R. technology, e.g., optimization
and simulation add-ins to spreadsheets, modeling
languages, large scale optimization. More intermixing of
A.I. and O.R.
6
MIT and James Orlin
Operations Research in the 00s
LOTS of opportunities for OR as a field
Data, data, data
E-business data (click stream, purchases, other
transactional data, E-mail and more)
The human genome project and its outgrowth
Need for more automated decision making
Need for increased coordination for efficient use of
resources (Supply chain management)
7
MIT and James Orlin
Optimization
As ageless
as time
8
MIT and James Orlin
Optimization in Nature
Heron of Alexandria
b
Angle of
c Incidence
Angle of Angle of
Incidence Reflection
b
a
Angle 1 of
Incidence
Angle 2 of
Refraction
1628-29 10
MIT and James Orlin 2003
Calculus
Maximum
Minimum
12
MIT and James Orlin
Themes
Optimization is everywhere
Models, Models, Models
The goal of models is insight not numbers
paraphrase of Richard Hamming
Algorithms, Algorithms, Algorithms
13
MIT and James Orlin
Optimization is Everywhere
It is embedded in language, and part of the way
we think.
firms want to maximize value to shareholders
people want to make the best choices
We want the highest quality at the lowest price
When playing games, we want the best strategy
When we have too much to do, we want to optimize the
use of our time
etc.
14
MIT and James Orlin
Mathematical Optimization is nearly
everywhere
Finance
Marketing
E-business
Telecommunications
Games
Operations Management
Production Planning
Transportation Planning
System Design
Look for it! You will see opportunities for its use.
15
MIT and James Orlin
Overview of this Lecture
Course Administration
Background on Operations Research (Management
Science) and Optimization
Course Themes and Goals
Linear Programming Examples
MSR Marketing
GTC
16
MIT and James Orlin
Linear Programming (our first tool,
and probably the most important one.)
minimize or maximize a linear objective
subject to linear equalities and inequalities
maximize 3x + 4y
subject to 5x + 8y 24
x, y 0
A feasible solution satisfies all of the constraints.
x = 1, y = 1 is feasible; x = 1, y = 3 is infeasible.
An optimal solution is the best feasible solution.
The optimal solution is x = 4.8, y = 0. 17
MIT and James Orlin
Terminology
Decision variables: e.g., x and y.
In general, there are quantities you can control to improve your
objective which should completely describe the set of decisions
to be made.
Constraints: e.g., 5x + 8y 24 , x 0 , y 0
Limitations on the values of the decision variables.
18
MIT and James Orlin
MSR Marketing Inc.
adapted from Frontline Systems
Max # of ads 20 15 10 15
19
MIT and James Orlin
Formulating as a math model
Work with your partner
20
MIT and James Orlin
The MSR Marketing Problem
subject to 50 x1 + 25 x2 + 20 x3 + 15 x4 1,500
0 x1 20
0 x2 15
0 x3 10
0 x4 15
MSR Marketing
21
MIT and James Orlin
Gemstone Tool Company
(Thanks to Rob Freund)
Privately-held firm
Consumer and industrial market for construction tools
Headquartered in Seattle
Manufacturing plants in the US, Canada, and Mexico.
Simplifying assumptions, for purposes of illustration:
Winnipeg, Canada plant
Wrenches and pliers.
Made from steel
Injection molding machine
Assembly machine
22
MIT and James Orlin 2003
Data for the GTC Problem
.4 W + .3 P
24
MIT and James Orlin
The Formulation Continued
26
MIT and James Orlin
Dealing with very large versions of the
problem
Suppose that there are 10,000 products and 100
raw materials and processes that lead to
constraints.
Old technique used: write a Fortran program that
generates the linear program
New technique used: write an algebraic version
of the model
27
MIT and James Orlin
An Algebraic Formulation
n = number of items that are manufactured
e.g., in the previous example, n = 2;
m = number of resource constraints
e.g., m = 2, {molding, and assembly}
subject to
a
j
x
1
ibf
o
jjr
i 1
t
om i
x
j d
jf
o
rj
1t
on
xf
j 0
or
j=
1t
on
29
MIT and James Orlin
Linear Programs
30
MIT and James Orlin
A non-linear program is permitted to have
a non-linear objective and constraints.
maximize f(x,y) = xy
subject to x - y2/2 10
3x 4y 2
x 0, y 0
31
MIT and James Orlin
An integer program is a linear program
plus constraints that some or all of the
variables are integer valued.
Maximize 3x1 + 4x2 - 3x3
3x1 + 2x2 - x3 17
3x2 - x3 = 14
x1 0, x2 0, x3 0 and
x1 , x2, x3 are all integers
32
MIT and James Orlin
An Algebraic formulation with
equality constraints
n
Max or min c x
j 1
j j
n
subject to
a
j1
f
xb
ior
jj
i 1
t
om i
x
j 0
f
or
jt
1o
n
33
MIT and James Orlin
Linear Programming Assumptions
Maximize 4W + 3P
1.5W + P 15
.
Proportionality Assumption Contribution from W is
proportional to W
Additivity Assumption Contribution to objective function from
P is independent of W.
Divisibility Assumption Each variable is allowed to assume
fractional values.
Certainty Assumption. Each linear coefficient of the objective
function and constraints is known (and is not a random
variable).
34
MIT and James Orlin
Overview of this Lecture
Course Administration
Background on Operations Research (Management
Science) and Optimization
Course Themes and Goals
Linear Programming Examples
MSR Marketing
GTC
Some Success Stories (if there is time)
35
MIT and James Orlin
Some Success Stories
36
MIT and James Orlin
Other Success Stories (cont.)
37
MIT and James Orlin
Success Stories (cont.)