170 likes | 494 Vues
Simplex Method for Bounded Variables. Linear programming problems with lower and upper bounds Generalizing simplex algorithm for bounded variables Reference: Chapter 5 in Bazaraa, Jarvis, and Sherali. LP Problems with Bounded Variables.
E N D
Simplex Method for Bounded Variables Linear programming problems with lower and upper bounds Generalizing simplex algorithm for bounded variables Reference: Chapter 5 in Bazaraa, Jarvis, and Sherali
LP Problems with Bounded Variables • In most practical Problems, variables are bounded from below as well as above: • We can handle the upper bound constraints implicitly and thus reduce the size of the basis matrix substationally.
Basic Feasible Solution Consider the system: Partition A into [B,N1,N2] such that B is an invertible matrix. We call it a basis structure. The basic solution corresponding to this basis structure is determined in the following manner: If for all , we say that the solution is a basic feasible solution.
Basic Feasible Solution (cont’d) • Consider the solution space given by: • Which is equivalent to:
Basic Feasible Solution (cont’d) Suppose that x2 and x4 are made basic variables, then: • Suppose we set x1=0 and x3=0. Then x2=5 and x4=-6. The resulting solution is not a basic feasible solution. • Suppose we set x1=4 and x3=0. Then x2=1 and x4=6, which is a basic feasible solution. In general, what is the maximum number of basic feasible solutions we can have?
Optimality Conditions for Minimization Problem Basic Feasible Solution: Optimality Conditions:
Handling Entering Variable • If the nonbasic variable entering the basis is at its lower bound, then its value is increased. • If the nonbasic variable entering the basis is at its upper bound, then its value is decreased. • The amount of increase or decrease is determined by the constraint that the values of all basic (and nonbasic) variables remains within their lower and upper bounds.
Example The initial simplex tableau: Entering variable: x2 Leaving variable: x5
Example (cont’d) Next tableau: Entering variable: x3 Leaving variable: x2
Example (cont’d) Next tableau: Entering variable: x1 Leaving variable: x4
Example (cont’d) Final tableau: The current solution is an optimal solution.