Result 1: x is a BFS of Am×n x = b, x ≥ O ⇔ x is an
extreme point of S0 = {x ∈ Rn : Am×n x = b, x ≥ O}.
Result 1: x is a BFS of Am×n x = b, x ≥ O ⇔ x is an
extreme point of S0 = {x ∈ Rn : Am×n x = b, x ≥ O}.
n
Let S 0 = {x
∈ R : Am×n x ≤ b, x ≥ O}
x
n+m
and S =
∈R
: Am×n x + s = b, x ≥ O, s ≥ O .
s
Result 1: x is a BFS of Am×n x = b, x ≥ O ⇔ x is an
extreme point of S0 = {x ∈ Rn : Am×n x = b, x ≥ O}.
n
Let S 0 = {x
∈ R : Am×n x ≤ b, x ≥ O}
x
n+m
and S =
∈R
: Am×n x + s = b, x ≥ O, s ≥ O .
s
x
Result 2:
is an extreme point of S ⇔ x is an
s
extreme point of S 0 .
Result 1: x is a BFS of Am×n x = b, x ≥ O ⇔ x is an
extreme point of S0 = {x ∈ Rn : Am×n x = b, x ≥ O}.
n
Let S 0 = {x
∈ R : Am×n x ≤ b, x ≥ O}
x
n+m
and S =
∈R
: Am×n x + s = b, x ≥ O, s ≥ O .
s
x
Result 2:
is an extreme point of S ⇔ x is an
s
extreme point of S 0 .
Result 3: If S 6= φ, then it has at least one BFS.
Result 4: If S0 = {x ∈ Rn : Am×n x = b, x ≥ O} =
6 φ, then
it has atleast one BFS.
Result 4: If S0 = {x ∈ Rn : Am×n x = b, x ≥ O} =
6 φ, then
it has atleast one BFS.
d0
0
Result 5: d0 is an extreme direction of S ⇔
is an
d00
extreme direction of S where d00 ≥ O is such that
Ad0 + d00 = O.
Result 4: If S0 = {x ∈ Rn : Am×n x = b, x ≥ O} =
6 φ, then
it has atleast one BFS.
d0
0
Result 5: d0 is an extreme direction of S ⇔
is an
d00
extreme direction of S where d00 ≥ O is such that
Ad0 + d00 = O.
In simplex method in any iteration we move from one
extreme point to an adjacent extreme point if the current
BFS is nondegenerate.
Result 4: If S0 = {x ∈ Rn : Am×n x = b, x ≥ O} =
6 φ, then
it has atleast one BFS.
d0
0
Result 5: d0 is an extreme direction of S ⇔
is an
d00
extreme direction of S where d00 ≥ O is such that
Ad0 + d00 = O.
In simplex method in any iteration we move from one
extreme point to an adjacent extreme point if the current
BFS is nondegenerate.
It may remain at the same extreme point if the current BFS
is degenerate.
Sensitivity Analysis:
Consider the problem (P),
Min cT x
subject to
Ax = b, x ≥ O.
Let x0 be an optimal solution of this problem. WLOG let
B = [ã1 , . . . , ãm ] be a basis matrix corresponding to x0 ,
hence a set of basic variables of x0 are x1 , . . . , xm .
Sensitivity Analysis:
Consider the problem (P),
Min cT x
subject to
Ax = b, x ≥ O.
Let x0 be an optimal solution of this problem. WLOG let
B = [ã1 , . . . , ãm ] be a basis matrix corresponding to x0 ,
hence a set of basic variables of x0 are x1 , . . . , xm .
Changing the cost vector c:
Sensitivity Analysis:
Consider the problem (P),
Min cT x
subject to
Ax = b, x ≥ O.
Let x0 be an optimal solution of this problem. WLOG let
B = [ã1 , . . . , ãm ] be a basis matrix corresponding to x0 ,
hence a set of basic variables of x0 are x1 , . . . , xm .
Changing the cost vector c:
If the new cj0 − zj0 ≥ 0 for all j = 1, . . . , n, then x0 will again
be optimal for the new problem.
Sensitivity Analysis:
Consider the problem (P),
Min cT x
subject to
Ax = b, x ≥ O.
Let x0 be an optimal solution of this problem. WLOG let
B = [ã1 , . . . , ãm ] be a basis matrix corresponding to x0 ,
hence a set of basic variables of x0 are x1 , . . . , xm .
Changing the cost vector c:
If the new cj0 − zj0 ≥ 0 for all j = 1, . . . , n, then x0 will again
be optimal for the new problem.
If not, then simplex algorithm can be used to get an optimal
solution for the new problem or to conclude that the new
problem has no optimal solution.
Changing the vector b:
If the vector b is changed to b0 , and if the basic solution
x00 = [(B −1 b0 )T , O1×(n−m) ]T corresponding to
x0 = [(B −1 b)T , O1×(n−m) ]T , is such that B −1 b0 ≥ O, then
x00 is optimal for the new problem.
Changing the vector b:
If the vector b is changed to b0 , and if the basic solution
x00 = [(B −1 b0 )T , O1×(n−m) ]T corresponding to
x0 = [(B −1 b)T , O1×(n−m) ]T , is such that B −1 b0 ≥ O, then
x00 is optimal for the new problem.
If B −1 b0 O, then the basic solution x00 is not feasible for
the changed problem.
Changing the vector b:
If the vector b is changed to b0 , and if the basic solution
x00 = [(B −1 b0 )T , O1×(n−m) ]T corresponding to
x0 = [(B −1 b)T , O1×(n−m) ]T , is such that B −1 b0 ≥ O, then
x00 is optimal for the new problem.
If B −1 b0 O, then the basic solution x00 is not feasible for
the changed problem.
yT = cTB B −1 belongs to Fea(D) ( since cj − zj ≥ 0, for all
j = 1, . . . , n).
Changing the vector b:
If the vector b is changed to b0 , and if the basic solution
x00 = [(B −1 b0 )T , O1×(n−m) ]T corresponding to
x0 = [(B −1 b)T , O1×(n−m) ]T , is such that B −1 b0 ≥ O, then
x00 is optimal for the new problem.
If B −1 b0 O, then the basic solution x00 is not feasible for
the changed problem.
yT = cTB B −1 belongs to Fea(D) ( since cj − zj ≥ 0, for all
j = 1, . . . , n).
Since yT satisfies yT ãj = zj = cj for j = 1, . . . , m,
it lies on m LI hyperplanes defining Fea(D), so y is an
extreme point of Fea(D).
Changing the vector b:
If the vector b is changed to b0 , and if the basic solution
x00 = [(B −1 b0 )T , O1×(n−m) ]T corresponding to
x0 = [(B −1 b)T , O1×(n−m) ]T , is such that B −1 b0 ≥ O, then
x00 is optimal for the new problem.
If B −1 b0 O, then the basic solution x00 is not feasible for
the changed problem.
yT = cTB B −1 belongs to Fea(D) ( since cj − zj ≥ 0, for all
j = 1, . . . , n).
Since yT satisfies yT ãj = zj = cj for j = 1, . . . , m,
it lies on m LI hyperplanes defining Fea(D), so y is an
extreme point of Fea(D).
The dual simplex algorithm can be used to either get an
optimal solution of the new problem or to conclude that
the new problem does not have a feasible solution.
Example : Consider the LPP given by
Max −x1 + 2x2
subject to
−x1 + x2 ≤ 1,
x1 + x2 ≤ 7,
x1 + 3x2 ≤ 15,
x1 , x2 ≥ 0.
Example : Consider the LPP given by
Max −x1 + 2x2
subject to
−x1 + x2 ≤ 1,
x1 + x2 ≤ 7,
x1 + 3x2 ≤ 15,
x1 , x2 ≥ 0.
Check that the optimal solution for the above problem is
given by [3, 4]T .
Example : Consider the LPP given by
Max −x1 + 2x2
subject to
−x1 + x2 ≤ 1,
x1 + x2 ≤ 7,
x1 + 3x2 ≤ 15,
x1 , x2 ≥ 0.
Check that the optimal solution for the above problem is
given by [3, 4]T .
If we convert the above problem to a problem with equality
constraints by adding (slack) variables, then it becomes
Example : Consider the LPP given by
Max −x1 + 2x2
subject to
−x1 + x2 ≤ 1,
x1 + x2 ≤ 7,
x1 + 3x2 ≤ 15,
x1 , x2 ≥ 0.
Check that the optimal solution for the above problem is
given by [3, 4]T .
If we convert the above problem to a problem with equality
constraints by adding (slack) variables, then it becomes
Max −x1 + 2x2
subject to
−x1 + x2 + s1 = 1,
x1 + x2 + s2 = 7,
x1 + 3x2 + s3 = 15,
x1 ≥ 0, x2 ≥ 0, s1 ≥ 0, s2 ≥ 0, s3 ≥ 0.
The optimal BFS [3, 4, 0, 0, 0]T is degenerate and
corresponds to three different basis matrix, [ã1 , ã2 , e1 ],
[ã1 , ã2 , e2 ] and [ã1 , ã2 , e3 ].
The tables corresponding to these three bases are given
by
The optimal BFS [3, 4, 0, 0, 0]T is degenerate and
corresponds to three different basis matrix, [ã1 , ã2 , e1 ],
[ã1 , ã2 , e2 ] and [ã1 , ã2 , e3 ].
The tables corresponding to these three bases are given
by
cj − zj
a˜1
a˜2
s1
0
0
0
B −1 a˜1
B −1 a˜2
B −1 e
0
0
1
1
5
2
−1
B e2
3
2
− 12
− 32
B −1 e3
− 12
2
-1
1
2
B −1 b
3
4
0
The optimal BFS [3, 4, 0, 0, 0]T is degenerate and
corresponds to three different basis matrix, [ã1 , ã2 , e1 ],
[ã1 , ã2 , e2 ] and [ã1 , ã2 , e3 ].
The tables corresponding to these three bases are given
by
cj − zj
0
0
0
B −1 a˜1
B −1 a˜2
B −1 e
5
2
−1
B e2
3
2
− 12
− 32
B −1 e3
− 12
B −1 b
0
3
a˜1
1
a˜2
0
4
2
s1
1
2
-1
0
Note that not all the cj − zj values in the above table are
nonpositive, but the above BFS is still optimal.
1
The optimal BFS [3, 4, 0, 0, 0]T is degenerate and
corresponds to three different basis matrix, [ã1 , ã2 , e1 ],
[ã1 , ã2 , e2 ] and [ã1 , ã2 , e3 ].
The tables corresponding to these three bases are given
by
cj − zj
0
0
0
B −1 a˜1
B −1 a˜2
B −1 e
5
2
−1
B e2
3
2
− 12
− 32
B −1 e3
− 12
B −1 b
0
3
a˜1
1
a˜2
0
4
2
s1
1
2
-1
0
Note that not all the cj − zj values in the above table are
nonpositive, but the above BFS is still optimal.
1
So the optimality condition, cj − zj ≥ 0 for all j, is a
sufficient condition but not a necessary condition for
the corresponding BFS to be optimal.
cj − zj
a˜1
a˜2
s2
0
0
B −1 a˜1
B −1 a˜2
− 54
B −1 e1
− 34
1
4
1
2
0
B −1 e2
0
0
1
− 14
B −1 e3
1
4
1
4
− 12
B −1 b
3
4
0
cj − zj
0
0
B −1 a˜1
B −1 a˜2
a˜1
a˜2
s2
cj − zj
a˜1
a˜2
s3
− 54
B −1 e1
− 34
1
4
1
2
0
0
B −1 a˜1
B −1 a˜2
0
B −1 e2
0
0
1
− 32
B −1 e1
− 12
− 12
B −1 e2
1
2
1
2
1
2
-1
-2
− 14
B −1 e3
1
4
1
4
− 12
B −1 b
3
4
0
0
B −1 e3
0
0
1
B −1 b
3
4
0
The dual of the above problem is given by
Min y1 + 7y2 + 15y3
subject to
−y1 + y2 + y3 ≥ −1,
y1 + y2 + 3y3 ≥ 2,
y1 ≥ 0, y2 ≥ 0, y3 ≥ 0.
The dual of the above problem is given by
Min y1 + 7y2 + 15y3
subject to
−y1 + y2 + y3 ≥ −1,
y1 + y2 + 3y3 ≥ 2,
y1 ≥ 0, y2 ≥ 0, y3 ≥ 0.
The optimal solutions of the Dual obtained from the optimal
tables are given by:
yT = cTB B −1 = cTB B −1 [e1 , e2 , e3 ] = [zs1 , zs2 , zs3 ]
where zsi is the zj value corresponding to the slack variable
si .
The dual of the above problem is given by
Min y1 + 7y2 + 15y3
subject to
−y1 + y2 + y3 ≥ −1,
y1 + y2 + 3y3 ≥ 2,
y1 ≥ 0, y2 ≥ 0, y3 ≥ 0.
The optimal solutions of the Dual obtained from the optimal
tables are given by:
yT = cTB B −1 = cTB B −1 [e1 , e2 , e3 ] = [zs1 , zs2 , zs3 ]
where zsi is the zj value corresponding to the slack variable
si .
[ 45 , 0, 14 ]T and [ 32 , 12 , 0]T , are both optimal solutions of the
Dual as well as extreme points of Fea(D).
The dual of the above problem is given by
Min y1 + 7y2 + 15y3
subject to
−y1 + y2 + y3 ≥ −1,
y1 + y2 + 3y3 ≥ 2,
y1 ≥ 0, y2 ≥ 0, y3 ≥ 0.
The optimal solutions of the Dual obtained from the optimal
tables are given by:
yT = cTB B −1 = cTB B −1 [e1 , e2 , e3 ] = [zs1 , zs2 , zs3 ]
where zsi is the zj value corresponding to the slack variable
si .
[ 45 , 0, 14 ]T and [ 32 , 12 , 0]T , are both optimal solutions of the
Dual as well as extreme points of Fea(D).
The dual has infinitely many optimal solutions.
If we convert the dual problem into a problem with equality
constraints by adding (surplus) variables then we get
If we convert the dual problem into a problem with equality
constraints by adding (surplus) variables then we get
Min y1 + 7y2 + 15y3
subject to
−y1 + y2 + y3 − s10 = 1,
y1 + y2 + 3y3 − s20 = 2,
y1 ≥ 0, y2 ≥ 0, y3 ≥ 0, s10 ≥ 0, s20 ≥ 0.
If we convert the dual problem into a problem with equality
constraints by adding (surplus) variables then we get
Min y1 + 7y2 + 15y3
subject to
−y1 + y2 + y3 − s10 = 1,
y1 + y2 + 3y3 − s20 = 2,
y1 ≥ 0, y2 ≥ 0, y3 ≥ 0, s10 ≥ 0, s20 ≥ 0.
The BFS corresponding to the extreme point [ 54 , 0, 14 ]T of
the Dual will have basic variables as y1 , y3 .
If we convert the dual problem into a problem with equality
constraints by adding (surplus) variables then we get
Min y1 + 7y2 + 15y3
subject to
−y1 + y2 + y3 − s10 = 1,
y1 + y2 + 3y3 − s20 = 2,
y1 ≥ 0, y2 ≥ 0, y3 ≥ 0, s10 ≥ 0, s20 ≥ 0.
The BFS corresponding to the extreme point [ 54 , 0, 14 ]T of
the Dual will have basic variables as y1 , y3 .
The BFS corresponding to the extreme point [ 32 , 12 , 0]T
have basic variables as y1 , y2 .
The table corresponding to these basic feasible solutions
will be given by (check this)
cj − zj
0
0
0
3
4
B −1 a˜01 B −1 a˜02 B −1 ã0 3 B −1 (−e1 ) B −1 (−e2 )
a˜01
− 12
a˜02
− 12
B −1
3
2
1
2
The table corresponding to these basic feasible solutions
will be given by (check this)
cj − zj
0
0
0
3
4
B −1 a˜01 B −1 a˜02 B −1 ã0 3 B −1 (−e1 ) B −1 (−e2 )
a˜01
− 12
a˜02
− 12
cj − zj
a˜01
a˜03
0
0
0
3
4
B −1 a˜01
B −1 a˜02
B −1 ã0
B −1 (−e1 )
B −1 (−e2 )
− 14
− 14
3
B −1
3
2
1
2
B −1
5
4
1
4
The table corresponding to these basic feasible solutions
will be given by (check this)
cj − zj
0
0
0
3
4
B −1 a˜01 B −1 a˜02 B −1 ã0 3 B −1 (−e1 ) B −1 (−e2 )
a˜01
− 12
a˜02
− 12
cj − zj
0
0
0
3
4
B −1 a˜01
B −1 a˜02
B −1 ã0
B −1 (−e1 )
B −1 (−e2 )
− 14
− 14
3
a˜01
a˜03
Here ã0 i gives the columns corresponding to the variables
yi , i = 1, 2, 3 in the dual constraints, when the constraints
are written in the greater than equal to form.
B −1
3
2
1
2
B −1
5
4
1
4
The primal optimal table and the corresponding dual table:
cj − zj
0
0
− 45
0
− 41
−1
−1
−1
−1
B a˜1 B a˜2 B e1 B e2 B −1 e3 B −1 b
1
a˜1
− 43
0
3
4
1
1
a˜2
0
4
4
4
1
1
s2
1
−2
0
2
The primal optimal table and the corresponding dual table:
cj − zj
0
0
− 45
0
− 41
−1
−1
−1
−1
B a˜1 B a˜2 B e1 B e2 B −1 e3 B −1 b
1
a˜1
− 43
0
3
4
1
1
a˜2
0
4
4
4
1
1
s2
1
−2
0
2
cj − zj
0
0
0
3
B −1 a˜01
B −1 a˜02
B −1 ã0
B −1 (−e1 )
4
B −1 (−e2 ) B −1 b
3
5
a˜01
− 14
4
1
a˜03
− 14
4
The basic variables in the BFS of the primal are x1 , x2 , s2 the
corresponding variables s10 , s20 , y2 are nonbasic in the Dual’s
BFS.
The nonbasic variables in the BFS of the primal are s1 , s3 the
corresponding variables y1 , y3 are basic in the Dual’s BFS.
The primal optimal table and the corresponding dual table:
cj − zj
0
0
− 23
− 21
0
−1
−1
−1
B a˜1 B a˜2 B e1 B −1 e2 B −1 e3 B −1 b
1
a˜1
− 21
0
3
2
1
1
a˜2
0
4
2
2
s3
-1
-2
1
0
The primal optimal table and the corresponding dual table:
cj − zj
0
0
− 23
− 21
0
−1
−1
−1
B a˜1 B a˜2 B e1 B −1 e2 B −1 e3 B −1 b
1
a˜1
− 21
0
3
2
1
1
a˜2
0
4
2
2
s3
-1
-2
1
0
cj − zj
0
0
0
3
B −1 a˜01
B −1 a˜02
B −1 ã0
B −1 (−e1 )
4
B −1 (−e2 ) B −1 b
3
3
a˜01
− 12
2
1
1
a˜02
−2
2
The basic variables in the BFS of the primal are x1 , x2 , s3 the
corresponding variables s10 , s20 , y3 are nonbasic in the Dual’s
BFS.
The nonbasic variables in the BFS of the primal are s1 , s2 the
corresponding variables y1 , y2 are basic in the Dual’s BFS.
Suppose if the RHS of the primal problem corresponding
to the third constraint is changed from 15 to 14, then which
basis among the three mentioned above, will correspond to
the new optimal solution?
Suppose if the RHS of the primal problem corresponding
to the third constraint is changed from 15 to 14, then which
basis among the three mentioned above, will correspond to
the new optimal solution?
The new problem is given as following:
Max −x1 + 2x2
subject to
−x1 + x2 + s1 = 1,
x1 + x2 + s2 = 7,
x1 + 3x2 + s3 = 14,
x1 ≥ 0, x2 ≥ 0, s1 ≥ 0, s2 ≥ 0, s3 ≥ 0.
Suppose if the RHS of the primal problem corresponding
to the third constraint is changed from 15 to 14, then which
basis among the three mentioned above, will correspond to
the new optimal solution?
The new problem is given as following:
Max −x1 + 2x2
subject to
−x1 + x2 + s1 = 1,
x1 + x2 + s2 = 7,
x1 + 3x2 + s3 = 14,
x1 ≥ 0, x2 ≥ 0, s1 ≥ 0, s2 ≥ 0, s3 ≥ 0.
Note that the BFS corresponding to the basis [ã1 , ã2 , e1 ],
should have s2 = s3 = 0 hence should lie at the
intersection of the two lines
x1 + x2 = 7, and x1 + 3x2 = 14
Suppose if the RHS of the primal problem corresponding
to the third constraint is changed from 15 to 14, then which
basis among the three mentioned above, will correspond to
the new optimal solution?
The new problem is given as following:
Max −x1 + 2x2
subject to
−x1 + x2 + s1 = 1,
x1 + x2 + s2 = 7,
x1 + 3x2 + s3 = 14,
x1 ≥ 0, x2 ≥ 0, s1 ≥ 0, s2 ≥ 0, s3 ≥ 0.
Note that the BFS corresponding to the basis [ã1 , ã2 , e1 ],
should have s2 = s3 = 0 hence should lie at the
intersection of the two lines
x1 + x2 = 7, and x1 + 3x2 = 14
and is given by x1 = 72 , x2 = 27 . Hence s1 = 1.
Suppose if the RHS of the primal problem corresponding
to the third constraint is changed from 15 to 14, then which
basis among the three mentioned above, will correspond to
the new optimal solution?
The new problem is given as following:
Max −x1 + 2x2
subject to
−x1 + x2 + s1 = 1,
x1 + x2 + s2 = 7,
x1 + 3x2 + s3 = 14,
x1 ≥ 0, x2 ≥ 0, s1 ≥ 0, s2 ≥ 0, s3 ≥ 0.
Note that the BFS corresponding to the basis [ã1 , ã2 , e1 ],
should have s2 = s3 = 0 hence should lie at the
intersection of the two lines
x1 + x2 = 7, and x1 + 3x2 = 14
and is given by x1 = 72 , x2 = 27 . Hence s1 = 1.
The corresponding BFS is [ 72 , 27 , 1, 0, 0]T , which is a
nondegenerate BFS.
Since all the cj − zj values are not ≤ 0, so by entering s2
into the basis one can get a BFS with better value of the
objective function.
Hence this BFS is not optimal.
Since all the cj − zj values are not ≤ 0, so by entering s2
into the basis one can get a BFS with better value of the
objective function.
Hence this BFS is not optimal.
The BFS corresponding to the basis [ã1 , ã2 , e2 ], should
have s1 = s3 = 0, should lie at the intersection of the two
lines
−x1 + x2 = 1, and x1 + 3x2 = 14
Since all the cj − zj values are not ≤ 0, so by entering s2
into the basis one can get a BFS with better value of the
objective function.
Hence this BFS is not optimal.
The BFS corresponding to the basis [ã1 , ã2 , e2 ], should
have s1 = s3 = 0, should lie at the intersection of the two
lines
−x1 + x2 = 1, and x1 + 3x2 = 14
15
1
and is given by x1 = 11
4 , x2 = 4 . Hence s2 = 2 .
Since all the cj − zj values are not ≤ 0, so by entering s2
into the basis one can get a BFS with better value of the
objective function.
Hence this BFS is not optimal.
The BFS corresponding to the basis [ã1 , ã2 , e2 ], should
have s1 = s3 = 0, should lie at the intersection of the two
lines
−x1 + x2 = 1, and x1 + 3x2 = 14
15
1
and is given by x1 = 11
4 , x2 = 4 . Hence s2 = 2 .
15
1
T
The corresponding BFS is [ 11
4 , 4 , 0, 2 , 0] , a
nondegenerate BFS.
Since all the cj − zj values are not ≤ 0, so by entering s2
into the basis one can get a BFS with better value of the
objective function.
Hence this BFS is not optimal.
The BFS corresponding to the basis [ã1 , ã2 , e2 ], should
have s1 = s3 = 0, should lie at the intersection of the two
lines
−x1 + x2 = 1, and x1 + 3x2 = 14
15
1
and is given by x1 = 11
4 , x2 = 4 . Hence s2 = 2 .
15
1
T
The corresponding BFS is [ 11
4 , 4 , 0, 2 , 0] , a
nondegenerate BFS.
Since cj − zj ≤ 0 for all j = 1, . . . , n, so this BFS is optimal
solution for the new problem.
The basic solution corresponding to the basis [ã1 , ã2 , e3 ],
should have s1 = s2 = 0 hence should lie at the
intersection of the two lines
−x1 + x2 = 1, and x1 + x2 = 7
and is given by x1 = 3, x2 = 4 which implies s3 = −1.
The basic solution corresponding to the basis [ã1 , ã2 , e3 ],
should have s1 = s2 = 0 hence should lie at the
intersection of the two lines
−x1 + x2 = 1, and x1 + x2 = 7
and is given by x1 = 3, x2 = 4 which implies s3 = −1.
The corresponding basic solution is [3, 4, 0, 0, −1]T which
is not feasible for the new problem.
The basic solution corresponding to the basis [ã1 , ã2 , e3 ],
should have s1 = s2 = 0 hence should lie at the
intersection of the two lines
−x1 + x2 = 1, and x1 + x2 = 7
and is given by x1 = 3, x2 = 4 which implies s3 = −1.
The corresponding basic solution is [3, 4, 0, 0, −1]T which
is not feasible for the new problem.
Will the new dual now have a unique optimal solution or
will it again have infinitely many optimal solutions?
Dual Simplex Algorithm :
Consider the following LP problem (P) :
Min cT x
subject to Am×n x = b, x ≥ O.
Dual Simplex Algorithm :
Consider the following LP problem (P) :
Min cT x
subject to Am×n x = b, x ≥ O.
Let x0 be a basic solution of (P) corresponding to a basis
matrix B, such that B −1 b O.
Dual Simplex Algorithm :
Consider the following LP problem (P) :
Min cT x
subject to Am×n x = b, x ≥ O.
Let x0 be a basic solution of (P) corresponding to a basis
matrix B, such that B −1 b O.
The cj ’s are such that all cj − zj values in the simplex table
corresponding to x0 are non negative.
Dual Simplex Algorithm :
Consider the following LP problem (P) :
Min cT x
subject to Am×n x = b, x ≥ O.
Let x0 be a basic solution of (P) corresponding to a basis
matrix B, such that B −1 b O.
The cj ’s are such that all cj − zj values in the simplex table
corresponding to x0 are non negative.
Then y given by yT = cTB B −1 is feasible for the Dual.
Dual Simplex Algorithm :
Consider the following LP problem (P) :
Min cT x
subject to Am×n x = b, x ≥ O.
Let x0 be a basic solution of (P) corresponding to a basis
matrix B, such that B −1 b O.
The cj ’s are such that all cj − zj values in the simplex table
corresponding to x0 are non negative.
Then y given by yT = cTB B −1 is feasible for the Dual.
In this case the Dual Simplex Method is used to get an
optimal solution of (P) or to conclude that (P) does not
have a feasible solution.
Take xr to be the leaving basic variable if
(B −1 b)r = min{(B −1 b)j : (B −1 b)j < 0}.
Take xr to be the leaving basic variable if
(B −1 b)r = min{(B −1 b)j : (B −1 b)j < 0}.
Case 1: urj ≥ 0 for all j = 1, 2, ..., n.
Then the primal (P) does not have a feasible solution.
Take xr to be the leaving basic variable if
(B −1 b)r = min{(B −1 b)j : (B −1 b)j < 0}.
Case 1: urj ≥ 0 for all j = 1, 2, ..., n.
Then the primal (P) does not have a feasible solution.
(−B −1 )r . is a direction for Fea(D).
Take xr to be the leaving basic variable if
(B −1 b)r = min{(B −1 b)j : (B −1 b)j < 0}.
Case 1: urj ≥ 0 for all j = 1, 2, ..., n.
Then the primal (P) does not have a feasible solution.
(−B −1 )r . is a direction for Fea(D).
If we denote (−B −1 )r . as dT0 ,
−(B −1 b)r = dT0 b > 0.
Take xr to be the leaving basic variable if
(B −1 b)r = min{(B −1 b)j : (B −1 b)j < 0}.
Case 1: urj ≥ 0 for all j = 1, 2, ..., n.
Then the primal (P) does not have a feasible solution.
(−B −1 )r . is a direction for Fea(D).
If we denote (−B −1 )r . as dT0 ,
−(B −1 b)r = dT0 b > 0.
Since the Dual is a maximization problem it follows that the
Dual does not have an optimal solution.
Take xr to be the leaving basic variable if
(B −1 b)r = min{(B −1 b)j : (B −1 b)j < 0}.
Case 1: urj ≥ 0 for all j = 1, 2, ..., n.
Then the primal (P) does not have a feasible solution.
(−B −1 )r . is a direction for Fea(D).
If we denote (−B −1 )r . as dT0 ,
−(B −1 b)r = dT0 b > 0.
Since the Dual is a maximization problem it follows that the
Dual does not have an optimal solution.
Hence the primal problem (P) does not have a feasible
solution.
Case 2 : urj < 0 for atleast one j = 1, 2, ..., n.
Case 2 : urj < 0 for atleast one j = 1, 2, ..., n.
Then xs is the entering variable if
|cj −zj |
|cs −zs |
|urs | = minj { |urj | : urj < 0}.
So the pivot element is urs .
Case 2 : urj < 0 for atleast one j = 1, 2, ..., n.
Then xs is the entering variable if
|cj −zj |
|cs −zs |
|urs | = minj { |urj | : urj < 0}.
So the pivot element is urs .
The table is updated by performing the necessary
elementary row operations.
Case 2 : urj < 0 for atleast one j = 1, 2, ..., n.
Then xs is the entering variable if
|cj −zj |
|cs −zs |
|urs | = minj { |urj | : urj < 0}.
So the pivot element is urs .
The table is updated by performing the necessary
elementary row operations.
The new column corresponding to ãs in the table is the r th
column of Im and new cs − zs0 = 0.
Case 2 : urj < 0 for atleast one j = 1, 2, ..., n.
Then xs is the entering variable if
|cj −zj |
|cs −zs |
|urs | = minj { |urj | : urj < 0}.
So the pivot element is urs .
The table is updated by performing the necessary
elementary row operations.
The new column corresponding to ãs in the table is the r th
column of Im and new cs − zs0 = 0.
s
urj .
New cj − zj0 = cj − zj − csu−z
rs
If x0 is the new basic solution of the primal (P) and y0 be
the corresponding feasible solution of the Dual, then
bT y0 = cT x0 = cT x + (cs − zs ) uxrsr ≥ cT x = bT y.
If x0 is the new basic solution of the primal (P) and y0 be
the corresponding feasible solution of the Dual, then
bT y0 = cT x0 = cT x + (cs − zs ) uxrsr ≥ cT x = bT y.
Since the Dual is a maximization problem so y0 is a better
solution with respect to cost (or the objective function) than
y.
If x0 is the new basic solution of the primal (P) and y0 be
the corresponding feasible solution of the Dual, then
bT y0 = cT x0 = cT x + (cs − zs ) uxrsr ≥ cT x = bT y.
Since the Dual is a maximization problem so y0 is a better
solution with respect to cost (or the objective function) than
y.
If the new basic solution x0 is non negative, then x0 is an
optimal BFS of (P).
If x0 is the new basic solution of the primal (P) and y0 be
the corresponding feasible solution of the Dual, then
bT y0 = cT x0 = cT x + (cs − zs ) uxrsr ≥ cT x = bT y.
Since the Dual is a maximization problem so y0 is a better
solution with respect to cost (or the objective function) than
y.
If the new basic solution x0 is non negative, then x0 is an
optimal BFS of (P).
If not repeat the procedure till you get a BFS and hence an
optimal solution of (P) or conclude that (P) has no feasible
solution.
In case (P) is Max cT x
subject to Am×n x = b, x ≥ O.
Then Dual of (P) is given by
Min bT x
subject to ATn×m y ≥ c.
Case 1’: urj ≥ 0 for all j = 1, 2, ..., n.
Then the primal (P) does not have a feasible solution.
In case (P) is Max cT x
subject to Am×n x = b, x ≥ O.
Then Dual of (P) is given by
Min bT x
subject to ATn×m y ≥ c.
Case 1’: urj ≥ 0 for all j = 1, 2, ..., n.
Then the primal (P) does not have a feasible solution.
(B −1 )r . is a direction for Fea(D).
In case (P) is Max cT x
subject to Am×n x = b, x ≥ O.
Then Dual of (P) is given by
Min bT x
subject to ATn×m y ≥ c.
Case 1’: urj ≥ 0 for all j = 1, 2, ..., n.
Then the primal (P) does not have a feasible solution.
(B −1 )r . is a direction for Fea(D).
If we denote (B −1 )r . as dT0 ,
(B −1 b)r = dT0 b < 0.
In case (P) is Max cT x
subject to Am×n x = b, x ≥ O.
Then Dual of (P) is given by
Min bT x
subject to ATn×m y ≥ c.
Case 1’: urj ≥ 0 for all j = 1, 2, ..., n.
Then the primal (P) does not have a feasible solution.
(B −1 )r . is a direction for Fea(D).
If we denote (B −1 )r . as dT0 ,
(B −1 b)r = dT0 b < 0.
Since the Dual is a minimization problem it follows that the
Dual does not have an optimal solution.
In case (P) is Max cT x
subject to Am×n x = b, x ≥ O.
Then Dual of (P) is given by
Min bT x
subject to ATn×m y ≥ c.
Case 1’: urj ≥ 0 for all j = 1, 2, ..., n.
Then the primal (P) does not have a feasible solution.
(B −1 )r . is a direction for Fea(D).
If we denote (B −1 )r . as dT0 ,
(B −1 b)r = dT0 b < 0.
Since the Dual is a minimization problem it follows that the
Dual does not have an optimal solution.
Hence the primal problem (P) does not have a feasible
solution.
Case 2’ : urj < 0 for atleast one j = 1, 2, ..., n.
Case 2’ : urj < 0 for atleast one j = 1, 2, ..., n.
Then xs is the entering variable if
cj −zj
cs −zs
urs = minj { urj : urj < 0}.
So the pivot element is urs .
Case 2’ : urj < 0 for atleast one j = 1, 2, ..., n.
Then xs is the entering variable if
cj −zj
cs −zs
urs = minj { urj : urj < 0}.
So the pivot element is urs .
The table is updated by performing the necessary
elementary row operations.
Case 2’ : urj < 0 for atleast one j = 1, 2, ..., n.
Then xs is the entering variable if
cj −zj
cs −zs
urs = minj { urj : urj < 0}.
So the pivot element is urs .
The table is updated by performing the necessary
elementary row operations.
The new column corresponding to ãs in the table is the r th
column of Im and cs − zs0 = 0.
If x0 is the new basic solution of the primal (P) and y0 be
the corresponding feasible solution of the Dual, then
bT y0 = cT x0 = cT x + (cs − zs ) uxrsr ≤ cT x = bT y.
If x0 is the new basic solution of the primal (P) and y0 be
the corresponding feasible solution of the Dual, then
bT y0 = cT x0 = cT x + (cs − zs ) uxrsr ≤ cT x = bT y.
Since the Dual is a minimization problem so y0 is a better
solution with respect to cost (or the objective function) than
y.
If x0 is the new basic solution of the primal (P) and y0 be
the corresponding feasible solution of the Dual, then
bT y0 = cT x0 = cT x + (cs − zs ) uxrsr ≤ cT x = bT y.
Since the Dual is a minimization problem so y0 is a better
solution with respect to cost (or the objective function) than
y.
If the new basic solution x0 is non negative, then x0 is an
optimal BFS of (P).
If x0 is the new basic solution of the primal (P) and y0 be
the corresponding feasible solution of the Dual, then
bT y0 = cT x0 = cT x + (cs − zs ) uxrsr ≤ cT x = bT y.
Since the Dual is a minimization problem so y0 is a better
solution with respect to cost (or the objective function) than
y.
If the new basic solution x0 is non negative, then x0 is an
optimal BFS of (P).
If not repeat the procedure till you get a BFS and hence an
optimal solution of (P) or conclude that (P) has no feasible
solution.
Max −3x1 + 2x2
subject to
−x1 + x2 + s1 = 1,
x1 + x2 + s2 = 7,
x1 + 3x2 + s3 = 15,
x1 ≥ 0, x2 ≥ 0, s1 ≥ 0, s2 ≥ 0, s3 ≥ 0.
Max −3x1 + 2x2
subject to
−x1 + x2 + s1 = 1,
x1 + x2 + s2 = 7,
x1 + 3x2 + s3 = 15,
x1 ≥ 0, x2 ≥ 0, s1 ≥ 0, s2 ≥ 0, s3 ≥ 0.
The table corresponding to the basic solution with x1 = −1
and x2 = 0 is given by
Max −3x1 + 2x2
subject to
−x1 + x2 + s1 = 1,
x1 + x2 + s2 = 7,
x1 + 3x2 + s3 = 15,
x1 ≥ 0, x2 ≥ 0, s1 ≥ 0, s2 ≥ 0, s3 ≥ 0.
The table corresponding to the basic solution with x1 = −1
and x2 = 0 is given by
cj − zj
B −1 a˜1
a˜1
s2
s3
-1
-3
B −1 a˜2
B −1 e
-1
2
4
-1
1
1
1
B −1 e2
B −1 e3
B −1 b
-1
8
16
According to the Dual Simplex method, x1 is the leaving
variable, since (B −1 b)1 < 0 and (B −1 b)2 > 0, (B −1 b)3 > 0.
According to the Dual Simplex method, x1 is the leaving
variable, since (B −1 b)1 < 0 and (B −1 b)2 > 0, (B −1 b)3 > 0.
Also since in the row corresponding to the leaving variable,
only two entries are negative, u12 , and u13 and
c3 −z3
c2 −z2
u12 = 1 < u13 = 3, hence the entering variable is x2
and the pivot is u12 , where uij ’s have their usual meaning.
According to the Dual Simplex method, x1 is the leaving
variable, since (B −1 b)1 < 0 and (B −1 b)2 > 0, (B −1 b)3 > 0.
Also since in the row corresponding to the leaving variable,
only two entries are negative, u12 , and u13 and
c3 −z3
c2 −z2
u12 = 1 < u13 = 3, hence the entering variable is x2
and the pivot is u12 , where uij ’s have their usual meaning.
After doing the necessary elementary row operations we
get the following table :
cj − zj
a˜2
s2
s3
-1
0
-2
B −1 a˜1
B −1 a˜2
B −1 e
-1
2
4
1
0
0
1
-1
-3
1
B −1 e2
B −1 e3
B −1 b
1
6
12
cj − zj
-1
0
-2
B −1 a˜1
B −1 a˜2
B −1 e
B −1 b
a˜2
-1
1
1
1
s2
2
0
-1
6
s3
4
0
-3
12
Hence an optimal solution of the primal is given by, x2 = 1
and x1 = 0.
The optimal solution of the Dual is given by,
y1 = 2, y2 = 0, y3 = 0,
where the Dual is given by:
Min y1 + 7y2 + 15y3
subject to
−y1 + y2 + y3 ≥ −3,
y1 + y2 + 3y3 ≥ 2,
y1 ≥ 0, y2 ≥ 0, y3 ≥ 0.
1
B −1 e2
B −1 e3
0
You can add this document to your study collection(s)
Sign in Available only to authorized usersYou can add this document to your saved list
Sign in Available only to authorized users(For complaints, use another form )