Handling Upper Bounds in Simplex

Consider the linear programming problem

Could introduce slack variables s to get standard form:

Instead, modify the pivot rules and work with the original tableau.

A variable can be nonbasic at either its lower bound or its upper bound.

If it is at its upper bound, it can enter the basis if its reduced cost is positive. The variable will be decreased.

in the minimum ratio test, ensure that no variable exceeds its upper bound.

Example

Have basic feasible solution:

Nonbasics:
x3=0, x4=1
Basics:
x1=3, x2=3. Note how x4 impacts these values.

Since x4 is at its upper bound and has a negative reduced cost, we don't bring x4 into the basis. Instead, x3 enters the basis.

Calculate the simplex direction:
We are increasing x3, so the changes in the basic variables are given by the negatives of the entries in the x3 column of the tableau. Direction is

Minimum Ratio Test

Taking a step of length t in the simplex direction gives a new point:

Need to keep x within its bounds.

x1 is decreasing. Need to keep .

x2 is increasing. Need to keep .

x3 is increasing. Need to keep .

So choose t=1. x2 leaves the basis at its upper bound.

Tableaus

1.

Initial value of objective is z=0-3(1)=-3.

x3 enters the basis. By the minimum ratio test, x2 leaves the basis at its upper bound.

2.

Value of objective is z=2-2(4)-1(1)=-5.

x4 enters the basis and decreases. Thus, x1 decreases and x3 increases.

The value of the minimum ratio for the basic variables is 2.

The incoming basic variable also provides an upper bound on the maximum possible step length. Since we require , the step length must be .

Thus, the pivot is to keep x4 nonbasic, but switch it from being nonbasic at its upper bound to nonbasic at its lower bound.

3.

This tableau is in optimal form.

Optimal value of objective is z=2-2(4)=-6.

x2 is at its upper bound, and decreasing x2 will increase the objective function value.

x4 is at its lower bound, and increasing x4 will increase the objective function value.

John E. Mitchell
2004-10-01