Modeling Examples
Modeling Examples
PROGRAMMING:
MODELING
EXAMPLES
A Product Mix Example
Quick-Screen is a clothing manufacturing company that specializes in producing
commemorative shirts immediately following major sporting events such as the World
Series, Super Bowl, and Final Four. The company has been contracted to produce a
standard set of shirts for the winning team, either State University or Tech, following a
college football bowl game on New Year's Day. The items produced include two
sweatshirts, one with silk-screen printing on the front and one with print on both sides,
and two T-shirts of the same configuration. The company has to complete all production
within 72 hours after the game, at which time a trailer truck will pick up the shirts. The
company will work around the clock. The truck has enough capacity to accommodate
1,200 standard-size boxes. A standard-size box holds 12 T-shirts, and a box of 12
sweatshirts is three times the size of a standard box. The company has budgeted $25,000
for the production run. It has 500 dozen blank sweatshirts and T-shirts each in stock,
ready for production
A Product Mix Example
The resource requirements, unit costs, and profit per dozen for each type of shirt are shown
in the following table:
Processing Time Cost per Dozen Profit per Dozen
(hr.) per Dozen
Sweatshirt (F) 0.10 $36 $90
Sweatshirts (B/F) 0.25 48 125
T-shirt (F) 0.08 25 45
T-shirt (B/F) 0.21 35 65
The company wants to know how many dozen (boxes) of each type of shirt to produce in
order to maximize profit.
A Product Mix Example
Summary of Linear Programming Model Formulation Steps
Step 1. Define the decision variables
How many (dozens of) T-shirts and sweatshirts of each type to
produce
Step 2. Define the objective function
Maximize profit
Step 3. Define the constraints
The resources available, including processing time, blank shirts,
budget, and shipping
A Product Mix Example
This problem contains four decision variables, representing the
number of dozens (boxes) of each type of shirt to produce:
x1 = sweatshirts, front printing
x2 = sweatshirts, back & front printing
x3 = t-shirts, front printing
x4 = t-shirts, back & front printing
A Product Mix Example
The objective function:
The total profit is the sum of the individual profits gained
from each type of shirt
maximize Z = $90x1 + 125x2 + 45x3 + 65x4
A Product Mix Example
Model Constraints:
The first constraint is for processing time. The total available
processing time is the 72-hour period between the end of the
game and the truck pickup
0.10x1 + 0.25x2 + 0.08x3 + 0.21x4 ≤ 72 hr
A Product Mix Example
Model Constraints:
The second constraint is for the available shipping capacity,
which is 1,200 standard-size boxes. A box of sweatshirts is three
times the size of a standard-size box. Thus, each box of
sweatshirts is equivalent in size to three boxes of T-shirts.
3x1 + 3x2 + x3 + x4 ≤ 1,200 boxes
A Product Mix Example
Model Constraints:
The third constraint is for the cost budget. The total budget
available for production is $25,000:
$36x1 + 48x2 + 25x3 + 35x4 ≤ $25,000
A Product Mix Example
Model Constraints:
The last two constraints reflect the available blank
sweatshirts and T-shirts the company has in storage:
x1 + x2 ≤ 500 dozen sweatshirts
x3 + x4 ≤ 500 dozen T-shirts
A Product Mix Example
Model Summary:
maximize Z = $90x1 + 125x2 + 45x3 + 65x4
Subject to
0.10x1 + 0.25x2 + 0.08x3 + 0.21x4 ≤ 72
3x1 + 3x2 + x3 + x4 ≤ 1,200
$36x1 + 48x2 + 25x3 + 35x4 ≤ $25,000
x1 + x2 ≤ 500
x3 + x4 ≤ 500
x1, x2, x3, x4 ≥ 0
A Product Mix Example
The model solution is
x1 = 175.56 boxes of front-only sweatshirts
x2 = 57.78 boxes of front and back sweatshirts
x3 = 500 boxes of front-only T-shirts
Z = $45,522.22 profit
An Investment Example
Kathleen Allen, an individual investor, has $70,000 to divide among several investments. The alternative
investments are municipal bonds with an 8.5% annual return, certificates of deposit with a 5% return, treasury
bills with a 6.5% return, and a growth stock fund with a 13% annual return. The investments are all evaluated
after 1 year. However, each investment alternative has a different perceived risk to the investor; thus, it is
advisable to diversify. Kathleen wants to know how much to invest in each alternative in order to maximize the
return.
The following guidelines have been established for diversifying the investments and lessening the risk
perceived by the investor:
1. No more than 20% of the total investment should be in municipal bonds.
2. The amount invested in certificates of deposit should not exceed the amount invested in the other three
alternatives.
3. At least 30% of the investment should be in treasury bills and certificates of deposit.
4. To be safe, more should be invested in CDs and treasury bills than in municipal bonds and the
growth stock fund, by a ratio of at least 1.2 to 1.