Professional Documents
Culture Documents
X X X Z X X X: Problem 5 Problem Set 3.4B Pages 101-102 Maximize Subject To The Constraints
X X X Z X X X: Problem 5 Problem Set 3.4B Pages 101-102 Maximize Subject To The Constraints
Maximize
z 2 x1 2 x2 4 x3
2 x1 x2 x3 2
3 x1 4 x2 2 x3 8
x1 , x2 , x3 0
We shall solve this problem by two phase
method.
Phase I:
Minimize
r R2
2 x1 x2 x3 s1
3 x1 4 x2 2 x3
s2 R2 8
x1 , x2 , x3 , s1 , s2 , R2 0
Here s1 is a slack variable, s2 is a surplus
variable and R2 artificial variable.
Basic r x1 x2
3
4
r 1 0
0
x3
2
0
s1 s2
0 -1
0 0
R2
0
-1
Sol.
8
0
s1
0 2
R2
r
0 3
1 0
4
0
2
0
0
0
-1
0
1
-1
8
0
s1
0 5/4
1/2
1/4
-1/4
x2
0 3/4
1/2
0 -1/4
1/4
Basic z x1 x2
-1/2 0
z
1 -2 -2
x3
-3
-4
s1 s2
0 -1/2
0
0
R2
Sol.
4
0
s1
0 5/4
1/2
1/4
x2
0 3/4
1/2
0 -1/4
z
x3
1 7
0 5/2
0
0
0
1
6
2
1
1/2
4
0
x2
0 -1/2
-1 -1/2
Basic r x1 x2
3
4
r
1 0
0
x3
2
0
s1 s2
0 -1
0 0
R2
0
-1
Sol.
8
0
s1
0 2
R2
0 3
-1
1 -5
-2
-4
-1
x2
0 2
R2
0 -5
-2
-4
-1
Basic z x1 x2
2 0
z
1 -2 -2
x3
-2
-4
s1 s2
2 0
0
0
R2
0
0
Sol.
4
0
x2
0 2
R2
0 -5
-2
-4
-1
z
x2
1 7
0 -1/2
0
1
0
0
6 1
-1 -1/2
-1
1/2
4
2
x3
0 5/2
-1/2
1/2
Degeneracy
If in a basic feasible solution (BFS) one of
the basic variables is present at 0 level (i.e.
is zero) then we say we have a degenerate
BFS. This usually happens when there is a
tie for the leaving variable (as we saw in
the previous example). There is nothing
alarming in having a degenerate BFS
except that in some cases it may lead to
z 3 x1 2 x2
Subject to
4 x1 x2 8
4 x1 3 x2 12
4 x1 x2 8
x1 , x2 0
Basic z
z
1
x1
-3
x2
-2
s1
0
s2
0
s3
0
Sol.
0
s1
-1
s2
12
s3
z
0
1
4
0
1
-11/4
0
3/4
0
0
1
0
8
6
x1
-1/4
1/4
s2
-1
s3
-1
Basic z
z
1
x1
0
x2
0
s1
-5/8
s2
0
s3
11/8
Sol.
6
x1
1/8
1/8
s2
-2
x2
z
0
1
0
0
1
0
1/2
1/8
0
17/2
x1
-1/8
3/8
3/2
s1
-2
x2
1/2
-3/2
-1/2 0
0 5/8
Maximize
z x1 x2
Basic z
z
1
x1
-1
x2
-1
s1
0
s2
0
Sol.
0
s1
s2
10
z
x1
s2
1
0
0
0
1
0
0
1
1
1
1
-1
0
0
1
6
6
4
z
1
0
0
1
0
6
x1
0
1
0
2 -1
2
x2
0
0
1
-1
1
4
Note that we have got an alt. opt. soln. We understand this
graphically also in the next slide.
(0,6)
(0,5)
Optimal BFSs
(2,4)
(6,0)
Maximize z 2 x1 x2
Subject to the constraints
x1 x2 10
2 x1 x2 40
x1 , x2 0
Basic z
z
1
x1
-2
x2
1
s1
0
s2
0
Sol.
0
s1
-1
10
s2
-1
40
z
x1
s2
1
0
0
0
1
0
-1
-1
1
2
1
-2
0
0
1
20
10
20
z
1
0
0
0
1
40
x1
0
1
0
-1
1
30
x2
0
0
1
-2
1
20
Note that we have got the optimal tableau.
(30,20)
All points on this line from
(30,20) onwards are
Optimal nonbasic solutions.
Problem 2
Maximize
z 2 x1 x2 3 x3
Unbounded solutions
In some LPPs, the values of some decision
variables can be increased indefinitely
without violating any of the constraints,
meaning that the solution space is unbounded
in at least one direction. As a result the
objective value may increase (maximization
case) or decrease (minimization case)
indefinitely. Thus both the feasible solution
space and the objective function are
unbounded.
Problem 2
Maximize z 20 x1 10 x2 x3
Subject to the constraints
3 x1 3 x2 5 x3 50
x1
x3 10
x1 x2 4 x3 20
x1 , x2 , x3 0
It is clear that the solution space is unbounded
in the x2 direction.