problems with bounded variables

Slides:



Advertisements
Similar presentations
Integer Linear Programming
Advertisements

Duality for linear programming. Illustration of the notion Consider an enterprise producing r items: f k = demand for the item k =1,…, r using s components:
SIMPLEX METHOD FOR LP LP Model.
Transportation Problem (TP) and Assignment Problem (AP)
The Simplex Method: Standard Maximization Problems
The Simplex Algorithm An Algorithm for solving Linear Programming Problems.
Operation Research Chapter 3 Simplex Method.
Design and Analysis of Algorithms
Finite Mathematics & Its Applications, 10/e by Goldstein/Schneider/SiegelCopyright © 2010 Pearson Education, Inc. 1 of 99 Chapter 4 The Simplex Method.
5.6 Maximization and Minimization with Mixed Problem Constraints
D Nagesh Kumar, IIScOptimization Methods: M3L4 1 Linear Programming Simplex method - II.
Chapter 4 The Simplex Method
LINEAR PROGRAMMING SIMPLEX METHOD.
The Simplex algorithm.
1. The Simplex Method.
Chapter 6 Linear Programming: The Simplex Method
8. Linear Programming (Simplex Method) Objectives: 1.Simplex Method- Standard Maximum problem 2. (i) Greedy Rule (ii) Ratio Test (iii) Pivot Operation.
Simplex Algorithm.Big M Method
Topic III The Simplex Method Setting up the Method Tabular Form Chapter(s): 4.
Barnett/Ziegler/Byleen Finite Mathematics 11e1 Learning Objectives for Section 6.4 The student will be able to set up and solve linear programming problems.
1 1 Slide © 2000 South-Western College Publishing/ITP Slides Prepared by JOHN LOUCKS.
Kerimcan OzcanMNGT 379 Operations Research1 Linear Programming: The Simplex Method Chapter 5.
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Solving Linear Programming Problems: The Simplex Method
Linear Programming Revised Simplex Method, Duality of LP problems and Sensitivity analysis D Nagesh Kumar, IISc Optimization Methods: M3L5.
3.3 Implementation (1) naive implementation (2) revised simplex method
1 Simplex Method for Bounded Variables Linear programming problems with lower and upper bounds Generalizing simplex algorithm for bounded variables Reference:
 Minimization Problem  First Approach  Introduce the basis variable  To solve minimization problem we simple reverse the rule that is we select the.
1 1 Slide © 2005 Thomson/South-Western Linear Programming: The Simplex Method n An Overview of the Simplex Method n Standard Form n Tableau Form n Setting.
Chapter 4 Linear Programming: The Simplex Method
Linear Programming Implementation. Linear Programming
Chapter 6 Linear Programming: The Simplex Method Section 4 Maximization and Minimization with Problem Constraints.
1 Network Models Transportation Problem (TP) Distributing any commodity from any group of supply centers, called sources, to any group of receiving.
1 THE REVISED SIMPLEX METHOD CONTENTS Linear Program in the Matrix Notation Basic Feasible Solution in Matrix Notation Revised Simplex Method in Matrix.
OR Chapter 8. General LP Problems Converting other forms to general LP problem : min c’x  - max (-c)’x   = by adding a nonnegative slack variable.
OR Chapter 7. The Revised Simplex Method  Recall Theorem 3.1, same basis  same dictionary Entire dictionary can be constructed as long as we.
Flow in Network. Graph, oriented graph, network A graph G =(V, E) is specified by a non empty set of nodes V and a set of edges E such that each edge.
1 Chapter 2 Notation and Definitions Data Structures Transformations.
Tuesday, March 19 The Network Simplex Method for Solving the Minimum Cost Flow Problem Handouts: Lecture Notes Warning: there is a lot to the network.
The Transportation and Assignment Problems
EMGT 6412/MATH 6665 Mathematical Programming Spring 2016
Solving Linear Program by Simplex Method The Concept
Linear Programming Revised Simplex Method, Duality of LP problems and Sensitivity analysis D Nagesh Kumar, IISc Optimization Methods: M3L5.
Chap 10. Sensitivity Analysis
The minimum cost flow problem
Perturbation method, lexicographic method
Flow in Network.
Duality for linear programming.
Linear Programming Prof. Sweta Shah.
The Network Simplex Method
Chapter 4 Linear Programming: The Simplex Method
The Simplex Method.
ENGM 631 Optimization Ch. 4: Solving Linear Programs: The Simplex Method.
Integer Linear Programming
ISS500E-Quantitiative Decision Tehniques
Chapter 3 The Simplex Method and Sensitivity Analysis
Dual simplex method for solving the primal
Solving Linear Programming Problems: Asst. Prof. Dr. Nergiz Kasımbeyli
Well, just how many basic
Chapter 8. General LP Problems
Chapter 5. The Duality Theorem
Chapter 8. General LP Problems
Integer Linear Programming
The Network Simplex Method
DUALITY THEORY Reference: Chapter 6 in Bazaraa, Jarvis and Sherali.
Chapter 10: Iterative Improvement
Chapter 8. General LP Problems
The network simplex method
Chapter 2. Simplex method
Presentation transcript:

