Examples Week1 Compress
Examples Week1 Compress
5 0
Worked Examples for Chapter 3
The decisions that need to be made are the number of 27-inch and 20-inch TV sets to be
produced per month by the Apex Television Company. Therefore, the decision variables for
the model are
Also let
x1 0
x2 0
5 0
With the objective of maximizing the total profit per month, the LP model for this problem is
5 0
Example for Section 3.4
Dwight is an elementary school teacher who also raises pigs for supplemental income. He is
trying to decide what to feed his pigs. He is considering using a combination of pig feeds
available from local suppliers. He would like to feed the pigs at minimum cost while also
making sure each pig receives an adequate supply of calories and vitamins. The cost, calorie
content, and vitamin content of each feed are given in the table below.
Each pig requires at least 8,000 calories per day and at least 700 units of vitamins. A further
constraint is that no more than one-third of the diet (by weight) can consist of Feed Type A,
since it contains an ingredient which is toxic if consumed in too large a quantity.
Let A and B be the quantity (pounds) of Feed Type A and Feed Type B, respectively, used per
day. Also let Z be the total daily cost of the feed per pig. Then, the daily cost is
Z = $0.4 A + $0.8 B.
The constraints on the minimum daily requirements of calories and vitamins are
Also, Dwight needs to avoid using too much of Feed Type A because of the toxic ingredient in
it. The toxic constraint is
A 1/3 (A+B),
which reduces to 2/3 A - 1/3 B ≤ 0.
Nonnegativity constraints: A 0, B 0.
5 0
(b) Use the graphical method to solve this model. What is the resulting daily cost per pig?
As shown below, the optimal solution is (A, B) = (20/7, 40/7). The resulting daily cost per pig
is Z = 40/7 = $5.71.
5 0
Another Example for Section 3.4
The Fagersta Steelworks currently is working two mines to obtain its iron ore. This iron ore is
shipped to either of two storage facilities. When needed, it then is shipped on to the
company’s steel plant. The diagram below depicts this distribution network, where M1 and
M2 are the two mines, S1 and S2 are the two storage facilities, and P is the steel plant. The
diagram also shows the monthly amounts produced at the mines and needed at the plant, as
well as the shipping cost and the maximum amount that can be shipped per month through
each shipping lane.
Management now wants to determine the most economic plan for shipping the iron ore from
the mines through the distribution network to the steel plant.
Z = 2000 xm1-s1 + 1700 xm1-s2 + 1600 xm2-s1 + 1100 xm2-s2 + 400 xs1-p + 800 xs2-p
xm1-s1 + x m1-s2 = 40
xm2-s1 + x m2-s2 = 60
5 0