Docsity

Two-Phase Simplex Method: Eliminating Artificial Variables and Finding Optimal Solutions, Summaries of Mathematics

Toggle sidebar
bg1
32
3-3 Two – Phase Method
The process of eliminating artificial variables is performed in phase-
I of the solution and phase-II is used to get an optimal solution. Since the
solution of LPP is computed in two phases, it is called as Two- Phase
Simplex Method.
Phase I – in this phase, the simplex method is applied to a specially
constructed auxiliary linear programming problem leading to a final
simplex table containing a basic feasible solution to the original problem.
Step 1- assign a cost 1 to each artificial variable and a cost 0 to all
other variables in the objective function.
Step 2- construct the auxiliary LPP in which the new objective
function z* is to be maximized subject to the given set of constraints.
Step 3- solve the auxiliary problem by simplex method until either
of the following three possibilities do arise.
i. Max z* < 0 and at least one artificial vector appear in the optimum
basic at a positive level (∆j ≥ 0). In this case, given problem does not
possess any feasible solution.
ii. Max z* =0 and at least one artificial vector appears in the optimum
basis at a zero level. In this case proceed to phase- II.
iii. Max z* =0 and no artificial vector appears in the optimum basis. In
this case also proceed to phase- II.
Phase II- now assign the actual cost to the variables in the objective
function and a zero cost to every artificial variable that appears in the basis
at the zero level. This new objective function is now maximized by simplex
method subject to the given constraints.
pf3
pf4
pf5

Partial preview of the text

Download Two-Phase Simplex Method: Eliminating Artificial Variables and Finding Optimal Solutions and more Summaries Mathematics in PDF only on Docsity!

3-3 Two – Phase Method

The process of eliminating artificial variables is performed in phase-

I of the solution and phase-II is used to get an optimal solution. Since the

solution of LPP is computed in two phases, it is called as Two- Phase

Simplex Method.

Phase I – in this phase, the simplex method is applied to a specially

constructed auxiliary linear programming problem leading to a final

simplex table containing a basic feasible solution to the original problem.

Step 1 - assign a cost 1 to each artificial variable and a cost 0 to all

other variables in the objective function.

Step 2 - construct the auxiliary LPP in which the new objective

function z* is to be maximized subject to the given set of constraints.

Step 3 - solve the auxiliary problem by simplex method until either

of the following three possibilities do arise.

i. Max z* < 0 and at least one artificial vector appear in the optimum

basic at a positive level (∆j ≥ 0). In this case, given problem does not

possess any feasible solution.

ii. Max z* =0 and at least one artificial vector appears in the optimum

basis at a zero level. In this case proceed to phase- II.

iii. Max z* =0 and no artificial vector appears in the optimum basis. In

this case also proceed to phase- II.

Phase II - now assign the actual cost to the variables in the objective

function and a zero cost to every artificial variable that appears in the basis

at the zero level. This new objective function is now maximized by simplex

method subject to the given constraints.

Simplex method is applied to the modified simplex table obtained at

the end of phase- I, until an optimum basic feasible solution has been

attained. The artificial variables which are non- basic at the end of phase-I

are removed.

Ex

Max z= 3x1-x

S.T

2x1 + x2 ≥ 2

X1+3x2≤ 2

X2≤ 4

X1 ≥ 0, X2 ≥ 0

Max Z =3X1-X

Subject to

2x1+x2-S1+R1=

X1+3X2+S2=

X2+S3=

X1,X2,S1,S2,S3,R1≥ 0

Phase I

Cj 0 0 0 0 0 1 Basic var X1 X2 s1 s2 s3 R 1 SOL R 1 - 1 S2 0 S3 0

Z - 2 - 1 1 0 0 0 - 2

x S 2 S 3 1 1/2 - 1/2 0 0 x 0 5/2 1/2 1 0 x 0 1 0 0 1 x

Z 0 0 0 0 0 x 0

Solution

Standard LPP

Max Z=5X1+8X

subject to

3X1+2X2-S1+R1=

X1+4X2-S2+R2= 4

X1+X2+S3=

X1,X2,S1,S2,S3,R1,R2≥ 0

Max Z*=0X1+0X2+0S1+0S2+0S3-1R1-1R

subject to

3X1+2X2-S1+R1=

X1+4X2-S2+R2=

X1+X2+S3=

X1,X2,S1,S2,S3,R1,R2≥ 0

Phase I

Cj 0 0 0 0 0 1 1 Basic var X1 X2 S1 S2 S 3 R1 R2 SOL R 1 - 1 R 2 - 1 S

Z - 4 - 6 1 1 0 0 0 - 7

R 1

X

S 3

5/2 0 - 1 1/2 0 1 X

1/4 1 0 - 1/4 0 0 X

3/4 0 0 1/4 1 0 X

Z - 5/2 0 1 - 1/2 0 0 X - 1

X

X

S

1 0 - 2/5 1/5 0 X X

0 1 1/10 - 3/10 0 X X

0 0 3/10 1/10 1 X X

Z*=0 0 0 0 0 0 0 X 0

Since all 𝑍 ≥ 0 max z*=0 and no artificial vector appears in the basis, we

proceed to phase II.