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

Size: px
Start display at page:

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

Transcription

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

2 Summary of the Phase I/Phase II Simplex Method We write a typical simplex tableau as z x 1 x 2... x n rhs 0 ā 11 ā ā 1n b1 0 ā 21 ā ā 2n b ā m1 ā m2... ā mn bm 1 ā m+1,1 ā m+1,2... ā m+1,n bm+1 where ā m+1,j = c j, b m+1 = z 0 if this is a max problem, and ā m+1,j = c j, b m+1 = z 0 if it is a min problem. Generic Simplex Pivot for Row r: P1: Choose as entering variable any x j with ā rj < 0 P2: Choose as leaving variable any x Bi with i < r, ā ij > 0 and bi /ā ij = min{ b k /ā kj ā kj > 0, k = 1,..., r 1} P3: Perform a pivot on entry ā ij. 2

3 Steps of the Phase I/Phase II Method Initialize: Perform a standard Gauss-Jordan reduction of the original equality system. If a redundant row is found delete it, and if an inconsistent row is found STOP, the LP is infeasible. Phase I: For row r = 1,..., m while b r < 0 do the following: 1. Attempt a generic simplex pivot. 2. If Step P1 fails, then STOP, the LP is infeasible 3. If Step P2 fails pivot on element ā rj. Go to the next row. 4. If neither P1 or P2 fails, perform the pivot and repeat. When rows 1,..., m have been successfully processed, the LP is feasible. Phase II: For r = m + 1 do the following: 1. Attempt a generic simplex pivot. 2. If Step P1 fails, then STOP, the current solution is optimal. 3. If Step P2 fails STOP, the LP is unbounded. 4. If neither P1 or P2 fails, perform the pivot and repeat. 3

4 Matrix form of a basic tableau Consider a general equality form LP tableau z x 1 x 2... x n rhs 0. a 11. a a 1n. b 1. 0 a m1 a m2... a mn b m 1 c 1 c 2... c n 0 or z x rhs 0 A b 1 c 0 We wish to give a matrix description of an arbitrary basic tableau associated with basic variables x B. To do this, we first partition of the tableau into basic and nonbasic columns: z x B x N rhs 0 B N b 1 c B c N 0 Then the associated basic tableau will look like this: basis z x B1... x Bm x N1... x Nn m rhs x B ā 1,N1... ā 1,Nn m b x Bm ā m,n1... ā m,nn m bm z c N1... c Nn m z 0 or basis z x B x N rhs x B 0 I N b z 1 0 c N z 0 We wish to describe N, b, c N, and z 0 in terms of B, N, b, c B, and c N. 4

5 We have already described the N matrix and b vector, using the equation or Ax = Bx B + Nx N = b B 1 Ax = x B + B 1 Nx N = B 1 b so that N = B 1 N and b = B 1 b. How about c N and z 0? Writing z = c B x B + c N x N and substituting x B = B 1 b B 1 Nx N, we get z = c B (B 1 b B 1 Nx N ) + c N x N = c B B 1 b + (c N c B B 1 N)x N or extending to all variables, z = c B B 1 b + (c c B B 1 A)x so that the complete tableau is or simply basis z x B x N rhs x B 0 I B 1 N B 1 b z 1 0 c N + c B B 1 N c B B 1 b basis z x rhs x B 0 B 1 A B 1 b z 1 c + c B B 1 A c B B 1 b 5

6 We define an important set of values ȳ 1,..., ȳ m for this tableau, called the shadow prices, by setting ȳ = c B B 1 Using this, and writing B 1 = S = tableau can be written s s 1m..... s mm s m1, the basis z x B x N rhs x B 0 I SN Sb z 1 0 c N + ȳn ȳb or basis z x rhs x B 0 SA Sb z 1 c + ȳa ȳb More on the role of shadow prices later. 6

7 Formulae for a Basic Tableau We can now give the formulae for the current tableau in terms of the original tableau and the S and ȳ values: (1) ā ij = s i1 a 1j + s i2 a 2j s im a mj i = 1,..., m j = 1,..., n (2) bi = s i1 b 1 + s i2 b s im b m i = 1,..., m (3) c j = c j ȳ 1 a 1j ȳ 2 a 2j... ȳ m a mj j = 1,..., n (4) z 0 = ȳ 1 b 1 + ȳ 2 b ȳ m b m Example: Consider the following LP: max cx Ax = b x 0 Where A, b, and c are given below: x 1 x 2 x 3 x 4 x 5 x 6 x 7 b A c Suppose we want to reconstruct the tableau with starting basis x B = (x 4, x 6, x 1 ). 7

