Chapter2-SV(1)
Chapter2-SV(1)
Chapter 2
Linear Programming: Model
Formulation and Graphical
Solution
Where:
x1 = number of bowls
x2 = number of mugs
s1, s2 are slack variables
Figure 2.14 Solutions at points A, B, and C
with slack
A Minimization Model Example
LP Model Formulation 2 (1 of 2)
• Two brands of fertilizer Figure 2.15 Fertilizing farmer’s field
available – Super-gro,
Crop-quick.
• Field requires at least 16
pounds of nitrogen and 24
pounds of phosphate.
• Super-gro costs $6 per bag,
Crop-quick $3 per bag.
• Problem: How much of
Chemical Contribution
each brand to purchase to
minimize total cost of Brand Nitrogen Phosphate
fertilizer given following (lb./bag) (lb./bag)
data ? Super-gro 2 4
Crop-quick 4 3
LP Model Formulation 2 (2 of 2)
Decision Variables:
x1 = bags of Super-gro
x2 = bags of Crop-quick
The Objective Function:
Minimize Z = $6x1 + 3x2
Where: $6x1 = cost of bags of Super-Gro
$3x2 = cost of bags of Crop-Quick
Model Constraints:
2 x1 4 x2 16 lb nitrogen constraint
4 x1 3 x2 24 lb phosphate constraint
x1, x2 0 non - negativity constraint
Constraint Graph
Minimize Z = $6 x1 + $3 x2
subject to: 2 x1 + 4 x2 16
4 x12 + 3 x2 24
x1, x2 0
subject to: 2 x1 4 x2 – s1 16
4 x12 3 x2 – s2 24
x1, x2 , s1, s2 0
Where:
x1 = number of bowls Figure 2.20 Graph of the Beaver Creek
x2 = number of mugs Pottery example with multiple optimal
solutions
An Infeasible Problem