Wyndor: Product Mix Problem
Wyndor: Product Mix Problem
• 3 plants
– Each Door needs: 1 hour on Plant 1 and 3 hours on Plant 3.
– Each Window needs: 2 hours on Plant 2 and 2 hours on Plant 3.
• Unit profits are: $300 and $500 for Doors and Windows, respectively.
• Hours available per week are: 4, 12, and 18 for Plants 1, 2 and 3, respectively.
Question:
What should the product mix be (i.e., how many Doors and how many Windows should be
produced per week)?
Tabular Representation of Data
DoorsDoors Windows
Windows
Hours
Hours Used Per Unit Produced Available
Hours Used Per Unit Produced Hours Available
Plant 1 1 0 4
Plant 1 1 0 4
Plant 2 0 2 12
Plant 2 0 2 12
Plant 3 3 2 18
Plant 3 3 2 18
Algebraic Model for Wyndor Glass Co.
6 (4, 6)
4 A product mix of
D = 2 and W = 3
3 (2, 3)
1
Origin
-2 -1 0 1 2 3 4 5 6 7 8 D
Production rate (units per week) for doors
-1
-2
Graph Showing Constraints: D ≥ 0 and W ≥ 0
6
Production rate for windows
0 2 4 6 8 D
Production rate for doors
Graph Nonnegative Solutions Permitted by D ≤ 4
D=4
6
Production rate for windows
0 2 4 6 8 D
Production rate for doors
Graph Nonnegative Solutions Permitted by 2W ≤ 12
2 W = 12
6
0 2 4 6 8 D
Production rate for doors
Graph Nonnegative Solutions Permitted by
3D + 2W ≤ 18
Production rate for windows
W
10
3D + 2W = 18
4
0 2 4 6 8 D
Production rate for doors
Graph Feasible Region
3 D + 2 W = 18
8
D=4
6 2 W =12
Feasible
region
2
0 2 4 6 8 D
Production rate for doors
Graph Objective Function (P = 1,500)
W
Production rate
for windows
8
Feasible
4
region
P = 1500 = 300D + 500W
0 2 4 6 8 D
Production rate for doors
Finding Optimal Solution
Production rate W
for windows
8
Feasible
4
region
P = 1500 = 300D + 500W
0 2 4 6 8 10 D
Production rate for doors
1. Calculate coordinates of each corner point (solve for intersection of two lines;
i.e., solution of 2 simultaneous linear equations in 2 unknowns)
2. For each corner point, find value of objective function (substitute coordinates
of corner point into objective function).
• Determine slope of one objective function line. All other objective function
lines will have same slope.
• Move a straight edge with this slope through feasible region in direction of
improving values of objective function. Stop at last instant that straight edge
still passes through a point in feasible region. This line given by straight edge
is optimal objective function line. A feasible point on optimal objective
function line is an optimal solution; or, alternatively: Solve for and evaluate
corner points.
Blue Ridge Hot Tubs
Problem
Blue Ridge would like to decide Resource required for
Resources
how many Aqua-Spa hot tubs and
Aqua-Spa Hydro-Lux available
Hydro-Lux hot tubs to produce to
maximize the total profit. Resource Pumps 1 1 200
requirements, resource availability, Labour (hours) 9 6 1566
Tubing (feet) 12 16 2880
and unit profits are shown in the
Unit profit ($) 350 300
table.
Model
Variables:
= # of Aqua-Spa hot tubs to produce
= # of Hydro-Lux hot tubs to produce
Objective: MAX (total profit in $)
Constraints: S.T. (pumps)
(labor hours)
(feet of tubing)
Bounds:
Blue Ridge Hot Tubs – graphical method
= # of Aqua-Spa hot tubs to produce
= # of Hydro-Lux hot tubs to produce
𝑥2 MAX (total profit in $)
S.T. (pumps)
250 (labour hours)
(feet of tubing)
200
tub
150 ing
pu
m
100 ps
𝑥1 ≥ 0
50
lab
𝑥2 ≥ 0
ou
0
r
50
lab
ou
0
r
Spa hot tubs and 78 Hydro-Lux hot tubs. This will give us
10
lab
0
a profit of $66,100.
00
ou
0
0
50
lab
ou
0
r
0 objectives or preferences.
0 50 100 150 200 250 𝑥1
Special Cases: Infeasible Problem
Problem Model
Matt makes small and large desks. He has 12m2 = # of small desks to make
of wooden board and needs 1.5m2 for each = # of large desks to make
small desk and 3m2 for each large desk. Profit is
MAX (profit in $)
$50 per small desk and $90 per large desk. He
S.T. (m2)
already promised desks for some customers, so
needs to make at least 5 small desks and 3 large
desks. Formulate Matt’s problem.
𝑥2
Feasible region is empty: no
6 solution satisfies all constraints.
Doors Windows
Unit Profit $300 $500
Hours Hours
Hours Used Per Unit Produced Used Available
Plant 1 1 0 1 <= 4
Plant 2 0 2 2 <= 12
Plant 3 3 2 5 <= 18
Doors Windows
Unit Profit $300 $500
Hours Hours
Hours Used Per Unit Produced Used Available
Plant 1 1 0 2 <= 4
Plant 2 0 2 12 <= 12
Plant 3 3 2 18 <= 18
TV Print
Unit Cost ($millions) 1 2
Increase in Sales per Unit of Advertising Minimum
Increase
S 0% 1% 3%
L 3% 2% 18%
P -1% 4% 4%
Question: how much should they advertise in each medium to meet sales goals at a
minimum total cost?
Algebraic Model for Profit & Gambit
subject to
Stain remover increased sales: PM ≥ 3
Liquid detergent increased sales: 3TV + 2PM ≥ 18
Powder detergent increased sales: –TV + 4PM ≥ 4
and
TV ≥ 0, PM ≥ 0.
Profit & Gambit Co. Spreadsheet Model
Increased Minimum
Increase in Sales per Unit of Advertising Sales Increase
Stain Remover 0% 1% 3% >= 3%
Liquid Detergent 3% 2% 18% >= 18%
Powder Detergent -1% 4% 8% >= 4%
Total Cost
Television Print Media ($millions)
Advertising Units 4 3 10
Applying Graphical Method
Amount of print media advertising
PM
Feasible
10
region
PM = 3
2
-TV + 4 PM = 4
3 TV + 2 PM = 18
-4 -2 0 2 4 6 8 10 TV
Amount of TV advertising
Optimal Solution
PM
10
Feasible
Cost = 15 = TV + 2 PM region
Cost = 10 = TV + 2 PM
4
(4,3)
optimal
solution
0 5 10 15 TV
Amount of TV adverti sing
• In
LP problems, there are normally many solutions to choose from (feasible region).
• Number of optimal solutions of an LP problem may be:
0 Zero (when the problem is infeasible or unbounded)
1 One (always in one of the corner points)
Infinite (when multiple solutions are optimal)
No other possibility exists. For example, it is not possible to have exactly two
optimal solutions.
• If an LP problem has optimal solutions (is neither infeasible nor unbounded), then:
– All optimal solutions are on the boundary of the feasible region.
– At least one corner point is an optimal solution.
• All above statements hold for LP optimization problems, but not necessarily for other
optimization problems such as NLP, ILP, MOLP.
Additional remarks
• Signs and are not permitted in constraints. Only , , and are permitted.
– Example: What would be the optimal solution of: MAX S.T. ?