ECE 307 Techniques for Engineering Decisions

Size: px
Start display at page:

Download "ECE 307 Techniques for Engineering Decisions"

Transcription

1 ECE 7 Techniques for Engineering Decisions Introduction to the Simple Algorithm George Gross Department of Electrical and Computer Engineering University of Illinois at Urbana-Champaign ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved.

2 SOLUTION OF SYSTEMS OF LINEAR EQUATIONS We eamine the solution of A = b using Gauss Jordan elimination We first use a simple eample and then generalize to cases of general interest Consider the system of two equations in five unknowns: ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved.

3 SOLUTION OF SYSTEMS OF LINEAR EQUATIONS S = ( i) 4 5 = 4 ( ii) 4 5 For this simple eample, the number of unknowns eceeds the number of equations and so the system has multiple solutions; this is the principal reason that the LP solution is nontrivial ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved.

4 SOLUTION OF SYSTEMS OF LINEAR EQUATIONS The Gauss Jordan elimination uses elementary row operations: multiplication of any equation by a nonzero constant addition to any equation of a constant multiple of any other equation We transform S into the set S by multiplying equation (i) by and adding it to equation (ii) S = = 4 ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved. 4 5

5 DEFINITIONS A basic variable is a variable i that appears with the coefficient in an equation and with the coefficient in all the other equations The variables j that are not basic are called nonbasic variables In the system, appears as a basic variable; S,, 4 and 5 are nonbasic variables Basic variables may be generated through the use of elementary row operations ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved. 5

6 DEFINITIONS A pivot operation is the sequence of elementary row operations that reduces a system of linear equations into the form in which a specified variable becomes a basic variable A canonical system is a set of linear equations obtained through pivot operations with the property that the system has the same number of basic variables as the number of equations in the set ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved. 6

7 CANONICAL SYSTEM FORM We transform the system into the canonical form of system : S 4 45 = = The basic solution is obtained from a canonical system with all the nonbasic variables set to For the eample, we set = = = and so S S = 6 and = 4 5 ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved. 7

8 BASIC FEASIBLE SOLUTION A basic feasible solution is a basic solution in which the values of all the basic variables are nonnegative In the eample of system two variables to be basic S, we may choose any In general for a system of m equations in n n unknowns there are possible combinations m of basic variables ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved. 8

9 BASIC FEASIBLE SOLUTION As n increases the number of combinations becomes large even though it is finite For the eample, we have 5 5! = =!! combinations of possible choices ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved. 9

10 THE SIMPLEX SOLUTION METHOD We net use a simple eample to construct the simple solution method The simple method is a systematic and efficient way of eamining a subset of the basic feasible solutions of the LP to hone in on an optimal solution We apply the notions introduced in the definitions we introduced above ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved.

11 SIMPLEX METHODOLOGY EXAMPLE ma Z = st.. canonical form = 8 (*) = 7 (**) i i =,, 5 ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved.

12 THE SIMPLEX SOLUTION METHOD The canonical form of the eample allows the determination of a basic feasible solution The corresponding value of the objective is The net step is to improve the basic feasible solution by finding an adjacent basic feasible solution = = = = 8, = Z = = ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved.

13 ADJACENT FEASIBLE SOLUTION An adjacent feasible solution is one which differs from the current basic feasible solution in eactly one basic variable Note, we characterize a basic feasible solution by the following traits basic variable nonbasic variable ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved. =

14 ADJACENT FEASIBLE SOLUTION The search for an adjacent basic feasible solution uses the idea of making a nonbasic variable into a basic variable by increasing its value from to the largest positive value without violating any constraints To make the search efficient, we choose the nonbasic variable that can improve the value of Z by the largest amount ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved. 4

15 ADJACENT FEASIBLE SOLUTION In the eample, consider the nonbasic variable, we leave = = and eamine the possibility of making into a basic variable The variable enters in both constraints + = = 7 5 ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved. 5

16 ADJACENT FEASIBLE SOLUTION The largest value can assume without making either or negative is 4 5 min 7 7 8, = We have the new basic variable with the value =, and the other basic variable is 4 = 7 7 ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved. 6

17 ADJACENT FEASIBLE SOLUTION and the three nonbasic variables are set to : = = and = 5 Note that we have an improvement in Z since its value becomes Z = 5 i = = 6 > We net need to put the system of equations into canonical form: ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved. 7

18 SIMPLEX METHODOLOGY EXAMPLE ma Z = st.. non - canonical form for = 4 8 (*) = 7 (**) i i =,, 5 ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved. 8

19 ADJACENT FEASIBLE SOLUTION multiply equation (**) by and add to equation (*) = multiply equation (**) by = 7 5 ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved. 9

20 THE SIMPLEX SOLUTION METHOD We continue this process until the condition of optimality is satisfied: in a maimization problem, a basic feasible solution is optimal if and only if the relative profits of each nonbasic variable is in a minimization problem, a basic feasible solution is optimal if and only if the relative costs of each nonbasic variable is ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved.

21 THE SIMPLEX SOLUTION METHOD The relative profits (costs) are given by the change in Z corresponding to a unit change in a nonbasic variable We use this fact to select the net nonbasic variable to enter the basis ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved.

22 SIMPLEX ALGORITHM FOR MAXIMIZATION Step : start with an initial basic feasible solution with all constraint equations in canonical form Step : check for optimality condition: if the relative profits are < for each nonbasic variable, then the basic feasible solution is optimal and stop; else, go to Step ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved.

23 SIMPLEX ALGORITHM FOR MAXIMIZATION Step : select a nonbasic variable to become the new basic variable; check the limits on the nonbasic variable the limiting constraint determines the basic variable that is being replaced by the selected nonbasic variable Step 4: determine the canonical form for the new set of basic variables through elementary row operations; compute the basic feasible solution, Z and return to Step ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved.

24 THE SIMPLEX TABLEAU We use an efficient way to represent visually the steps in the simple method through a sequence of so-called tableaus We illustrate the tableau for the simple eample for the initial basic feasible solution ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved. 4

25 THE SIMPLEX TABLEAU coefficients of the basic variables in Z coefficient of j in Z c B c j basic variables constraint constants ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved. 5

26 THE SIMPLEX TABLEAU The optimality check requires the evaluation of For each nonbasic variable j, for our eample, we have T column corresponding = j j B i to in canonical form c c c c c c j 5, i = = =, i = 4, i 4 = = ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved. 6

27 THE SIMPLEX TABLEAU We interpret as the change in Z corresponding to a unit increase in j c B c j basic variables constraint constants c T 4 Z = ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved. 7

