5 LP - Special Case in LP Solution
5 LP - Special Case in LP Solution
Basic x1 x2 s1 s2 RHS
x2 0 1 1/2 0 2
x1 1 0 -1 2 0
Z 0 0 0 0 18
Degeneracy
From the theoretical standpoint, degeneracy has two implications:
1. The phenomenon of cycling or circling. It is possible for simplex method to enter a
repetitive sequence of iterations, never improving the objective value and never
satisfying the optimality condition → slowdown computations
2. Although the basic variables are different for each iteration, the have identical values
for all the variables and objective values.
When degeneracy occurs, the iteration should not be stopped, since the solution may be
temporarily degenerate.
No solution
max z = 3x1+ 2x2
Basic x1 x2 s1 s2 r1 RHS
subject to
s1 2 1 1 0 0 2
2x1+ x2 ≤ 2
r1 3 4 0 -1 1 12
3x1+ 4x2 ≥ 12
Z -3 -4 0 1 0 -12
x1 , x2 ≥ 0
Basic x1 x2 s1 s2 r1 RHS
x2 2 1 1 0 0 2
r1 -5 0 -4 -1 1 4
Z 5 0 4 1 0 -4
Unbounded solution
Basic x1 x2 s1 s2 RHS
max z = 2x1+ x2
s1 1 -1 1 0 10
subject to s2 2 0 0 1 40
x1- x2 ≤ 10 Z -2 -1 0 0 0
2x1 ≤ 40
Basic x1 x2 s1 s2 RHS
x1 , x2 ≥ 0
x1 1 -1 1 0 10
s2 0 -2 -2 1 20
Z 0 -1 2 0 20
Infinite number of Basic x1 x2 s1 s2 RHS
solution s1 1 2 1 0 5
max z = 2x1+ 4x2 s2 1 1 0 1 4
subject to Z -2 -4 0 0 0
x1+ 2x2 ≤ 5
x1+ x2 ≤ 4 Basic x1 x2 s1 s2 RHS
x1 , x2 ≥ 0 x2 1/2 1 1/2 0 5/2
s2 1/2 0 -1/2 1 3/2
Z 0 0 2 0 10
Basic x1 x2 s1 s2 RHS
x2 0 1 1 -1 1
x1 1 0 -1 2 3
Z 0 0 2 0 10
Thank you