AM-lecture 9
AM-lecture 9
1. Introduction
1
1. Introduction
2
2.1 Standard Form of Linear Programming
i=1
j=1
xi ≥ 0 (i = 1, 2, ..., n) (3)
3
The LP problem can be generally expressed as
Pn
max Z = i=1 ci xi
Pn
≤ bi
j=1 aij xj (i = 1, 2, ..., m) (4)
xi ≥ 0
(i = 1, 2, ..., n)
Z = 150x1 + 175x2
7x1 + 11x2 ≤ 77
The total weekly production time is 10x1 + 8x2 which
is limited by
10x1 + 8x2 ≤ 80
The weekly storage limits are
x1 ≤ 9
and
x2 ≤ 6
The values of x1 and x2 must be nonnegative and there-
fore they are limited by x1 ≥ 0 and x2 ≥ 0.
5
Then the LP problem is formulated as
max Z = 150x1 + 175x2
7x1 + 11x2 ≤ 77 [1]
10x1 + 8x2 ≤ 80 [2]
x1 ≤ 9
[3] (5)
x2 ≤ 6
[4]
x1 ≥ 0 [5]
x2 ≥ 0 [6]
6
2.2 Graphical Solution
Figure 2: The objective function can be increased until it reaches the highest value that obeys
all constraints.
7
the constrains.
Figure 3: The case of alternative optima or more than one optimum solutions
8
Figure 4: The case of no feasible solution
9
• Consider the case when there is a unique solution.
Figure 6: Extreme points, feasible extreme points and non-feasible extreme points
11
2.3 The Simplex Method
j=1
12
max Z = Pni=1 cixi
n
P
j=1 aij xj + Si = bi (i = 1, 2, ..., m)
xj ≥ 0 (j = 1, 2, ..., n); Si ≥ 0 (i = 1, 2, ..., m)
(7)
The variable xi is known as the ith structural vari-
able.
13
Observations in Example 1
Feasible extreme point Zero variable
A x1 , x2
B x2 , S2
C S1 , S2
D S1 , S4
E x1 , S4
15
2.3.3 Simplex method
x1 ≤ 9
x2 ≤ 6
x1 ≥ 0, x2 ≥ 0
16
(2) Selection of start point
Table 1.
Intercept with x1 -axis
Basic Z x1 x2 S1 S2 S3 S4 Solution when Si = 0
Z 1 -150 -175 0 0 0 0 0
S1 0 7 11 1 0 0 0 77 11
S2 0 10 8 0 1 0 0 80 8
S3 0 1 0 0 0 1 0 9 9
S4 0 0 1 0 0 0 1 6 ∞
19
Table 2.
Basic Z x1 x2 S1 S2 S3 S4 Solution
Z 1 -150 -175 0 0 0 0 0
S1 0 7 11 1 0 0 0 77
x1 0 10 8 0 1 0 0 80
S3 0 1 0 0 0 1 0 9
S4 0 0 1 0 0 0 1 6
Table 3.
Intercept with x2 -axis
Basic Z x1 x2 S1 S2 S3 S4 Solution when Si = 0
Z 1 0 -55 0 15 0 0 1200
S1 0 0 5.4 1 -0.7 0 0 21 3.889 (min positive interception)
x1 0 1 0.8 0 0.1 0 0 8 10
S3 0 0 -0.8 0 -0.1 1 0 1 -1.25
S4 0 0 1 0 0 0 1 6 6
20
the next leaving variable. The final results are listed in
the following Table 4. The solution is (x1, x2)=(4.889,
3.889) which gives Zmax = 1413.889.
Table 4.
Basic Z x1 x2 S1 S2 S3 S4 Solution
Z 1 0 0 10.1852 7.8704 0 0 1413.889
x2 0 0 1 0.1852 -0.1296 0 0 3.889
x1 0 1 0 -0.1481 0.2037 0 0 4.889
S3 0 0 0 0.1481 -0.2037 1 0 4.111
S4 0 0 0 -0.1852 0.1296 0 1 2.111
21