8 We have B = and c B = (3, 4, 2) and so S = B 1 = 1/2 1/2 1/2 1/2 1/2 1/2 1/2 1/2 1/2 ȳ = c B S = ( 3/2, 5/2, 9/2). The final tableau has Ā = SA = 1/2 1/2 1/2 1/2 1/2 1/2 1/2 1/2 1/ = b = Sb = 1/2 1/2 1/2 1/2 1/2 1/2 1/2 1/2 1/ =

9 c = c ȳa = (2, 3, 4, 3, 1, 4, 6) ( 3/2, 5/2, 9/2) = (0, 6, 2, 0, 12, 0, 15) z 0 = ( 3/2, 5/2, 9/2) So the current tableau is = 8 basis z x 1 x 2 x 3 x 4 x 5 x 6 x 7 rhs x x x z We apply the formulae to a few entries: ā 23 = s 21 a 13 + s 22 a 23 + s 23 a 33 = (1/2)(3) + (1/2)( 1) + ( 1/2)(0) = 1 b3 = s 31 b 1 + s 32 b 2 + s 33 b 3 = ( 1/2)(3) + (1/2)(4) + (1/2)(5) = 3 c 5 = c 5 ȳ 1 a 15 ȳ 2 a 25 ȳ 3 a 35 = 1 ( 3/2)( 1) ( 5/2)( 1) (9/2)(2) = 12 z 0 = ȳ 1 b 1 + ȳ 2 b 2 + ȳ 3 b 3 = ( 3/2)(3) + ( 5/2)(4) + (9/2)(5) = 8 9

10 Matrix Form for Canonical Max Tableau The tableaus associated with a canonical max problem has some interesting special features. Consider the canonical max LP max z = c 1 x c n x n a 11 x a 1n x n b 1. a m1 x a mn x n b m x x n 0 This has starting tableau z x 1 x 2... x n s 1... s m rhs 0 a 11 a a 1n b 1. 0 a m1 a m2... a mn b m 1 c 1 c 2... c n or z x s rhs 0 A I b 1 c 0 0 where s = (s 1,..., s m ) is the vector of slack variables for the inequalities. 10

11 A general simplex tableau will look like this: z x 1 x 2... x n s 1... s m rhs 0. ā 11. ā ā 1n. ā 1,n ā 1,n+m.... b1. 0 ā m1 ā m2... ā mn ā m,n+1... ā m,n+m bm 1 c 1 c 2... c n c n+1... c n+m z 0 and if we apply the matrix formula to the extended system with  = (A I) and ĉ = (c, 0), we get tableau basis z (x, s) rhs x B 0 S(A I) Sb z 1 [(c, 0) ȳ(a I)] ȳb = basis z x s rhs x B 0 SA S Sb z 1 c + ȳa ȳ ȳb so that S is precisely the matrix under the slack variables, and ȳ is precisely the set of objective row values under the slack variables. Note: If the objective were a min (constraints still ) the tableau will look like basis z x s rhs x B 0 SA S Sb z 1 c ȳa ȳ ȳb and so the values under the slack variables will be the negatives of the shadow prices. 11

12 Example Woody s 3-variable problem has starting tableau basis z x 1 x 2 x 3 x 4 x 5 x 6 rhs x x x z The optimal tableau is basis z x 1 x 2 x 3 x 4 x 5 x 6 rhs x / x /4 0 2/3 2 x / z / so that the shadow prices are (5/2, 0, 5) which incidentally are also the negative of the reduced costs on the slack variables. The reduced costs on the x-variables are ( c 1, c 2, c 3 ) = (35, 60, 75) (5/2, 0, 5) = (0, 0, 10) which appears negated in the optimal tableau. 12

13 Change Vectors and Ascent Directions Consider an LP in equality form: max z = cx (P ) Ax = b x 0 and suppose ˆx and ˆx are two feasible (not necessarily basic) solutions for (P ) for which ˆx has a larger objective function than ˆx. We will concentrate on the change vector v such that ˆx = ˆx + v. Two key properties of the change vector v are: (a) Av = 0 (b) cv > 0 Proof: (a) Aˆx = b and Aˆx = b Aˆv = Aˆx Aˆx = b b = 0 (b) cˆx > cˆx cv = cˆx cˆx > 0 13

14 Pivot Directions as Change Vectors The simplex method involves moving from some BFS ˆx by choosing an entering variable x j in the associated tableau, and then increasing x j to some value 0, leaving all other nonbasic variables at 0. This resulted in new point x defined by ˆx j =, ˆx B i = b i ā ij, i = 1,..., m. ˆx k = 0, otherwise. Another way of looking at this is to say that x = ˆx + ˆv, where ˆx is the current BFS, and ˆv has components Then clearly ˆv j = 1, ˆv Bi = ā ij, i = 1,..., m. ˆv k = 0, otherwise. Aˆv = Bˆv B + N ˆv N = BĀ j + A j 1 and = B(B 1 A j ) + A j = A j + A j = 0 cˆv = c Bˆv B + c N ˆv N = c B Ā j + c j = c B (B 1 A j ) + c j = c j and thus so long as c j > 0 this satisfies the properties of change vectors given above. We call ˆv a basic change vector associated with basis B and nonbasic index j. 14

