Chapter 3, ND Vohra Book Linear Programming II:: Simplex Method
Chapter 3, ND Vohra Book Linear Programming II:: Simplex Method
Chapter 3, ND Vohra Book Linear Programming II:: Simplex Method
1. Non-negative bi values
Multiply a constraint on both sides
by -1 if it involves a negative bi
value
2. Non-negative variables
Replace every unrestricted
variable by difference of two non-
negative variables
Conditions for using
Simplex Method (…continued)
Maximize Z = 8x1 + 5x2 +12x3
Subject to 2x1 + 5x2 + 4x3 ≤ 44
3x1 – 7x2 – 6x3 ≥ –10
7x1 + 2x2 +4x3 = 54
x1, x2 ≥ 0 x3: unrestricted in
sign
Should change as follows:
(i) Let x3 = x4 – x5, where x4, x5 ≥ 0
(ii) 3x1 – 7x2 – 6x3 ≥ –10 be replaced as
– 3x1 + 7x2 + 6x3 ≤ 10
Revised LPP:
Maximize Z = 8x1 + 5x2 +12x4 – 12x5
Subject to 2x1 + 5x2 + 4x4 – 4x5 ≤ 44
– 3x1 + 7x2 + 6x4 – 6x5 ≤ 10
7x1 + 2x2 + 4x4 – 4x5 = 54
Simplex Method for a Max
Problem (all constraints of ≤ type)
Simplex Tableau 1
Basis x1 x2 x3 S1 S2 S3 bi bi/aij
S1 0 3 5* 2 1 0 0 60 12
S2 0 4 4 4 0 1 0 72 18
S3 0 2 4 5 0 0 1 100 25
Cj 5 10 8 0 0 0
Key row
Key column
Key element
Includes variables that
yield identity matrix
Simplex Solution
To derive values in the next tableau,
Divide each element of key row by
key element: 3/5, 5/5, 2/5, 1/5 etc.
For other rows (for example row 2): 4–
4 × 3/5 = 8/5
4–4×1=0
4 – 4 × 2/5 = 12/5
0 – 4 × 1/5 = -4/5 etc.
Simplex Tableau 2
Basis x1 x2 x3 S1 S2 S3 bi bi/aij
x2 10 3/5 1 2/5 1/5 0 0 12 30
S2 0 8/5 0 12/5 -4/5 1 0 24 10
S3 0 -2/5 0 17/5 -4/5 0 1 52 260/17
Cj 5 10 8 0 0 0
Sol 0 12 0 0 24 52 120
Δj -1 0 4 -2 0 0
Simplex Solution
Simplex Tableau 3: Optimal Solution
Basis x1 x2 x3 S1 S2 S3 bi
x2 10 1/3 1 0 1/3 -1/6 0 8
x3 8 2/3 0 1 -1/3 5/12 0 10
S3 0 -8/3 0 0 1/3 -17/12 1 18
Cj 5 10 8 0 0 0
Sol 0 8 10 0 0 18 160
Δj -11/3 0 4 -2/3 -5/3 0
Phase I
1. Standardise the problem
For each artificial variable, assign
co-efficients in the objective
function
For max problem: assign –1
For min problem: assign 1
For every other variable, assign co-
efficient of zero
Phase II
Sol 0 0 18 8 30
Δj 28 30 0 0 0
Sol 0 6 0 2 0 180
Δj 4 0 0 0 -6
Degenerate outgoing variable
Simplex Tableau 3: Optimal Solution
Basis x1 x2 S1 S2 S3 bi
x1 28 1 0 5/18 0 -1/6 0
S2 0 0 0 -11/18 1 1/6 2
x2 30 0 1 -2/9 0 1/3 6
Cj 28 30 0 0 0
Sol 0 6 0 2 180
Δj 0 0 -10/9 0 -16/3
Degeneracy: An Example
(…continued)
If j = cj – zj is equal to 24 – 7M for
x1; 28 – 7M for x2; 45 – 4M for x3
and 28 – 2M in respect of x4 in a
minimisation problem, then the
entering variable would be:
1. x1
2. x2
3. x3
4. x4
Multiple Choice Questions
1. First
2. Second
3. Third
4. Fourth
Multiple Choice Questions
If there is no non-negative
replacement ratio in a solution
which is sought to be improved,
then the solution is indicated to be
1. infeasible
2. unbounded
3. degenerate
4. unique optimal
Multiple Choice Questions
1. 1, 2 and 3
2. 1 and 3
3. 2 and 3
4. 3 only