Economics of Strategy (ECON 4550) - Maymester 2014 "Linear Programming"
Economics of Strategy (ECON 4550) - Maymester 2014 "Linear Programming"
Linear Programming
Reading: Note on Linear Programming (ECON 4550 Coursepak, Page 7) and Merton Truck
Company (ECON 4550 Coursepak, Page 19)
Slack a measure of the amount of each available scarce resource that remains unused at the
solution to the linear programming problem
Shadow Price the benefit of increasing the available amount of a scarce resource,
measured by the resulting increase in the value of the objective function at the solution to the
linear programming problem
Lower Range maximum decrease in the available amount of a scarce resource for which
the calculated shadow price is valid
Upper Range maximum increase in the available amount of a scarce resource for which
the calculated shadow price is valid
Is this a constrained optimization problem which fits the mold of Linear Programming?
It depends upon the functional form of F ( x1 , x2 )
recall, for Linear Programming we need the objective function to be a linear function
of the choice variables (which w1 x1 w2 x2 clearly is)
we also need the constraints to be linear functions of the choice variables => whether
this is the case depends upon the functional form of F ( x1 , x2 ) q
To see that our objective function is indeed linear, lets illustrate it graphically
helpful to draw the objective function for varying realized values of production costs
(e.g.,
x1
0
0
so, again, the Objective Function for this problem is clearly linear
the goal of the firm is to Minimize Production Costs => they want to be on the isocost
line closest to the origin, while still producing the target level of output
w
2
x2
Constraint is a linear
function => Linear
Programming is
applicable
x1
0
0
(ii)
x2
Region in
which both
restrictions
are satisfied
x1
0
0
(iii)
x2
Ax1 x2 q
x1
0
0
2.
3B R 65
(iv)
3.
(1.4) B (2.8) R 70
B R 30
3B R 65
B0
and R 0
4.
1.4
70
B
(.5) B 25
2.8
2.8
R
Slope of line is
equal to (-.5)
Machine
Constraint
25
B
50
R (1) B 30
R
Slope of line is
equal to (-1)
30
B
0
Loading
Constraint
30
R (3) B 65
R
65
Flame
Retarding
Agent
Constraint
Slope of line is
equal to (-3)
B
0
65/3=21.6666
(?)
What does the picture look like when we draw all three constraints in the same graph?
horizontal intercepts can be ranked from smallest to largest as blue < red < green
vertical intercepts can be ranked from smallest to largest as green < red < blue
or
B
0
B
0
To figure this out, start by determining the intersection of blue and green
at this intersection R (.5) B 25 and R (3) B 65 must both be satisfied
simultaneously
( 3) B 65 ( .5) B 25 40 (2.5) B B 240.5 16
From which it follows R (.5)(16) 25 (3)(16) 65 17
And then figure out if this point is above or below red
recall, the equation for red is R (1) B 30
25
20
12.5
0
B
0
10
17.5
21. 6
B
0
5.
(i)
B
0
(ii)
Intersection of green and red is optimal (if orange is steeper than green but
flatter than red)
B
0
(iii)
Intersection of red and blue is optimal (if orange is steeper than red but flatter
than blue)
B
0
(iv)
B
0
note:
mathematically, it is also possible to have multiple solutions
for example, if slope of orange had been exactly equal to slope of red...
B
0
then any point along red would be best => multiple solutions (each yielding the same
maximal value of the objective function)
For the current problem, recall that the objective function of this firm is 950B 1,200R
1
950
B
v
Setting v 950 B 1,200 R and solving for R , we obtain R
1,200
1,200
slope of the objective function is equal to 950 19
1,200
24
R* 20
0
0
B 10
*
Again, observe that the solution occurs at the intersection of red and green
R* 20
B
0
B* 10
(?)
constraint
New
optimal
choice
B
0
Algebraically:
state the loading constraint in more general terms as: B R L => R B L
note, the intersection of red and green now occurs at:
B L 12 B 25 => 12 B L 25
=> B 2 L 50 and R 2 L 50 L 50 L
so long as the increase in loading capacity is sufficiently small, the solution is now
B* 2 L 50 and R* 50 L => the value of the objective function at the solution is
now
v* 9502 L 50 1,20050 L
*
as L is increased, v * (i.e., optimal value of objective function) increases by dv
dL 700
the shadow price of loading capacity is $700 => the firm would be willing to pay up
to $700 to increase loading capacity from 30 up to 31
B
0
this cutoff value of L is the unique value for which all three constraints intersect at the
same point
for general L , the intersection between red and green occurs at B 2 L 50
recall, the intersection between green and blue occurs at B 16
thus, the previous discussion applies only if
2 L 50 16
L 33
But, we can also see that the feasible set (and therefore the solution) is qualitatively different if
L is too small. For very small L we would have
B
0
0 2 L 50
L 25
Shadow Price of $700 for Loading Capacity is valid for (all other factors fixed) 25 L 33
since we are starting with a value of L 30 , we say that the
Lower Range for Loading Capacity is equal to 5
Upper Range for Loading Capacity is equal to 3
1
2.8
250
What about the Shadow Price for the flame retarding agent?
Start by using economic intuition
recall the definition of Shadow Price (benefit of increasing the available amount of a
scarce resource, measured by the resulting increase in the value of the objective function
at the solution to the linear programming problem)
the constraint on the flame retarding agent was NOT BINDING => at the solution, the
firm was not using all of the available units of this input
thus, the solution would not change if the available amount of flame retarding agent
were increased => Shadow Price is equal to zero
further, it follows that the Upper Range for this Shadow Price is infinity (i.e., the shadow
price will still equal zero even as the available amount of the flame retarding agent is
increased to infinity)
Choose levels of production for two different types of trucks: x1 (units of Model 101) and
Constraints of:
Engine Assembly constraint:
Metal Stamping constraint:
Model 101 Assembly constraint:
Model 102 Assembly constraint:
x1 2 x2 4,000
2 x1 2 x2 6,000
2 x1 5,000
3 x2 4,500
Questions:
1a. Find the best product mix for Merton.
1b. Determine the Shadow Price of engine assembly capacity.
1d. Determine the Upper Range for the shadow price of engine assembly capacity
determined in (1b).
2.
Mertons production manager suggests purchasing Model 101 or Model 102 engines
form an outside supplier in order to relieve the capacity problem in the engine assembly
department. If Merton decides to pursue this alternative, it will be effectively renting
capacity: furnishing the necessary materials and engine components, and reimbursing
the outside supplier for labor and overhead. Should the company adopt this alternative?
If so, what is the maximum rent it should be willing to pay for a machine-hour of engine
assembly capacity? What is the maximum number of machine hours it should rent?
1a.
1
2
x1 2,000 , x2 x1 3,000 ,
x1 2,500 , and x2 1,500 => the feasible set can be illustrated as:
x2
3,000
2,000
1,500
1,000
x1
0
0
2,000
2,500
3,000
4,000
1.
3
1b.
To determine the Shadow Price of engine assembly capacity, start by stating the Engine
Assembly constraint in more general terms as x1 2 x2 E => x2 21 x1 E2
from here, solve for the point of intersection between green and blue as:
1
2
x1 E2 x1 3,000
2,000
1d.
2.
Mathematical possibility of an empty feasible set (in which case the problem cannot be solved)
for example, suppose we had constraints of
1. x1 50 (blue)
2. x2 40 (yellow)
3. x1 x2 70 (red)
x2
x2
x1
x1
Which of the following is a valid Objective Function for a Linear Programming problem?
x1 x2
A.
B.
C.
D.
2.
3.
( x1 , x 2 , x3 ) :
X A (0,10,1) ,
X B (6,0,5) ,
X C (5,8,4) ,
4.
X C (5,8,4) .
More than one of the above answers is correct (i.e., the problem has multiple
solutions).
5.
(2,7,5)
(3,8,4)
(7,12,1)
More than one of the above choices is feasible.
Which of the following is NOT one of the three general ingredients which must be
specified when stating a constrained optimization problem?
A.
Decision Variables.
B.
The Objective Function.
C.
Slack.
D.
More than one of the above answers is correct (i.e., more than one of the above is
not one of the three general ingredients).
6.
7.
8.
William runs a cattle ranch. He must choose levels of two different types of cattle feed
(denoted x and y ) in order to satisfy multiple minimal nutritional standards, while
minimizing the costs of purchasing cattle feed. Each pound of each type of feed contains
levels of three different nutrients ( A , B , and C ) as summarized in the table below:
Feed
x
y
Nutrient A
2 units
2 units
Nutrient B
5 units
1 unit
Nutrient C
4 units
2 units
Each pound of x costs p x .60 ; and each pound of y costs p y .20 . Each day
each cow must be feed at least 60 units of Nutrient A, 50 units of Nutrient B, and 80 units
of Nutrient C.
A.
What are the decision variables for William? What is his Objective Function?
B.
State inequalities which summarize the restrictions on his choice of the decision
variables. Graphically illustrate the feasible set, clearly labeling all relevant
intercepts and points of intersection.
C.
Determine and graphically illustrate the solution to his Linear Programming
problem. Determine the total expenditures on cattle feed at this optimal choice.
D.
E.
2.
A new study has been released which states that cows really only need 72 units
of Nutrient C per day. How would your answer to part (C) change in light of this
new information? Explain.
Suppose instead that the study mentioned in part (D) had stated that cows only
need 68 units of Nutrient C per day. How would your answer to part (C)
change in light of this new information? Explain.
Bob must choose output levels for three different products ( x , y , and z ) in order to
maximize total contribution, subject to three constraints (an assembly line constraint, a
warehouse space constraint, and a loading dock constraint). He has formulated and
solved his problem as a Linear Programming problem. Based upon his analysis, he has
determined that the optimal levels of output are x* 435 , y* 280 , and z* 115 ,
resulting in a total contribution of $128,560. The values of slack, shadow price, lower
range, and upper range for each of the three constraints are reported below:
Assembly Line Capacity
Warehouse Space Capacity
Loading Dock Capacity
Slack
0
200
0
Shadow Price
4,210
0
890
Lower Range
10.25
200
30.10
Upper Range
8.70
Infinity
16.50
Laura must choose values of x and y to maximize 1,200 x 800 y . Her choice is
restricted by the following constraints: (i) 3 x 4 y 480 , (ii) 2 x y 200 , (iii)
4.
Graphically illustrate the feasible set, clearly labeling all relevant intercepts and
points of intersection.
Determine and graphically illustrate the solution to his Linear Programming
problem. Determine the value of the objective function at this optimal choice.
For constraint (i), determine the value of slack, shadow price, upper range, and
lower range.
Hillary works for a public school district in central Texas. She is in charge of
determining which students will attend the two different existing high schools in the
district. High School Alpha has a capacity of 1,250 students; High School Beta has a
capacity of 900 students. She has divided the school district into four geographic areas
(Region A, Region B, Region C, and Region D). High School Alpha is
located within Region A, and High School Beta is located within Region B. The
table below reports the number of students residing in each of the four areas, as well as
the average distance (in miles) that a student in each area must travel to each school:
Region A
Region B
Region C
Region D
Number of Students
600
800
200
400
Distance to Alpha
1
7
10
9
Distance to Beta
7
1
14
2
Her goal is to assign students in each region to the two high schools in order to minimize
total transportation costs over the entire school year. There are a total of 180 school days
in her district. The daily cost of transporting each student to and from school is (.45) per
mile that the student resides from their assigned school.
Let a denote the number of students from Region A assigned to High School
Alpha (recognize that this implies 600 a students from Region A are assigned to
High School Beta). Likewise, let b denote the number of students from Region B
assigned to High School Alpha, let c denote the number of students from Region C
assigned to High School Alpha, and let d denote the number of students from Region
D assigned to High School Alpha.
A.
State Hillarys Objective Function.
B.
State the two restrictions that her choices of a , b , c , and d must satisfy.
C.
Determine the optimal allocation of students across the two schools. Determine
the total annual transportation costs resulting from this choice.
D.
Determine the value of slack at each of the two schools at this optimal allocation.
E.
If the capacity of High School Alpha had been 1,350 students, how would the
solution and total annual transportation costs have differed? Explain.
F.
If the capacity of High School Beta had been 1,000 students, how would the
solution and total annual transportation costs have differed? Explain.
5.
Jaideep has solved a Linear Programming problem in which he had to choose the optimal
levels of two variables ( x1 and x 2 ), subject to three different constraints (Constraint I,
Constraint II, and Constraint III). He reports values for slack, shadow price, lower
range, and upper range for each of the three constraints as follows:
Constraint I
Constraint II
Constraint III
Slack
0
0
12
Shadow Price
35
16
8
Lower Range
4.50
12.75
3.20
Upper Range
5.75
4.25
12.50
B
A
A
B
C
D
C
B
His decision variables are x (pounds of feed x) and y (pounds of feed y). His
Objective Function is: p x x p y y (.6) x (.2) y (the value of which he aims to
1B.
minimize).
His choice is restricted by having to choose feed combinations for which the cattle get at
least 60 units of Nutrient A, at least 50 units of Nutrient B, and at least 80 units of
Nutrient C. Mathematically these constraints are: 2 x 2 y 60 , 5 x y 50 , and
4 x 2 y 80 . Graphically:
50
40
33. 3
30
25
20
0
0
10
3. 3
20
30
1C.
p x .6
3 , while the
py
.2
50
40
5 (blue),
2 (green), and
20
10
30
1 (red). Thus, the solution is at the intersection of blue and green.
30
Algebraically, the optimal choice of x must satisfy 5 x 50 2 x 40 =>
x* 3. 3 . It follows that the optimal y is y* 33. 3 . Graphically:
50
33. 3
20
0
0 3. 3
1D.
2A.
30
If instead this final constraint were 4 x 2 y 72 , then the red line still passes below
the intersection of green and blue. Thus, the solution is still at the intersection of
green and blue. However, this intersection now occurs at: 5 x 50 2 x 36
=> x*
1E.
10
Note that there is slack of 200 for the Warehouse Constraint. Thus, available warehouse
space could be decreased by 150 units (which is less than 200) without altering Bobs
2B.
3A.
optimal choice. Because of this, he should be willing to accept $5,000 for these unused
150 units of warehouse space.
Based upon the logic above, if he were made a take-it-or-leave-it offer for any amount
of warehouse space up to 200 units for any positive payment, then he should accept the
offer. So, he should be willing to accept this even lower amount of only $2,000 for these
150 units of warehouse space.
Given the constraints of: (i) 3 x 4 y 480 , (ii) 2 x y 200 , (iii) y 90 , (iv)
200
120
90
72
x
0
0
3B.
40 55 64
160
100
1, 200
800
3
2
200
43 (red), and 100
2 (blue). Thus, the
optimal choice is x* 64 and y* 72 (i.e., at the intersection of red and blue).
This choice results in v* 1,200 (64 ) 800 (72) 134,400 .
120
160
90
72
0
x
0
40
64
100
3C.
Constraint (i) ( 3 x 4 y 480 , illustrated by the red line) is binding. Thus, slack is
equal to 0. The solution will still occur at the intersection of red and blue so long as
red intersects blue at a point with 55 x 100 . Expressing this constraint in more
general terms as 3 x 4 y Z i (or equivalently as y
Zi
4
), the intersection
3
4
3
4
Zi
4
4B.
2 Zi
5
Zi
5
and y*
2 Zi
5
1,100 a b c d .
4C.
4D.
4E.
4F.
5.