15 Basic Geometry of the Phase II Simplex Method Consider a canonical max LP, written in the following inequality form: (P I ) max z = c 1 x c n x n (slack) x 1 0 x 1... x n 0 x n a 11 x a 1n x n b 1. x n+1 a m1 x a mn x n b m x n+m and its standard equality form equivalent: max z = c 1 x c n x n a 11 x a 1n x n + x n+1 = b 1 (P E ) a m1 x a mn x n + x n+m = b m x x n 0 x n x n+m 0 Now associate each of the n + m variables in P E to the appropriate one of the n + m constraints in P I. 15

16 Relationships Between Algebra and Geometry P E basic feasible solution: A solution obtained by setting n nonbasic variables to 0 and solving for the remaining m basic variables. adjacent basic feasible solutions: A pair of BFSs whose bases differ by exactly one element. The set x, 0 defines those solutions obtained by pivoting from one BFS to an adjacent one in the direction of the basic change vector. optimal BFS: A BFS whose associated tableau has all reduced costs ative unbounded tableau: A tableau having a column whose reduced cost is negative and whose associated basic change vector has all ative components. P I corner-point solution: A solution obtained by setting n constraints to equality and finding the corresponding solution. edge: Set of feasible points satisfying exactly n 1 constraints at equality. optimal corner point: corner point whose associated level set contains the entire feasible region on the side. extreme half-line (extreme ray): an edge whose objective-function- increasing direction never leaves the feasible region 16

17 Phase II for Woody s Problem max z = 35x x 2 8x x x x 1 + 6x 2 48 x 1 0 x 2 0 basis z x 1 x 2 x 3 x 4 x 5 rhs x x x z x / x / x / z x /15 8/3 8 x / x /15 1/3 8 z /3 35/3 520 x / x /4 0 2/3 2 x / z /

18 Simplex Path for Woody s Problem tables tables chairs tables chairs tables chairs chairs

19 Phase II for 3-Variable Woody s max z = 35x x x 3 8x x x x x x 1 + 6x 2 + 9x 3 48 The Simplex Tableaus: x 1 0 x 2 0 x 3 0 basis z x 1 x 2 x 3 x 4 x 5 x 6 rhs x x x z x / x / / x / / z / / x /5 8/3 16 x / / x / /20 1/3 7 z / /2 35/3 470 x /3 1 4/15 8/3 8 x /3 0 1/ x /3 0 2/15 1/3 8 z /3 0 2/3 35/3 520 x / x /4 0 2/3 2 x / z /

20 Simplex Path for Woody s 3D Problem 4 desks tables chairs

21 The tableaus: An Unbounded LP max z = 35x x 2 8x x x x x 1 6x 2 48 x 1 0 x 2 0 basis z x 1 x 2 x 3 x 4 x 5 rhs x x x z x / x 2 0 4/ / x / z x /8 1/ x /6 1/ x /8 1/ z /8 15/ The change vector for the final tableau is ˆv = ( 1 10, 1 15, 0, 1, 1 10 ) 0 with cˆv = 15 8 > 0. 21

22 The Picture with the unbounded arrow in the direction ( 1 10, 1 15 ). 22

23 Geometry of the Phase I Simplex Method The Phase I Simplex Method simply tries to satisfy the set of inequalities one inequality at a time, by moving in the direction of the feasible half of each inequality, while continuing to stay on the feasible side of all of the previous inequalities. The stopping rules can be interpreted: br becomes ative: You have passed across the inequality into its feasible side. Step P1 fails: You have reached a point as close to the inequality as you can get, and therefore can never pass into the feasible region. Step P2 fails: The pivot on ā rj jumps you right onto the equality, so that it is immediately satisfied. Example: Consider the following system: 4x x x x 1 + 6x 2 48 x 1 0 x x C3 C1 C x

24 The Phase I Tableaus basis z x 1 x 2 x 3 x 4 x 5 rhs x (P2 fails) x x basis z x 1 x 2 x 3 x 4 x 5 rhs x / x (pivot, go to x / next row) basis z x 1 x 2 x 3 x 4 x 5 rhs x 2 0 1/3 1 1/ /3 x / x / (pivot) basis z x 1 x 2 x 3 x 4 x 5 rhs x / x /4 1/ (feasible) x /4 1/

25 The Figures 16 x2 16 x C3 8 C3 6 4 C1 C2 6 4 C1 C x1 0 x x2 16 x C3 8 C3 6 4 C1 C2 6 4 C1 C x1 0 x

