(1c) Linear Programming - Graphical Method
(1c) Linear Programming - Graphical Method
PROGRAMMING:
Graphical Method
Reference:
X Y
A 1 7 4
B 3 8 24
C 10 7 35
Profit ($) 5 7
Optimum solution – feasible solution with the largest objective function value (for a
maximization problem) and the smallest objective function value (for a minimization problem).
Feasible Solutions
A feasible solution does not violate any of the constraints:
Example: x1 = 5 bowls
x2 = 10 mugs
Z = $40x1 + $50x2 = $700
Example: x1 = 10 bowls
x2 = 20 mugs
Z = $40x1 + $50x2 = $1400
Resource Requirements
Bowl 1 4 40
Mug 2 3 50
Example (Maximization)
Beaver Creek Pottery Company employs skilled artisans to produce
clay bowls and mugs. The two resources used by the company are
special pottery clay and skilled labor. Given these limited resources,
the company desires to know how many bowls and mugs to produce
each day in order to maximize profit.
Example (Maximization)
Resource 40 hours of labor per day
Availability: 120 lbs. of clay
Decision x1 = number of bowls to produce per day
Variables: x2 = number of mugs to produce per day
Objective Maximize Z = $40x1 + $50x2
Function: Where Z = profit per day
Resource 1x1 + 2x2 40 hours of labor
Constraints: 4x1 + 3x2 120 pounds of clay
Non-Negativity x1 0; x2 0
Constraints:
Example (Maximization)
Complete Linear Programming Model:
X2 is mugs
X1 is bowls
Coordinates for Graphical Analysis
Graphical Solution
X1 = 24 bowls
X2 = 8 mugs
Nitrogen Phosphate
Brand
(lb/bag) (lb/bag)
Super-gro 2 4
Crop-quick 4 3
Model Constraints:
2x1 + 4x2 16 lb (nitrogen constraint)
4x1 + 3x2 24 lb (phosphate constraint)
x1, x2 0 (non-negativity constraint)
Minimize Z = $6x1 + $3x2
subject to: 2x1 + 4x2 16
4x1 + 3x2 24
x1, x2 0
How many gallons of Alaska milk and Nestle milk should he purchase
per day to minimize costs? How much is the total cost?
Exercise 4
◼ Use graphical method to identify the optimal solution(s) to the
following LP: