Professional Documents
Culture Documents
Lecture 7
Corn Beer
Hops
Malt
Ale
Business Analytics Lecture 7 3
$23 $13
Decision Variables
Let A = # of barrels of ale to produce, and
B = # of barrels of beer to produce.
Note: Use suggestive (mnemonic) variable names for
readability
Objective Function
Profit in $ = 13A + 23B
Constraints
Corn Availability: 5A + 15B ≤ 480
Hops Availability: 4A + 4B ≤ 160
Malt Availability: 35A + 20B ≤ 1190
Non-negativity: A, B ≥ 0
Business Analytics Lecture 7 5
Variables
Business Analytics Lecture 7 6
Terminology
Constraints
Corn Availability: 5 x 10 + 15 x 10 = 200 ≤ 480
Hops Availability: 4 x 10 + 4 x 10 = 80 ≤ 160
Malt Availability: 35 x 10 + 20 x 10 = 550 ≤ 1190
Non-negativity: 10, 10 ≥ 0
Business Analytics Lecture 7 7
Terminology (continued)
Constraints
Corn Availability: 5 x 40 + 15 x 10 = 350 ≤ 480
Hops Availability: 4 x 40 + 4 x 10 = 200 > 160
Malt Availability: 35 x 40 + 20 x 10 = 1600 > 1190
Non-negativity: 40, 10 ≥ 0
Business Analytics Lecture 7 8
Optimal Solution
For a maximization (respectively, minimization) problem, an
optimal solution is a feasible solution that has the largest
(respectively, smallest) objective function value among all
feasible solutions
Constraints can be ≥, ≤, or =
A small company that produces two types of shelves for grocery stores:
Model S and Model LX
Variable Costs
Model S Model LX
Variable
500 445
Overhead
Profit
125 245
Contribution
= 1,800-(1,000+175+500)
Net Profit ($) = 125S + 245LX - 385,000
Lecture 7 15
Business Analytics
(S assembly) S ≤ 1900
(LX assembly) LX ≤ 1400
(Stamping) 0.3 S + 0.3 LX ≤ 800
(Forming) 0.25 S + 0.5 LX ≤ 800
(Nonnegativity) S, LX ≥ 0
Lecture 7 16
Business Analytics
Linear Program
Spreadsheet Solution
A small company that produces two types of shelves for grocery stores:
Model S and Model LX
Constraints:
(S assembly) S ≤ 1900
(LX assembly) LX ≤ 1400
(Stamping) 0.3 S + 0.3 LX ≤ 800
(Forming) 0.25 S + 0.5 LX ≤ 800
(Nonnegativity) S, LX ≥ 0
Business Analytics Lecture 7 20
Linear Program
2500 LX model
2000
1500
1000
2500 LX model
S=1900 (S assembly constraint)
2000
1500
LX=1400 (LX assembly constraint)
1000
Feasible
500
2500 LX model
S=1900 (S assembly)
2000
1500
LX=1400 (LX assembly)
Infeasible
1000
Feasible
500
2500 LX model
S=1900 (S assembly)
2000
1500
LX=1400 (LX assembly)
1000
Isoprofit Lines
2500 LX model
1500
1000
(S=1000, LX=500)
500
Isoprofit Lines
2500 LX model
1500
1000
(S=1000, LX=500)
500
Profit = 247,500
0 500 1000 1500 2000 2500 3000S model
Business Analytics Lecture 7 27
Optimal Solution
2500 LX model
2000
Direction of increasing profit
1500
2500 LX model
1500
1000
(S=1000, LX=500)
500
Profit = 272,500
0 500 1000 1500 2000 2500 3000S model
Business Analytics Lecture 7 29
2500 LX model
2000
1500
500
2500 LX model
1500
1000
(S=1000, LX=500)
500
Profit = 375,000
2500 LX model
2000
New direction of increasing profit
New Optimal Solution:
(S=400, LX=1400)
1500
500