26 On the other hand, if we add a fourth constraint to the above system: 4x x x x 1 + 6x x 1 + 8x 2 24 x 1 0 x x C C4 C3 x1 C

27 We take the same first three pivots basis z x1 x2 s1 s2 s3 s4 rhs x / x /4 1/ s /4 1/ s /4 1/ but now one more pivot gives basis z x1 x2 s1 s2 s3 s4 rhs x /4 0 1/3 0 7 x / s / s /2 0 1/ for which P1 fails, and the problem is declared infeasible. 16 x2 16 x C2 4 C C4 C3 x1 C1 0 2 C4 C3 x1 C The Farkas Lemma solution associated with this turns out to be ŷ = (1/2, 0, 1/3, 1) This has an interesting interpretation when applied to the original inequality system. Multiplying the first constraint by 1/2 and the third constraint by 1/3, and then adding the two ( ) constraints, we get implied surrogate constraint 3x 1 + 8x 2 62 which immediately shows the fourth constraint can never be satisfied. More on surrogate constraints later. 27

28 Multiple Optimal Solutions Suppose in Woody s problem we changed the cost of the second variable from 60 to 70. max z = 35x x 2 8x x x x 1 + 6x 2 48 x 1 0, x 2 0, 7 6 x2 5 4 C2 3 2 C3 1 0 C1 x

29 If we perform the Phase II simplex method on this system, after the same first two pivots as for Woody s original problem we arrive at tableau basis z x 1 x 2 x 3 x 4 x 5 rhs x /15 8/3 8 x / x /15 1/3 8 z /3 560 This is an optimal tableau, with optimal solution x 1 = 8, x 2 = 4, x 3 = 8, x 4 = 0, x 5 = 0, and objective value z = 560, but now we have a nonbasic variable, x 4, whose reduced cost is 0. What this means is that if we bring x 4 into the basis by pivoting on ā 14, we arrive at tableau basis z x 1 x 2 x 3 x 4 x 5 rhs x / x /4 0 2/3 2 x / z /3 560 This is also an optimal tableau, with different solution x 1 = 12, x 2 = 2, x 3 = 0, x 4 = 30, x 5 = 0, which is also optimal. Fact: If the optimal tableau has a nonbasic column with reduced cost 0, then a pivot on that column will result in an alternate optimal solution. 29

30 Tie Breaking and Degeneracy in the Simplex Method Usually tie-breaking can be done arbitrarily in the simplex method. This can lead to odd situations. For example, suppose we consider Woody s problem, with the pine resource changed to 112: max z = 35x x 2 8x x x x 1 + 6x 2 48 x 1 0, x 2 0, 8 6 x2 4 C2 2 0 C1 x1 C

31 After the first pivot we obtain the following tableau: basis z x 1 x 2 x 3 x 4 x 5 rhs x / x / x / z and when we do the ratio test on the x 1 column we get two candidates for blocking variable, x 3 and x 5. Suppose we arbitrarily choose x 3 to enter the basis. The next tableau is: basis z x 1 x 2 x 3 x 4 x 5 rhs x /15 8/3 0 x / x /15 1/3 8 z /3 35/3 520 with associated solution x 1 = 8, x 2 = 4, x 3 = 0, x 4 = 0, x 5 = 0, and objective function value z = 520. This is called a degenerate tableau, since a basic variable (x 3 ) also has value 0. A pivot is indicated in the x 4 column, but when we perform the ratio test, we find that = 0. What this means is that x 3 is the blocking variable, and a pivot on entry ā 41 give the tableau basis z x 1 x 2 x 3 x 4 x 5 rhs x / x /4 0 2/3 4 x / z / which has the same solution and objective value, but can now be verified to be optimal. What has occurred is a degenerate pivot. 31

32 Finiteness of the Simplex Method Theorem 4.1 If the simplex method performs no degenerate pivots, then it will always terminate in a finite number of steps. Proof: If a degenerate pivot does not occur, then the blocking ratio will always be positive, and so the succeeding solution x will have objective value z = z 0 + c j > z 0. Therefore the sequence of BFSs will have decreasing objective values and so we can never repeat a BFS. Now BFSs are determined by their basis set, and since there are only a finite (at most ( ) n m ) such sets, then a stopping tableau must be found in a finite number of pivots. 32

