LINEAR PROGRAMMING SIMPLEX METHOD.

Slides:



Advertisements
Similar presentations
February 14, 2002 Putting Linear Programs into standard form
Advertisements

The simplex algorithm The simplex algorithm is the classical method for solving linear programs. Its running time is not polynomial in the worst case.
Chapter 5: Linear Programming: The Simplex Method
Lecture 3 Linear Programming: Tutorial Simplex Method
Operation Research Chapter 3 Simplex Method.
SIMPLEX METHOD FOR LP LP Model.
Transportation Problem (TP) and Assignment Problem (AP)
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
Dr. Sana’a Wafa Al-Sayegh
Copyright (c) 2003 Brooks/Cole, a division of Thomson Learning, Inc
Computational Methods for Management and Economics Carla Gomes Module 6a Introduction to Simplex (Textbook – Hillier and Lieberman)
LINEAR PROGRAMMING SIMPLEX METHOD
Computational Methods for Management and Economics Carla Gomes Module 8b The transportation simplex method.
Linear Inequalities and Linear Programming Chapter 5
The Simplex Method: Standard Maximization Problems
5.4 Simplex method: maximization with problem constraints of the form
Operation Research Chapter 3 Simplex Method.
Linear Programming (LP)
The Simplex Method.
5.6 Maximization and Minimization with Mixed Problem Constraints
Chapter 4 The Simplex Method
MIT and James Orlin © Chapter 3. The simplex algorithm Putting Linear Programs into standard form Introduction to Simplex Algorithm.
Stevenson and Ozgur First Edition Introduction to Management Science with Spreadsheets McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies,
Linear Programming - Standard Form
Chapter 3 Linear Programming Methods 高等作業研究 高等作業研究 ( 一 ) Chapter 3 Linear Programming Methods (II)
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
Business Mathematics MTH-367 Lecture 15. Chapter 11 The Simplex and Computer Solutions Methods continued.
Linear Programming Revised Simplex Method, Duality of LP problems and Sensitivity analysis D Nagesh Kumar, IISc Optimization Methods: M3L5.
Mechanical Engineering Department 1 سورة النحل (78)
Linear Programming Erasmus Mobility Program (24Apr2012) Pollack Mihály Engineering Faculty (PMMK) University of Pécs João Miranda
 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
Chapter 6 Linear Programming: The Simplex Method Section 4 Maximization and Minimization with Problem Constraints.
1 Simplex Method (created by George Dantzig in late 1940s) A systematic way of searching for an optimal LP solution BMGT 434, Spring 2002 Instructor: Chien-Yu.
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.
University of Colorado at Boulder Yicheng Wang, Phone: , Optimization Techniques for Civil and Environmental Engineering.
An-Najah N. University Faculty of Engineering and Information Technology Department of Management Information systems Operations Research and Applications.
Simplex Method Simplex: a linear-programming algorithm that can solve problems having more than two decision variables. The simplex technique involves.
Part 3. Linear Programming 3.2 Algorithm. General Formulation Convex function Convex region.
1. 2 We studying these special cases to: 1- Present a theoretical explanation of these situations. 2- Provide a practical interpretation of what these.
Business Mathematics MTH-367 Lecture 16. Chapter 11 The Simplex and Computer Solutions Methods continued.
 LP graphical solution is always associated with a corner point of the solution space.  The transition from the geometric corner point solution to the.
Copyright © 2006 Brooks/Cole, a division of Thomson Learning, Inc. Linear Programming: An Algebraic Approach 4 The Simplex Method with Standard Maximization.
Business Mathematics MTH-367 Lecture 14. Last Lecture Summary: Finished Sec and Sec.10.3 Alternative Optimal Solutions No Feasible Solution and.
Decision Support Systems INF421 & IS Simplex: a linear-programming algorithm that can solve problems having more than two decision variables.
GOOD MORNING CLASS! In Operation Research Class, WE MEET AGAIN WITH A TOPIC OF :
The Simplex Method. and Maximize Subject to From a geometric viewpoint : CPF solutions (Corner-Point Feasible) : Corner-point infeasible solutions 0.
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.
Lecture 3.
Perturbation method, lexicographic method
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
Linear programming Simplex method.
Chapter 4 Linear Programming: The Simplex Method
Chapter 3 The Simplex Method and Sensitivity Analysis
Part 3. Linear Programming
Linear Programming SIMPLEX METHOD.
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
Linear programming Simplex method.
Presentation transcript:

LINEAR PROGRAMMING SIMPLEX METHOD

Introduction With only two decision variables it is possible to use graphical methods to solve LP problems But most real life LP problems are too complex for simple graphical procedures We need a more powerful procedure called the simplex method The simplex method examines the corner points in a systematic fashion using basic algebraic concepts It does this in an iterative manner until an optimal solution is found Each iteration moves us closer to the optimal solution

