Introduction To Operations Research By Frederick Hillier – Test Bank
To Purchase this Complete Test Bank with Answers Click the link Below
https://tbzuiqe.com/product/introduction-to-operations-research-by-frederick-hillier-test-bank/
If face any problem or
Further information contact us At tbzuiqe@gmail.com
Sample Test
Test Bank for Chapter 3
Problem 3-1:
The Weigelt Corporation has three branch plants with excess
production capacity. Fortunately, the corporation has a new product ready to
begin production, and all three plants have this capability, so some of the
excess capacity can be used in this way. This product can be made in three
sizes–large, medium, and small–that yield a net unit profit of $420, $360, and
$300, respectively. Plants 1, 2, and 3 have the excess capacity to produce 750,
900, and 450 units per day of this product, respectively, regardless of the
size or combination of sizes involved.
The amount of available in-process storage space also imposes a
limitation on the production rates of the new product. Plants 1, 2, and 3 have
13,000, 12,000, and 5,000 square feet, respectively, of in-process storage
space available for a day’s production of this product. Each unit of the large,
medium, and small sizes produced per day requires 20, 15, and 12 square feet,
respectively.
Sales forecasts indicate that if available, 900, 1,200, and 750
units of the large, medium, and small sizes, respectively, would be sold per
day.
At each plant, some employees will need to be laid off unless
most of the plant’s excess production capacity can be used to produce the new
product. To avoid layoffs if possible, management has decided that the plants
should use the same percentage of their excess capacity to produce the new
product.
Management wishes to know how much of each of the sizes should
be produced by each of the plants to maximize profit.
Formulate a linear programming model for this problem.
Solution for Problem 3.1:
The decision variables can be denoted and defined as follows:
xP1L = number of large units produced per day
at Plant 1,
xP1M = number of medium units produced per day at
Plant 1,
xP1S = number of small units produced per day
at Plant 1,
xP2L = number of large units produced per day
at Plant 2,
xP2M = number of medium units produced per day at
Plant 2,
xP2S = number of small units produced per day
at Plant 2,
xP3L = number of large units produced per day
at Plant 3,
xP3M = number of medium units produced per day at
Plant 3,
xP3S = number of small units produced per day
at Plant 3.
Also letting P (or Z) denote the total net profit per day, the
linear programming model for this problem is
Maximize P = 420 xP1L + 360 xP1M +
300 xP1S + 420 xP2L + 360 xP2M + 300 xP2S
+ 420 xP3L + 360 xP3M + 300 xP3S,
subject to
xP1L + xP1M + xP1S £ 750
xP2L + xP2M + xP2S £ 900
xP3L + xP3M + xP3S £ 450
20 xP1L + 15 xP1M + 12 xP1S £
13000
20 xP2L + 15 xP2M + 12 xP2S £
12000
20 xP3L + 15 xP3M + 12 xP3S £
5000
xP1L + xP2L + xP3L £
900
xP1M + xP2M + xP3M £
1200
xP1S + xP2S + xP3S £
750
( xP1L + xP1M + xP1S ) – ( xP2L +
xP2M + xP2S ) = 0
( xP1L + xP1M + xP1S ) – ( xP3L +
xP3M + xP3S ) = 0
and
xP1L ³ 0,
xP1M ³ 0,
xP1S ³ 0,
xP2L ³ 0,
xP2M ³ 0,
xP2S ³ 0,
xP3L ³ 0,
xP3M ³ 0,
xP3S ³ 0.
The above set of equality constraints also can include the
following constraint:
= 0.
However, any one of the three equality constraints is redundant,
so any one (say, this one) can be deleted.
Problem 3-2:
Comfortable Hands is a company which features a product line of
winter gloves for the entire family — men, women, and children. They are trying
to decide what mix of these three types of gloves to produce.
Comfortable Hands’ manufacturing labor force is unionized. Each
full-time employee works a 40-hour week. In addition, by union contract, the
number of full-time employees can never drop below 20. Nonunion, part-time
workers can also be hired with the following union-imposed restrictions: (1)
each part-time worker works 20 hours per week, and (2) there must be at least 2
full-time employees for each part-time employee.
All three types of gloves are made out of the same 100% genuine
cowhide leather. Comfortable Hands has a long term contract with a
supplier of the leather, and receives a 5,000 square feet shipment of the
material each week. The material requirements and labor requirements, along
with the gross profit per glove sold (not considering labor costs) is given in the
following table.
Glove Material Required
(square feet) Labor Required
(minutes) Gross
Profit
(per pair)
Men’s
2
30 $8
Women’s
1.5
45 $10
Children’s
1
40 $6
Each full-time employee earns $13 per hour, while each part-time
employee earns $10 per hour. Management wishes to know what mix of each
of the three types of gloves to produce per week, as well as how many full-time
and how many part-time workers to employ. They would like to maximize their net
profit — their gross profit from sales minus their labor costs.
Formulate a linear programming model for this problem.
Solution for Problem 3-2:
The decision variables can be denoted and defined as follows:
M = number of men’s gloves to produce per week,
W = number of women’s gloves to produce per week,
C = number of children’s gloves to produce per week,
F = number of full-time workers to employ,
PT = number of part-time workers to employ.
(Alternative notation for the decision variables is xM, xW, xC,
xF, and xPT, respectively.) Also letting P (or Z) denote the total net profit
per week, the linear programming model for this problem is
Maximize P = 8 M + 10 W + 6 C –
13(40)F – 10(20) PT,
subject to
2 M + 1.5 W + C £ 5000
30 M + 45 W + 40 C £
40(60) F + 20(60) PT
F ³ 20
F ³ 2 PT
and
M ³ 0, W
³
0, C ³
0, F ³
0, PT ³ 0.
Problem 3-3:
Slim-Down Manufacturing makes a line of nutritionally complete,
weight-reduction beverages. One of their products is a strawberry shake which
is designed to be a complete meal. The strawberry shake consists of several
ingredients. Some information about each of these ingredients is given below.
Ingredient Calories
from fat
(per tbsp) Total
Calories
(per tbsp)
Vitamin
Content
(mg/tbsp)
Thickeners
(mg/tbsp)
Cost
(¢/tbsp)
Strawberry
flavoring
1
50
20
3
10
Cream
75
100
0
8
8
Vitamin
supplement
0
0
50
1
25
Artificial
sweetener
0
120
0
2
15
Thickening
agent
30
80
2
25
6
The nutritional requirements are as follows. The beverage must
total between 380 and 420 calories (inclusive). No more than 20% of the total
calories should come from fat. There must be at least 50 milligrams (mg) of
vitamin content. For taste reasons, there must be at least two tablespoons
(tbsp) of strawberry flavoring for each tbsp of artificial sweetener. Finally,
to maintain proper thickness, there must be exactly 15 mg of thickeners in the
beverage.
Management would like to select the quantity of each ingredient
for the beverage which would minimize cost while meeting the above
requirements.
Formulate a linear programming model for this problem.
Solution for Problem 3-3:
The decision variables can be denoted and defined as follows:
S = Tablespoons of strawberry flavoring,
CR = Tablespoons of cream,
V = Tablespoons of vitamin supplement,
A = Tablespoons of artificial sweetener,
T = Tablespoons of thickening agent.
(Alternative notation for the decision variables is xS, xC, xV,
xA, and xT, respectively.) Also letting C (or Z) denote cost, the linear
programming model for this problem is
Minimize C = 10 S + 8 CR + 25 V +
15 A + 6 T,
subject to
50 S + 100 CR + 120 A + 80 T ³ 380
50 S + 100 CR + 120 A + 80 T £ 420
S + 75 CR + 30 T £ 0.2
(50 S + 100 CR + 120 A + 80 T)
20 S + 50 V + 2 T ≥ 50
S ³ 2A
3 S + 8 CR + V + 2 A + 25 T = 15
and
S ³
0, CR ³
0, V ³
0, A ³
0, T ³ 0.
Problem 3-4:
Back Savers is a company that produces backpacks primarily for
students. They are considering offering some combination of two different
models—the Collegiate and the Mini. Both are made out of the same rip-resistant
nylon fabric. Back Savers has a long-term contract with a supplier of the nylon
and receives a 5000 square-foot shipment of the material each week. Each
Collegiate requires 3 square feet while each Mini requires 2 square feet. The
sales forecasts indicate that at most 1000 Collegiates and 1200 Minis can be
sold per week. Each Collegiate requires 45 minutes of labor to produce and
generates a unit profit of $32. Each Mini requires 40 minutes of labor and
generates a unit profit of $24. Back Savers has 35 laborers that each provides
40 hours of labor per week. Management wishes to know what quantity of each
type of backpack to produce per week.
(a) Formulate and solve a linear programming model for this
problem on a spreadsheet.
(b) Formulate this same model algebraically.
(c) Use the graphical method by hand to solve this model.
Solution for Problem 3-4:
(a)
To build a spreadsheet model for this problem, start by entering
the data. The data for this problem are the unit profit of each type of
backpack, the resource requirements (square feet of nylon and labor hours
required), the availability of each resource, 5400 square feet of nylon and (35
laborers)(40 hours/laborer) = 1400 labor hours, and the sales forecast for each
type of backpack (1000 Collegiates and 1200 Minis). In order to keep the units
consistent in row 8 (hours), the labor required for each backpack (in cells C8
and D8) are converted from minutes to hours (0.75 hours = 45 minutes, 0.667
hours = 40 minutes). The range names UnitProfit (C4:D4), Available (G7:G8), and
SalesForecast (C13:D13) are added for these data.
The decision to be made in this problem is how many of each type
of backpack to make. Therefore, we add two changing cells with range name
UnitsProduced (C11:D11). The values in CallsPlaced will eventually be
determined by the Solver. For now, arbitrary values of 10 and 10 are entered.
The goal is to produce backpacks so as to achieve the highest
total profit. Thus, the objective cell should calculate the total profit, where
the objective will be to maximize this objective cell. In this case, the total
profit will be
Total Profit = ($32)(# of Collegiates) + ($24)(# of Minis)
or
Total Cost = SUMPRODUCT(UnitProfit, UnitsProduced).
This formula is entered into cell G11 and given a range name of
TotalProfit. With 10 Collegiates and 10 Minis produced, the total profit would
be ($32)(10) + ($24)(10) = $560.
The first set of constraints in this problem involve the limited
available resources (nylon and labor hours). Given the number of units produced
(UnitsProduced in C11:D11), we calculate the total resources required. For
nylon, this will be =SUMPRODUCT(C7:D7, UnitsProduced) in cell E7. By using a
range name or an absolute reference for the units produced, this formula can be
copied into cell E8 to calculate the labor hours required. The total resources
used (TotalResources in E7:E8) must be <= Available (in cells G7:G8), as
indicated by the <= in F7:F8.
The final constraint is that it does not make sense to produce
more backpacks than can be sold (as predicted by the sales forecast). Therefore
UnitsProduced (C11:D11) should be less-than-or-equal-to the SalesForecast
(C13:D13), as indicated by the <= in C12:D12
The Solver information and solved spreadsheet are shown below.
Thus, they should produce 1000 Collegiates and 975 Minis to
achieve the maximum total profit of $55,400.
(b)
To build an algebraic model for this problem, start by defining
the decision variables. In this case, the two decisions are how many
Collegiates to produce and how many Minis to produce. These variables are
defined below:
Let C = Number of
Collegiates to produce,
M = Number of Minis to produce.
Next determine the goal of the problem. In this case, the goal
is to produce the number of each type of backpack to achieve the highest
possible total profit. Each Collegiate yields a unit profit of $32 while each
Mini yields a unit profit of $24. The objective function is therefore
Maximize Total Profit = $32C + $24M.
The first set of constraints in this problem involve the limited
resources (nylon and labor hours). Given the number of backpacks produced, C
and M, and the required nylon and labor hours for each, the total resources
used can be calculated. These total resources used need to be less than or
equal to the amount available. Since the labor available is in units of hours,
the labor required for each backpack needs to be in units of hours (3/4 hour
and 2/3 hour) rather than minutes (45 minutes and 40 minutes). These
constraints are as follows:
Nylon: 3C + 2M ≤ 5400 square feet,
Labor Hours: (3/4)C + (2/3)M ≤ 1400 hours.
The final constraint is that they should not produce more of each
backpack than the sales forecast. Therefore,
Sales
Forecast: C ≤
1000
M ≤ 1200.
After adding nonnegativity constraints, the complete algebraic
formulation is given below:
Let C = Number of
Collegiates to produce,
M = Number of Minis to produce.
Maximize Total Profit = $32C + $24M,
subject to
Nylon: 3C + 2M ≤ 5400 square feet,
Labor Hours: (3/4)C + (2/3)M ≤ 1400 hours,
Sales
Forecast: C ≤
1000
M ≤ 1200.
and C ≥ 0, M ≥ 0.
(c)
Start by plotting a graph with Collegiates (C) on the horizontal
axis and Minis (M) on the vertical axis, as shown below.
Next, the four constraint boundary lines (where the
left-hand-side of the constraint exactly equals the right-hand-side) need to be
plotted. The easiest way to do this is by determining where these lines
intercepts the two axes. For the Nylon constraint boundary line (3C + 2M =
5400), setting M = 0 yields a C-intercept of 1800 while setting C = 0 yields an
M-intercept of 2700. For the Labor constraint boundary line ((3/4)C + (2/3)M =
1400), setting M = 0 yields a C-intercept of 1866.67 while setting C = 0 yields
an M-intercept of 2100. The sales forecast constraints are a horizontal line at
M = 1200 and a vertical line at C = 1000. These constraint boundary lines are
plotted below.
A feasible solution must be below and/or to the left of all four
of these constraints while being above the Collegiate axis (since C ≥ 0) and to
the right of the Mini axis (since M ≥ 0). This yields the feasible region shown
below.
To find the optimal solution, an objective function line is
plotted by setting the objective function equal to a value. For example, the
objective function line when the value of the objective function is $48,000 is
plotted as a dashed line below.
All objective function lines will be parallel to this one. To
find the feasible solution that maximizes profit, slide this line out as far as
possible while still touching the feasible region. This occurs when the profit
is $55,400, and the objective function line intersect the feasible region at
the single point with (C, M) = (1000, 975) as shown below.
Therefore, the optimal solution is to produce 1000 Collegiates
and 975 Minis, yielding a total profit of $55,400.
Problem 3-5:
The marketing group for a cell phone manufacturer plans to
conduct a telephone survey to determine consumer attitudes toward a new cell
phone that is currently under development. In order to have a sufficient sample
size to conduct the analysis, they need to contact at least 100 young males
(under age 40), 150 older males (over age 40), 120 young females (under age
40), and 200 older females (over age 40). It costs $1 to make a daytime phone
call and $1.50 to make an evening phone call (due to higher labor costs). This
cost is incurred whether or not anyone answers the phone. The table below shows
the likelihood of a given customer type answering each phone call. Assume the
survey is conducted with whoever first answers the phone. Also, because of
limited evening staffing, at most one-third of phone calls placed can be
evening phone calls. How should the marketing group conduct the telephone
survey so as to meet the sample size requirements at the lowest possible cost?
Who
Answers?
Daytime Calls Evening Calls
Young Male 10% 20%
Older Male
15% 30%
Young Female 20% 20%
Older Female 35% 25%
No Answer
20% 5%
(a) Formulate and solve a linear programming model for this
problem on a spreadsheet.
(b) Formulate this same model algebraically.
Solution for Problem 3-5:
(a)
To build a spreadsheet model for this problem, start by entering
the data. The data for this problem are the cost of each type of phone call,
the percentages of each customer type answering each type of phone call, and
the total number of each customer type needed for the survey.
The decision to be made in this problem is how many of each type
of phone call to make. Therefore, we add two changing cells with range name
CallsPlaced (C13:D13). The values in CallsPlaced will eventually be determined
by the Solver. For now, arbitrary values of 10 and 5 are entered.
The goal of the marketing group is to conduct the survey at the
lowest possible cost. Thus, the objective cell should calculate the total cost,
where the objective will be to minimize this objective cell. In this case, the
total cost will be
Total Cost = ($1)(# of daytime calls) + ($1.50)(# of evening
calls)
or
Total Cost = SUMPRODUCT(UnitCost, CallsPlaced).
This formula is entered into cell G13 and given a range name of
TotalCost. With 10 daytime phone calls and 5 evening calls, the total cost
would be ($1)(10) + ($1.50)(5) = $17.50.
The first set of constraints in this problem involve the minimum
responses required from each customer group. Given the number of calls placed
(CallsPlaced in C13:D13), we calculate the total responses by each customer
type. For young males, this will be =SUMPRODUCT(C7:D7, CallsPlaced). By using a
range name or an absolute reference for the calls placed, this formula can be
copied into cells E8-E10 to calculate the number of older males, young females,
and older females reached. The total responses of each customer type (Total
Responses in E7:E10) must be >= ResponsesNeeded (in cells G7:G10), as
indicated by the >= in F7:F10.
The final constraint is that at most one third of the total
calls placed can be evening calls. In other words:
Evening Calls <= (1/3)(Total Calls Placed)
The two sides of this constraint (i.e., evening calls and 1/3 of
total calls placed) are calculated in cells C15 and E15. Enter <= in D15 to
show that C15 <= E15.
The Solver information and solved spreadsheet are shown below.
Thus, the marketing group should place 500 daytime calls and 250
evening calls at a total cost of $875.
(b)
To build an algebraic model for this problem, start by defining
the decision variables. In this case, the two decisions are how many daytime
calls and how many evening calls to place. These variables are defined below:
Let D = Number of daytime
calls to place
E = Number of evening calls to place.
Next determine the goal of the problem. In this case, the goal
is to conduct the marketing survey at the lowest possible cost. Each daytime
call costs $1 while each evening call costs $1.50. The objective function is
therefore
Minimize Total Cost = $1D + $1.50E.
The first set of constraints in this problem involve the minimum
responses required from each customer group. Given the number of calls place, D
and E, and the percentage of calls answered by each customer group, the total
responses for each customer group is calculated. These total responses need to
be greater than or equal to the minimum responses required. These constraints
are as follows:
Young Males: (10%)D + (20%)E ≥ 100
Older Males: (15%)D + (30%)E ≥ 150
Young
Females: (20%)D + (20%)E
≥ 120
Older
Females:
(35%)D + (25%)E ≥ 200.
The final constraint is that at most one third of the total
calls placed can be evening calls. In other words:
Evening Calls <= (1/3)(Total Calls Placed)
Substituting E for Evening Calls, and D + E for Total Calls
Placed yields the following constraint:
E ≤ (1/3)(D + E).
After adding nonnegativity constraints, the complete algebraic
formulation is given below:
Let D = Number of daytime calls
to place
E = Number of evening calls to place.
Minimize Total Cost = $1D + $1.50E.
subject to
Young Males: (10%)D + (20%)E ≥ 100
Older Males: (15%)D + (30%)E ≥ 150
Young
Females: (20%)D + (20%)E
≥ 120
Older Females:
(35%)D + (25%)E ≥ 200
Evening Call Ratio: E ≤ (1/3)(D + E)
and D ≥ 0, E ≥ 0.
Problem 3-6
Dwight and Hattie have run the family farm for over thirty
years. They are currently planning the mix of crops to plant on their 120-acre
farm for the upcoming season. The table below gives the labor hours and
fertilizer required per acre, as well as the total expected profit per acre for
each of the potential crops under consideration. Dwight, Hattie, and their
children can work at most 6,500 total hours during the upcoming season. They
have 200 tons of fertilizer available. What mix of crops should be planted to
maximize the family’s total profit?
Crop Labor Required
(hours per
acre) Fertilizer
Required
(tons per acre) Expected Profit
(per acre)
Oats
50
1.5 $500
Wheat 60
2 $600
Corn 105
4 $950
(a) Formulate and
solve a linear programming model for this problem in a spreadsheet.
(b) Formulate this
same model algebraically.
Solution for Problem 3-6:
(a)
This is a resource-allocation problem. The activities are the
planting of the three crops and the limited resources are land, labor, and
fertilizer. We will start to build a spreadsheet by entering the data. The data
for this problem are the labor required, fertilizer required, and expected
profit for each crop (per acre). The data in the spreadsheet would be entered
as displayed below, where range names of ProfitPerAcre (C4:E4) and
TotalAvailable (H7:H9) are assigned to the corresponding data cells.
The decisions to be made in this problem are how many acres of
each crop to plant. Therefore, we add three changing cells in C12:E12 with
range name AcresPlanted. The values in AcresPlanted (C12:E12) will eventually
be determined by the Solver. For now, an arbitrary value of 1 is entered for
each crop.
The goal is to maximize the family’s total profit. Thus, the
objective cell should calculate the total profit. In this case, the total
profit will be
Total Profit = ($500)(acres of oats) + ($600)(acres of wheat) +
($950)(acres of corn)
or
Total Profit = SUMPRODUCT(ProfitPerAcre, AcresPlanted).
This formula is entered into cell H12. With 1 acre of each crop
planted, the total cost would be ($500)(1) + ($600)(1) + ($950)(1) = $2,050.
The functional constraints in this problem involve the limited
resources of land, labor, and fertilizer. Given the AcresPlanted (the changing
cells in C12:E12), we calculate the total resources used in TotalUsed (cells F7:F9).
For land, this will be =SUMPRODUCT(C7:E7, AcresPlanted). Using a range name or
an absolute reference for the acres planted, this formula can be copied into
cells F8:F9 to calculate the amount of labor and fertilizer used. The total
resources used must be <= TotalAvailable (H7:H9), as indicated by the <=
in G7:G9.
The Solver information and solved spreadsheet are shown below.
Thus, oats should be planted on 80 acres and wheat on 40 acres,
while not planting any corn, with a resulting total profit of $64,000.
(b)
To build an algebraic model for this problem, start by defining
the decision variables. In this case, the three decisions are how many acres of
oats, wheat, and corn to plant. These variables are defined below:
Let O = Acres of oats
planted,
W = Acres of wheat planted,
C = Acres of corn planted.
Next determine the goal of the problem. In this case, the goal
is to achieve the highest possible total profit. Each acre of oats yields a
profit of $500, each acre of wheat yields a profit of $600, while each acre of
corn yields a profit of $950. The objective function is therefore
Maximize Total Profit = $500O + $600W + $950C.
There are three limited resources in this problem: 120 acres of
land, 6500 hours of labor, and 200 tons of fertilizer. Each acre of a given
crop that is planted uses up one available acre. The data for labor hours used
and fertilizer used per acre planted can be used to calculate the total
resources used as a function of the decision variables. The total resources
used need to be less than or equal to the amount available. These constraints
are therefore as follows:
Land: O + W + C ≤ 120 acres,
Labor: 50O + 60W + 105C ≤ 6500 hours,
Fertilizer: 1.5O
+ 2W + 4C ≤ 200 tons
After adding nonnegativity constraints, the complete algebraic
formulation is given below:
Let O = Acres of Oats
planted,
W = Acres of Wheat planted,
C = Acres of Corn planted.
Maximize Total Profit = $500O + $600W + $950C.
subject to
Land: O + W + C ≤ 120 acres,
Labor: 50O + 60W + 105C ≤ 6500 hours,
Fertilizer: 1.5O
+ 2W + 4C ≤ 200 tons
and O ≥ 0, W ≥ 0, C ≥ 0.
Problem 3-7:
The kitchen manager for Sing Sing Prison is trying to decide
what to feed its prisoners. She would like to offer some combination of milk,
beans, and oranges. The goal is to minimize cost, subject to meeting the
minimum nutritional requirements imposed by law. The cost and nutritional
content of each food, along with the minimum nutritional requirements, are
shown below. What diet should be fed to each prisoner?
Milk
(gallons)
Navy
Beans
(cups) Oranges
(large Calif.
Valencia)
Minimum
Daily
Requirement
Niacin (mg)
3.2 4.9
0.8 13.0
Thiamin (mg) 1.12
1.3 0.19 1.5
Vitamin C
(mg)
32.0 0.0
93.0 45.0
Cost
($)
2.00 0.20 0.25
(a) Formulate and
solve a linear programming model for this problem in a spreadsheet.
(b) Formulate this
same model algebraically.
Solution for Problem 3-7:
(a)
This is a cost-benefit-trade-off problem. The activities are the
quantities of food to feed each prisoner and the required benefits are the
minimum nutritional requirements. We will start to build a spreadsheet by
entering the data. The data for this problem are the nutrient content of each
food, the minimum daily requirement for each nutrient, and the cost of each
food. The data in the spreadsheet would be entered as displayed below, where
range names of UnitCost (C5:E5), NutritionalContents (C9:E11), and
MinimumRequirement (H9:H11) are assigned to the corresponding data cells.
The decisions to be made in this problem are how much of each
food type should be fed to each prisoner. Therefore, we add three changing
cells in C13:E13, with range name Quantity. The values in Quantity (C13:E13)
will eventually be determined by Solver. For now, an arbitrary value of 1 is
entered for each food type.
The goal is to minimize the total cost per prisoner. Thus, the
objective cell should calculate this cost:
Total Cost = ($2)(gallons of milk) + ($0.20)(cups of beans) +
($0.25)(number of oranges)
or
Total Cost = SUMPRODUCT(UnitCost, Quantity).
This formula is entered into cell H14.
The functional constraints in this problem involve the minimum
daily requirement of each nutrient. Given the amount of food fed each prisoner
(the changing cells in C13:E13), we calculate the total resources used in
F9:F11. For niacin, this will be =SUMPRODUCT(C9:E9, $C$13:$E$13). Using an
absolute reference for the acres planted, this formula can be copied into cells
F10-F11 to calculate the thiamin and vitamin C. The benefit achieved (total of
each nutrient) must be >= the minimum needed (H9:H11), as indicated by the
>= in G9:G11.
The Solver information and solved spreadsheet are shown below.
Thus, each prisoner should be fed a daily average of 2.574 cups
of beans and 0.484 oranges for a total cost of $0.64.
(b)
To build an algebraic model for this problem, start by defining
the decision variables. In this case, the three decisions are how many gallons
of milk, cups of beans, and how many oranges to feed each prisoner. These
variables are defined below:
Let M = gallons of milk fed
to each prisoner,
B = cups of beans fed to each prisoner,
O = number of oranges fed to each prisoner.
Next determine the goal of the problem. In this case, the goal
is to meet the nutritional requirements at the lowest possible cost. Each
gallon of milk costs $2, each cup of beans costs $0.20, and each orange costs
$0.25. The objective function is therefore
Minimize Total Cost = $2.00M + $0.20B + $0.25O.
The nutritional requirements include minimum requirements for
niacin, thiamin, and vitamin C. The data for the nutritional contents of each
type of food can be used to calculate the total level of each nutrient achieved
as a function of the decision variables. The total nutrients need to be greater
than or equal to the minimum requirement. These constraints are therefore as
follows:
Niacin: 3.2M + 4.9B + 0.8O ≥ 13mg,
Thiamin:
1.12M + 1.3B + 0.19O ≥ 1.5mg,
Vitamin C: 32M + 93O ≥ 45mg.
After adding nonnegativity constraints, the complete algebraic
formulation is given below:
Let M = gallons of milk fed
to each prisoner,
B = cups of beans fed to each prisoner,
O = number of oranges fed to each prisoner.
Minimize Total Cost = $2.00M + $0.20B + $0.25O.
subject to
Niacin: 3.2M + 4.9B + 0.8O ≥ 13mg,
Thiamin:
1.12M + 1.3B + 0.19O ≥ 1.5mg,
Vitamin C: 32M + 93O ≥ 45mg.
and M ≥ 0, B ≥ 0, O ≥ 0.
Problem 3-8:
Surfs Up produces high-end surfboards. A challenge faced by
Surfs Up is that their demand is highly seasonal. Demand exceeds production
capacity during the warm summer months, but is very low in the winter months.
To meet the high demand during the summer, Surfs Up typically produces more
surfboards than are needed in the winter months and then carries inventory into
the summer months. Their production facility can produce at most 50
boards per month using regular labor at a cost of $125 each. Up to 10
additional boards can be produced by utilizing overtime labor at a cost of $135
each. The boards are sold for $200. Because of storage cost and the opportunity
cost of capital, each board held in inventory from one month to the next incurs
a cost of $5 per board. Since demand is uncertain, Surfs Up would like to
maintain an ending inventory (safety stock) of at least 10 boards during the
warm months (May–September) and at least 5 boards during the other months (October–April).
It is now the start of January and Surfs Up has 5 boards in inventory. The
forecast of demand over the next 12 months is shown in the table below.
Formulate and solve a linear programming model in a spreadsheet to determine
how many surfboards should be produced each month to maximize total profit.
Jan
Feb Mar
Apr May
Jun July
Aug Sep
Oct Nov Dec
10
14
15
20
45 65
85
85
40 30
15 15
Solution for Problem 3-8:
This is a dynamic problem with 12 time periods (months). The
activities are the production quantities in each of the 12 months using regular
labor and the production quantities in each of the 12 months using overtime
labor.
To get started, we sketch a spreadsheet model. Each of the 12
months will be a separate column in the spreadsheet. For each month, the
regular production quantity (a changing cell) must be no more than the maximum
regular production (50). Similarly, for each month the overtime production
quantity (a changing cell) must be no more than the maximum overtime production
(10). Each month will generate revenue, incur regular and overtime production
costs, inventory holding costs, and achieve a resulting profit. The goal will
be to maximize the total profit over all 12 months. This leads to the following
sketch of a spreadsheet model.
The ending inventory each month will equal the starting
inventory (the given starting inventory for January, or the previous month’s
ending inventory for future months) plus all production (regular and overtime)
minus the forecasted sales. The ending inventory at the end of each month must
be at least the minimum safety stock level. The revenue will equal the selling
price times forecasted sales. The regular (or overtime) production cost will be
the regular (or overtime) production quantity times the unit regular (or
overtime) production cost. The holding cost will equal the ending inventory
times the unit holding cost. The monthly profit will be revenue minus both
production costs minus holding cost. Finally, the total profit will be the sum
of the monthly profits. The final solved spreadsheet, formulas, and Solver
information are shown below.
The values in RegularProduction (C10:N10) and OTProduction
(C14:N14) show how many surf boards Surfs Up should produce each month so as to
achieve the maximum profit of $31,150.
Problem 3-9:
Cool Power produces air conditioning units for large commercial
properties. Due to the low cost and efficiency of its products, the company has
been growing from year to year. Also, due to seasonality in construction and
weather conditions, production requirements vary from month to month. Cool
Power currently has 10 fully trained employees working in manufacturing. Each
trained employee can work 160 hours per month and is paid a monthly wage of
$4000. New trainees can be hired at the beginning of any month. Due to their
lack of initial skills and required training, a new trainee only provides 100
hours of useful labor in their first month, but are still paid a full monthly
wage of $4000. Furthermore, because of required interviewing and training,
there is a $2500 hiring cost for each employee hired. After one month, a trainee
is considered fully trained. An employee can be fired at the beginning of any
month, but must be paid two weeks of severance pay ($2000). Over the next 12
months, Cool Power forecasts the labor requirements shown in the table below.
Since management anticipates higher requirements next year, Cool Power would
like to end the year with at least 12 fully trained employees. How many
trainees should be hired and/or workers fired in each month to meet the labor
requirements at the minimum possible cost? Formulate and solve a linear
programming spreadsheet model.
Jan
Feb Mar
Apr May
Jun Jul
Aug Sep
Oct Nov Dec
1600 2000
2000 2000 2800
3200 3600 3200
1600 1200 800
800
Solution for Problem 3-9:
This is a dynamic problem with 12 time periods (months). The
activities are the number of workers to hire and fire in each of the 12 months.
To get started, we sketch a spreadsheet model. Each of the 12
months will be a separate column in the spreadsheet. For each month, there are
changing cells for both the number of workers hired and fired. Based on the
values of these changing cells, we can determine the number of trainees and
trained employees. The number of labor hours generated by the employees must be
at least the required labor hours each month. Finally, labor costs (for
trainees and the trained workforce), hiring cost, and severance pay leads to a
total monthly cost. The goal will be to minimize the total cost over all 12 months.
This leads to the following sketch of a spreadsheet model.
When an employee is first hired, he or she is a trainee for one
month before becoming a fully-trained employee. Therefore, the number of
trainees (row 14) is equal to the number of workers hired in that month, while
the number of trained employees (row 15) is the number of trained employees and
trainees from the previous month minus any employee that is fired. The labor
hours available in each month equals the sumproduct of the labor hours provided
by each type of worker (trained or trainees) with the number of each type of
employee. The labor costs in each month are the monthly wage multiplied by the
number of employees. The hiring cost is the unit hiring cost multiplied by the
number of workers hired. The severance pay is the unit severance cost
multiplied by the number of workers fired. Then, the total monthly cost is the
sum of the labor costs, hiring cost, and severance pay. Finally, the total cost
will be the sum of the monthly costs. For arbitrary values of workers hired and
fired each month, this leads to the following spreadsheet.
The Solver information is shown below, followed by the solved
spreadsheet.
Thus, WorkersHired (C11:N11) shows the number of workers Cool
Power should hire each month and WorkersFired (C12:N12) shows the number of
workers Cool Power should fire each month so as to achieve the minimum
TotalCost (O26) of $787,500.
Test Bank for Chapter 5
Problem 5-1:
Consider the following problem.
Minimize Z = x1 + 2 x2,
subject to
-x1 + x2 £ 15
2 x1 + x2
£ 90
x2
³ 30
and
x1 ³ 0,
x2 ³ 0.
(a) Solve this problem graphically
(b) Develop a table giving each of the CPF solutions and the
corresponding defining equations, BF solution, and nonbasic variables.
Solution for Problem 5-1:
(a)
Thus, the optimal solution is (x1, x2) = (15, 30) with Z = 75.
(b)
The above graphical solution reveals that the problem has three
CPF solutions, as listed in the first column of the table below. The
corresponding defining equations are the equations of the constraint boundaries
(the solid lines in the above graph) that pass through the respective CPF solutions,
as listed in the second column of the table below.
To identify the corresponding BF solutions and nonbasic
variables, we need to use the augmented form of the problem.
Introducing slack variables, x3 and x4, and surplus variable x5,
we have
Minimize Z = x1 + 2 x2,
subject to
– x1 + 2 x2 +
x3
= 15
2 x1 +
x2
+ x4 = 90
x2
– x5 = 30
and
x1 ³ 0,
x2 ³ 0,
x3 ³ 0,
x4 ³ 0,
x5 ³ 0.
Also introducing an artificial variable x6 into the last
constraint is optional, since this variable would be needed only to initiate
the simplex method, which we are not concerned with doing here. If x6 is
introduced, it would become an additional nonbasic variable (so its value would
be 0) in the last two columns of the table below.
For each CPF solution, the corresponding BF solution listed in
the third column is obtained by calculating x3, x4 and x5 in
the augmented form of the problem. The nonbasic variables listed in the last
column are the variables whose values are 0 in the BF solution.
CPF Solution
(x1,
x2) Defining
Equations BF solution
(x1, x2, x3, x4, x5) Nonbasic
variables
(15,
30)
x2 = 30,
– x1 + x2 = 15
(15, 30, 0, 30,
0) x3, x5
(30,
30)
x2 = 30,
2 x1 + x2 = 90
(30, 30, 15, 0,
0) x4, x5
(25,
40)
– x1 + x2 = 15,
2 x1 + x2 = 90
(25, 40, 0, 0,
10) x3, x4
Problem 5-2:
Consider the following problem.
Maximize Z = 2×1
+ 4×2 + 3×3,
subject to
x1 + 3×2 + 2×3 ≤ 30
x1 + x2 + x3 ≤ 24
3×1 + 5×2 + 3×3 ≤ 60
and
x1 ≥
0, x2
≥ 0, x3 ≥ 0.
You are given the information that x1 > 0, x2 =
0, and x3 >0 in the optimal solution.
Using the given information and the theory of the simplex
method, analyze the constraints of the problem in order to identify a system of
three constraint boundary equations (defining equations) whose simultaneous
solution must be the optimal solution (not augmented). Then solve this system of
equations to obtain this solution.
Solution for Problem 5-2:
Since x1 > 0
and x3 >
0, it follows that x1 = 0 and x3 = 0 cannot be part of the three defining
equations at the optimal solution. Since x2 = 0, then x1 + x3 £ 24 and 3 x1 + 3 x3 £ 60 or, equivalently,
x1 + x3 £ 24
and x1 + x3 £ 20.
This implies that the second constraint (x1 + x2 + x3 ≤ 24) must have some
slack, so its constraint boundary equation cannot be a defining equation at the
optimal solution.
We now have ruled out three of the six constraint boundary
equations as being part of the defining equations at the optimal solution. For
this three-variable problem, each CPF solution including the optimal solution
must have three defining equations. Therefore, the three constraint boundary equations
not ruled out must be the defining equations for the optimal solution. These
defining equations are
x2 = 0,
x1 + 3 x2 + 2 x3 = 30,
3 x1 + 5 x2 + 3 x3 = 60.
Solving this system of equations yields the optimal solution as
(x1, x2, x3) = (10, 0, 10).
Problem 5-3:
You are using the simplex method to solve the following linear
programming problem.
Maximize Z = 6×1 + 5×2 – x3
+ 4×4,
subject to
3×1 + 2×2 – 3×3 + x4 ≤ 120
3×1 + 3×2 + x3 + 3×4 ≤ 180
and
x1 ≥ 0, x2 ≥ 0, x3 ≥ 0, x4 ≥ 0.
You have obtained the following final simplex tableau where x5
and x6 are the slack variables for the respective constraints.
Coefficient of:
Basic Variable
Eq.
Z
x1
x2
x3
x4
x5
x6 Right Side
Z
(0)
1 0
0
Z*
x1
(1)
0 1
0
x3
(2)
0 0
1
–
Use the fundamental insight presented in Sec. 5.3 of the
textbook to identify Z*, , and .
Solution for Problem 5-3:
The fundamental insight presented in Sec. 5.3 of the textbook
states in part that
Z* =y*b,
= S*b,
where y* = is the vector of coefficients of the
slack variables in Eq. (0),
S* =
is the matrix of coefficients of the slack variables in the
remaining equations, and b is the vector of the original right-hand sides.
(Since S = B-1, where B is the basis matrix, and y* = cBB-1, where cB is the
vector of the objective function coefficients of the basic variables, this
alternative notation may be used throughout this solution.)
Therefore, the final right-hand side is
= S* b = = , and
Z* = y*b = = 315.
Problem 5-4:
Consider the following problem.
Maximize Z = 2×1 + 4×2 +
3×3,
subject to
x1 + 3×2 + 2×3 = 20
x1 + 5×2 ≥
10
and
x1 ≥ 0, x2 ≥
0, x3 ≥ 0.
Let be the artificial variable for the first
constraint. Let x5 and be the surplus variable and artificial
variable, respectively, for the second constraint.
You are now given the information that a portion of the final
simplex tableau is as follows:
Coefficient of:
Basic Variable
Eq.
Z
x1
x2
x3
x5
Right Side
Z
(0)
1
M+2 0 M
x1
(1)
0
1
0 0
x5
(2)
0
1
1 -1
(a) Extend the fundamental insight presented in Sec. 5.3 of the
textbook to identify the missing numbers in the final simplex tableau. Show
your calculations.
(b) Identify the defining equations of the CPF solution
corresponding to the optimal solution in the final simplex tableau.
Solution for Problem 5-4:
(a)
If and had been placed in adjacent
columns in the initial tableau, their coefficients in Eqs. (1) and (2) would
form an identity matrix. Therefore, by the logic of the fundamental insight
presented in Sec. 5.3 of the textbook, it is the coefficients of these
variables in the final tableau that play the key role. In particular, using the
notation of the fundamental insight, y* = [2 0] is the vector of
coefficients of the artificial variables in Eq. (0) after subtracting their
values [M M] in the initial tableau (before restoring proper form
from Gaussian elimination). Similarly,
S* =
is the matrix of coefficients of the artificial variables in the
remaining equations. (The notation of Sec. 5.2, replacing S* by B-1 and
replacing y* by cBB-1, also may be used instead.) Therefore, using the other
notation employed in Sec. 5.3 as well, we can obtain the missing elements in
the final tableau from the formulas for the fundamental insight as follows.
The final constraint columns for (x1, x2, x3) are
S*A = = .
The final coefficients in Eq. (0) for (x1, x2, x3) are
y*A – c = – = .
The final right-hand side is
S*b = = , and
Z* = y*b = = 40.
Therefore, after inserting the missing values, the complete
final simplex tableau is
Basic
Coefficient
of: Right
Variable
Eq.
Z
x1
x2
x3
x5
Side
Z
(0)
1
0
2
1 M+2
0
M 40
x1
(1)
0
1
3
2
1 0
1
20
x5
(2)
0
0
-2
2
1
1 -1
10
(b)
The nonbasic variables in the above final tableau yielding the
optimal solution are x2, x3, , and . x2 and x3 are the
indicating variables for the x2 ≥ 0 and x3 ≥ 0 constraints, and is
the indicating variable for the x1 +3×2 + 2×3 = 20 constraint. ( is
not an indicating variable except when both x5 and are nonbasic
variables.) Therefore, the defining equations are
x1 + 3 x2 + 2 x3
= 20,
x2
= 0,
x3 = 0.
Comments
Post a Comment