33 Unfortunately, this is not enough to guarantee the finiteness of the simplex method in the presence of degenerate pivots. In fact, the simplex method is not guaranteed to terminate under fairly reasonable tie-breaking rules. Consider the following degenerate tableau: basis z x 1 x 2 x 3 x 4 x 5 x 6 x 7 rhs x x /2 11/2 5/2 9 0 x /2 3/2 1/2 1 0 z If we solve this using the standard simplex method entering/leaving rules (most negative reduced cost/minimum ration), breaking ties by choosing the leftmost or topmost among the candidate pivot columns and rows, we get the following sequence of bases: [x 1 x 2 x 3 ], [x 1 x 4 x 3 ], [x 1 x 4 x 5 ], [x 1 x 6 x 5 ], [x 1 x 6 x 7 ], [x 1 x 2 x 7 ], [x 1 x 2 x 3 ],... The simplex method, using these rules, will never terminate. Such a sequence of bases is called a cycle. Corollary: If no cycle occurs in the simplex method, then the simplex method will terminate in a finite number of steps. 33

34 Bland s Rule Cycles are extremely rare (if not altogether nonexistent) in real-world problems. Nevertheless, they pose theoretical problems for any results that depend upon the simplex method for a proof. Luckily, there is a simple pivot rule called Bland s Rule that avoids cycles: Bland s Rule: Use the following rules to determine the entering and leaving variables for a simplex pivot: Among all of the variables eligible to enter the basis choose the one with smallest index. Among all of the variables eligible to leave the basis, again choose the one with the smallest index. In the cycling example given above, for the basis [x 1 x 6 x 5 ] instead of choosing the variable x 7 with the most negative c j value, Bland s Rule would choose the variable x 2 with the smallest index among those with c j < 0. This gives an optimal tableau. 34

35 Theorem 4.2 If Bland s Rule is used to choose the entering and leaving variables in the simplex method, then the simplex method will never cycle. Proof: Suppose we obtain cycle B 0, B 1,..., B k = B 0 of basis sets using Bland s Rule. Define a active variable to be one which enters the basis during a pivot in this cycle (and hence will necessarily leave the basis during another pivot in the cycle). Note that all active variables will have value 0 throughout the cycle, whether they are basic or nonbasic. Let t be the largest index of a active variable. We concentrate on two specific tableaus in the cycle: tableau T, with associated basis set B, where x t enters the basis, and tableau ˆT, with associated basis set ˆB, where x t leaves the basis. In tableau ˆT, suppose t = ˆB r, and let x s be the entering variable, that is, the pivot in tableau ˆT occurs on entry (r, s) There are two key points to notice about these tableaus in relation to Bland s Rule: Tableau T : Since x t enters the basis, then c t > 0, and c j 0 for every other active variable x j. Tableau ˆT : Since x s enters the basis, then ĉ s > 0, and since x t = x ˆBr leaves the basis, then â rs > 0, and â is 0 for every other active variable x j = x ˆBi. 35

36 Now consider the basic change vector associated with the pivot performed with respect to tableau ˆT : ˆv s = 1 ˆv ˆBi = â is i = 1,..., m ˆv j = 0 j ˆN \ {s} We know from the basic properties of change vectors that Aˆv = 0 and cˆv = ĉ s > 0. We compute the value of cˆv two ways. First note that cˆv = (c ỹa)ˆv = cˆv ỹ(aˆv) = cˆv ỹ 0 = cˆv = ĉ s > 0 where ỹ = c B B 1. If we write out the vector product, however, we get cˆv = j ˆB Ñ {s} ( x j active) c jˆv j every other index has either c j = 0 or ˆv j = 0 = c t â rs c j â is + c s 1 < 0 j= ˆB i ˆB Ñ\{t} ( c t > 0, â rs > 0) ( c j 0, â is 0) ( c s 0) a contradiction. It follows that no such cycle can exist. 36

37 Conclusions Theorem 4.3 The Phase I/Phase II Simplex Method, using Bland s anticycling rule, will always terminate in a finite number of steps. Corollary: Any LP is either infeasible, unbounded, or has an optimal solution. Corollary: For any equality form LP (P ): If (P ) has a feasible solution, then (P ) has a basic feasible solution. If (P ) has an optimal solution, then (P ) has a basic feasible optimal solution. 37

38 Computational Complexity of the Simplex Method How many simplex pivots are required to guarantee that a solution will always be reached? There are ( ) n m possible bases in an m n equality LP system. This number can grow as fast as 2 m. Again, there are laboratory examples of classes of LPs that exhibit exponential growth in the number of Phase II pivots, using almost any local pivot rules. In practice, the number of pivots to optimality seems to grow proportional to (linear in) m. Goal: To construct a polynomial-time algorithm for solving LPs. The interior point method is one such algorithm. (More on this method later in the course.) Big Open Question: Is there an implementation of the simplex method (effective choice of pivots) that will make it a polynomial-time algorithm? 38

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

Notes on Simplex Algorithm

Notes on Simplex Algorithm Notes on Simplex Algorithm CS 9 Staff October 8, 7 Until now, we have represented the problems geometrically, and solved by finding a corner and moving around Now we learn an algorithm to solve this without

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

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