28 SIMPLEX TABLEAU Note that the optimality test indicates that c = > and = 4> and so the initial basic feasible solution is not optimal c c Since >, we pick as the nonbasic variable to become a basic variable c We eamine the limiting solution for in the two constraint equations: ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved. 8

29 THE SIMPLEX TABLEAU equation limiting basic variable 4 5 upper limit on (8/) = 4 (7/) = 7 and so the limiting value is min {4, 7}=4 We replace the basic variable 4 by ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved. 9

30 SIMPLEX METHODOLOGY EXAMPLE ma Z = st.. canonical form for and = 8 (*) = 7 (**) i i =,,5 ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved.

31 THE SIMPLEX TABLEAU For the new basic feasible solution, we put the equations into canonical form multiplying (*) by to produce (* ) subtract (* ) from (**) to produce (** ) The adjacent basic feasible solution is = = 4 = = 4, 5 = = = (* ) (** ) ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved.

32 THE SIMPLEX TABLEAU c B c j basic variables constraint constants / / 4 5 5/ / c T 4 Z = 5 = 4, 5 = ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved.

33 THE SIMPLEX TABLEAU c Since >, the basic feasible solution is nonoptimal We eamine how to bring into the basis equation (* ) (** ) limiting basic variable 5 upper limit on 4/(/) = 8 /(5/) = 6/5 ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved.

34 THE SIMPLEX TABLEAU The variable enters the basis with the value 6 6 min 8, = 5 5 and 5 is replaced as a basic variable by We need to put the equations = 4 (* ) = (** ) into canonical form for the basic variables and ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved. 4

35 THE SIMPLEX TABLEAU The following elementary row operations are used multiply (** ) by /5 and add to (*) = multiply (** ) by / = and construct the corresponding tableau ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved. 5

36 THE SIMPLEX TABLEAU c j 5 constraint c B basic variables 4 5 constants /5 /5 /5 7/5 5 6/5 /5 /5 6/5 c T 6/5 9/5 /5 Z = 8/5 c j implies optimality 6. > 5 ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved. 6

37 SIMPLEX TABLEAU EXAMPLE ma Z = + st ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved. 7

38 SIMPLEX TABLEAU EXAMPLE We put this problem into standard form: ma Z st.. = + canonical form + + = = 4 + = 5, 4, 5,, are fictitious variables ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved. 8 5

39 SIMPLEX TABLEAU EXAMPLE c B c j basic variables 4 5 constraint constants c T Z = column corresponding to c = c c ( T ) j j B j ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved. 9

40 SIMPLEX TABLEAU EXAMPLE c T The data in indicates that the highest relative profits correspond to so want to make a basic variable To bring into the basis requires to evaluate 4 min,, = and so replaces 5 with the value We evaluate the basic variable at the adjacent basic feasible solution and convert into canonical form; the new tableau becomes ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved. 4

41 SIMPLEX TABLEAU EXAMPLE c B c j basic variables constraint constants c T 5 Z = 9 ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved. 4

42 SIMPLEX TABLEAU EXAMPLE We reproduce here the calculation of the c T components c c c ( T column corresponding to ) j = i j j B for each nonbasic variable j Note that for each basic variable i by definition c = i ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved. 4

43 SIMPLEX TABLEAU EXAMPLE The calculations give c = c = 5 = 5 c c c 4 5 = = by definition since is in the basis by definition since is in the basis by definition since is in the basis = = ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved. 4 4 indicates possible improvement

44 SIMPLEX TABLEAU EXAMPLE Clearly, the only choice is to get into the basis and so we need to establish the limiting condition from the three equations by evaluating and so replaces 4, which becomes a nonbasic variable min { 7,, } = We need to rewrite the equations into canonical form for and and construct the new tableau ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved. 44

45 SIMPLEX TABLEAU EXAMPLE c B c j basic variables 4 5 constraint constants /5 8/5 6 /5 /5 /5 /5 4 c T c j j optimum Z = 4 ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved. 45

46 SIMPLEX TABLEAU EXAMPLE An optimum is at the solution of given by = + = + + = 4 = 5 = = 6 = = 4 ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved canonical form for, and

47 LINEAR PROGRAMMING EXAMPLE Consider the following LP ma Z s. t. = The graphical representation corresponds to ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved. 47

48 LINEAR PROGRAMMING EXAMPLE E + = Z = D + = Z = = 4 + = = tableau C tableau A ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved. 48 B tableau

49 LINEAR PROGRAMMING EXAMPLE The tableau approach leads to C which is an optimal solution with = 4, =, = 6, =, = 4 5 Note that any point along CD has Z = 4 and as such D is another optimal solution corresponding to an adjacent basic feasible solution We may obtain D from C by bringing into the basis the nonbasic variable 5 in Tableau ; note that c = 5 ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved. 49

50 LINEAR PROGRAMMING EXAMPLE We may choose 5 as a basic variable without effecting Z since the relative profits are ; we compute the limiting value of 5 The limit is imposed by which, consequently, leaves the basis The corresponding tableau is: ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved. 5

51 LINEAR PROGRAMMING EXAMPLE c B c j basic variables 4 5 constraint constants 5/8 /8 5/4 /8 /8 /4 /4 /4 5/ c T c j j Z = 4 ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved. 5

52 LINEAR PROGRAMMING EXAMPLE The adjacent feasible solution is given by 5 5 =, =, = 4 =, 5= 4 4 Note that at this basic feasible solution, c j j and so this is also an optimal solution ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved. 5

53 ALTERNATE OPTIMAL SOLUTION In general, an alternate optimal solutions is indicated whenever there eists a nonbasic variable with c = j j in an optimal tableau; such a situation corresponds to a non unique optimum for the LP ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved. 5

54 MINIMIZATION LP Consider a minimization problem min Z = c st.. In the simple scheme, replace the optimality check by the following : if each coefficient stop; else, select the nonbasic variable with the most negative value in c to become the new basic variable i = ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved. 54 n A = b i i is c j

55 MINIMIZATION LP Every minimization LP may be solved as a maimization LP because of equivalence T min Z = c st.. A = b T ma Z = ( c ) st.. A = b with the solutions of Z and Z related by { } = ma{ Z } min Z ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved. 55

56 COMPLICATIONS IN THE SIMPLEX METHODOLOGY Two variables j and k are tied in the selection of the nonbasic variables to replace a current basic variable when c = c ; the choice of the new nonbasic variable to enter the basis is arbitrary Two or more constraints may give rise to the same minimum ratio value in selecting the basic variable to be replaced j k We consider the eample of the following tableau ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved. 56