problems with bounded variables Simplex algorithm for problems with bounded variables

Simplex method for problems with bounded variables Consider the linear programming problem with bounded variables Complete the following change of variables to reduce the lower bound to 0 xj = gj – lj (i.e., gj = xj + lj )

Simplex method for problems with bounded variables the problem becomes Complete the following change of variables to reduce the lower bound to 0 xj = gj – lj (i.e., gj = xj + lj )

Simplex method for problems with bounded variables the problem becomes replacing : uj = qj – lj and b = h – Al

Simplex method for problems with bounded variables In this problem since cTl is a constant, we can eliminate it from the minimisation without modifying the optimal solution. Then in the rest of the presentation we consider the problem without this constant.

Consider the explicit formulation of the problem One way of solving the problem is to introduce slack variables yj, and then use the simplex algorithm.

Consider a basic feasible solution of this problem Because of the constraints xj + yj = uj, at least one of the variables xj or yj is basic, j = 1,2,…,n. Then for all j = 1,2,…,n, one of the three situations holds: a) xj = uj is basic and yj = 0 is non basic b) xj = 0 is non basic and yj = uj is basic c) 0 < xj < uj is basic and 0 < yj < uj is basic Non degeneracy: all the basic variables are positive at each iteration

m + n basic variables required There are n variables yj There are at least m variables xj that are basic Exactly m variables xj satisfying 0 < xj < uj. For contradiction, if m0 m variables xj satisfy the relation, then the m0 corresponding variables yj would be basic. Furthermore, for the n – m0 other indices j, either xj = uj (case a) or yj = uj (case b) would be verified. Then the number of basic variables would be equal to 2m0 + (n – m0) = m0 + n m + n

m + n basic variables required There are n variables yj There are at least m variables xj that are basic Exactly m variables xj satisfying 0 < xj < uj. For contradiction, if m0 m variables xj satisfy the relation, then the m0 corresponding variables yj would be basic. Furthermore, for the n – m0 other indices j, either xj = uj (case a) or yj = uj (case b) would be verified. Then the number of basic variables would be equal to 2m0 + (n – m0) = m0 + n m + n

La base a donc la forme suivante 0 < xj < uj 0 < yj < uj xj=uj yj=uj

The basis has the following form 0 < xj < uj 0 < yj < uj xj=uj yj=uj

The basis has the following form Basis of A The columns of the basis B of A are those of the variables 0<xj<uj n 0 < xj < uj 0 < yj < uj xj=uj yj=uj

Then, we can specify a variant of the simplex method to solve this problem specifically: by dealing implictly with the upper bound uj. At each iteration, we consider a solution (basic) associated with a basis B de A having m basic variables n – m non basic variables

n – m non basic variables At each iteration, we consider a solution (basic) associated with a basis B de A having m basic variables n – m non basic variables Denote the indices of the basic variables IB = {j1, j2, …, jm} where ji is the index of the basic variable in the ith row, then We find similar values as in problems where there are no upper bounds, except for non basic variables

upper bounds, except for We have to modify the entering criterion and the leaving criterion accordingly to generate a variant of the simplex algorithm for this problem We find similar values as in problems where there are no upper bounds, except for non basic variables