F 1 F 2 Daily Requirement Cost N N N

F 1 F 2 Daily Requirement Cost N N N Chapter 5 DUALITY 5. The Dual Problems Every linear programming problem has associated with it another linear programming problem and that the two problems have such a close relationship that whenever

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

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

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

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

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

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

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

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

"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

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

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

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

Review Solutions, Exam 2, Operations Research

Review Solutions, Exam 2, Operations Research Review Solutions, Exam 2, Operations Research 1. Prove the weak duality theorem: For any x feasible for the primal and y feasible for the dual, then... HINT: Consider the quantity y T Ax. SOLUTION: To

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

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, Lecture 4

Linear Programming, Lecture 4 Linear Programming, Lecture 4 Corbett Redden October 3, 2016 Simplex Form Conventions Examples Simplex Method To run the simplex method, we start from a Linear Program (LP) in the following standard simplex

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 Primal-Dual Algorithm P&S Chapter 5 Last Revised October 30, 2006

The Primal-Dual Algorithm P&S Chapter 5 Last Revised October 30, 2006 The Primal-Dual Algorithm P&S Chapter 5 Last Revised October 30, 2006 1 Simplex solves LP by starting at a Basic Feasible Solution (BFS) and moving from BFS to BFS, always improving the objective function,

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

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

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. 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

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

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.5. Spring 2010 Instructor: Dr. Masoud Yaghini Outline Introduction Formulation of the Dual Problem Primal-Dual Relationship Economic Interpretation

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

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

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

LP. Lecture 3. Chapter 3: degeneracy. degeneracy example cycling the lexicographic method other pivot rules the fundamental theorem of LP

LP. Lecture 3. Chapter 3: degeneracy. degeneracy example cycling the lexicographic method other pivot rules the fundamental theorem of LP LP. Lecture 3. Chapter 3: degeneracy. degeneracy example cycling the lexicographic method other pivot rules the fundamental theorem of LP 1 / 23 Repetition the simplex algorithm: sequence of pivots starting

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

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

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

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

Introduce the idea of a nondegenerate tableau and its analogy with nondenegerate vertices.

Introduce the idea of a nondegenerate tableau and its analogy with nondenegerate vertices. 2 JORDAN EXCHANGE REVIEW 1 Lecture Outline The following lecture covers Section 3.5 of the textbook [?] Review a labeled Jordan exchange with pivoting. Introduce the idea of a nondegenerate tableau and

More information

3 Does the Simplex Algorithm Work?

3 Does the Simplex Algorithm Work? Does the Simplex Algorithm Work? In this section we carefully examine the simplex algorithm introduced in the previous chapter. Our goal is to either prove that it works, or to determine those circumstances

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

Chapter 1 Linear Programming. Paragraph 5 Duality

Chapter 1 Linear Programming. Paragraph 5 Duality Chapter 1 Linear Programming Paragraph 5 Duality What we did so far We developed the 2-Phase Simplex Algorithm: Hop (reasonably) from basic solution (bs) to bs until you find a basic feasible solution

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

Week 2. The Simplex method was developed by Dantzig in the late 40-ties.

Week 2. The Simplex method was developed by Dantzig in the late 40-ties. 1 The Simplex method Week 2 The Simplex method was developed by Dantzig in the late 40-ties. 1.1 The standard form The simplex method is a general description algorithm that solves any LPproblem instance.

More information

III. Linear Programming

III. Linear Programming III. Linear Programming Thomas Sauerwald Easter 2017 Outline Introduction Standard and Slack Forms Formulating Problems as Linear Programs Simplex Algorithm Finding an Initial Solution III. Linear Programming

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

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

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 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

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

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

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

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

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

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

Prelude to the Simplex Algorithm. The Algebraic Approach The search for extreme point solutions.

Prelude to the Simplex Algorithm. The Algebraic Approach The search for extreme point solutions. Prelude to the Simplex Algorithm The Algebraic Approach The search for extreme point solutions. 1 Linear Programming-1 x 2 12 8 (4,8) Max z = 6x 1 + 4x 2 Subj. to: x 1 + x 2

More information

4. Duality Duality 4.1 Duality of LPs and the duality theorem. min c T x x R n, c R n. s.t. ai Tx = b i i M a i R n

4. Duality Duality 4.1 Duality of LPs and the duality theorem. min c T x x R n, c R n. s.t. ai Tx = b i i M a i R n 2 4. Duality of LPs and the duality theorem... 22 4.2 Complementary slackness... 23 4.3 The shortest path problem and its dual... 24 4.4 Farkas' Lemma... 25 4.5 Dual information in the tableau... 26 4.6

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

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

A Review of Linear Programming