57 COMPLICATIONS IN THE SIMPLEX METHODOLOGY c j / constraint c B basic variables constants 4 c T / Z = candidate for basic variable ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved. 57

58 COMPLICATIONS IN THE SIMPLEX METHODOLOGY in selecting the nonbasic variable 4 to enter the basis, we observe that the first two constraints give the same minimum ratio: this means that when 4 is first increased to, both the basic variables and will reduce to zero even though only one of them can be made a nonbasic variable we arbitrarily decide to remove from the basis to get the new basic feasible solution: ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved. 58

59 COMPLICATIONS IN THE SIMPLEX METHODOLOGY c B c j basic variables 4 5 / 6 constraint constants 4 c T / Z = 4 ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved. 59

60 COMPLICATIONS IN THE SIMPLEX METHODOLOGY in the new basic feasible solution =, =, =, =, =, and =, we treat as a basic variable whose value is, the same as if it were a nonbasic variable ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved. 6

61 DEGENERACY A degenerate basic feasible solution is one where one or more basic variables is Degeneracy may lead to a number of complications in the simple approach: an important implication is a minimum ratio of, so that no new nonbasic variable maybe included in the basis and therefore the basis remains unchanged We consider the following eample tableau ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved. 6

62 COMPLICATIONS IN THE SIMPLEX METHODOLOGY c B c j basic variables 4 5 / 6 constraint constants 4 / / 5 / / c T / Z = 4 ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved. 6

63 DEGENERACY the logical choice being the nonbasic variable 6 to enter the basis; this leads to finding the limiting constraint from two equations = 6 = 6 4 and no constraint in the third equation; thus 5 6 = min 4,, { } ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved. 6

64 DEGENERACY Degeneracy may result in the construction of new tableaus without improvement in the objective function value, thereby reducing the efficiency of the computations: theoretically, an infinite loop, the so-called cycling, is possible Whenever ties occur in the minimum ratio rule, an arbitrary decision is made regarding which basic variable is replaced, ignoring the theoretical consequences of degeneracy and cycling ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved. 64

65 MINIMUM RATIO RULE COMPLICATIONS The minimum ratio rule may not be able to determine the basic variable to be replaced: this is the case when all equations lead to as the limit Consider the eample and corresponding tableau ma Z = + st.. + = = 4, i =,...,4 ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved. 65 i

66 MINIMUM RATIO RULE COMPLICATIONS c B c j basic variables 4 constraint constants 4 4 c T Z = The nonbasic variable enters the basis to replacing 4 and the new tableau is ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved. 66

67 MINIMUM RATIO RULE COMPLICATIONS c B c j basic variables constraint 4 6 constants 4 c T Z = We select to enter the basis but we are unable to get limiting constraints from the two equations ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved. 67

68 MINIMUM RATIO RULE COMPLICATIONS + = 6 = 4 + = 4 = In fact, as increases so do and and Z and therefore, the solution is unbounded The failure of the minimum ratio rule to result in a bound at any simple tableau implies that the problem has an unbounded solution ECE George Gross, University of Illinois at Urbana-Champaign, All Rights Reserved. 68

Gauss-Jordan Elimination for Solving Linear Equations Example: 1. Solve the following equations: (3)

Gauss-Jordan Elimination for Solving Linear Equations Example: 1. Solve the following equations: (3) The Simple Method Gauss-Jordan Elimination for Solving Linear Equations Eample: Gauss-Jordan Elimination Solve the following equations: + + + + = 4 = = () () () - In the first step of the procedure, we

More information

AM 121: Intro to Optimization Models and Methods Fall 2018

AM 121: Intro to Optimization Models and Methods Fall 2018 AM 121: Intro to Optimization Models and Methods Fall 2018 Lecture 5: The Simplex Method Yiling Chen Harvard SEAS Lesson Plan This lecture: Moving towards an algorithm for solving LPs Tableau. Adjacent

More information

In Chapters 3 and 4 we introduced linear programming

