Spreadsheet Modeling & Decision Analysis: A Practical Introduction To Management Science
Spreadsheet Modeling & Decision Analysis: A Practical Introduction To Management Science
Spreadsheet Modeling & Decision Analysis: A Practical Introduction To Management Science
Cliff T. Ragsdale
Chapter 2
Introduction to Optimization
and Linear Programming
Introduction
We all face decision about how to use
limited resources such as:
Oil in the earth
Land for dumps
Time
Money
Workers
Mathematical Programming...
MP is a field of management science that
finds the optimal, or most efficient, way of
using limited resources to achieve the
objectives of an individual of a business.
a.k.a. Optimization
Applications of Optimization
Characteristics of
Optimization Problems
Decisions
Constraints
Objectives
An Example LP Problem
Blue Ridge Hot Tubs produces two types of hot
tubs: Aqua-Spas & Hydro-Luxes.
Pumps
Labor
Tubing
Unit Profit
Aqua-Spa
1
9 hours
12 feet
$350
Hydro-Lux
1
6 hours
16 feet
$300
} labor
LP Model for
Blue Ridge Hot Tubs
MAX: 350X1 + 300X2
S.T.: 1X1 + 1X2 <= 200
9X1 + 6X2 <= 1566
12X1 + 16X2 <= 2880
X1 >= 0
X2 >= 0
Solving LP Problems:
An Intuitive Approach
Idea: Each Aqua-Spa (X1) generates the highest unit
profit ($350), so lets make as many of them as possible!
How many would that be?
Let X2 = 0
1st constraint:
1X1 <= 200
2nd constraint:
3rd constraint:
9X1 <=1566
or X1 <=174
Solving LP Problems:
A Graphical Approach
The constraints of an LP problem
defines its feasible region.
The best point in the feasible region is
the optimal solution to the problem.
For LP problems with 2 variables, it is
easy to plot the feasible region and find
the optimal solution.
X2
250
(0, 200)
200
150
100
50
(200, 0)
0
0
50
100
150
200
250
X1
X2
250
200
150
100
50
(174, 0)
0
0
50
100
150
200
250
X1
X2
250
(0, 180)
200
150
100
Feasible Region
50
(240, 0)
0
0
50
100
150
200
250
X1
X2
250
200
(0, 116.67)
150
objective function
350X1 + 300X2 = 35000
100
(100, 0)
50
0
0
50
100
150
200
250
X1
X2
250
(0, 175)
200
objective function
350X1 + 300X2 = 35000
objective function
350X1 + 300X2 = 52500
150
100
(150, 0)
50
0
0
50
100
150
200
250
X1
X2
250
objective function
350X1 + 300X2 = 35000
200
150
optimal solution
100
objective function
350X1 + 300X2 = 52500
50
0
0
50
100
150
200
250
X1
(2)
X2
250
obj. value = $54,000
(0, 180)
200
150
(80, 120)
obj. value = $66,100
(122, 78)
100
50
obj. value = $0
(0, 0)
0
0
50
100
150
200
250
X1
X2
250
200
150
100
50
0
0
50
100
150
200
250
X1
Example of a Redundant
Constraint
X2
250
100
Feasible Region
50
0
0
50
100
150
200
250
X1
Example of an Unbounded
Solution
X2
1000
objective function
X1 + X2 = 600
800
objective function
X1 + X2 = 800
600
400
200
X1 + X2 = 400
0
0
200
400
600
800
1000
X1
Example of Infeasibility
X2
250
200
X1 + X2 = 200
150
100
feasible region
for first constraint
50
X1 + X2 = 150
0
0
50
100
150
200
250
X1
End of Chapter 2