Step 1: Selecting the entering variable The criterion to select the entering variable must be modified to account for the non basic variables xj being equal to their upper bounds uj since these variables can be reduced. Hence, for an index if , it is interesting to increase xj if , it is interesting to decrease xj

Step 2.1: Selecting the leaving variable Value of the basic variables The increase θ of the entering variable xs is stop by the first of the following three situations happening: i) xs reach its upper bound us ii) a basic variable decreases to 0 (in this case ) iii) a basic variable increases to reach its upper bound (in ths case ) Let

Step 2.1: Selecting the leaving variable Value of the basic variables The increase θ of the entering variable xs is stop by the first of the following three situations happening: i) xs reach its upper bound us ii) a basic variable decreases to 0 (in this case ) iii) a basic variable increases to reach its upper bound (in ths case ) Let Si θ = ∞, alors le problème n’est pas borné inférieurement et l’algorithme s’arrête.

Step 2.1: Selecting the leaving variable Value of the basic variables The increase θ of the entering variable xs is stop by the first of the following three situations happening: i) xs reach its upper bound us ii) a basic variable decreases to 0 (in this case ) iii) a basic variable increases to reach its upper bound (in ths case ) Let If θ = ∞, then the problem is not bounded from below, and the algorithm stops.

Step 2.1: Selecting the leaving variable Value of the basic variables The increase θ of the entering variable xs is stop by the first of the following three situations happening: i) xs reach its upper bound us ii) a basic variable decreases to 0 (in this case ) iii) a basic variable increases to reach its upper bound (in ths case ) Let

Step 2.1: Selecting the leaving variable Value of the basic variables The increase θ of the entering variable xs is stop by the first of the following three situations happening: i) xs reach its upper bound us ii) a basic variable decreases to 0 (in this case ) iii) a basic variable increases to reach its upper bound (in ths case ) Let

Step 2.1: Selecting the leaving variable Value of the basic variables The increase θ of the entering variable xs is stop by the first of the following three situations happening: i) xs reach its upper bound us ii) a basic variable decreases to 0 (in this case ) iii) a basic variable increases to reach its upper bound (in ths case ) Let

Step 1: Selecting the entering variable The criterion to select the entering variable must be modified to account for the non basic variables xj being equal to their upper bounds uj since these variables can be reduced. Hence, for an index if , it is interesting to increase xj if , it is interesting to decrease xj

Step 2.2: Selecting the leaving variable Value of the basic variables The decrease θ of the entering variable xs is stop by the first of the following three situations happening: i) xs reduces to 0 ii) a basic variable decreases to 0 (in this case ) iii) a basic variable increases to reach its upper bound (in this case ) Let

Step 2.2: Selecting the leaving variable Value of the basic variables The decrease θ of the entering variable xs is stop by the first of the following three situations happening: i) xs reduces to 0 ii) a basic variable decreases to 0 (in this case ) iii) a basic variable increases to reach its upper bound (in ths case ) Let

Step 2.2: Selecting the leaving variable Value of the basic variables The decrease θ of the entering variable xs is stop by the first of the following three situations happening: i) xs reduces to 0 ii) a basic variable decreases to 0 (in this case ) iii) a basic variable increases to reach its upper bound (in ths case ) Let

Step 2.2: Selecting the leaving variable Value of the basic variables The decrease θ of the entering variable xs is stop by the first of the following three situations happening: i) xs reduces to 0 ii) a basic variable decreases to 0 (in this case ) iii) a basic variable increases to reach its upper bound (in ths case ) Let

Step 2.2: Selecting the leaving variable Value of the basic variables The decrease θ of the entering variable xs is stop by the first of the following three situations happening: i) xs reduces to 0 ii) a basic variable decreases to 0 (in this case ) iii) a basic variable increases to reach its upper bound (in ths case ) Let

References M.S. Bazaraa, J.J. Jarvis, H.D. Sherali, “ Linear Programming and Network Flows”, 3rd edition, Wiley-Interscience (2005), p. 217 F.S. Hillier, G.J. Lieberman, “Introduction to Operations Research”, Mc Graw Hill (2005), Section 7.3 D. G. Luenberger, “ Linear and Nonlinear Programming ”, 2nd edition, Addison-Wesley (1984), Section 3.6