Exercise 3.17

Solve completely (i.e., both Phase I and Phase II) via the simplex method the following problem:

 minimize  2x1 + 3x2 + 3x3 + x4 2x5  subject to x1 + 3x2 + 4x4 + x5 = 2 x1 + 2x2 3x4 + x5 = 2 x1 4x2 + 3x3 = 1 x1,,x5 0

Answers

We follow the procedure from page 113.

Phase I. In order to find a feasible solution, we form the auxiliary problem

 minimize  x6 + x7 + x8  subject to  x1 + 3x2 + 4x4 + x5 + x6 = 2 x1 + 2x2 3x4 + x5 + x7 = 2 x1 4x2 + 3x3 + x8 = 1 x1,,x5,x6,x7,x8 0.

A basic feasible solution to the auxiliary problem is obtained by letting (x6,x7,x8) := b = (2,2,1). The corresponding basis matrix is the identity. We build the following tableau:

cBxB c1 cBB1A1 cn cBB1An cn+1 cBB1e1 cn+m cBB1em
xB(1) = b1
       
B1A1 B1An I
       
xB(m) = bm

For the auxiliary problem, we have cB = (1,1,1), while the costs for the rest of variables are ci = 0, i = 1,,n. Evaluating the reduced costs for each one of the original variables xi, we obtain ci cBAi = (1,1,1)Ai. Thus, the initial auxiliary tableau is:

x1 x2 x3 x4 x5 x6 x7 x8
5 1 1 3 1 2 0 0 0
x 6 = 2 1 3 0 4 1 1 0 0
x7 = 2 1 2 0 3 1 0 1 0
x8 = 1 1 4 3 0 0 0 0 1

We choose x3 to enter the basis and x8 to exit the basis. To get the pivot element to become one and all other entries of the pivot column to become zero, we add the pivot row to the zeroth row and divide the pivot row by the pivot element 3.

x1 x2 x3 x4 x5 x6 x7 x8
4 2 5 0 1 2 0 0 1
x 6 = 2 1 3 0 4 1 1 0 0
x7 = 2 1 2 0 3 1 0 1 0
x3 = 1 3 1 3 4 3 1 0 0 0 0 1 3

Now let x1 enter the basis and x6 exit the basis. Repeating the procedure, we add double the pivot row to the zeroth row and one-third of the pivot row to the third row:

x1 x2 x3 x4 x5 x6 x7 x8
0 0 1 0 7 0 2 0 1
x 1 = 2 1 3 0 4 1 1 0 0
x7 = 0 0 1 0 7 0 1 1 0
x3 = 1 0 1 3 1 4 3 1 3 1 3 0 1 3

Now let x2 enter and x7 exit. Again, to get the pivot element to become one and all other entries of the pivot column to become zero, add the pivot row to the zeroth row; add the three times of the pivot row to the first row; subtract one-third of the pivot row from the third row; finally, multiply the pivot row by 1. The resulting tableau is:

x1 x2 x3 x4 x5 x6 x7 x8
0 0 0 0 0 0 1 1 1
x 1 = 2 1 0 0 17 1 2 3 0
x2 = 0 0 1 0 7 0 1 1 0
x3 = 1 0 0 1 11 3 1 3 2 3 1 3 1 3

Note that the cost of the auxiliary problem has dropped to zero, indicating that we have a feasible solution to the original problem. Since we have removed all of the artificial variables as well, we can move on to the second phase.

Phase II. From the previous part we deduce the following initial tableau for the original problem:

x1 x2 x3 x4 x5
7 0 0 0 3 5
x1 = 2 1 0 0 17 1
x2 = 0 0 1 0 7 0
x3 = 1 0 0 1 11 3 1 3

We start the simplex search. Choose x5 to exit the basis and x1 to enter. To do so, add five times the pivot row to the zeroth row and subtract one-third of the pivot row from the third row:

x1 x2 x3 x4 x5
3 5 0 0 82 0
x 5 = 2 1 0 0 17 1
x2 = 0 0 1 0 7 0
x3 = 1 3 1 3 0 1 28 3 0

Now x2 exits and x4 enters. We add 82 7 times pivot row to the zeroth row, 17 7 times pivot row to the first row, and subtract 4 3 of the pivot row from the third row:

x1 x2 x3 x4 x5
3 5 82 7 0 0 0
      
x5 = 2 1 17 7 0 0 17
      
x4 = 0 0 1 7 0 1 0
      
x3 = 1 3 1 3 4 3 1 0 0

We have now reached the point x = (0,0, 1 3,0,2) and its optimality is confirmed by observing that all reduced costs at this point are nonnegative. The optimal cost is thus 3.

User profile picture
2022-03-10 11:23
Comments