2 Introduction To Linear Programming
2 Introduction To Linear Programming
4. Graph the linear constraints to form a convex polygon and find the
points which define the feasible region. The feasible region is the area of
feasible solution. Feasible solution means the solution that satisfies all
the constraints.
I. Decision Variables:
Let
𝑥! = no. of units of cabinets
𝑥" = no. of units of dressers
4𝑥! + 2𝑥" ≤ 60
𝑃! (0,12)
𝑃$ (12,6)
2𝑥! + 4𝑥" ≤ 48
𝑃! 0,12 𝑃( 15,0
max 𝑃 = 100𝑥! + 80𝑥" max 𝑃 = 100𝑥! + 80𝑥"
= 100 0 + 80 12 = 960 = 100 15 + 80 0 = 1500
GRAPHICAL METHOD: MAXIMIZATION
PROBLEM (cont.)
Example 1 Solution (cont.):
The point 𝑃$ 12,6 yields the highest possible profit but this needs to
undergo checking using the constraints (constraints are satisfied).
V. Decision:
Style A Style B
Total
(𝒙𝟏 ) (𝒙𝟐 )
Raw Materials 2 hrs 3 hrs 90 meters
Manufacturing Time 2 hrs 2 hrs 78 hrs
Profit P60/unit P50/unit
GRAPHICAL METHOD: MAXIMIZATION
PROBLEM (cont.)
Example 2 Solution (cont.):
I. Decision Variables:
Let
𝑥! = no. of units of Style A
𝑥" = no. of units of Style B
𝑃! (0, 30)
2𝑥! + 2𝑥" ≤ 78
𝑃$ (27, 12)
2𝑥! + 3𝑥" ≤ 90
𝑃! 0,30 𝑃( 39,0
max 𝑃 = 50𝑥! + 60𝑥" max 𝑃 = 50𝑥! + 60𝑥"
= 50(0) + 60(30) = 1800 = 50(39) + 60(0) = 1950
GRAPHICAL METHOD: MAXIMIZATION
PROBLEM (cont.)
Example 2 Solution (cont.):
V. Decision:
Ingredient P Ingredient C
Total
(𝒙𝟏 ) (𝒙𝟐 )
Cost per Kilo P40 P30
Mass ≤200 ≥100 250 kilos
GRAPHICAL METHOD: MINIMIZATION
PROBLEM (cont.)
Example 1 Solution (cont.):
I. Decision Variables:
Let
𝑥! = no. of kilos of ingredient P to be mixed to minimize cost
𝑥" = no. of kilos of ingredient C to be mixed to minimize cost
𝑃" (150,100)
𝑥" ≥ 100
𝑃! 0,250
min C = 40𝑥! + 30𝑥"
= 40(0) + 30(250) = 7,500
𝑃" 150,100
min C = 40𝑥! + 30𝑥"
= 40(150) + 30(100) = 9,000
GRAPHICAL METHOD: MINIMIZATION
PROBLEM (cont.)
Example 1 Solution (cont.):
The point 𝑃" 0,250 yields the lowest possible cost but this needs to
undergo checking using the constraints (constraints are satisfied).
V. Decision:
GRAPHICAL METHOD:
MINIMIZATION PROBLEM
𝑥" ≤ 60
𝑃! (0, 60) 𝑃" (40, 60)
𝑥" ≥ 𝑥!
The point 25,25 yields the lowest possible cost but this needs to undergo
checking using the constraints (constraints are satisfied).
V. Decision:
For the company to minimize its operation costs to P150,000 per week,
the company has to operate each mill for 25 hours weekly.
References:
Thank you!