Foundations-1 The Theory of the Simplex Method. Foundations-2 The Essence Simplex method is an algebraic procedure However, its underlying concepts are.

Slides:



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

Hillier and Lieberman Chapter 4.
SIMPLEX METHOD FOR LP LP Model.
Solving Linear Programming Problems: The Simplex Method
Dr. Sana’a Wafa Al-Sayegh
Computational Methods for Management and Economics Carla Gomes Module 6a Introduction to Simplex (Textbook – Hillier and Lieberman)
Water Resources Development and Management Optimization (Linear Programming) CVEN 5393 Feb 18, 2013.
OR Simplex method (algebraic interpretation) Add slack variables( 여유변수 ) to each constraint to convert them to equations. (We may refer it as.
Linear Programming Fundamentals Convexity Definition: Line segment joining any 2 pts lies inside shape convex NOT convex.
Linear Inequalities and Linear Programming Chapter 5
Computational Methods for Management and Economics Carla Gomes Module 6b Simplex Pitfalls (Textbook – Hillier and Lieberman)
The Simplex Method: Standard Maximization Problems
Operation Research Chapter 3 Simplex Method.
DMOR Linear Programming.
Q 2-31 Min 3A + 4B s.t. 1A + 3B ≧ 6 B = - 1/3A + 2 1A + 1B ≧ 4
Solving Linear Programs: The Simplex Method
Linear Programming (LP)
The Simplex Method.
ISM 206 Lecture 3 The Simplex Method. Announcements.
MIT and James Orlin © Chapter 3. The simplex algorithm Putting Linear Programs into standard form Introduction to Simplex Algorithm.
Chapter 3 Linear Programming Methods 高等作業研究 高等作業研究 ( 一 ) Chapter 3 Linear Programming Methods (II)
The Theory of the Simplex Method
Simplex method (algebraic interpretation)
1 Linear programming Linear program: optimization problem, continuous variables, single, linear objective function, all constraints linear equalities or.
ECE 556 Linear Programming Ting-Yuan Wang Electrical and Computer Engineering University of Wisconsin-Madison March
Chapter 3. Pitfalls Initialization Ambiguity in an iteration
Topic III The Simplex Method Setting up the Method Tabular Form Chapter(s): 4.
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.
The Simplex Method Updated 15 February Main Steps of the Simplex Method 1.Put the problem in Row-Zero Form. 2.Construct the Simplex tableau. 3.Obtain.
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Public Policy Modeling Simplex Method Tuesday, October 13, 2015 Hun Myoung Park, Ph.D. Public Management & Policy Analysis Program Graduate School of International.
Pareto Linear Programming The Problem: P-opt Cx s.t Ax ≤ b x ≥ 0 where C is a kxn matrix so that Cx = (c (1) x, c (2) x,..., c (k) x) where c.
Duality Theory  Every LP problem (called the ‘Primal’) has associated with another problem called the ‘Dual’.  The ‘Dual’ problem is an LP defined directly.
Simplex Method Adapting to Other Forms.  Until now, we have dealt with the standard form of the Simplex method  What if the model has a non-standard.
Solving Linear Programming Problems: The Simplex Method
1. 2 Computing the Adjoint matrix: 3 Assignment #3 is available. Due: Monday Nov. 5, beginning of class.
Duality Theory.
Linear Programming Revised Simplex Method, Duality of LP problems and Sensitivity analysis D Nagesh Kumar, IISc Optimization Methods: M3L5.
Linear Programming Erasmus Mobility Program (24Apr2012) Pollack Mihály Engineering Faculty (PMMK) University of Pécs João Miranda
Simplex Method Continued …
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 3 Linear Programming Methods
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.
University of Colorado at Boulder Yicheng Wang, Phone: , Optimization Techniques for Civil and Environmental Engineering.
OR Simplex method (algebraic interpretation) Add slack variables( 여유변수 ) to each constraint to convert them to equations. (We may refer it as.
MIT and James Orlin © Chapter 3. The simplex algorithm Putting Linear Programs into standard form Introduction to Simplex Algorithm file Simplex2_AMII_05a_gr.
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.
Foundation of the Simplex Method.  Constraints Boundary Equations  Graphical approach is very limited based on number of variables. The simplex method.
Part 3. Linear Programming 3.2 Algorithm. General Formulation Convex function Convex region.
OR  Now, we look for other basic feasible solutions which gives better objective values than the current solution. Such solutions can be examined.
Copyright © 2006 Brooks/Cole, a division of Thomson Learning, Inc. Linear Programming: An Algebraic Approach 4 The Simplex Method with Standard Maximization.
Simplex Method Review. Canonical Form A is m x n Theorem 7.5: If an LP has an optimal solution, then at least one such solution exists at a basic feasible.
1 Simplex algorithm. 2 The Aim of Linear Programming A Linear Programming model seeks to maximize or minimize a linear function, subject to a set of linear.
Decision Support Systems INF421 & IS Simplex: a linear-programming algorithm that can solve problems having more than two decision variables.
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.
Perturbation method, lexicographic method
10CS661 OPERATION RESEARCH Engineered for Tomorrow.
Chapter 4 Linear Programming: The Simplex Method
ENGM 631 Optimization Ch. 4: Solving Linear Programs: The Simplex Method.
Solving Linear Programming Problems: Asst. Prof. Dr. Nergiz Kasımbeyli
Simplex method (algebraic interpretation)
Chapter 2. Simplex method
Chapter 3. Pitfalls Initialization Ambiguity in an iteration
Presentation transcript:

Foundations-1 The Theory of the Simplex Method

Foundations-2 The Essence Simplex method is an algebraic procedure However, its underlying concepts are geometric Understanding these geometric concepts helps before going into their algebraic equivalents With two decision variables, the geometric concepts are easy to visualize Should understand the generalization of these concepts to higher dimensions

Foundations-3 Standard (Canonical) Form of an LP Model Maximize Z = c 1 x 1 + c 2 x 2 + … + c n x n subject to a 11 x 1 + a 12 x 2 + … + a 1n x n ≤ b 1 a 21 x 1 + a 22 x 2 + … + a 2n x n ≤ b 2 … a m1 x 1 + a m2 x 2 + … + a mn x n ≤ b m x 1 ≥ 0, x 2 ≥ 0, …, x n ≥ 0

Foundations-4 Extended Terminology max cxn variables s.to Ax  bm inequalities x  0n inequalities max cxn+m variables s.to Ax + Ix s = bm equations x, x s  0n+m inequalities Constraint boundary equation –For any constraint, obtain by replacing its , =,  by = –It defines a “flat” geometric shape: hyperplane Corner-point solution –Simultaneous solution of n constraint boundary equations ()

Foundations-5 Extended Terminology max cx + 0x s n+m variables s.to Ax + Ix s = bm equations x, x s  0n+m inequalities Indicating variables (in the augmented form) Original Constraint in Augmented Form Constraint Boundary Equation Indicating Variable x j  0 (j=1,2,…,n) x j = 0xjxj (i=1,2,…,m) x s n+i

Foundations-6

Foundations-7 Original Constraint Original Constraint in Augmented Form Constraint Boundary Equation Indicating Variable x j  0 x j = 0xjxj (i=1,2,…,m1) (i=1,2,…,m2) (i=1,2,…,m3) Indicating variables, overall

Foundations-8 Properties of CPF (BF) Solutions Property 1: a.If there is exactly one optimal solution, then it must be a corner-point feasible solution b.If there are multiple optimal solutions (and a bounded feasible region), then at least two must be adjacent corner-point feasible solutions Proof of (a) by contradiction

Foundations-9 Properties of CPF (BF) Solutions Property 2: There are only a finite number of corner-point feasible solutions max cxn variables s.to Ax  bm inequalities x  0n inequalities CP solution is defined as the intersection of n constraint boundary equations (n+m) choose n: Upper bound on # of CPF solutions

Foundations-10 Properties of CPF (BF) Solutions Property 3: a.If a corner-point feasible solution has no adjacent CPF solution that are better, then there are no better CPF solutions elsewhere b.Hence, such a CPF solution is an optimal solution (assuming LP is feasible and bounded)

Foundations-11 Simplex in Matrix (Product) Form max cxn variables s.to Ax  bm inequalities x  0n inequalities max cxm+n variables s.to Ax + Ix s = bm equations x, x s  0m+n inequalities Initial Tableau: () B.V. Original VariablesSlack Variables r.h.s. x1x1 x2x2 …xnxn x s n+1 …x s n+m Z -c00 x s n+1 AI b … x s n+m XB=XB=

Foundations-12 Simplex in Matrix (Product) Form Intermediate iterations: Let B denote the square matrix that contains the columns from [ A | I ] that correspond to the current set of basic variables, x B (in order) Similarly, let c B be the vector of elements in c that correspond to x B Then at any intermediate step, the simplex tableau is given by B.V. Original VariablesSlack Variables r.h.s. x1x1 x2x2 …xnxn x s n+1 …x s n+m Z c B B -1 A-cc B B -1 c B B -1 b xBxB B -1 AB -1 B -1 b

Foundations-13 Revised Simplex Method Initialization Find an initial BFS (if one not immediately available, do Phase 1. If Phase 1 terminates with z 1 >0, LP is infeasible) Optimality test Calculate c B B -1 A-c for basic, and c B B -1 for nonbasic variables. If all ≥ 0, stop with optimality Iterative step –Determine the entering variable as before (steepest ascent) –Let x k be the entering variable –Determine the leaving variable as before (minimum ratio test), but now only need to calculate the coefficients of the pivot column (from B -1 A or B -1 ) and the updated rhs (B -1 b) –Let x l : the leaving variable r : the equation number of the leaving variable a’ rk : coefficient of x k in r th equation (the pivot element) –Determine B -1 new =E B -1 old where E is I expect for r th column replaced with –Can calculate the new BFS using x B =B -1 b and z=c B B -1 b –Back to optimality test

Foundations-14 Revised Simplex Example Original data: Maximize z = 2x 1 +3x 2 subject tox 1 +2x 2 +s 1 = 10 3x 1 +x 2 +s 2 = 15 x 2 +s 3 = 4 x 1,x 2, s 1, s 2, s 3 ≥ 0 Maximize z = 2x 1 +3x 2 subject tox 1 +2x 2 ≤ 10 3x 1 + x 2 ≤ 15 x 2 ≤ 4 x 1,x 2 ≥0

Foundations-15 Iteration 0

Foundations-16 Iteration 0 Calculate row-0 coefficients: c B B -1 A-c = c B B -1 = Optimal? Entering variable is Calculate coefficients in pivot column using B -1 A or B -1 Calculate updated rhs using B -1 b, do the ratio test Leaving variable is Update B -1

Foundations-17 Iteration 1

Foundations-18 Iteration 1 Calculate row-0 coefficients: c B B -1 A-c = c B B -1 = Optimal? Entering variable is Calculate coefficients in pivot column using B -1 A or B -1 Calculate updated rhs using B -1 b, do the ratio test Leaving variable is Update B -1

Foundations-19 Iteration 2

Foundations-20 Iteration 2 Calculate row-0 coefficients: c B B -1 A-c = c B B -1 = Optimal? Entering variable is Calculate coefficients in pivot column using B -1 A or B -1 Calculate updated rhs using B -1 b, do the ratio test Leaving variable is Update B -1

Foundations-21 Iteration 3

Foundations-22 Iteration 3 Calculate row-0 coefficients: c B B -1 A-c = c B B -1 = Optimal? Entering variable is Calculate coefficients in pivot column using B -1 A or B -1 Calculate updated rhs using B -1 b, do the ratio test Leaving variable is Update B -1