A Review of Linear Programming A Review of Linear Programming Instructor: Farid Alizadeh IEOR 4600y Spring 2001 February 14, 2001 1 Overview In this note we review the basic properties of linear programming including the primal simplex

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

Math 273a: Optimization The Simplex method

Math 273a: Optimization The Simplex method Math 273a: Optimization The Simplex method Instructor: Wotao Yin Department of Mathematics, UCLA Fall 2015 material taken from the textbook Chong-Zak, 4th Ed. Overview: idea and approach If a standard-form

More information

CSCI 1951-G Optimization Methods in Finance Part 01: Linear Programming

CSCI 1951-G Optimization Methods in Finance Part 01: Linear Programming CSCI 1951-G Optimization Methods in Finance Part 01: Linear Programming January 26, 2018 1 / 38 Liability/asset cash-flow matching problem Recall the formulation of the problem: max w c 1 + p 1 e 1 = 150

More information

Summary of the simplex method

Summary of the simplex method MVE165/MMG630, The simplex method; degeneracy; unbounded solutions; infeasibility; starting solutions; duality; interpretation Ann-Brith Strömberg 2012 03 16 Summary of the simplex method Optimality condition:

More information

3. THE SIMPLEX ALGORITHM

3. THE SIMPLEX ALGORITHM Optimization. THE SIMPLEX ALGORITHM DPK Easter Term. Introduction We know that, if a linear programming problem has a finite optimal solution, it has an optimal solution at a basic feasible solution (b.f.s.).

More information

Linear Programming Duality P&S Chapter 3 Last Revised Nov 1, 2004

Linear Programming Duality P&S Chapter 3 Last Revised Nov 1, 2004 Linear Programming Duality P&S Chapter 3 Last Revised Nov 1, 2004 1 In this section we lean about duality, which is another way to approach linear programming. In particular, we will see: How to define

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

Lecture 2: The Simplex method. 1. Repetition of the geometrical simplex method. 2. Linear programming problems on standard form.

Lecture 2: The Simplex method. 1. Repetition of the geometrical simplex method. 2. Linear programming problems on standard form. Lecture 2: The Simplex method. Repetition of the geometrical simplex method. 2. Linear programming problems on standard form. 3. The Simplex algorithm. 4. How to find an initial basic solution. Lecture

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

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

Sensitivity Analysis and Duality

Sensitivity Analysis and Duality Sensitivity Analysis and Duality Part II Duality Based on Chapter 6 Introduction to Mathematical Programming: Operations Research, Volume 1 4th edition, by Wayne L. Winston and Munirpallam Venkataramanan

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

ECE 307 Techniques for Engineering Decisions

ECE 307 Techniques for Engineering Decisions 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 7 5 9 George

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

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

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

A NEW FACE METHOD FOR LINEAR PROGRAMMING. 1. Introduction We are concerned with the standard linear programming (LP) problem

