Professional Documents
Culture Documents
Lecture 6
Integer Programming
Business Analytics Lecture 1 2
Diagnostic
Why did it happen?
Queries, Data mining, Statistical Analysis
Descriptive
What Happened?
Reports, Alerts, Mapping
Difficulty
Business Analytics Lecture 1 3
Diagnostic
Why did it happen?
Queries, Data mining, Statistical Analysis
Descriptive
What Happened?
Reports, Alerts, Mapping
Difficulty
Business Analytics Lecture 1 4
Diagnostic
Why did it happen?
Queries, Data mining, Statistical Analysis
Descriptive
What Happened?
Reports, Alerts, Mapping
Difficulty
Business Analytics Lecture 5
Corn Beer
Hops
Malt
Ale
Business Analytics Lecture 6
$23 $13
Malt 20 lbs
Malt 35 lbs
• Mixing Quantities
• Profitability
1 Barrel of Beer 1 Barrel of Ale
$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 12
Variables
Business Analytics Lecture 13
Cell E10
=SUMPRODUCT($C$4:$D$4, C10:D10)
Cell F10
=IF(E10<=G10+0.00001, “<=“, “NOT <=“)
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 21
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 22
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 =