LP Intro (1)
LP Intro (1)
Each week Ganesh Toys can obtain all the needed raw
material but can obtain only 100 finishing hours and 80
carpentry hours.
27x1+21x2-(10x1+9x2)-(14x1+10x2)=3x1+2x2
Max z=3x1+2x2
2x1+x2 100
x1+x2 80
x1 40
P1
0
The Constraint Equations
Max 3 P1 + 5 P2
P2 s.t. P1 < 4 (Plant 1)
2 P2 < 12 (Plant 2)
3 P1 + 2 P2 < 18 (Plant 3)
P1, P2 >0 (nonnegativity)
P1
(0,0) (4,0)
Geometry of Prototype Example (1)
Max 3 P1 + 5 P2
P2 s.t. P1 < 4 (Plant 1)
(0,6)
2 P2 < 12 (Plant 2)
3 P1 + 2 P2 < 18 (Plant 3)
P1, P2 >0 (nonnegativity)
P1
(0,0) (4,0)
Geometry of Prototype Example (2)
Max 3 P1 + 5 P2
P2 s.t. P1 < 4 (Plant 1)
(0,6) (2,6) 2 P2 < 12 (Plant 2)
3 P1 + 2 P2 < 18 (Plant 3)
P1, P2 >0 (nonnegativity)
(4,3)
(6,0)
P1
(0,0) (4,0)
Geometry of Prototype Example (3)
Max 3 P1 + 5 P2
P2 s.t. P1 < 4 (Plant 1)
(0,6) (2,6) 2 P2 < 12 (Plant 2)
3 P1 + 2 P2 < 18 (Plant 3)
P1, P2 >0 (nonnegativity)
(4,3)
(6,0)
P1
(0,0) (4,0)
Feasible Region
Max 3 P1 + 5 P2
P2 In Feasible Region
(0,6) (2,6)
(4,3)
(6,0)
P1
(0,0) (4,0)
Moving the Objective Function
Max 3 P1 + 5 P2
P2
(0,6) (2,6)
(6,0)
P1
(0,0) (4,0) 3 P1 + 5 P2 = 12
Optimal Solution
3 P1 + 5 P2 = 36 Max 3 P1 + 5 P2
P2 s.t. P1 < 4 (Plant 1)
(0,6) (2,6) 2 P2 < 12 (Plant 2)
3 P1 + 2 P2 < 18 (Plant 3)
P1, P2 >0 (nonnegativity)
(6,0)
P1
(0,0) (4,0)
Linear functions and Convex Sets
Coefficients of Decision Var. in constraints: Technological
coefficients.
Certainty assumption.