Linear Programming Lhars M. Barsala
Linear Programming Lhars M. Barsala
Lhars M. Barsala
Learning Objectives
6S-2
x1 + 2x2 ≤ 720
3x1 + x2 ≤ 900
x1 , x2 ≥ 0.
Linear Programming
6S-9
x1 P 2 3 - 3
x2 Q - 2 5 5
x3 R3 2 4 4
2x1 + 3x3 ≤ 8
5x2 + 4x3 ≤ 15
x1 , x 2 , x 3 ≥ 0
Linear Programming
6S-
12
7x1 + 2x2 ≥ 30
5x1 + 4x2 ≥ 20
2x1 + 8x2 ≥ 16
x1 , x2 ≥ 0.
Linear Programming
6S-
14
x1 A 1.5 2 5
x2 B 2.5 1.5 4
Hours Available 80 70
(per week) Maximum Maximum
1.5x1 + 2.5x2 ≤ 80
2x1 + 1.5x2 ≤ 70
x1 , x 2 ≥ 0.
Graphical Linear Programming
6S-
17
Objective - profit
Maximize, Z = 60X1 + 50X2
Subject to:
Assembly 4X1 + 10X2 ≤ 100 hours
Inspection 2X1 + 1X2 ≤ 22 hours
Storage 3X1 + 3X2 ≤ 39 cubic feet
X1, X2 ≥ 0
Linear Programming Example
6S-
19
Assembly Constraint
4X1 +10X2 = 100
12
10
Product X2
8
6
4
2
0
Product X1
Linear Programming Example
6S-
20
25
20
Product X2
15
10
5
0
Product X1
Linear Programming Example
6S-
21
25
Inspection
20
Product X2
15
Storage
Assembly
10
5
0
0 2 4 6 8 10 12 14 16 18 20 22 24
Feasible solution space Product X1
Linear Programming Example
6S-
22
25
20
Z=900
Product X2
15
10
0
0 2 4 6 8 10 12 14 16 18 20 22 24
Product X1
Z=300 Z=600
Solution
6S-
23
X1 = 9
X2 = 4
Z = $740
Constraints
6S-
24