A NEW FACE METHOD FOR LINEAR PROGRAMMING. 1. Introduction We are concerned with the standard linear programming (LP) problem A NEW FACE METHOD FOR LINEAR PROGRAMMING PING-QI PAN Abstract. An attractive feature of the face method [9 for solving LP problems is that it uses the orthogonal projection of the negative objective gradient

More information

Operations Research Lecture 2: Linear Programming Simplex Method

Operations Research Lecture 2: Linear Programming Simplex Method Operations Research Lecture 2: Linear Programming Simplex Method Notes taken by Kaiquan Xu@Business School, Nanjing University Mar 10th 2016 1 Geometry of LP 1.1 Graphical Representation and Solution Example

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

TRANSPORTATION PROBLEMS

TRANSPORTATION PROBLEMS Chapter 6 TRANSPORTATION PROBLEMS 61 Transportation Model Transportation models deal with the determination of a minimum-cost plan for transporting a commodity from a number of sources to a number of destinations

More information

4. Duality and Sensitivity

4. Duality and Sensitivity 4. Duality and Sensitivity For every instance of an LP, there is an associated LP known as the dual problem. The original problem is known as the primal problem. There are two de nitions of the dual pair

More information

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

END3033 Operations Research I Sensitivity Analysis & Duality. to accompany Operations Research: Applications and Algorithms Fatih Cavdur

END3033 Operations Research I Sensitivity Analysis & Duality. to accompany Operations Research: Applications and Algorithms Fatih Cavdur END3033 Operations Research I Sensitivity Analysis & Duality to accompany Operations Research: Applications and Algorithms Fatih Cavdur Introduction Consider the following problem where x 1 and x 2 corresponds

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

IE 5531: Engineering Optimization I

IE 5531: Engineering Optimization I IE 5531: Engineering Optimization I Lecture 3: Linear Programming, Continued Prof. John Gunnar Carlsson September 15, 2010 Prof. John Gunnar Carlsson IE 5531: Engineering Optimization I September 15, 2010

More information

MVE165/MMG631 Linear and integer optimization with applications Lecture 5 Linear programming duality and sensitivity analysis

MVE165/MMG631 Linear and integer optimization with applications Lecture 5 Linear programming duality and sensitivity analysis MVE165/MMG631 Linear and integer optimization with applications Lecture 5 Linear programming duality and sensitivity analysis Ann-Brith Strömberg 2017 03 29 Lecture 4 Linear and integer optimization with

More information

Summary of the simplex method

Summary of the simplex method MVE165/MMG631,Linear and integer optimization with applications The simplex method: degeneracy; unbounded solutions; starting solutions; infeasibility; alternative optimal solutions Ann-Brith Strömberg

More information

Lecture 10: Linear programming. duality. and. The dual of the LP in standard form. maximize w = b T y (D) subject to A T y c, minimize z = c T x (P)

Lecture 10: Linear programming. duality. and. The dual of the LP in standard form. maximize w = b T y (D) subject to A T y c, minimize z = c T x (P) Lecture 10: Linear programming duality Michael Patriksson 19 February 2004 0-0 The dual of the LP in standard form minimize z = c T x (P) subject to Ax = b, x 0 n, and maximize w = b T y (D) subject to

More information

THE UNIVERSITY OF HONG KONG DEPARTMENT OF MATHEMATICS. Operations Research I

THE UNIVERSITY OF HONG KONG DEPARTMENT OF MATHEMATICS. Operations Research I LN/MATH2901/CKC/MS/2008-09 THE UNIVERSITY OF HONG KONG DEPARTMENT OF MATHEMATICS Operations Research I Definition (Linear Programming) A linear programming (LP) problem is characterized by linear functions

More information

Linear programming. Starch Proteins Vitamins Cost ($/kg) G G Nutrient content and cost per kg of food.

Linear programming. Starch Proteins Vitamins Cost ($/kg) G G Nutrient content and cost per kg of food. 18.310 lecture notes September 2, 2013 Linear programming Lecturer: Michel Goemans 1 Basics Linear Programming deals with the problem of optimizing a linear objective function subject to linear equality

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

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

Introduction. Very efficient solution procedure: simplex method.

Introduction. Very efficient solution procedure: simplex method. LINEAR PROGRAMMING Introduction Development of linear programming was among the most important scientific advances of mid 20th cent. Most common type of applications: allocate limited resources to competing

More information

The Simplex Algorithm: Technicalities 1

The Simplex Algorithm: Technicalities 1 1/45 The Simplex Algorithm: Technicalities 1 Adrian Vetta 1 This presentation is based upon the book Linear Programming by Vasek Chvatal 2/45 Two Issues Here we discuss two potential problems with the

More information

OPTIMISATION 3: NOTES ON THE SIMPLEX ALGORITHM

OPTIMISATION 3: NOTES ON THE SIMPLEX ALGORITHM OPTIMISATION 3: NOTES ON THE SIMPLEX ALGORITHM Abstract These notes give a summary of the essential ideas and results It is not a complete account; see Winston Chapters 4, 5 and 6 The conventions and notation

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

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

Lecture 10: Linear programming duality and sensitivity 0-0

Lecture 10: Linear programming duality and sensitivity 0-0 Lecture 10: Linear programming duality and sensitivity 0-0 The canonical primal dual pair 1 A R m n, b R m, and c R n maximize z = c T x (1) subject to Ax b, x 0 n and minimize w = b T y (2) subject to

More information

DEPARTMENT OF STATISTICS AND OPERATIONS RESEARCH OPERATIONS RESEARCH DETERMINISTIC QUALIFYING EXAMINATION. Part I: Short Questions

DEPARTMENT OF STATISTICS AND OPERATIONS RESEARCH OPERATIONS RESEARCH DETERMINISTIC QUALIFYING EXAMINATION. Part I: Short Questions DEPARTMENT OF STATISTICS AND OPERATIONS RESEARCH OPERATIONS RESEARCH DETERMINISTIC QUALIFYING EXAMINATION Part I: Short Questions August 12, 2008 9:00 am - 12 pm General Instructions This examination is

More information

LOWER BOUNDS FOR THE MAXIMUM NUMBER OF SOLUTIONS GENERATED BY THE SIMPLEX METHOD

LOWER BOUNDS FOR THE MAXIMUM NUMBER OF SOLUTIONS GENERATED BY THE SIMPLEX METHOD Journal of the Operations Research Society of Japan Vol 54, No 4, December 2011, pp 191 200 c The Operations Research Society of Japan LOWER BOUNDS FOR THE MAXIMUM NUMBER OF SOLUTIONS GENERATED BY THE

More information