Chap02 Decision Modelling Using Spreadsheet
Chap02 Decision Modelling Using Spreadsheet
Chap02 Decision Modelling Using Spreadsheet
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 operations research 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
Determining Product Mix
Manufacturing
Routing and Logistics
Financial Planning
Characteristics of
Optimization Problems
Decisions
Constraints
Objectives
General Form of an Optimization Problem
MAX (or MIN): f0(X1, X2, …, Xn)
Subject to: f1(X1, X2, …, Xn)<=b1
:
fk(X1, X2, …, Xn)>=bk
:
fm(X1, X2, …, Xn)=bm
(0, 200)
200
boundary line of pump constraint
X1 + X2 = 200
150
100
50
(200, 0)
0
0 50 100 150 200 250 X1
Plotting the Second Constraint
X2
(0, 261)
250
boundary line of labor constraint
150
100
50
(174, 0)
0
0 50 100 150 200 250 X1
Plotting the Third Constraint
X2
250
(0, 180)
200
150
boundary line of tubing constraint
12X1 + 16X2 = 2880
100
Feasible Region
50
(240, 0)
0
0 50 100 150 200 250 X1
X2 Plotting A Level Curve of the
Objective Function
250
200
100
50 (100, 0)
0
0 50 100 150 200 250 X1
A Second Level Curve of the
X2 Objective Function
250
objective function
150 350X1 + 300X2 = 52500
100
(150, 0)
50
0
0 50 100 150 200 250 X1
Using A Level Curve to Locate
X2 the Optimal Solution
250
objective function
200
350X1 + 300X2 = 35000
150
optimal solution
100
objective function
350X1 + 300X2 = 52500
50
0
0 50 100 150 200 250 X1
Calculating the Optimal Solution
The optimal solution occurs where the “pumps” and “labor”
constraints intersect.
This occurs where:
X1 + X2 = 200 (1)
and 9X1 + 6X2 = 1566 (2)
From (1) we have, X2 = 200 -X1 (3)
Substituting (3) for X2 in (2) we have,
9X1 + 6 (200 -X1) = 1566
which reduces to X1 = 122
So the optimal solution is,
X1=122, X2=200-X1=78
Total Profit = $350*122 + $300*78 = $66,100
Enumerating The Corner Points
X2
250 Note: This technique will not work if
the solution is unbounded.
obj. value = $54,000
200 (0, 180)
50
obj. value = $0 obj. value = $60,900
(0, 0) (174, 0)
0
0 50 100 150 200 250 X1
Summary of Graphical Solution
to LP Problems
150
100
0
0 50 100 150 200 250 X1
Example of a Redundant Constraint
X2
250
boundary line of tubing constraint
200
boundary line of pump constraint
150
Feasible Region
50
0
0 50 100 150 200 250 X1
Example of an Unbounded Solution
X2
1000 objective function
X1 + X2 = 600 -X1 + 2X2 = 400
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
100
feasible region
50 for first constraint
X1 + X2 = 150
0
0 50 100 150 200 250 X1
Important ”Behind the Scenes”
Assumptions in LP Models
2-30
Proportionality and Additivity
Assumptions
An LP objective function is linear; this
results in the following 2 implications:
proportionality: contribution to the objective
function from each decision variable is
proportional to the value of the decision
variable. e.g., contribution to profit from
making 4 aqua-spas (4$350) is 4 times the
contribution from making 1 aqua-spa ($350)
2-31
Proportionality and Additivity
Assumptions (cont.)
Additivity: contribution to objective function
from any decision variable is independent of
the values of the other decision variables.
E.g., no matter what the value of x2, the
manufacture of x1 aqua-spas will always
contribute 350 x1 dollars to the objective
function.
2-32
Proportionality and Additivity
Assumptions (cont.)
Analogously, since each constraint is a
linear inequality or linear equation, the
following implications result:
proportionality: contribution of each
decision variable to the left-hand side of
each constraint is proportional to the value
of the variable. E.g., it takes 3 times as
many labor hours (93=27 hours) to make
3 aqua-spas as it takes to make 1 aqua-
spa (91=9 hours) [No economy of scale]
2-33
Proportionality and Additivity
Assumptions (cont.)
Additivity: the contribution of a decision
variable to the left-hand side of a constraint is
independent of the values of the other
decision variables. E.g., no matter what the
value of x1 (no. of aqua-spas produced), the
production of x2 hydro-luxes uses x2 pumps,
6x2 hours of labor,
16x2 feet of tubing.
2-34
More Assumptions
Divisibility Assumption: each decision
variable is allowed to assume
fractional values
Certainty Assumption: each parameter
(objective function coefficient cj, right-
hand side constant bi of each
constraint, and technology coefficient
aij) is known with certainty.
2-35
End of Chapter 2