Operations Research I: Dr. Bill Corley
Operations Research I: Dr. Bill Corley
Operations Research I: Dr. Bill Corley
OPERATIONS
RESEARCH I
x1,…, xn ≥ 0
1
DIET EXAMPLE
Consider an impecunious student who
decides to eat meals consisting of
only milk, tuna fish, bread, and
spinach. Formulate a linear program
to minimize cost while meeting the
required daily allowance (RDA) of
various nutrients.
DATA
Gallons of Pounds of Loaves of Pounds of RDA
milk Tuna Bread Spinach
x1 x2 x3 x4
Vit. A 6400 237 0 34000 5000 IU
Vit. C 40 0 0 71 75 mg
Iron 28 7 13 8 12 mg
IU = International Unit; mg= milligram
2
Minimize z = 3.00x1 + 2.70x2 +1.80x3 + 2.16x4
s.t.
EXAMPLE
Greenthumb.com, a fertilizer company, wants
to make two types of fertilizers: high-nitrogen
and all-purpose fertilizers. There are two types
of components needed to make these
fertilizers. Component 1 consists of 60%
nitrogen and 10% phosphorous and costs 20
cents per pound. Component 2 consists of 10%
nitrogen and 40% phosphorous and costs 30
cents per pound. The company wants to
produce 5000 25-pound bags of high-nitrogen
fertilizer and 7000 25-pound bags of all-
purpose fertilizer.
3
Let x1 denote the amount of component 1 required to
make high-nitrogen fertilizer and x2 denote the amount
of component 2 required to make high-nitrogen fertilizer.
Similarly let y1 and y2 denote the amounts of
component 1 and component 2, respectively, required to
make all-purpose fertilizer. High-nitrogen fertilizer must
contain 40 – 50 % nitrogen by weight and all-purpose
fertilizer must contain at most 20 % phosphorous by weight.
Greenthumb.com wants to minimize the total cost of
producing these fertilizers.
4
EXAMPLE
ChemLabs uses raw materials I and II to produce
two domestic cleaning solutions A and B. The daily
availabilities of raw materials I and II are 160 and
145 units, respectively. One unit of solution A
consumes 0.5 unit of raw material I and 0.6 unit of
raw material II, and one unit of solution B uses 0.4
unit of raw material I and 0.3 unit of raw material II.
The profits per unit of solutions A and B are $8 and
$10, respectively. The daily demands for solutions A
and B are exactly 175 and 200 units, respectively, all
of which may not be able to be fulfilled. Find the
optimal daily production amounts of A and B.
SOLUTION
Let x be the units of solution A to be made, and let
y be the units of solution B to be made.
Maximize z = 8x + 10y
s.t.
0.5x + 0.4y ≤ 160 I
0.6x + 0.3y ≤ 145 II
x ≤ 175 A
y ≤ 200 B
x,y ≥ 0
5
HOMEWORK 1
An industrial recycling center uses two scrap
aluminum metals, A and B, to produce a special
alloy. Scrap A contains 6% aluminum, 3% silicon,
and 4% carbon. Scrap B has 3% aluminum, 6%
silicon and 3% carbon. The costs per ton for
scraps A and B are $100 and $80, respectively.
The specifications of the special alloy are as
follows:
6
GRAPHICAL SOLUTION OF
LINEAR PROGRAMMING
Maximize z = 3x1+5x2
subject to
3x1 + 2x2 < 18
x1 <4
x2 < 6
x 1, x 2 > 0
GRAPHICAL SOLUTION
x2 x2 = 6
(2,6)
6
x1 = 4
7
DEFINITIONS
PROPERTIES
PROPERTY 1:
The set of feasible solutions to a linear
programming problem is a convex set.
PROPERTY 2:
If there exists an optimal solution, then at
least one extreme point is optimal.
PROPERTY 3:
There are only a finite number of extreme
points.
8
Before giving properties 4 and 5, rewrite the
problem by adding slack variables. A slack
variable is added to make an inequality into
an equation. By adding slack variables, the
problem becomes
Maximize z = 3x1+5x2
subject to
3x1 + 2x2 + x3 = 18
x1 + x4 =4
x2 + x5 = 6
x1, x2, x3, x4, x5 > 0.
9
GRAPHICAL INTERPRETATION
x1
x1+x2 < 1
x1 , x2 > 0
(0,1)
(0,0) (1,0) x2
x1+x2 + x3 = 1
x1, x2, x3 > 0
x3
not an extreme
point, not even
feasible. feasible region
(0,0,1)
in this 2‐dimensional surface
embedded in 3 dimensions
(0,1,0) x2
(1,0,0)
x1
10
BASIC SOLUTIONS
For m equations and n unknown variables (m<n),
solve for m variables in terms of (n-m) set to 0.
Consider
x1+x2 + x3 = 2
2x1 ‐x2 + x3 = 1.
Pick x3, set it to zero, and solve for the others.
x1+x2 = 2
2x1 – x2 = 1
x1 = 1, x2 = 1 are basic variables.
x3 = 0 is a non‐basic variable.
EXAMPLE
x1+x2 + x3 = 2
2 x1 ‐x2 + x3 = 1
Pick x2, set it to zero, and solve for the others.
x1+ x3 = 2
2x1+ x3 = 1
x1 = – 1, x3 = 3 are basic variables.
x2 = 0 is a non‐basic variable.
11
BASIC FEASIBLE
SOLUTION
A basic solution to the constraints (omitting non‐
negativity) of LPP with slacks and surplus variables
with all basic variables > 0.
In the previous examples, Example 1 yielded a BFS
while Example 2 did not.
DEGENERATE BFS
A basic feasible solution where at least one basic
variable is 0.
Example 1:
x1+x2 + x3 = 1
2x1+x2 + x3 = 2
Pick x3 = 0 as nonbasic and x1, x2 as basic. Solve
x1+x2 = 1
2x1+x2 = 2
to obtain x1 = 1, x2 = 0 for the basic variables.
12
Example 2:
x1+x2 + x3 = 1
x1+x2 + 3x3 = 2
Arbitrarily chose x3 as the nonbasic variable to give
x1+x2 = 1
x1+x2 = 2.
Note the contradiction. Thus there is no basic solution
with x3 = 0.
Property 4:
With slacks as needed to make all constraints
equality, there is a one‐to‐one correspondence
between the BFS of these equality constraints and
the extreme points of the original constraints.
13
Property 5:
Changing one BV in a BFS moves to an
adjacent extreme point.
x2
one
iteration
x1
EXAMPLE
Maximize z = 3x1 + 5x2
s.t.
3x1 + 2x2 < 18
x1 < 4
x2 < 6
x1, x2 > 0
14
Rewrite to get
Maximize z = 3x1+5x2
subject to
3x1 + 2x2 + x3 = 18,
x1 + x4 = 4,
x2 + x5 = 6,
x1,x2,x3,x4,x5 >0
Rewrite to give
z – 3x1 – 5x2 = 0
3x1 + 2x2 + x3 = 18
x1 + x4 = 4
x2 + x5 = 6.
Note: m=3 , n=5 => 10 possible BFS’s
A BFS is found using the last 3 equations
while keeping track of z using the first equation.
15
Initial BFS:
x3 = 18, x4 = 4, x5 = 6 (BV)
x1 = 0, x2 = 0 (NBV)
and z = 0
Note that making x2 positive increases z the
most per unit.
Hence, make x2 a BV and keep x1=0 a NBV.
Next, rewrite the last 3 equations to give
x3 = 18 – 3x1 – 2x2
x4 = 4 – x1
x5 = 6 – x2.
Now
x3 = 18 – 2x2 > 0 => x2 < 9
x4 = 4
x5 = 6 – x2 > 0 => x2 < 6
So x2 enters and x5 leaves.
The new BFS is adjacent to the earlier one.
16
z – 3x1 – 5x2 = 0
3x1 + 2x2 + x3 = 18
x1 + x4 = 4
x2 + x5 = 6
Multiply 4th equation by 5 and add to z row and
multiply 4th equation by ‐2 and add to 2nd equation.
z – 3x1 + 5 x5 = 30
3x1 + x3 – 2x5 = 6
x1 + x4 = 4
x2 + x5 = 6
It follows that
z + x3 +3x5= 36
x1 +1/3x3 ‐2/3x5= 2
– 1/3x3 +x4 +2/3x5= 2
x2 + x5= 6.
All of the negative variables have been
removed from the objective function meaning that
it has been optimized. Thus z = 36, x1 = 2, x2 = 6.
17
TABLEAU APPROACH
BV z x1 x2 x3 x4 x5 RHS
z 1 -3 -5 0 0 0 0
x3 0 3 2 1 0 0 18
x4 0 1 0 0 1 0 4
x5 0 0 1 0 0 1 6
TABLEAU ONE
GAUSS – JORDAN
ELIMINATION
The pivot element is the intersection of the leaving and
entering variables in the tableau.
a b
c d
Let a = pivot element.
Then the new element dnew = (ad – bc) / a .
18
SIMPLEX ALGORITHM
BV z x1 x2 x3 x4 x5 RHS
z 1 -3 0 0 0 5 30
x3 0 3 0 1 0 -2 6
x4 0 1 0 0 1 0 4
x2 0 0 1 0 0 1 6
TABLEAU TWO
19
BV z x1 x2 x3 x4 x5 RHS
z 1 0 0 1 0 3 36
x1 0 1 0 1/3 0 -2/3 2
x4 0 0 0 -1/3 1 2/3 2
x2 0 0 1 0 0 1 6
FINAL TABLEAU
SOLUTION
z =36
x1=2
x2=6
20
EXAMPLE
Maximize z = 2x1+3x2
subject to
x1 + x2 < 3
x1 - x2 < 1
x1,x2 > 0
z – 2x1 – 3x2 =0
x1 +x2 +x3 = 3
x1 ‐x2 +x4 = 1
x1, x2, x3, x4 > 0.
21
TABLEAU
BV z x1 x2 x3 x4 RHS
z 1 -2 -3 0 0 0
x3 0 1 1 1 0 3
x4 0 1 -1 0 1 1
z 1 1 0 3 0 9
x2 0 1 1 1 0 3
x4 0 2 0 1 1 4
SOLUTION
z =9
x1=0
x2=3
22
HOMEWORK 2
Maximize z = 2x1+5x2
subject to
x1 + x2 < 12
3x1+ x2 < 18
x1,x2 > 0
Solve using the simplex method by the tableau
approach.
HOMEWORK 3-8
Six linear programming problems solved by Lingo are due
February 20 at the beginning of class. Some form of computer
printout of the solution is required. In all cases, simply apply
Tora to the mathematical problem and ignore the directions. In
the tenth edition of Taha, these problems are:
23
COMPLICATIONS
1. Minimization
f(x)
‐ f(x)
24
Minimize z = – 2x1+5x2
subject to
x1 +x2 < 12
3x1+x2 < 18
x1, x2 > 0.
BV z x1 x2 x3 x4 RHS
z 1 2 -5 0 0 0
x3 0 1 1 1 0 12
x4 0 3 1 0 1 18
25
Since there is no other positive value in the top row of
the tableau, the objective function has been
minimized with
z = -12
x1 = 6
x2 = 0 .
HOMEWORK 9
Minimize z = 2x1 – 4x2
s.t.
x1+x2 < 10
2x1+x2 < 16
x1,x2 > 0
26
2. Unrestricted variables
Maximize z = – 2x1 + x2
subject to
x1 + x2 < 10
2x1 + x2 < 16
x1 > 0
x2 UR
27
HOMEWORK 10
Maximize z = – 2x1 – 4x2
s.t.
x1 + 3x2 < 10
2x1 + x2 < 16
x1 > 0, x2 UR
BV z x1 x2 x3 x4 RHS
z 1 -1 -1 0 0 0
28
4. Tie for leaving variable
In the maximization tableau below the values are
same for both x3 and x4. Break the tie arbitrarily.
BV z x1 x2 x3 x4 RHS
z 1 0 -2 0 0 12
x4 0 1 1 0 1 12
x3 0 0 1 1 0 12
When there is a tie for leaving variable, the next
tableau has a BFS with a 0. Usually this has no
effect. Cycling is possible, but there are ways to
overcome it. We will discuss this later.
29
6. No feasible Solution - related to 7 below.
30
Constraint 1 doesn’t have an obvious variable
that can be selected as basic variable. The
basic variable in constraint 2 is negative.
Therefore for these 2 constraints we add
artificial variables.
x1 + x2 + x3 + x6 = 12
2x1 + x2 – x3 – x4 + x7 = 10
3x1 – x2 + 2x3 + x5 = 18
x1 , x2 , x3 , x4 , x5, x6 , x7 > 0,
where x6 , x7 are artificial variables.
BIG-M METHOD
In the Big M method modify the objective
function penalizing artificial variable with M,
where positive M is a very big number.
Maximize z = x1+ 2x2 + 3x3 – Mx6 – Mx7
subject to
x1 + x2 + x3 + x6 = 12
2x1 + x2 – x3 – x4 + x7 = 10
3x1 - x2 + 2x3 + x5 = 18
x 1 , x 2 , x 3 , x 4 , x 5, x 6, x 7 > 0
31
BIG-M METHOD
• Solve problem with artificial variables
EXAMPLE OF CASE 1
Maximize z = 2x1 + x2
s.t.
x1 + x2 ≤10
x1 + 2x2 ≥ 16
x1, x2 ≥ 0.
32
BV z x1 x2 x3 x4 x5 RHS
z 1 -2 -1 0 0 M 0
x3 0 1 1 1 0 0 10
x5 0 1 2 0 -1 1 16
Making the coefficient of the basic variable 0 in
the first row.
BV z x1 x2 x3 x4 x5 RHS
z 1 -2-M -1-2M 0 M 0 -16M
x3 0 1 1 1 0 0 10
x5 0 1 2 0 -1 1 16
BV z x1 x2 X3 x4 x5 RHS
z 1 - 3/2 0 0 -1/2 1/2+ M 8
x3 0 1/2 0 1 1/2 - 1/2 2
x2 0 1/2 1 0 - 1/2 1/2 8
B.V. z x1 x2 x3 x4 x5 RHS
z 1 0 0 3 1 M-1 14
x1 0 1 0 2 1 -1 4
x2 0 0 1 -1 -1 1 6
All the coefficients of the x’s in the top row are non‐negative,
so we have the optimal solution z =14, x1 = 4 and x2 = 6.
33
EXAMPLE OF CASE 2
Maximize z = 2x1 + x2
s.t.
x1 + 2x2 ≤10
x1 + 2x2 ≥ 16
x1, x2 ≥ 0.
BV z x1 x2 x3 x4 x5 RHS
z 1 -2 -1 0 0 M 0
x3 0 1 2 1 0 0 10
x5 0 1 2 0 -1 1 16
Making the coefficient of the basic variable 0 in
the first row.
BV z x1 x2 x3 x4 x5 RHS
z 1 -2-M -1-2M 0 M 0 -16M
x3 0 1 2 1 0 0 10
x5 0 1 2 0 -1 1 16
34
BV z x1 x2 x3 x4 x5 RHS
z 1 - 3/2 0 1/2+ M M 0 5-6M
x2 0 1/2 1 1/2 0 0 5
x5 0 0 0 -1 -1 1 6
B.V. z x1 X2 x3 x4 x5 RHS
z 1 0 3 M+2 M 0 20-6M
x1 0 1 2 1 0 0 10
x5 0 0 0 -1 -1 1 6
Since all the coefficients of the x’s in the top row are non‐
negative, the solution is z =20‐6M, x1 = 10 and x5 = 6. But
since x5 is artificial and positive z has a ‐6M penalty, the
original problem is infeasible.
HOMEWORK 11
Maximize z = x1 + 3x2
s.t.
x1 + x2 ≤ 8
4x1 + x2 ≥ 16
x1, x2 ≥ 0.
35
8. Unbounded problem
Consider
Max z=x1
s.t.
x1 ≥ 0.
This problem is considered unbounded. Any LP
has one of the following:
• No feasible solution (LP is considered
infeasible)
• An unbounded objective (LP is considered
unbounded)
• An optimal solution
EXAMPLE
Maximize z = 2x1
s.t.
-x1 ≤10
x1 ≥ 0.
BV z x1 x2 RHS
z 1 -2 0 0
x2 0 -1 1 10
Since all the coefficients in the x1 column are negative, there
is no leaving variable. Hence, x1 and z can be increased
indefinitely, and the problem is unbounded.
36
DUALITY
Primal Problem P:
n
s.t.
a11x1 + a12x2 +…+ a1nxn < b1
---------------------------------
am1x1 + am2x2 +…+ amnxn < bm
x1,…,xn > 0
Dual Problem D:
m
Minimize w = bi 1
iyi
s.t.
a11y1 + a21y2 +…+ am1ym > c1
---------------------------------
a1ny1 + a2ny2 +…+ amnym > cn
y1,…,ym > 0
37
DUALITY RELATIONSHIPS
1. The dual of the dual is the primal.
Unbounded X
Optimal ☺
38
ANY DUAL
Max Min
< Constraint > 0 Variable
> Constraint < 0 Variable
= Constraint UR Variable
EXAMPLE
P. Minimize z = 2x1 + x2
s.t.
– x1 + 3x2 < -2
x1 – x2 = 6
x1 UR, x2 < 0
39
D. Maximize w = – 2y1 + 6y2
s.t.
– y 1 + y2 = 2
3y1 – y2 > 1
y1 < 0, y2 UR
DUAL SIMPLEX
The dual simplex involves solving the dual on
the primal tableau with appropriate – signs.
1. Must have optimality criterion (nonnegative
coefficients for max problem) satisfied in top row.
2. Leaving variable is most negative RHS excluding
the z row.
3. Entering variable is found by finding the smallest
ratio of the absolute value of elements in top row
(excluding RHS) to negative elements of pivot
row. (If no negative elements, problem is
infeasible.)
4. Form a new tableau as before.
5. If all RHS (not z ) > 0, stop. Otherwise, go to 2.
40
EXAMPLE
Minimize z = 2x1 + x2
s.t.
x1 + x2 > 4
5x1 + 3x2 > 15
x1 , x2 > 0.
Rewriting as equality constraints,
Minimize z = 2x1 + x2
s.t.
-x1 - x2 + x3 = -4
-5x1 - 3x2 + x4 = -15
x1 , x2 , x3 , x4 > 0.
DUAL SIMPLEX
BV z x1 x2 x3 x4 RHS
z 1 -2 -1 0 0 0
x3 0 -1 -1 1 0 -4
x4 0 -5 -3 0 1 -15
z 1 -1/3 0 0 -1/3 5
x3 0 2/3 0 1 -1/3 1
x2 0 5/3 1 0 -1/3 5
41
HOMEWORK 12
Maximize z = – 3x1 – 2x2
s.t
x1 + x2 > 4
3x1 + 5x2 > 15
x1, x2 > 0.
APPLICATION
42
With a slack variable, the problem becomes
BV z x1 x2 x3 RHS
z 1 -3 -2 0 0
x3 0 1 1 1 4
BV z x1 x2 x3 RHS
z 1 0 1 3 12
x1 0 1 1 1 4
43
Now add the constraint
x1 < 2
to the original problem. With a slack variable
x4 > 0, this constraint becomes
x1 + x4 = 2.
Add this equation to the tableau and proceed
using the dual simplex.
BV z x1 x2 x3 x4 RHS
z 1 0 1 3 0 12
x1 0 1 1 1 0 4
x4 0 1 0 0 1 2
44
BV z x1 x2 x3 x4 RHS
z 1 0 1 3 0 12 Dual
Simplex
x1 0 1 1 1 0 4
x4 0 0 -1 -1 1 -2
BV z x1 x2 x3 x4 RHS
z 1 0 0 2 1 10
x1 0 1 0 0 1 2
x2 0 0 1 1 -1 2
45
HOMEWORK 13
x1 + 2x2 > 6.
INTEGER PROGRAMMING
Maximize z = 3x1 + x2
s.t.
x 1 + x2 < 4
3x1 + 5x2 < 15
x 1, x 2 > 0
x1, x2 integers.
46
The feasible region is given by the dots below.
x2
x1
1 2 3 4 5
x1 + x2 < 4 3x1 + 5x2 < 15
47
EXAMPLE
Max z = 3x1 + x2
s.t.
4x1 + 3x2 < 10
x1, x2 > 0
x1, x2 integer.
The constraints become
4x1 + 3x2 + x3 =10
x 1, x 2 , x 3 > 0
x1, x2 integer.
BV z x1 x2 x3 RHS
z 1 ‐3 ‐1 0 0
x3 0 4 3 1 10
5 3 15
4 4
z 1 0 2
3 1 5
x1 0 1
4 4 2
48
Step 2: Use branch and bound
15
z = 2
x1 = 5 2
x2 = 0
x1 < 2 x1 > 3
z = 20 3 Infeasible
x1 = 2 solution
x2 = 2 3
49
After adding x4 for x1 < 2, we obtain
x1 + x4 = 2
Add this equality with bv x4 to the optimal table.
BV z x1 x2 x3 x4 RHS
5 15
z 1 0 ¾ 0
4 2
x1 0 1 ¾ ¼ 0 5 2
x4 0 1 0 0 1 2
Subtract the x1 row from the x4 row to get a new x4 row.
x4 3 1
0 0 1 1
4 4 2
Now x2 enters and x4 leaves.
z 1 0 0 1 5 20
3 3 3
x1 0 1 0 0 1 2
1
x2 0 0 1
3 4
3
2
3
Fathoming Rules:
1. Infeasible
2. All xi integer that supposed to be
3. A value of z no better than some z for
feasible xi to original integer restrictions.
50
Using branch and bound,
z = 20 3
x1 = 2
x2 = 2 3
x2 < 0 x2 > 1
z = 6 z = 25 4
x1 = 2 x1 = 7 4
x2 = 0 x2 = 1
x1 < 1 x1 > 2
z = 5
Infeasible
x1 = 1
x2 = 2
HOMEWORK 14
Max z = 3x1 + 2x2
s.t.
6x1 + 5x2 < 21
x 1, x 2 > 0
x1, x2 integer
51
MIXED IPP EXAMPLE
Max z = 4 x1 – 2x2 + 7x3 – x4
s.t.
x1 +5 x3 < 10
x1 + x2 – x3 < 1
6x1 – 5x2 < 0
– x1 + 2 x3 – 2 x4 < 3
xj > 0, for j = 1,2,3,4
xj integer for j = 1,2,3
z = 14 ¼
5 3
x1 = , x
4 2 = 2
7
x3 = , x
4 4 = 0
x1 > 2 x1 < 1
Infeasible z = 14 15
x1 = 1 , x2 = 6 5
9
x3 = , x
5 4 = 0
52
z = 14 15
x1 = 1 , x2 = 6 5
9
x3 = , x
5 4 = 0
x2 > 2 x2 < 1
z = 12 16 z = 14 16
5
5
x1 = , x
6 2 = 2
x1 = , x
6 2 = 1
11
x3 = , x
11
x3 = , x
6 4 = 0 6 4 = 0
z = 14 16
5
x1 = , x
6 2 = 1
11
x3 = ; x
6 4 = 0
x1 = 1 x1 = 0
Infeasible z = 13 ½
x1 = 0 , x2 = 0
x3 = 2 , x4 = 1 2
Optimal solution.
53
HOMEWORK 15
54
z = 14
29
x1 = 14
x2 = 1425
x1 > 3 x1 < 2
Infeasible z = 19 5
x1 = 2
x2 = 9 5
54
19
z = 5
x1 = 2
x2 = 9
5
x2 < 1 x2 > 2
z = 3 z = 3
x1 = 2 x1 = 1
x2 = 1 x2 = 2
BINARY IPP
Max z = 3x1 + x2
s.t.
4x1 + 3x2 < 10
x 1, x 2 > 0
x1, x2 { 0,1}
To solve, simply add
x1 < 1
x2 < 1
x1, x2 integer,
eliminate the binary constraint, and solve as a pure IPP.
55
TRANSPORTATION
PROBLEM
1 2 m source
c12
1 2 n destination
s.t.
n
x = si , i = 1,…,m
j 1
ij
x = dj , j = 1,…,n
i 1
ij
56
ASSIGNMENT MODEL
1 2 n people
c12
1 2 n jobs
n n
s.t.
n
xij = 1, i =1,…,n
j 1
xij = 1, j = 1,…,n
n
i 1
xij {0,1}.
57
PRACTICE TEST 1
1. Apply the simplex method to the following
linear programming problem.
58
3. The Crazy Nut Company wishes to market two special nut mixes during the
holiday season. Mix 1 contains 2/3 pound of peanuts and 1/3 pound of
cashews; mix 2 contains 3/5 pound of peanuts, 1/4 pound of cashews, and
3/20 pound of almonds. Mix 1 sells for $1.49 per pound; mix 2 sells for $1.69
per pound. The data pertinent to the raw ingredients appear in the table.
Assuming that Crazy Nut can sell all cans of either mix that it produces,
formulate an LP model to determine how much of mixes 1 and 2 the company
should produce.
Answer:
x1 = number # mix 1
x2 = number # mix 2
3/20x2 10000
x1, x2 0.
59
4. Consider the linear programming problem
max z = 4x1 + x2
s.t.
2x1 + 3x2 6
x1, x2 0.
The optimal tableau is given below, where x3 is the slack variable added to
the constraint.
BV z x1 x2 x3 RH
S
Z 1 0 5 2 12
x1 0 1 3/2 1/2 3
Answer: z = 7, x1 = 3/2, x2 = 1.
x1 + 5x2 11
3x1 + x2 8
x1, x2 0
x1, x2 integer.
60
54
z = 14
29
x1 = 14
x2 = 25
14
x1 > 3 x1 < 2
Infeasible z = 19 5
x1 = 2
x2 = 9 5
19
z = 5
x1 = 2
x2 = 9
5
x2 < 1 x2 > 2
z = 3 z = 3
x1 = 2 x1 = 1
x2 = 1 x2 = 2
61
REVIEW FOR QUIZ 1
NONLINEAR
PROGRAMMING
max f ( x1 , x2 , x3 ) x12 x1 x2 x1 x3
s.t.
x1
x32 100
x2
x1 2 x2 x3 250
x1 , x2 , x3 0
62
Applications of NLP
• Data networks – routing
• Production planning
• Resource allocation
• Modeling human or organizational
behavior
Example 1
Given a fixed area of cardboard A unit ,
formulate a nonlinear program to find the
dimension of a six-sided rectangular box
with maximum volume.
. . 2 2 2
, , ≥0
63
Example 2
Consider the problem of determining locations for two new
high schools in a set of subdivisions . Let be the
number of students going to school A and be the
number of students going to school B from subdivision .
Assume that the student capacity of school A is and the
capacity of school B is and that the total number of
students in each subdivision is . We would like to
minimize the total distance traveled by all the students
given that they may attend either school A or B. Construct
a nonlinear program to determine the locations , and
, of high schools A and B, respectively assuming the
location of each subdivision is modeled as a single point
denoted , .
Answer
. .
∑ , 1, 2; 1, … ,
, 1, … ,
64
Notation
• f :R1 R1 means f(x) = y
• f :Rn R1 means f(x1,…xn) = y
• In general we want to
max f ( x1 ,...xn )
s.t.
( x1 ,...xn ) A R n
where A is the feasible region.
Classical Optimization in R1
• Let f :R1 R1. We first wish to
(P1) maximize f (x)
s.t.
x R1
where f is differentiable. Here, there are no
constraints and the feasible region is R1.
65
Definitions
1. The point x* is a local maximum if
f (x) f (x*) for all x in some
neighborhood of x*.
• Necessary condition
Consider the proposition: “If p, then q.”
Then q is said to be a necessary
condition for p.
66
• Sufficient condition
Consider the proposition: “If p, then q.”
Then p is said to be a sufficient condition for q.
• Contrapositive
Consider the following two propostions.
(a) “If p, then q.”
(b) “If not q, then not p.”
Then (b) is called the contrapositive of (a).
Definitions
f (x)
x1 x2 x3 x
67
Results
Critical Points
Any extremum of f (x) over [a,b] must be one
of the following critical points:
68
Critical Point Problem
• Optimize f (x)
s.t.
x[a,b]
a b
Example
Optimize f (x) = (x-2)3 + |x|
s.t.
x [-1,3]
( x 2) 3 x, x 0
f ( x)
( x 2) 3 x, x 0
69
It follows that
3( x 2) 2 1, x 0
f ( x)
3( x 2) 1, x 0.
2
Thus
3 x 2 -12 x +13=0, x 0
3 x 2 -12 x +11=0, x 0.
So
3
x 2 ,x0
3
3
x 2 1433
. , 2.577, x 0.
3
In both cases, the solutions are not negative and
hence there are no stationary points for x 0.
The critical points are thus
1.
2. x 1,3
3. x 0.
70
To obtain the optima, we evaluate the objective
function at the critical points.
x f(x)
min -1 -26
0 -8
max 3 4
HOMEWORK 16
71
Unconstrained Problems in Rn
• Let f : Rn R1
• Let x Rn
• n n
Q( x) x Ax aij xi x j
T
i 1 j 1
• Q(x) is called a quadratic form, where the
matrix A = [aij] is symmetric.
Q(x) is called:
1. Positive definite if Q(x)>0, x0
2. Positive semidefinite if Q(x)0, x and
x0 such that Q(x)=0
3. Negative definite if Q(x)<0, x0
4. Negative semidefinite if Q(x)0, x and
x0 such that Q(x)=0
5. Indefinite otherwise
72
Positive/Negative Definite
• Q(x) = xTAx is positive definite if the
values of the leading principal minor
determinants of A are all positive. A is
called positive definite in this case.
• Q(x) = xTAx is negative definite if the
value of the kth leading principal minor
determinant has the sign [-1]k, k=1,2,…,n.
A is called negative definite in this case.
Hessian Matrices
• In particular, we are interested in
determining whether the Hessian matrix
H(x) of a function f at point x = (x1,…xn) is
positive definite, etc.
• The Hessian is defined as the n x n matrix
2 f ( x)
H ( x) .
i j
x x
73
Example
• Show that the Hessian matrix of the
function f(x) below is negative definite for
all x.
• H= -4 -4 for all x
-4 -6
74
Necessary and Sufficient
Optimality Conditions
• Necessary condition
– A necessary condition for X0 to be an extreme
point of f(X) is that f(X0) = 0
• Sufficient condition
– A sufficient condition for a stationary point X0
to be an extremum is for the Hessian matrix H
evaluated at X0 to be
• Positive definite when X0 is a local minimum point
• Negative definite when X0 is a local maximum
point.
Example
75
Example
H|X0 = -2 0 0
0 -2 1
0 1 -2
• The principle minor determinants have the values
– 2,4, and – 6.
• A function of f : Rn R1 is concave on a
convex set S if for any two points x1,x2 S and
any [0,1]
f ( x1 (1 ) x2 ) f ( x1 ) (1 ) f ( x2 )
76
Convex and Concave
Functions
f(x) f(x)
x x
77
• For example we know that the function f
below is concave on R2 because we have
already shown that its Hessian matrix is
negative semidefinite for all (x1,x2).
HOMEWORK 17
Check if the following function is convex or
concave:
, 3 7.
78
Constrained Problems in Rn
79
EXAMPLE 1
minimize (x1 1)2 ( x2 3) 2
s.t.
x13 x2.25 4
3
| sin (x1 x2 )| .
2
EXAMPLE 2
1
maximize x 3
s.t.
|x| 1
x1* ,... x*n
Sin -1 (x ) 1.5 .
80
EXAMPLE 3
(I) maximize x1 (1 x 2 )
s.t.
x1 x 2 1
x1 2 x 2 2 1.
From the first constraint, x 2 1 x1 .
Substitution gives the problem
(II) maximize x1 2
s. t.
x1 2 (1 x1 ) 2 1.
81
HOMEWORK 18
x 12 cos( x ) 1
1 2 2
x1 , x2 0.
• Find all interior points ( x1 ,..., xn ) for which the partials are 0
(stationary points).
• If f is not differentiable everywhere, include also points where the
f
partials x do not exist together with stationary points to give
i
critical points.
• Find all boundary points ( x1 ,..., xn ) satisfying
d f ( x1 ,..., xn ) 0 for all feasible directions d.
• Compare values at all these points and choose the largest value.
The points giving this largest value are the global maxima if a
maximum exists.
The following conditions provide a method for doing this.
82
FRITZ JOHN NECESSARY
CONDITIONS FOR PROBLEM P
Suppose that f , g1 ,, gm , and h1 ,, hp
are all differentiable at the maximum
(x1* ,,x*n ) for P. Then there exist real
numbers (Lagrange multipliers)
, 1 ,, m , and 1 ,, p such that
(x1* ,,x*n ) and these constants satisfy
the following conditions:
Fritz John
Necessary Conditions
f m
gi p
h
1. i k k 0, j 1,..n
x j i 1 x j k 1 x j
( x1* ,... xn* )
83
Karush-Kuhn-Tucker
Necessary Conditions
• Very frequently the Fritz John conditions
can be simplified somewhat because the
constraints are “nice” at (x1*,…xn*). In that
case =1 and condition 4 is automatically
satisfied.
• For our purposes, we take =1 only when
all constraints are linear (or Nota Bene
applies) although the optimum usually
occurs when =1. Otherwise the
necessary conditions do not involve the
objective function.
Procedure
• Solve the Fritz John conditions to get the
candidates for the maximum P.
84
Nota Bene
• If you’re lucky, then
– The objective function f and all of the
inequality constraints g are concave.
– The equality constraints h are linear.
• α= 1.
85
HOMEWORK 19-23
EXAMPLE 1
2 2
min x1 x2
s.t.
x1 2 x2 3
2 x1 x2 3
86
Example 1 in Standard Form:
max f ( x1 , x2 ) x12 x2 2
s.t.
g1 ( x1 , x2 ) 3 x1 2 x2 0
g 2 ( x1 , x2 ) 3 2 x1 x2 0
Example 1 - Questions
87
Example 1-Fritz John Conditions
2 x1 1 2 2 0
(1)
2 x2 2 1 2 0
( x 2 x2 3) 0
(2) 1 1
2 (2 x1 x2 3) 0
(3) 1 , 2 0
(4)okay
3 x1 2 x2 0
(5)
3 2 x1 x2 0
88
Example 1 – Cases from condition (3)
2 x 2 0 x 1
1 1 1 2
(1) 2 x2 2 1 0 x2 1
x 2 x
2 1
(2) x1 2 x2 3 x1 3/ 5, x2 6 / 5
(5)okay
x1 2 x2 3
(2) 2 x1 x2 3
x x 1
1 2
(5)okay
89
Example 1 – Evaluation of candidates
(x1,x2) f (x1,x2)
max (0, 0) 0
(1, 1) -2
But wait ….
• We didn’t ask a most important question -
is there a short cut or easier way ?
2 2
min x1 x2
s.t.
x1 2 x2 3
2 x1 x2 3
90
Questions we should ask:
Is there an easier way?
Yes
Then do it and save yourself lots of time.
EXAMPLE 2
min x1 3 x 2
s.t .
2 x12 5 x 2 2 230
91
Put in standard form.
92
Fritz John Conditions
4 x11 0
(1)
3 10 x21 0
(2) NA
(3) 0
(4) , 1 not both zero
(5)2 x12 5 x22 230 0
Case I: 0
(5) x1 and x2 not both 0.
(1) 4 x11 0 10 x2 1.
1 0 (4).
93
Case II : 1
4 x 1
(1) 1 1 1 0.
101 x2 3
x2 6 5 x1.
(5) 2 x12 5 6 5 x1 230.
2
x1 , x2 f ( x1 , x2 )
(5,6) 23
max ( 5,6) 23
94
EXAMPLE 3
maximize x1 x2
s.t.
x12 x22 1
x1 , x2 0.
maximize f (x1 , x2 ) x1 x2
s.t.
g1 (x1 , x2 ) x1 0
g 2 (x1 , x2 ) x2 0
95
Questions we should ask:
Is there an easier way?
No
96
Case I: 0
subcase (a): 1 0, 2 0
(4) 1 0.
(1) x1 x2 0 (5).
subcase (b): 1 0, 2 0
(2) x2 0.
(1) 2 0 2 0.
subcase (c): 1 0, 2 0
(2) x1 0.
(1) 1 0 1 0.
subcase (d): 1 0, 2 0
(2) x1 x2 0 (5).
97
Case II : 1
subcase (a) : 1 0, 2 0
1 21 x1 0
(1)
1 21 x2 0.
1 0.
Hence x1 x2 12 .
1
but not 12 , 12 .
subcase (b) : 1 0, 2 0
(2) x2 0.
(5) x1 1.
(1,0) but not (-1,0) is a candidate.
subcase (c) : 1 0, 2 0
a candidate is (0,1) as before.
subcase (d) : 1 0, 2 0
(2) x1 x2 0 (5) as before.
98
x1 , x2 f (x1 , x2 )
(1, 0) 1
0,1 1
max 1
2,
1
2 2
EXAMPLE 4
maximize x1 x 2
s.t .
x12 x 2 2 4
2 x1 x 2 2
99
Put in standard form.
max f ( x1 , x2 ) x1 x2
s.t.
g1 ( x1 , x2 ) x12 x2 2 4 0
h1 ( x1 , x2 ) 2 x1 x2 2 0
100
Fritz John Conditions
x 2 1 x1 21 0
(1) 2
x1 2 1 x2 1 0
(2) 1 ( x12 x22 4) 0
(3) , 1 0
(4) , 1 , 1 not all zero
x12 x22 4 0
(5)
2 x1 x2 2 0
Case I : 0
subcase (a) : 1 0
(1) 1 0 (4).
subcase (b) : 1 0
(2) x12 x2 2 4
(5) 2 x1 x2 2 x2 2 2 x1
x12 2 2 x1 4.
2
So x1 , x2 0, 2 , 8 5 , 6 5 .
Both these satisfy (5) and are candidates.
101
Case II : 1
subcase (a) : 1 0
x2 21 0
(1)
x1 1 0
x2 2 x1.
(5) 2 x1 x2 2
x1 1
2 ,x2 1.
1 2 ,1 satisfies (5).
subcase (b) : 1 0
(2) x12 x2 2 4
(5) 2 x1 x2 2
These have already been solved.
( x1 , x2 ) f ( x1 , x2 )
(0, 2) 0
85 , 65 48 25
max 12 ,1 1
2
102
HOMEWORK 24 - 27
(24) maximize 2 x1 5 x2
s.t.
2 x12 5 x2 2 13
(25) minimize x1 2 x2
s.t.
x12 x2 2 4
3 x1 +x2 4
(26) maximize x1 x2
s.t.
x1 x2 4
x1 , x2 0
(27) maximize x1 x2
s.t.
x1 x2 4
103
NETWORK ANALYSIS
arc / branch
SHORTEST PATH
7
A D
2 2 4 5
O B 1
5 T
3
4 1
7
C E
4
104
Seek a path from origin node O to terminal node T that
minimizes the total distance, which is positive.
• Find all 1st closest nodes to O; then label them with the
total distance to O and the preceding node in the path.
HOMEWORK 28
4
A D
7 6 4 3
O 8
B E
6 6 T
5 5 3
5
C F
4
105
EXAMPLE
John drives to UTA every day. Having just
completed a course in network analysis, John is
able to determine the shortest route to work.
Unfortunately, the selected route is heavily
patrolled by police, and with all the fines paid for
speeding, the shortest route may not be the best
choice. John has thus decided to choose a route
that maximizes the probability of not being
stopped by police. The next figure shows the
possible route between home and work, and the
associated probabilities of not being stopped on
each segment.
106
FLOW IN NETWORKS
A B
4 1
represents capacity of A to B
represents capacity of B to A
MAXIMAL FLOW
3 0
A D 9
0 0
1 1
5 1 4
Flow
O 0
B Flow
7 0 5 T
4 2 0
1
0 0
0
C E 6
4 0
O = Source T = Sink
107
PROCEDURE
1. Find a path with positive capacity from source to sink.
Put that much flow in it.
3. Repeat until this cannot be done. At that point you can find
a cut with 0 remaining capacity from source side of cut to
sink side.
108
Homework 29
6 3
A D 9
2 0
5 5
8 0 5
O 0
B
0 3 T
9
0
5
4 0
4
C E 10
2 2
DYNAMIC
PROGRAMMING
109
SURFING EXAMPLE
States
5 6
N Se Ch Wa
6 4 5 7
6
M SF 6 KC 6 At
6 5 6 7 5
5 7 5
S LA EP NO Miami
1 2 3 Stages
110
SOLUTION
stages: cities
states: north, middle, and south
decision variables: destination city at
next stage
returns: time to reach next destination at
next stage
d3 d2 d1
s3 s2 s1
3 2 1
r3 r2 r1
111
Stage State time to dstn. rem. time
S 6+5 11
7+5
_________________________________
3 S 6+10
5+9 14
5+11
ANSWER
Miami At Ch SF
112
KEY POINTS OF DYNAMIC
PROGRAMMING
1) Work backwards.
2) Break a problem into subproblems.
3) Bellman’s principle of optimality: If a
decision is to be made, make the best
decision from here forward. Forget the
past. Optimal subpolicies so obtained
yield an optimal overall policy.
PROPERTIES OF SOLUTION
PROCEDURE
113
4) One proceeds from a state in one
stage to another state in the next stage.
The optimal decision is found for each
possible state of a stage, where optimal
refers to future stages.
The “curse of dimensionality” refers to
the fact that one could be required to
solve large numbers of problem with
large numbers of states.
5) Given the current stage, the optimal
policy for the remaining stages is
independent of the policy adopted in
previous stages.
PROBLEM FORMULATION
AND NOTATION
114
• fn (sn) = optimal n stage return objective
function that is only a function of
state
s.t
sn-1 = tn(sn, dn), n=2,3,……,N.
dN dN-1 dn dn-1 d1
sN sN-1 sN-2 sn sn-1 sn-2 s1
N N-1 n n-1 1
rN rN-1 rn rn-1 r1
fn-1(sn-1)
115
STEPS IN SOLVING A PROBLEM
s.t
sn-1 = tn(sn, dn), n = 2,3,…,N.
116
Example 1: Allocation Problem
David Goodfellow has 3 children whose ages are
2, 3, 4. One day after work he decides to treat
his children by buying them some candy.
Unfortunately he has only 3¢, so he buys them 4
jellybeans. He desires, however, to utilize these
4 jellybeans to the fullest. He knows from
experience that none of his children will eat more
than 2 jellybeans. Moreover, being an observant
father and knowing his children’s characteristics,
he estimates the units of pleasure that 0, 1, 2
jellybeans will give each child. The following
table gives these estimates :
Units of Pleasure
jellybeans Roosevelt David Jr. Meridith
(Davy)
0 0 0 1
1 1 2 3
2 3 4 0
117
Suppose David, Sr. wishes to maximize the
total pleasure that the jellybeans will give his
children. Using dynamic programming,
allocate the jellybeans optimally among the
3 children.
Solution
stages: children
states: # of jellybeans left
decision variables: how many jellybeans to
give the child at stage n
returns: pleasure units (ahs!) at stage n
118
Stage 1
s1 d1 r1 f1(s1) = max r1
4 0 0
1 1
2* 3 3
3 0 0
1 1
2* 3 3
2 0 0
1 1
2* 3 3
1 0 0
1* 1 1
0 0* 0 0
Stage 2
s2 d2 r2 s1 = s2 - d2 r2 + f1(s1) f2(s2)
4 0 0 4 0+3=3
1 2 3 2+3=5
2* 4 2 4+3=7 7
3 0 0 3 0+3=3
1* 2 2 2+3=5 5
2* 4 1 4+1=5 5
2 0 0 2 0+3=3
1 2 1 2+1=3
2* 4 0 4+0=4 4
119
Stage 3
Answer:
M D R
0 2 2
1 1 2
1 2 1
120
Data
item i Weight per Profit per
unit unit
A 250 $ 3000
B 300 $ 4000
C 400 $ 5000
Solution
• stages: items
• states: remaining weight available to
allocate
• decision variables: units of item n
• return: profit for item n
d3 d2 d1
s2 s1
s3 =1000 3 2 1
r3 r2 r1
121
Stage 1 - C
s1 d1* f1(s1)
0 ≤ s1< 400 0 0
400 ≤ s1< 800 1 5000
800 ≤ s1 ≤1000 2 10,000
Stage 2 - B
s2 d2 r2 s1 r2+f1(s1) f2(s2)=max [r2+f1(s1)]
0 0* 0 0 0+0 0
122
Stage 3 - A
s3 d3 r3 s2 r3+f2(s2) f3(s3)=max [r3+f2(s2)]
HOMEWORK 30
A student has final examinations in 3
courses X,Y, Z, each of which is a 3 credit-
hour course. He has 12 hours available
for study period. He feels that it would be
best to break the 12 hours up into 3 blocks
of 4 hours each and to devote each 4-hour
block to one particular course. His
estimates of his grades based on various
numbers of hours devoted to studying
each course are as follows. Using dynamic
programming, allocate his study time
optimally.
123
Data
Number of hours
0 4 8 12
F D D B
X
D D B A
Course Y
F D B B
Z
124
Type Failure Probability Cost
A 0.6 $1
B 0.4 $2
C 0.5 $3
Answer
Maximize [1 0 . 6 d 1 1 ][1 0 . 4 d 2 1 ][1 0 . 5 d 3 1 ]
d1 , d 2 , d 3
s.t.
1d1 2 d 2 3d 3 4
d1 , d 2 , d 3 0,1, 2,3,
• stages: components
• states: si = $ left to spend at stage i
• decision variables: d n = # redundancies of type n
• returns: rn = prob. of success at stage n
dn 1
rn (d n , sn ) 1 qn
• stage transformations
s n -1 s n - c n d n
125
Stage 1: type A
*
s1 d1 r1 (1 0.6 d1 1 ) f1 ( s1 ) max(1 0.6 d1 1 )
Stage 2: type B
s2 d2 r2 1 0.4d2 1 s1 s2 2d2 r2 f1 (s1 ) f 2 (s2 ) max[r2 f1 (s1 )]
Stage 3: type C
126
Maximum reliability = 0.325
B 1 2
A 2 3
127
The probabilities of correctly answering the three
optional questions, the grade received for a
correct response, and the consolation grade are
given below. Formulate an optimal policy for
taking this oral examination to maximize the
expected numerical grade you receive.
Answer
• stages: optional questions
• decision variable: stop or go
• returns: expected grade
• states: grade in hand
128
Stage 1: Question γ
Stage 2: Question
Stage 3: Question
Question Decision
α ( first ) Go
β ( second ) Go
γ ( third ) Stop
129
Example 5: Traveling
Salesman Problem
A businessman must travel to each of the
following cities B, C, D, E, starting from A
and ending in A. He can go through each
city only once except that, of course, he
ends in A after starting there. The “map”
below indicates the possible routes that he
could take, where the numbers represent
distances. Find the optimal route that he
should follow to minimize the total distance
that he travels.
B
3 3
3
4
5
4 C E
A
6 2 4
130
Solution
Stage 1
s1 d1 r1 f1(s1)
A, B, C E* 15 15
A, B, D E* 13 13
A, B, E D* 10 10
C 13 13
A, C, B E* 13 13
A, C, D E* 10 10
A, C, E B 13 13
D* 11 11
A, D, B E* 12 12
A, D, C E* 11 11
A, D, E B* 10 10
C 11 11
131
Stage 2
s2 d2 s1 = s2 d2 r2 + f1(s1) f2(s2)
Stage 3
A B* A,B 3 + 13 =16 16
C* A,C 4 + 12 =16 16
D A,D 6 + 13 =19
Answer:
ABEDCA
ACDEBA
132
MULTIPLE OBJECTIVE
DECISION MAKING
GOAL PROGRAMMING
• Involves satisficing.
• Goals are ranked by order of importance.
• In preemptive goal programming, higher
priority goal is assumed to be infinitely more
important than a lower priority goal.
• Goal programming achieves as many higher-
priority goals as possible, then attempts to get
as close as possible to satisfying the
remaining goals.
133
PRODUCT-MIX EXAMPLE
Faze Linear Company is a small manufacturer of
high-fidelity components. It has facilities to
produce only power amps, only preamps, or a
combination of both. Due to limited resources, it
is critical to produce appropriate quantities of
power amps and/or preamps to maximize profit.
134
microchips assembly time inspection time
transformation process
final products x1 x2
135
• Since power amps do not require a microchip,
the limited availability of microchips will directly
affect only the number of preamps produced
each day. So we have x2 ≤ 40.
• Both components require assembly time.
• The combined assembly time must not exceed
240 hours. So we have 1.2x1+4x2 ≤ 240.
• For inspection and testing time, the constraint
is 0.5x1+x2 ≤ 81. Also, there are the
nonnegativity conditions x1, x2 ≥ 0. (We ignore
integer requirements here.)
LP TO MAXIMIZE PROFIT
136
TWO-GOAL MODEL
• Assume that the Faze Linear management would
like to achieve two goals:
priority 1: achieve profit of $40,000/day.
priority 2: limit overtime of inspectors.
137
• Assuming that the 81 hours of inspection time is
regular time (not any overtime), we formulate the
second goal by defining the deviational variables.
d2- = amount by which inspection time is
underutilized (ie., short of 81 hours)
d2+ = amount by which inspection time is
overutilized (ie., more than 81 hours)
• Formulate the overtime goal as
0.5x1 + x2 + d2- - d2+ = 81.
• Incorporating these goals as constraints in the LP
formulation, we obtain the goal programming
formulation.
goal constraints
0 .5 x1 x 2 d 2
d 2
81
x1, x 2, d 1 , d 1 , d 2 , d 2 0
138
• The P1 and P2 symbols in the objective
function reflect the fact that d1- and d2+
represent priority 1 and 2 goals,
respectively.
• Priorities of higher rank are infinitely
more important than are those of a lower
rank, i.e. P1>>P2
• In giving values to P1 and P2, take into
account the relative size of the units of
the variables.
139
HOMEWORK 31
Acme Appliance must determine how many
washers and dryers should stocked. It costs Acme
$350 to purchase a washer and $250 to purchase
a dryer. A washer requires 3 sq. yd of storage
space, and a dryer requires 3.5 sq. yd. The sale of
a washer earns Highland a profit of $200, and the
sale of a dryer $150. Acme has set the following
goals (listed in order of importance):
140
Pareto Optimality
• Example 1. You have two objective functions given as
elements in a two-tuple and a decision involving two
possible actions. For each action, consider the following
returns.
Return for actions 1 and 2
Action 1 (1, 7)
Action 2 (2, 8)
Pareto Optimality
• Example 2: Again you have two objective functions and
a decision involving two possible actions. For each
action, consider the following returns.
Return for actions 1 and 2
Action 1 (8, 2)
Action 2 (9, 1)
141
Pareto Optimality
Optimization Formulation
142
HOMEWORK 32
Consider the Pareto optimization problem
The efficient frontier of two objective functions can be seen graphically, where
the efficient frontier is the set of the objective function values over the feasible
region that are not dominated and hence are Pareto optimal two-tuples.
143
Pareto Optimality – Example 2
Example: Profit Pollution Trade-Off Curve
Problem Statement
Chemco is considering producing three products. The per-unit contribution to
profit, labor requirements, raw material used per unit produced, and pollution
produced per unit of product are given below. Currently, 1300 labor hours and
1000 units of raw material are available. Chemco’s two objectives are to
maximize profit and minimize pollution produced. Graph the trade-off curve for
this problem.
Product
1 2 3
Profit ($) 10 9 8
Labor (hours) 4 3 2
Raw material (units) 3 2 2
Pollution (units) 10 6 3
Problem Statement
Chemco is considering producing three products. The per-unit contribution to
profit, labor requirements, raw material used per unit produced, and pollution
produced per unit of product are given below. Currently, 1300 labor hours and
1000 units of raw material are available. Chemco’s two objectives are to
maximize profit and minimize pollution produced. Graph the trade-off curve for
this problem.
Product
1 2 3
Profit ($) 10 9 8
Labor (hours) 4 3 2
Raw material (units) 3 2 2
Pollution (units) 10 6 3
144
Pareto Optimality – Example 2
145
Pareto Optimality – Example 2
146
REVIEW FOR QUIZ 3
147