In Chapters 3 and 4 we introduced linear programming SUPPLEMENT The Simplex Method CD3 In Chapters 3 and 4 we introduced linear programming and showed how models with two variables can be solved graphically. We relied on computer programs (WINQSB, Excel,

More information

Special cases of linear programming

Special cases of linear programming Special cases of linear programming Infeasible solution Multiple solution (infinitely many solution) Unbounded solution Degenerated solution Notes on the Simplex tableau 1. The intersection of any basic

More information

Lesson 27 Linear Programming; The Simplex Method

Lesson 27 Linear Programming; The Simplex Method Lesson Linear Programming; The Simplex Method Math 0 April 9, 006 Setup A standard linear programming problem is to maximize the quantity c x + c x +... c n x n = c T x subject to constraints a x + a x

More information

CPS 616 ITERATIVE IMPROVEMENTS 10-1

CPS 616 ITERATIVE IMPROVEMENTS 10-1 CPS 66 ITERATIVE IMPROVEMENTS 0 - APPROACH Algorithm design technique for solving optimization problems Start with a feasible solution Repeat the following step until no improvement can be found: change

More information

IE 400 Principles of Engineering Management. The Simplex Algorithm-I: Set 3

IE 400 Principles of Engineering Management. The Simplex Algorithm-I: Set 3 IE 4 Principles of Engineering Management The Simple Algorithm-I: Set 3 So far, we have studied how to solve two-variable LP problems graphically. However, most real life problems have more than two variables!

More information

Standard Form An LP is in standard form when: All variables are non-negativenegative All constraints are equalities Putting an LP formulation into sta

Standard Form An LP is in standard form when: All variables are non-negativenegative All constraints are equalities Putting an LP formulation into sta Chapter 4 Linear Programming: The Simplex Method An Overview of the Simplex Method Standard Form Tableau Form Setting Up the Initial Simplex Tableau Improving the Solution Calculating the Next Tableau

More information

Part 1. The Review of Linear Programming

Part 1. The Review of Linear Programming In the name of God Part 1. The Review of Linear Programming 1.2. Spring 2010 Instructor: Dr. Masoud Yaghini Outline Introduction Basic Feasible Solutions Key to the Algebra of the The Simplex Algorithm

More information

Week 3: Simplex Method I

Week 3: Simplex Method I Week 3: Simplex Method I 1 1. Introduction The simplex method computations are particularly tedious and repetitive. It attempts to move from one corner point of the solution space to a better corner point

More information

IE 5531: Engineering Optimization I

IE 5531: Engineering Optimization I IE 5531: Engineering Optimization I Lecture 5: The Simplex method, continued Prof. John Gunnar Carlsson September 22, 2010 Prof. John Gunnar Carlsson IE 5531: Engineering Optimization I September 22, 2010

More information

Yinyu Ye, MS&E, Stanford MS&E310 Lecture Note #06. The Simplex Method

Yinyu Ye, MS&E, Stanford MS&E310 Lecture Note #06. The Simplex Method The Simplex Method Yinyu Ye Department of Management Science and Engineering Stanford University Stanford, CA 94305, U.S.A. http://www.stanford.edu/ yyye (LY, Chapters 2.3-2.5, 3.1-3.4) 1 Geometry of Linear

More information

Dr. Maddah ENMG 500 Engineering Management I 10/21/07

Dr. Maddah ENMG 500 Engineering Management I 10/21/07 Dr. Maddah ENMG 500 Engineering Management I 10/21/07 Computational Procedure of the Simplex Method The optimal solution of a general LP problem is obtained in the following steps: Step 1. Express the

More information

Lecture 5 Simplex Method. September 2, 2009

Lecture 5 Simplex Method. September 2, 2009 Simplex Method September 2, 2009 Outline: Lecture 5 Re-cap blind search Simplex method in steps Simplex tableau Operations Research Methods 1 Determining an optimal solution by exhaustive search Lecture

More information

Week_4: simplex method II

Week_4: simplex method II Week_4: simplex method II 1 1.introduction LPs in which all the constraints are ( ) with nonnegative right-hand sides offer a convenient all-slack starting basic feasible solution. Models involving (=)

More information

IE 400: Principles of Engineering Management. Simplex Method Continued

IE 400: Principles of Engineering Management. Simplex Method Continued IE 400: Principles of Engineering Management Simplex Method Continued 1 Agenda Simplex for min problems Alternative optimal solutions Unboundedness Degeneracy Big M method Two phase method 2 Simplex for

More information

The Simplex Method for Solving a Linear Program Prof. Stephen Graves

The Simplex Method for Solving a Linear Program Prof. Stephen Graves The Simplex Method for Solving a Linear Program Prof. Stephen Graves Observations from Geometry feasible region is a convex polyhedron an optimum occurs at a corner point possible algorithm - search over

More information

The Simplex Method. Lecture 5 Standard and Canonical Forms and Setting up the Tableau. Lecture 5 Slide 1. FOMGT 353 Introduction to Management Science

The Simplex Method. Lecture 5 Standard and Canonical Forms and Setting up the Tableau. Lecture 5 Slide 1. FOMGT 353 Introduction to Management Science The Simplex Method Lecture 5 Standard and Canonical Forms and Setting up the Tableau Lecture 5 Slide 1 The Simplex Method Formulate Constrained Maximization or Minimization Problem Convert to Standard

More information

Math Models of OR: Some Definitions

Math Models of OR: Some Definitions Math Models of OR: Some Definitions John E. Mitchell Department of Mathematical Sciences RPI, Troy, NY 12180 USA September 2018 Mitchell Some Definitions 1 / 20 Active constraints Outline 1 Active constraints

More information

Simplex Method for LP (II)

Simplex Method for LP (II) Simplex Method for LP (II) Xiaoxi Li Wuhan University Sept. 27, 2017 (week 4) Operations Research (Li, X.) Simplex Method for LP (II) Sept. 27, 2017 (week 4) 1 / 31 Organization of this lecture Contents:

More information

Chapter 4 The Simplex Algorithm Part II

Chapter 4 The Simplex Algorithm Part II Chapter 4 The Simple Algorithm Part II Based on Introduction to Mathematical Programming: Operations Research, Volume 4th edition, by Wayne L Winston and Munirpallam Venkataramanan Lewis Ntaimo L Ntaimo

More information

TIM 206 Lecture 3: The Simplex Method

TIM 206 Lecture 3: The Simplex Method TIM 206 Lecture 3: The Simplex Method Kevin Ross. Scribe: Shane Brennan (2006) September 29, 2011 1 Basic Feasible Solutions Have equation Ax = b contain more columns (variables) than rows (constraints),

More information

9.1 Linear Programs in canonical form

9.1 Linear Programs in canonical form 9.1 Linear Programs in canonical form LP in standard form: max (LP) s.t. where b i R, i = 1,..., m z = j c jx j j a ijx j b i i = 1,..., m x j 0 j = 1,..., n But the Simplex method works only on systems

More information

OPRE 6201 : 3. Special Cases

OPRE 6201 : 3. Special Cases OPRE 6201 : 3. Special Cases 1 Initialization: The Big-M Formulation Consider the linear program: Minimize 4x 1 +x 2 3x 1 +x 2 = 3 (1) 4x 1 +3x 2 6 (2) x 1 +2x 2 3 (3) x 1, x 2 0. Notice that there are

More information

AM 121: Intro to Optimization

AM 121: Intro to Optimization AM 121: Intro to Optimization Models and Methods Lecture 6: Phase I, degeneracy, smallest subscript rule. Yiling Chen SEAS Lesson Plan Phase 1 (initialization) Degeneracy and cycling Smallest subscript

More information

Chapter 4 The Simplex Algorithm Part I

Chapter 4 The Simplex Algorithm Part I Chapter 4 The Simplex Algorithm Part I Based on Introduction to Mathematical Programming: Operations Research, Volume 1 4th edition, by Wayne L. Winston and Munirpallam Venkataramanan Lewis Ntaimo 1 Modeling

More information

Linear & Integer programming

Linear & Integer programming ELL 894 Performance Evaluation on Communication Networks Standard form I Lecture 5 Linear & Integer programming subject to where b is a vector of length m c T A = b (decision variables) and c are vectors

More information

Ω R n is called the constraint set or feasible set. x 1

Ω R n is called the constraint set or feasible set. x 1 1 Chapter 5 Linear Programming (LP) General constrained optimization problem: minimize subject to f(x) x Ω Ω R n is called the constraint set or feasible set. any point x Ω is called a feasible point We

More information

Chap6 Duality Theory and Sensitivity Analysis

Chap6 Duality Theory and Sensitivity Analysis Chap6 Duality Theory and Sensitivity Analysis The rationale of duality theory Max 4x 1 + x 2 + 5x 3 + 3x 4 S.T. x 1 x 2 x 3 + 3x 4 1 5x 1 + x 2 + 3x 3 + 8x 4 55 x 1 + 2x 2 + 3x 3 5x 4 3 x 1 ~x 4 0 If we

More information

CO350 Linear Programming Chapter 6: The Simplex Method

CO350 Linear Programming Chapter 6: The Simplex Method CO350 Linear Programming Chapter 6: The Simplex Method 8th June 2005 Chapter 6: The Simplex Method 1 Minimization Problem ( 6.5) We can solve minimization problems by transforming it into a maximization

More information

Simplex Algorithm Using Canonical Tableaus

Simplex Algorithm Using Canonical Tableaus 41 Simplex Algorithm Using Canonical Tableaus Consider LP in standard form: Min z = cx + α subject to Ax = b where A m n has rank m and α is a constant In tableau form we record it as below Original Tableau

More information

The dual simplex method with bounds

The dual simplex method with bounds The dual simplex method with bounds Linear programming basis. Let a linear programming problem be given by min s.t. c T x Ax = b x R n, (P) where we assume A R m n to be full row rank (we will see in the

More information

MATH 445/545 Homework 2: Due March 3rd, 2016

MATH 445/545 Homework 2: Due March 3rd, 2016 MATH 445/545 Homework 2: Due March 3rd, 216 Answer the following questions. Please include the question with the solution (write or type them out doing this will help you digest the problem). I do not

More information

Lecture 2: The Simplex method

Lecture 2: The Simplex method Lecture 2 1 Linear and Combinatorial Optimization Lecture 2: The Simplex method Basic solution. The Simplex method (standardform, b>0). 1. Repetition of basic solution. 2. One step in the Simplex algorithm.

More information

Simplex tableau CE 377K. April 2, 2015

Simplex tableau CE 377K. April 2, 2015 CE 377K April 2, 2015 Review Reduced costs Basic and nonbasic variables OUTLINE Review by example: simplex method demonstration Outline Example You own a small firm producing construction materials for

More information

The simplex algorithm

The simplex algorithm The simplex algorithm The simplex algorithm is the classical method for solving linear programs. Its running time is not polynomial in the worst case. It does yield insight into linear programs, however,

More information

Linear Programming in Matrix Form

Linear Programming in Matrix Form Linear Programming in Matrix Form Appendix B We first introduce matrix concepts in linear programming by developing a variation of the simplex method called the revised simplex method. This algorithm,

More information

Example Bases and Basic Feasible Solutions 63 Let q = >: ; > and M = >: ;2 > and consider the LCP (q M). The class of ; ;2 complementary cones

Example Bases and Basic Feasible Solutions 63 Let q = >: ; > and M = >: ;2 > and consider the LCP (q M). The class of ; ;2 complementary cones Chapter 2 THE COMPLEMENTARY PIVOT ALGORITHM AND ITS EXTENSION TO FIXED POINT COMPUTING LCPs of order 2 can be solved by drawing all the complementary cones in the q q 2 - plane as discussed in Chapter.

More information

Dr. S. Bourazza Math-473 Jazan University Department of Mathematics

Dr. S. Bourazza Math-473 Jazan University Department of Mathematics Dr. Said Bourazza Department of Mathematics Jazan University 1 P a g e Contents: Chapter 0: Modelization 3 Chapter1: Graphical Methods 7 Chapter2: Simplex method 13 Chapter3: Duality 36 Chapter4: Transportation

More information

"SYMMETRIC" PRIMAL-DUAL PAIR

SYMMETRIC PRIMAL-DUAL PAIR "SYMMETRIC" PRIMAL-DUAL PAIR PRIMAL Minimize cx DUAL Maximize y T b st Ax b st A T y c T x y Here c 1 n, x n 1, b m 1, A m n, y m 1, WITH THE PRIMAL IN STANDARD FORM... Minimize cx Maximize y T b st Ax

More information

1 Review Session. 1.1 Lecture 2

1 Review Session. 1.1 Lecture 2 1 Review Session Note: The following lists give an overview of the material that was covered in the lectures and sections. Your TF will go through these lists. If anything is unclear or you have questions

More information

CO 602/CM 740: Fundamentals of Optimization Problem Set 4

CO 602/CM 740: Fundamentals of Optimization Problem Set 4 CO 602/CM 740: Fundamentals of Optimization Problem Set 4 H. Wolkowicz Fall 2014. Handed out: Wednesday 2014-Oct-15. Due: Wednesday 2014-Oct-22 in class before lecture starts. Contents 1 Unique Optimum

More information

3 The Simplex Method. 3.1 Basic Solutions

3 The Simplex Method. 3.1 Basic Solutions 3 The Simplex Method 3.1 Basic Solutions In the LP of Example 2.3, the optimal solution happened to lie at an extreme point of the feasible set. This was not a coincidence. Consider an LP in general form,

More information

The Simplex Algorithm and Goal Programming

The Simplex Algorithm and Goal Programming The Simplex Algorithm and Goal Programming In Chapter 3, we saw how to solve two-variable linear programming problems graphically. Unfortunately, most real-life LPs have many variables, so a method is

More information

Linear Programming. Linear Programming I. Lecture 1. Linear Programming. Linear Programming

Linear Programming. Linear Programming I. Lecture 1. Linear Programming. Linear Programming Linear Programming Linear Programming Lecture Linear programming. Optimize a linear function subject to linear inequalities. (P) max " c j x j n j= n s. t. " a ij x j = b i # i # m j= x j 0 # j # n (P)

More information

Math Homework 3: solutions. 1. Consider the region defined by the following constraints: x 1 + x 2 2 x 1 + 2x 2 6

Math Homework 3: solutions. 1. Consider the region defined by the following constraints: x 1 + x 2 2 x 1 + 2x 2 6 Math 7502 Homework 3: solutions 1. Consider the region defined by the following constraints: x 1 + x 2 2 x 1 + 2x 2 6 x 1, x 2 0. (i) Maximize 4x 1 + x 2 subject to the constraints above. (ii) Minimize

More information

The Simplex Method. Formulate Constrained Maximization or Minimization Problem. Convert to Standard Form. Convert to Canonical Form

The Simplex Method. Formulate Constrained Maximization or Minimization Problem. Convert to Standard Form. Convert to Canonical Form The Simplex Method 1 The Simplex Method Formulate Constrained Maximization or Minimization Problem Convert to Standard Form Convert to Canonical Form Set Up the Tableau and the Initial Basic Feasible Solution

More information

Slack Variable. Max Z= 3x 1 + 4x 2 + 5X 3. Subject to: X 1 + X 2 + X x 1 + 4x 2 + X X 1 + X 2 + 4X 3 10 X 1 0, X 2 0, X 3 0

Slack Variable. Max Z= 3x 1 + 4x 2 + 5X 3. Subject to: X 1 + X 2 + X x 1 + 4x 2 + X X 1 + X 2 + 4X 3 10 X 1 0, X 2 0, X 3 0 Simplex Method Slack Variable Max Z= 3x 1 + 4x 2 + 5X 3 Subject to: X 1 + X 2 + X 3 20 3x 1 + 4x 2 + X 3 15 2X 1 + X 2 + 4X 3 10 X 1 0, X 2 0, X 3 0 Standard Form Max Z= 3x 1 +4x 2 +5X 3 + 0S 1 + 0S 2

More information

ORF 307: Lecture 2. Linear Programming: Chapter 2 Simplex Methods

ORF 307: Lecture 2. Linear Programming: Chapter 2 Simplex Methods ORF 307: Lecture 2 Linear Programming: Chapter 2 Simplex Methods Robert Vanderbei February 8, 2018 Slides last edited on February 8, 2018 http://www.princeton.edu/ rvdb Simplex Method for LP An Example.

More information

Chapter 5 Linear Programming (LP)

Chapter 5 Linear Programming (LP) Chapter 5 Linear Programming (LP) General constrained optimization problem: minimize f(x) subject to x R n is called the constraint set or feasible set. any point x is called a feasible point We consider

More information

LINEAR PROGRAMMING I. a refreshing example standard form fundamental questions geometry linear algebra simplex algorithm

LINEAR PROGRAMMING I. a refreshing example standard form fundamental questions geometry linear algebra simplex algorithm Linear programming Linear programming. Optimize a linear function subject to linear inequalities. (P) max c j x j n j= n s. t. a ij x j = b i i m j= x j 0 j n (P) max c T x s. t. Ax = b Lecture slides

More information

The Simplex Method of Linear Programming

The Simplex Method of Linear Programming The Simplex Method of Linear Programming Online Tutorial 3 Tutorial Outline CONVERTING THE CONSTRAINTS TO EQUATIONS SETTING UP THE FIRST SIMPLEX TABLEAU SIMPLEX SOLUTION PROCEDURES SUMMARY OF SIMPLEX STEPS

More information

Lecture slides by Kevin Wayne

Lecture slides by Kevin Wayne LINEAR PROGRAMMING I a refreshing example standard form fundamental questions geometry linear algebra simplex algorithm Lecture slides by Kevin Wayne Last updated on 7/25/17 11:09 AM Linear programming

More information

ORF 522. Linear Programming and Convex Analysis

ORF 522. Linear Programming and Convex Analysis ORF 5 Linear Programming and Convex Analysis Initial solution and particular cases Marco Cuturi Princeton ORF-5 Reminder: Tableaux At each iteration, a tableau for an LP in standard form keeps track of....................

More information

Linear Programming Redux

Linear Programming Redux Linear Programming Redux Jim Bremer May 12, 2008 The purpose of these notes is to review the basics of linear programming and the simplex method in a clear, concise, and comprehensive way. The book contains

More information

OPERATIONS RESEARCH. Linear Programming Problem

OPERATIONS RESEARCH. Linear Programming Problem OPERATIONS RESEARCH Chapter 1 Linear Programming Problem Prof. Bibhas C. Giri Department of Mathematics Jadavpur University Kolkata, India Email: bcgiri.jumath@gmail.com MODULE - 2: Simplex Method for

More information

Developing an Algorithm for LP Preamble to Section 3 (Simplex Method)

Developing an Algorithm for LP Preamble to Section 3 (Simplex Method) Moving from BFS to BFS Developing an Algorithm for LP Preamble to Section (Simplex Method) We consider LP given in standard form and let x 0 be a BFS. Let B ; B ; :::; B m be the columns of A corresponding

More information

February 17, Simplex Method Continued

February 17, Simplex Method Continued 15.053 February 17, 2005 Simplex Method Continued 1 Today s Lecture Review of the simplex algorithm. Formalizing the approach Alternative Optimal Solutions Obtaining an initial bfs Is the simplex algorithm

More information

The Simplex Method. Standard form (max) z c T x = 0 such that Ax = b.

The Simplex Method. Standard form (max) z c T x = 0 such that Ax = b. The Simplex Method Standard form (max) z c T x = 0 such that Ax = b. The Simplex Method Standard form (max) z c T x = 0 such that Ax = b. Build initial tableau. z c T 0 0 A b The Simplex Method Standard

More information

CSC Design and Analysis of Algorithms. LP Shader Electronics Example

CSC Design and Analysis of Algorithms. LP Shader Electronics Example CSC 80- Design and Analysis of Algorithms Lecture (LP) LP Shader Electronics Example The Shader Electronics Company produces two products:.eclipse, a portable touchscreen digital player; it takes hours

More information

The Dual Simplex Algorithm

The Dual Simplex Algorithm p. 1 The Dual Simplex Algorithm Primal optimal (dual feasible) and primal feasible (dual optimal) bases The dual simplex tableau, dual optimality and the dual pivot rules Classical applications of linear

More information

21. Solve the LP given in Exercise 19 using the big-m method discussed in Exercise 20.

21. Solve the LP given in Exercise 19 using the big-m method discussed in Exercise 20. Extra Problems for Chapter 3. Linear Programming Methods 20. (Big-M Method) An alternative to the two-phase method of finding an initial basic feasible solution by minimizing the sum of the artificial

More information

Worked Examples for Chapter 5

Worked Examples for Chapter 5 Worked Examples for Chapter 5 Example for Section 5.2 Construct the primal-dual table and the dual problem for the following linear programming model fitting our standard form. Maximize Z = 5 x 1 + 4 x

More information

Linear programs Optimization Geoff Gordon Ryan Tibshirani

Linear programs Optimization Geoff Gordon Ryan Tibshirani Linear programs 10-725 Optimization Geoff Gordon Ryan Tibshirani Review: LPs LPs: m constraints, n vars A: R m n b: R m c: R n x: R n ineq form [min or max] c T x s.t. Ax b m n std form [min or max] c

More information

A = Chapter 6. Linear Programming: The Simplex Method. + 21x 3 x x 2. C = 16x 1. + x x x 1. + x 3. 16,x 2.

A = Chapter 6. Linear Programming: The Simplex Method. + 21x 3 x x 2. C = 16x 1. + x x x 1. + x 3. 16,x 2. Chapter 6 Linear rogramming: The Simple Method Section The Dual roblem: Minimization with roblem Constraints of the Form Learning Objectives for Section 6. Dual roblem: Minimization with roblem Constraints

More information

Distributed Real-Time Control Systems. Lecture Distributed Control Linear Programming

Distributed Real-Time Control Systems. Lecture Distributed Control Linear Programming Distributed Real-Time Control Systems Lecture 13-14 Distributed Control Linear Programming 1 Linear Programs Optimize a linear function subject to a set of linear (affine) constraints. Many problems can

More information

Algebraic Simplex Active Learning Module 4

Algebraic Simplex Active Learning Module 4 Algebraic Simplex Active Learning Module 4 J. René Villalobos and Gary L. Hogg Arizona State University Paul M. Griffin Georgia Institute of Technology Time required for the module: 50 Min. Reading Most

More information

Section Notes 9. IP: Cutting Planes. Applied Math 121. Week of April 12, 2010

Section Notes 9. IP: Cutting Planes. Applied Math 121. Week of April 12, 2010 Section Notes 9 IP: Cutting Planes Applied Math 121 Week of April 12, 2010 Goals for the week understand what a strong formulations is. be familiar with the cutting planes algorithm and the types of cuts

More information

Simplex method(s) for solving LPs in standard form

Simplex method(s) for solving LPs in standard form Simplex method: outline I The Simplex Method is a family of algorithms for solving LPs in standard form (and their duals) I Goal: identify an optimal basis, as in Definition 3.3 I Versions we will consider:

More information

The Simplex Algorithm

The Simplex Algorithm 8.433 Combinatorial Optimization The Simplex Algorithm October 6, 8 Lecturer: Santosh Vempala We proved the following: Lemma (Farkas). Let A R m n, b R m. Exactly one of the following conditions is true:.

More information

Lecture 4: Algebra, Geometry, and Complexity of the Simplex Method. Reading: Sections 2.6.4, 3.5,

Lecture 4: Algebra, Geometry, and Complexity of the Simplex Method. Reading: Sections 2.6.4, 3.5, Lecture 4: Algebra, Geometry, and Complexity of the Simplex Method Reading: Sections 2.6.4, 3.5, 10.2 10.5 1 Summary of the Phase I/Phase II Simplex Method We write a typical simplex tableau as z x 1 x

More information

MATH 445/545 Test 1 Spring 2016

MATH 445/545 Test 1 Spring 2016 MATH 445/545 Test Spring 06 Note the problems are separated into two sections a set for all students and an additional set for those taking the course at the 545 level. Please read and follow all of these

More information

4.5 Simplex method. min z = c T x s.v. Ax = b. LP in standard form

4.5 Simplex method. min z = c T x s.v. Ax = b. LP in standard form 4.5 Simplex method min z = c T x s.v. Ax = b x 0 LP in standard form Examine a sequence of basic feasible solutions with non increasing objective function value until an optimal solution is reached or

More information

The augmented form of this LP is the following linear system of equations:

The augmented form of this LP is the following linear system of equations: 1 Consider the following LP given in standard form: max z = 5 x_1 + 2 x_2 Subject to 3 x_1 + 2 x_2 2400 x_2 800 2 x_1 1200 x_1, x_2 >= 0 The augmented form of this LP is the following linear system of

More information

Note 3: LP Duality. If the primal problem (P) in the canonical form is min Z = n (1) then the dual problem (D) in the canonical form is max W = m (2)

Note 3: LP Duality. If the primal problem (P) in the canonical form is min Z = n (1) then the dual problem (D) in the canonical form is max W = m (2) Note 3: LP Duality If the primal problem (P) in the canonical form is min Z = n j=1 c j x j s.t. nj=1 a ij x j b i i = 1, 2,..., m (1) x j 0 j = 1, 2,..., n, then the dual problem (D) in the canonical

More information

GETTING STARTED INITIALIZATION

GETTING STARTED INITIALIZATION GETTING STARTED INITIALIZATION 1. Introduction Linear programs come in many different forms. Traditionally, one develops the theory for a few special formats. These formats are equivalent to one another

More information

Linear Programming: Simplex Algorithm. A function of several variables, f(x) issaidtobelinear if it satisþes the two

Linear Programming: Simplex Algorithm. A function of several variables, f(x) issaidtobelinear if it satisþes the two Linear Programming: Simplex Algorithm A function of several variables, f(x) issaidtobelinear if it satisþes the two conditions: (i) f(x + Y )f(x) +f(y )and(ii)f(αx) αf(x), where X and Y are vectors of

More information

Linear Programming and the Simplex method

Linear Programming and the Simplex method Linear Programming and the Simplex method Harald Enzinger, Michael Rath Signal Processing and Speech Communication Laboratory Jan 9, 2012 Harald Enzinger, Michael Rath Jan 9, 2012 page 1/37 Outline Introduction

More information

1. Algebraic and geometric treatments Consider an LP problem in the standard form. x 0. Solutions to the system of linear equations

1. Algebraic and geometric treatments Consider an LP problem in the standard form. x 0. Solutions to the system of linear equations The Simplex Method Most textbooks in mathematical optimization, especially linear programming, deal with the simplex method. In this note we study the simplex method. It requires basically elementary linear

More information

MATH2070 Optimisation

MATH2070 Optimisation MATH2070 Optimisation Linear Programming Semester 2, 2012 Lecturer: I.W. Guo Lecture slides courtesy of J.R. Wishart Review The standard Linear Programming (LP) Problem Graphical method of solving LP problem

More information

MATH 4211/6211 Optimization Linear Programming

MATH 4211/6211 Optimization Linear Programming MATH 4211/6211 Optimization Linear Programming Xiaojing Ye Department of Mathematics & Statistics Georgia State University Xiaojing Ye, Math & Stat, Georgia State University 0 The standard form of a Linear

More information

Systems Analysis in Construction

Systems Analysis in Construction Systems Analysis in Construction CB312 Construction & Building Engineering Department- AASTMT by A h m e d E l h a k e e m & M o h a m e d S a i e d 3. Linear Programming Optimization Simplex Method 135

More information

Farkas Lemma, Dual Simplex and Sensitivity Analysis

Farkas Lemma, Dual Simplex and Sensitivity Analysis Summer 2011 Optimization I Lecture 10 Farkas Lemma, Dual Simplex and Sensitivity Analysis 1 Farkas Lemma Theorem 1. Let A R m n, b R m. Then exactly one of the following two alternatives is true: (i) x

More information

Linear Programming for Planning Applications

Linear Programming for Planning Applications Communication Network Planning and Performance Learning Resource Linear Programming for Planning Applications Professor Richard Harris School of Electrical and Computer Systems Engineering, RMIT Linear

More information

CO350 Linear Programming Chapter 8: Degeneracy and Finite Termination

CO350 Linear Programming Chapter 8: Degeneracy and Finite Termination CO350 Linear Programming Chapter 8: Degeneracy and Finite Termination 27th June 2005 Chapter 8: Finite Termination 1 The perturbation method Recap max c T x (P ) s.t. Ax = b x 0 Assumption: B is a feasible

More information

56:171 Operations Research Midterm Exam - October 26, 1989 Instructor: D.L. Bricker

56:171 Operations Research Midterm Exam - October 26, 1989 Instructor: D.L. Bricker 56:171 Operations Research Midterm Exam - October 26, 1989 Instructor: D.L. Bricker Answer all of Part One and two (of the four) problems of Part Two Problem: 1 2 3 4 5 6 7 8 TOTAL Possible: 16 12 20 10

More information

February 22, Introduction to the Simplex Algorithm

February 22, Introduction to the Simplex Algorithm 15.53 February 22, 27 Introduction to the Simplex Algorithm 1 Quotes for today Give a man a fish and you feed him for a day. Teach him how to fish and you feed him for a lifetime. -- Lao Tzu Give a man

More information

Metode Kuantitatif Bisnis. Week 4 Linear Programming Simplex Method - Minimize

Metode Kuantitatif Bisnis. Week 4 Linear Programming Simplex Method - Minimize Metode Kuantitatif Bisnis Week 4 Linear Programming Simplex Method - Minimize Outlines Solve Linear Programming Model Using Graphic Solution Solve Linear Programming Model Using Simplex Method (Maximize)

More information

Example. 1 Rows 1,..., m of the simplex tableau remain lexicographically positive

Example. 1 Rows 1,..., m of the simplex tableau remain lexicographically positive 3.4 Anticycling Lexicographic order In this section we discuss two pivoting rules that are guaranteed to avoid cycling. These are the lexicographic rule and Bland s rule. Definition A vector u R n is lexicographically

More information

The use of shadow price is an example of sensitivity analysis. Duality theory can be applied to do other kind of sensitivity analysis:

The use of shadow price is an example of sensitivity analysis. Duality theory can be applied to do other kind of sensitivity analysis: Sensitivity analysis The use of shadow price is an example of sensitivity analysis. Duality theory can be applied to do other kind of sensitivity analysis: Changing the coefficient of a nonbasic variable

More information

Dual Basic Solutions. Observation 5.7. Consider LP in standard form with A 2 R m n,rank(a) =m, and dual LP:

Dual Basic Solutions. Observation 5.7. Consider LP in standard form with A 2 R m n,rank(a) =m, and dual LP: Dual Basic Solutions Consider LP in standard form with A 2 R m n,rank(a) =m, and dual LP: Observation 5.7. AbasisB yields min c T x max p T b s.t. A x = b s.t. p T A apple c T x 0 aprimalbasicsolutiongivenbyx

More information

Optimization (168) Lecture 7-8-9

Optimization (168) Lecture 7-8-9 Optimization (168) Lecture 7-8-9 Jesús De Loera UC Davis, Mathematics Wednesday, April 2, 2012 1 DEGENERACY IN THE SIMPLEX METHOD 2 DEGENERACY z =2x 1 x 2 + 8x 3 x 4 =1 2x 3 x 5 =3 2x 1 + 4x 2 6x 3 x 6

More information

min 4x 1 5x 2 + 3x 3 s.t. x 1 + 2x 2 + x 3 = 10 x 1 x 2 6 x 1 + 3x 2 + x 3 14

min 4x 1 5x 2 + 3x 3 s.t. x 1 + 2x 2 + x 3 = 10 x 1 x 2 6 x 1 + 3x 2 + x 3 14 The exam is three hours long and consists of 4 exercises. The exam is graded on a scale 0-25 points, and the points assigned to each question are indicated in parenthesis within the text. If necessary,

More information

Contents. 4.5 The(Primal)SimplexMethod NumericalExamplesoftheSimplexMethod

Contents. 4.5 The(Primal)SimplexMethod NumericalExamplesoftheSimplexMethod Contents 4 The Simplex Method for Solving LPs 149 4.1 Transformations to be Carried Out On an LP Model Before Applying the Simplex Method On It... 151 4.2 Definitions of Various Types of Basic Vectors

More information

Water Resources Systems: Modeling Techniques and Analysis

Water Resources Systems: Modeling Techniques and Analysis INDIAN INSTITUTE OF SCIENCE Water Resources Systems: Modeling Techniques and Analysis Lecture - 9 Course Instructor : Prof. P. P. MUJUMDAR Department of Civil Engg., IISc. Summary of the previous lecture

More information

Introduction to the Simplex Algorithm Active Learning Module 3

Introduction to the Simplex Algorithm Active Learning Module 3 Introduction to the Simplex Algorithm Active Learning Module 3 J. René Villalobos and Gary L. Hogg Arizona State University Paul M. Griffin Georgia Institute of Technology Background Material Almost any

More information

4.5 Simplex method. LP in standard form: min z = c T x s.t. Ax = b

4.5 Simplex method. LP in standard form: min z = c T x s.t. Ax = b 4.5 Simplex method LP in standard form: min z = c T x s.t. Ax = b x 0 George Dantzig (1914-2005) Examine a sequence of basic feasible solutions with non increasing objective function values until an optimal

More information

Math Models of OR: Sensitivity Analysis

Math Models of OR: Sensitivity Analysis Math Models of OR: Sensitivity Analysis John E. Mitchell Department of Mathematical Sciences RPI, Troy, NY 8 USA October 8 Mitchell Sensitivity Analysis / 9 Optimal tableau and pivot matrix Outline Optimal

More information

Sensitivity Analysis

Sensitivity Analysis Dr. Maddah ENMG 500 /9/07 Sensitivity Analysis Changes in the RHS (b) Consider an optimal LP solution. Suppose that the original RHS (b) is changed from b 0 to b new. In the following, we study the affect

More information

c) Place the Coefficients from all Equations into a Simplex Tableau, labeled above with variables indicating their respective columns

c) Place the Coefficients from all Equations into a Simplex Tableau, labeled above with variables indicating their respective columns BUILDING A SIMPLEX TABLEAU AND PROPER PIVOT SELECTION Maximize : 15x + 25y + 18 z s. t. 2x+ 3y+ 4z 60 4x+ 4y+ 2z 100 8x+ 5y 80 x 0, y 0, z 0 a) Build Equations out of each of the constraints above by introducing

More information