Basic Terms Slack Variables – A variable added to convert an inequality of equal to or less than type (≤) to equality. Surplus Variable – A variable subtracted to convert an equality of equal to or greater than type (≥) to equality. Artificial Variable – A fictitious variable included in the case of inequality of (≥) type and equality (=), to satisfy the non negativity condition of a basic feasible solution.

Unused resources or idle resources Excess amount of resources utilized Particulars Slack Variable Surplus Variable Artificial Variable Meaning Unused resources or idle resources Excess amount of resources utilized No physical or economic meaning. It is fictitious When to be used (≤) inequality (≥) inequality (≥) and (=) constraints Co-efficient in the constraint +1 -1 Co-efficient in the objective function Z +M for minimization and –M for maximization Use as Initial Program Variable Used as starting point (Initial Table) Cannot be used since unit matrix condition is not satisfied Initially used but later on eliminated Presence in the Optimal Table Helps to interpret idle & key resources - - - Indicates infeasible solution

Procedure for Maximization Problems Set up the inequalities describing the problem constraints. Introduce slack variables and convert inequalities into equations. Enter the equalities into the simplex table. Calculate the Zj and Cj – Zj value for this solution. Determine the entering variable by choosing the highest Cj – Zj.

Determine the row to be replaced from the minimum ratio column (only compute the ratios for rows whose element is greater than zero). Compute the value of the new key row. Compute the values for remaining rows. Calculate Cj and Zj value for this solution. If there is non-negative Cj – Zj value and return to step 5 above. If there is no non – negative Cj – Zj values the final solution has been obtained.

Procedure for Minimization Problems Set up the inequalities describing the problem constraints. Convert any inequalities to equalities by introducing surplus variables. Add artificial variable to all equalities involving surplus variables. Enter the resulting equalities in the simplex table. Calculate Cj – Zj value for this solution.

Determine the entering variable selecting the one with the largest negative Cj – Zj values. Determine the departing row by choosing the smallest non – negative ratio ignoring infinity and negative. Zero is positive for the purpose. Compute the values for the new key row. Calculate the values for the remaining rows. Calculate the Cj – Zj value for this solution. If there is negative element in the Cj – Zj row then return to step 6. If there is no negative Cj – Zj then final solution has been obtained.

Simplex Problem (Mixed Constraints) A situation may arise when the constraints are ≥ type or ≤ type or = type i.e. mixed constraints. If any constraint has –ve constant at the RHS, then multiply both sides with -1 and it will reverse the directions of inequalities. Introduce slack variable, in case of ≤ type constraint. Introduce surplus variables and artificial variables in case of ≥ type constraints.

Introduce artificial variables if the constraint is ‘=‘ type. Assign zero co-efficient to the slack variables and surplus variables in the objective function. Assign +M in case of minimization and –M in case of maximization problems to the artificial variables in the objective function. In case of maximization, stop where Cj – Zj row contains zero or negative elements. In case of minimization, stop where Cj – Zj row contains all elements zero or positive values.

Special Cases Tie for key column Tie for key row (Degeneracy) Unbounded problems Multiple optimal solutions Infeasible problems Redundant constraints Unrestricted variables

1. Tie for key column Problem can arise in case of tie between identical Cj – Zj values, i.e., two or more columns. In such a case, selection for key column can be made arbitrarily. There is no wrong choice, although selection of one variable may result in more iteration.

2. Tie for key row (Degeneracy) Degeneracy occurs when there is tie for minimum ratio for choosing the departing variable. Methods to select the key row: Choose arbitrarily. Use alternate method.

Alternate Procedure for Degeneracy Locate the rows in which smallest non-negative ratio are tied (equal). Find the coefficient of the slack variables and divide each coefficient by the corresponding positive numbers of the key column in the row, starting from left to right in order to break the tie. If the ratios do not break the tie, find the similar ratios for the coefficients of decision variables. Compare the resulting ratio, column by column. Select the row which contains smallest ratio. This row becomes the key row. After the resolving of this tie, simplex method is applied to obtain the optimum tie.

3. Unbounded problems It is a situation when key row cannot be selected because minimum ratio column contains all negative or infinity, the solution is unbounded. The table does not indicate optimal solution, yet the simplex process is prohibited from continuing.

4. Multiple optimal solutions In the final simplex table, if the index row indicates the value of Cj – Zj for a non-basic variable to be zero, there exists an alternative optimum solution.

5. Infeasible problems It is a situation when an artificial variable is present as a basic variable in the final solution. This condition occurs when the problem has incompatible constraints.

6. Redundant constraints When on constraint is less restrictive than the other, it is redundant constraint. For example 4x1 + 3x2 < 12 4x1 + 3x2 < 16 (Redundant)

7. Unrestricted variables Unrestricted variable is that decision variable which does not carry any value. This variable can take positive, negative and zero values. To solve the problem, this variable can take two values one +ve and one –ve because difference between these two is zero.