Systems Analysis in Construction

Size: px
Start display at page:

Download "Systems Analysis in Construction"

Transcription

1 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

2 3. Linear Programming Optimization Simplex Method 135

3 Linear Programming: the Simplex Method 136 An Overview of the Simplex Method Standard Form Tableau Form Setting Up the Initial Simplex Tableau Improving the Solution Calculating the Next Tableau Solving a Minimization Problem Special Cases

4 Introduction to Simplex Method The Simplex Method: It is the general method to solve any LP (Fleet Assignment at Delta Air Lines deals with 60,000 variables and 40,000 constraints); It is an analytical method at which a set of simultaneous linear Equations is solved together; The number of variables (n) is greater that the number of equations (m), accordingly (n-m) variables should be assumed as zeros to have a solution; The variables assumed to be zeros are called Non-Basic and the ones obtained from solving the equations are called Basic; Simplex is an iterative procedure method for moving from one Basic Feasible Solution (extreme point) to another until the optimal solution is reached; 137

5 Introduction to Simplex Method The Simplex Method: Steps Leading to the Simplex Method Formulate Problem as LP Put In Standard Form Put In Tableau Form Execute Simplex Method 138

6 Simplex Method: Standard Form Convert from Inequalities to Equations ( > or < = ) + ve RHS + ve Variables, i.e., (x1, x2,. > 0) Max or Min 2x 1-3x 2-4x 3 s. t. x 1 + x 2 + x x 1 + x 2 + 3x 3 60 x 1 - x 2 + 2x 3 = -20 x 1 0 x

7 Simplex Method: Standard Form An LP is in standard form when: RHS of constraints are non-negative All constraints are equalities (Equations) All variables are non-negative. Putting an LP formulation into standard form involves: Use of Mathematical Modeling Transformation Adding slack variables to < constraints Subtracting surplus variables from > constraints Using substitution rules. 140

8 Simplex Method: Standard Form Max or Min 2x 1-3x 2-4x 3 s. t. x 1 + x 2 + x x 1 + x 2 + 3x 3 60 x 1 - x 2 + 2x 3 = -20 x 1 0 x 2 0 x 3?? 2-Add slack 2-Subtrack surplus 1- Multiply by Substitution 4- Substitution 141

9 Simplex Method: Standard Form Max or Min 2x 1-3x 2-4x 3 s. t. x 1 + x 2 + x x 1 + x 2 + 3x 3 60 x 1 - x 2 + 2x 3 = -20 x 1 0 Max or Min 2x 1-3x 2-4x 3 s. t. x 1 + x 2 + x 3 + s 1 = 30 2x 1 + x 2 + 3x 3 - s 2 = 60 -x 1 + x 2-2x 3 = x 1, s 1, s 2 > 0

10 Simplex Method: Standard Form Max or Min 2x 1-3x 2-4x 3 s. t. x 1 + x 2 + x 3 + s 1 = 30 2x 1 + x 2 + 3x 3 - s 2 = 60 -x 1 + x 2-2x 3 = 20 x 1, s 1, s 2 > 0 x 2 < 0, Assume x 2 = -y 2 and y 2 > Max or Min 2x 1 + 3y 2-4x 3 s. t. x 1 - y 2 + x 3 + s 1 = 30 2x 1 - y 2 + 3x 3 - s 2 = 60 -x 1 - y 2-2x 3 = 20 x 1, y 2 s 1, s 2 > 0

11 Simplex Method: Standard Form Max or Min 2x 1 + 3y 2-4x 3 s. t. x 1 - y 2 + x 3 + s 1 = 30 2x 1 - y 2 + 3x 3 - s 2 = 60 -x 1 - y 2-2x 3 = 20 x 1, y 2 s 1, s 2 > 0 Assume x 3 = w 3 -y 3 w 3,y 3 > 0 Max or Min 2x 1 + 3y 2 4w 3 + 4y 3 s. t. x 1 - y 2 + w 3 - y 3 + s 1 = 30 2x 1 - y 2 + 3w 3-3y 3 - s 2 = 60 - x 1 - y 2-2w 3 + 2y 3 = x 1, y 2, w 3, y 3, s 1, s 2 > 0

12 Simplex Method: Standard Form Max or Min 2x 1 + 3y 2 4w 3 + 4y 3 s. t. x 1 - y 2 + w 3 - y 3 + s 1 = 30 2x 1 - y 2 + 3w 3-3y 3 - s 2 = 60 - x 1 - y 2-2w 3 + 2y 3 = 20 x 1, y 2, w 3, y 3, s 1, s 2 > 0 145

13 Simplex Method: Solving Equations 3x - y + z = 9 x + y - 3z = -9 2x - y + 3z = x y z =

14 Simplex Method: x y z = R1 R2 R3 R2 + R3, R2 x (-3) +R v v v 3 x y z = v 1 v 2 v 3 147

15 Simplex Method: v v v 3 x y z = v 1 v 2 v v v v 3 x y z = v 1 v 2 v 3 Select pivot element, make it 1 and the rest in the column = 0 148

16 Simplex Method: v v v Selected as pivot element make it 1 and the rest zeros How?

17 Simplex Method: a 11 a 12 a 13 a 21 a 22 a 23 a 31 a 32 a 33 b 1 R 1 b 2 R 2 b 3 R 3 Step 1 R 1 /a 11 a 12 b 1 Step 2 a 13 1 a 11 a 11 a 21 a 22 a 23 a 31 a 32 a 33 a 11 R b 2 R 2 b 3 R 3 To make a 21 = 0 (-1xa 21 ) x R* + R 2 To make a 31 = 0 (-1xa 31 ) x R* + R 3 To make a i1 = 0 (-1xa i1 ) x R* + R i 150

18 Simplex Method: R R R 3 1-1/3 1/3 9/3 R* =R 1 / R R /3-1/3-3 (-1)xR* -2 2/3-2/3-6 (-2)xR* 1-1/3 1/3 3 R* 0 4/3-10/3-12 (-1)xR* +R 2 0-1/3 7/3 9 (-2)xR* +R 3 151

19 Simplex Method: 1-1/3 1/3 3 R 1 0 4/3-10/3-12 R 2 0-1/3 7/3 9 R 3 1-1/3 1/3 3 R /2-9 R*=R 2 /(4/3) 0-1/3 7/3 9 R /3-5/6-3 (- -1/3)xR* 0 1/3-5/6-3 (- -1/3)xR* 1 0-1/2 0 (1/3)xR*+R /2-9 R* 0 0 3/2 6 (1/3)xR*+R 3 152

20 Simplex Method: 1 0-1/2 0 R /2-9 R /2 6 R (1/2)R*+R (5/2)R*+R R*=R 3 /(3/2) /2 2 (1/2)xR* 0 0 5/2 10 (5/2)xR* x y z =

21 Simplex Method: Standard Form Max or Min 2x 1 + 3y 2 4w 3 + 4y 3 s. t. x 1 - y 2 + w 3 - y 3 + s 1 = 30 2x 1 - y 2 + 3w 3-3y 3 - s 2 = 60 - x 1 - y 2-2w 3 + 2y 3 = 20 x 1, y 2, w 3, y 3, s 1, s 2 > 0 6 variables & 3 Equations 154

22 Simplex Method: Tableau Form 6 variables & 3 Equations x1 y2 w3 y3 s1 s2 Basis C RHS

23 Simplex Method: Tableau Form 6 variables & 3 Equations x1 y2 w3 y3 s1 s2 Basis C RHS z c-z 156

24 Simplex Method: Tableau Form The Simplex Method: It is the general method to solve any LP (Fleet Assignment at Delta Air Lines deals with 60,000 variables and 40,000 constraints); It is an analytical method at which a set of simultaneous linear Equations is solved together; The number of variables (n) is greater that the number of equations (m), accordingly (n-m) variables should be assumed as zeros to have a solution; The variables assumed to be zeros are called Non-Basic and the ones obtained from solving the equations are called Basic; Simplex is an iterative procedure method for moving from one Basic Feasible Solution (extreme point) to another until the optimal solution is reached; 157

25 Example 1 Max 5x 1 + 7x 2 s.t. x 1 < 6 2x 1 + 3x 2 < 19 x 1 + x 2 < 8 x 1, x 2 > 0 158

26 Example 1: Standard Form Max 5x 1 + 7x 2 + 0s 1 + 0s 2 + 0s 3 s. t. 1x 1 + 0x 2 + 1s 1 + 0s 2 + 0s 3 = 6 2x 1 + 3x 2 + 0s 1 + 1s 2 + 0s 3 = 19 1x 1 + 1x 2 + 0s 1 + 0s 2 + 1s 3 = 8 x 1, x 2, s 1, s 2, s 3 > 0 5 variables & 3 Equations =(5-3) variables are Non-Basic with values = 0 and 3 variables are Basic with values > 0 (can get by solving the 3 equations)

27 Example 1: Max (z) 5x 1 + 7x 2 1x 1 + 1s 1 = 6 2x 1 + 3x 2 + 1s 2 = 19 1x 1 + 1x 2 + 1s 3 = If we assumed that s 1 and s 3 = 0 then x 1 = (6-1*0) = 6 x 2 = (8-1*6-1*0) = 2 s 2 = (19-2*6-3*2) = 1 z = 5*6 +7*2 = 44 Basic-Feasible Solution

28 Example 1: Max (z) 5x 1 + 7x 2 1x 1 + 1s 1 = 6 2x 1 + 3x 2 + 1s 2 = 19 1x 1 + 1x 2 + 1s 3 = If we assumed that s 1 and s 2 = 0 then x 1 = (6-1*0) = 6 x 2 = (19-1*0-2*6)/3 = 7/3 Non-Feasible s 3 = (8-1*6-1*7/3) = -1/3 < 0 Solution z = 5*6 +7*7/3 =

29 Example 1: Simplex is an iterative procedure method for moving from one Basic- Feasible - Solution (extreme point) to another until the optimal solution is reached. Basic-Feasible Solutions 162 Assume x 1 & x 2 = 0

30 Simplex Method: Tableau Form How to assume Basic-Feasible variables or determine the Non-Basic variables for an Initial Tableau 163

31 Simplex Method: Tableau Form The simplex tableau is a convenient means for performing the calculations required by the simplex method. A set of equations is in tableau form if for each equation: Its right hand side (RHS) is non-negative, and There is a basic variable. (A basic variable for an equation is a variable whose coefficient in the equation is +1 and whose coefficient in all other equations of the problem is 0.) 164 To generate an initial tableau form: An artificial variable must be added to each constraint that does not have a basic variable.

32 Example 1: Standard Form Max 5x 1 + 7x 2 + 0s 1 + 0s 2 + 0s 3 s. t. 1x 1 + 0x 2 + 1s 1 + 0s 2 + 0s 3 = 6 2x 1 + 3x 2 + 0s 1 + 1s 2 + 0s 3 = 19 1x 1 + 1x 2 + 0s 1 + 0s 2 + 1s 3 = 8 x 1, x 2, s 1, s 2, s 3 > 0 5 variables & 3 Equations variables are Basic with values > 0 (s 1, s 2, & s 3 for the initial table) 2 variables are Non-Basic with values = 0 (Rest of variables x 1 & x 2 ).

33 Simplex Method: Tableau Form x 1 x 2 s 1 s 2 s 3 Basis C RHS s s s z c-z s 1, s 2, s 3 Basic & x 1, x 2 Non-Basic 166

34 Simplex Method: Tableau Form x 1 x 2 s 1 s 2 s 3 Basis C RHS s s s z c-z x 1 = 0 & x 2 = 0 s 1, s 2 & s 3 = 6, 19 & 8 167

35 Simplex Method: Initial Tableau x 1 x 2 s 1 s 2 s 3 Basis C RHS s s s z c-z z 1 = 0 x x x 1 = 0 168

36 Simplex Method: Initial Tableau x 1 x 2 s 1 s 2 s 3 Basis C RHS s s s z c-z

37 Simplex Method: Improving the Solution x 1 x 2 s 1 s 2 s 3 Basis C RHS s s s z c-z The complete solution is: s 1 = 6, s 2 = 19, s 3 = 8, x 1 = 0, x 2 = 0 & Z = Is this solution optimum? Why?

38 Simplex Method: Improving the Solution x 1 x 2 s 1 s 2 s 3 Basis C RHS s s s z c-z x 2 is assumed to be 0 (non-basic) if moved to basic (each increase in x 2 by 1 unit will affect Z by +7 units, i.e., add to Z maximization). 171 x 1 is assumed to be 0 (non-basic) if moved to basic (each increase in x 1 by 1 unit will affect Z by +5 units, i.e., add to Z maximization).

39 Simplex Method: Improving the Solution Pivot Element make it 1 and the reset of the column 0s x 1 x 2 s 1 s 2 s 3 Basis C RHS s s s z c-z /3 8/1 172 Entering Column at maximum +ve (c-z) make x 2 Basic variable Leaving Row at minimum RHS/EC make s 2 Non-Basic variable

40 Simplex Method: Improving the Solution x 1 x 2 s 1 s 2 s 3 Basis C RHS s s s z c-z x 1 x 2 s 1 s 2 s 3 Basis C RHS s x 2 7 2/ /3 0 19/3 s z c-z R* R 1 R 3

41 Simplex Method: Improving the Solution x 1 x 2 s 1 s 2 s 3 Basis C RHS s x 2 7 2/ /3 0 19/3 s z c-z R 1 R* R 3-2/ /3 0-19/3-1 x R* 174 x 1 x 2 s 1 s 2 s 3 Basis C RHS s x 2 7 2/ /3 0 19/3 s 3 0 1/ /3 1 5/3 z 14/ / c-z 1/ /3 0 The complete solution: s 1 = 6, s 2 = 0, s 3 = 5/3, x 1 = 0, x 2 = 19/3 & Z = xR*+ R 3

42 Simplex Method: Improving the Solution x 1 x 2 s 1 s 2 s 3 Basis C RHS s x 2 7 2/ /3 0 19/3 s 3 0 1/ /3 1 5/3 z 14/ / c-z 1/ /3 0 6/1 19/2 5 x 1 IN & s 3 OUT 175 x 1 x 2 s 1 s 2 s 3 Basis C RHS s x x z c-z R* + R 1-2/3 R* + R 2 R* No more improvements then optimum solution reached

43 Simplex Method: Improving the Solution x 1 x 2 s 1 s 2 s 3 Basis C RHS s x x z c-z The complete solution: s 1 = 1, s 2 = 0, s 3 = 0, x 1 = 5, x 2 = 3 & Z =

44 Simplex Method: missing basic variables Max 2x 1 + 3y 2 4w 3 + 4y 3 + 0s 1 + 0s 2 s. t. x 1 - y 2 + w 3 - y 3 + s 1 = 30 2x 1 - y 2 + 3w 3-3y 3 - s 2 = 60 - x 1 - y 2-2w 3 + 2y 3 = 20 x 1, y 2, w 3, y 3, s 1, s 2 > 0 s 1 is a basic variable for equation 1, What about equations 2 and 3? 177

45 Simplex Method: missing basic variables Max 2x 1 + 3y 2 4w 3 + 4y 3 + 0s 1 + 0s 2 Ma 2 Ma 3 s. t. x 1 - y 2 + w 3 - y 3 + s 1 = 30 2x 1 - y 2 + 3w 3-3y 3 - s 2 + a 2 = 60 - x 1 - y 2-2w 3 + 2y 3 + a 3 = 20 x 1, y 2, w 3, y 3, s 1, s 2, a 2, a 3 > a 2 and a 3 are artificial variables with no meaning Penalized the objective function by subtracting M (big number) multiplied by the artificial variable, accordingly it will not affect the objective function if a = 0.

46 Simplex Method: Tableau Form x 1 y 2 w 3 y 3 s 1 s 2 a 2 a 3 Basis C M -M RHS s a 2 -M a 3 -M z -M 2M -M M 0 M -M -M -80M c-z M+2 3-2M M-4 4-M 0 -M

47 Simplex Method: Tableau Form x 1 y 2 w 3 y 3 s 1 s 2 a 2 a 3 Basis C M -M RHS s a 2 -M a 3 -M z -M 2M -M M 0 M -M -M -80M c-z M+2 3-2M M-4 4-M 0 -M 0 0 a 2 column can be removed in the next table as it equals 0 180

48 Simplex Method: Artificial Variables Example Max 50x x 2 s. t. 3x 1 + 5x 2 < 150 (Assembly time) 1x 2 < 20 (Ultra Portable display) 8x 1 + 5x 2 < 300 (Warehouse space) 1x 1 + 1x 2 > 25 (Minimum total production) x 1, x 2 > 0 181

49 Simplex Method: Artificial Variables Example Max 50x x 2 + 0s 1 + 0s 2 + 0s 3 + 0s 4 Ma 4 s. t. 3x 1 + 5x 2 + 1s 1 + 0s 2 + 0s 3 + 0s 4 + 0a 4 = 150 0x 1 + 1x 2 + 0s 1 + 1s 2 + 0s 3 + 0s 4 + 0a 4 = 20 8x 1 + 5x 2 + 0s 1 + 0s 2 + 1s 3 + 0s 4 + 0a 4 = 300 1x 1 + 1x 2 + 0s 1 + 0s 2 + 0s 3-1s 4 + 1a 4 = 25 x 1, x 2, s 1, s 2, s 3, s 4, a 4 > 0 182

50 Simplex Method: Artificial Variables Example x 1 x 2 s 1 s 2 s 3 s 4 a 4 Basis C M RHS s s s a 4 -M z -M -M M -M -25M c-z 50+M 40+M M 0 183

51 Simplex Method: Artificial Variables Example x 1 x 2 s 1 s 2 s 3 s 4 a 4 Basis C M RHS s /3 s s a 4 -M /8 25/1 z -M -M M -M -25M c-z 50+M 40+M M a 4 is assumed to have a value (basic variable) however as being a leaving variable, it should be moved to non-basic variables with value of 0. But as an artificial variable (no meaning for it), there is no longer need for it.

52 Simplex Method: Artificial Variables Example x 1 x 2 s 1 s 2 s 3 s 4 Basis C RHS s s s x R*+R1 No change -8R*+R3 R* z c-z The complete solution: s 1 = 75, s 2 = 20, s 3 = 100, x 1 = 25, x 2 = 0, s 4 = 0 & Z =

53 Simplex Method: Artificial Variables Example x 1 x 2 s 1 s 2 s 3 s 4 Basis C RHS s /3 s s /8 x z c-z

54 Simplex Method: Artificial Variables Example x 1 x 2 s 1 s 2 s 3 s 4 Basis C RHS s / / s s / / x / / R*+R1 No change R* R*+R4 z / / c-z 0 35/ /8 0 The complete solution: s 1 = 37.5, s 2 = 20, s 3 = 0, x 1 = 37.5, x 2 = 0, s 4 = 12.5 & Z =

55 Simplex Method: Artificial Variables Example x 1 x 2 s 1 s 2 s 3 s 4 Basis C RHS s / / s *8/25 20/1 s / / x / / *8/5 z / / c-z 0 35/ /

56 Simplex Method: Artificial Variables Example x 1 x 2 s 1 s 2 s 3 s 4 Basis C RHS x /25 0-3/ s /25 1 3/ s /25 0 2/ x /5 0 1/ R* -R*+R2 3/8R*+R3-5/8R*+R4 z c-z The complete solution: s 1 = 0, s 2 = 8, s 3 = 0, x 1 = 30, x 2 = 12, s 4 = 17 & Z =

57 Simplex Method: Minimization To solve a minimization problem multiply the objective function by (-1) and solve it as a maximization problem Min 5x 1 + 7x 2 = Max -5x 1-7x 2 After solving the problem using the Simplex procedure the values of the variable will be the same however the value of (Z) in the last table should be multiplied by (-1). 190

58 Simplex Method: Special Cases Infeasibility Unboundedness Alternative Optimal Solution Sensitivity Analysis 191

59 Simplex Method: Infeasibility Infeasibility is detected in the simplex method when an artificial variable remains positive in the final tableau. LP Formulation Final Tableau MAX 2x 1 + 6x 2 s. t. 4x 1 + 3x 2 < 12 2x 1 + x 2 > 8 x 1, x 2 > 0 x 1 x 2 s 1 s 2 a 2 Basis C M RHS x /4 1/ a 2 -M 0-1/2-1/ z 2 M/2+3/2 M/2+1/2 M -M 6-2M c-z 0 -M/2+9/2 -M/2-1/2 -M 0 192

60 Simplex Method: Unboundedness A linear program has an unbounded solution if all entries in an entering column are non-positive. LP Formulation Final Tableau MAX 2x 1 + 6x 2 s. t. 4x 1 + 3x 2 > 12 2x 1 + x 2 > 8 x 1, x 2 > 0 x 1 x 2 s 1 s 2 Basis C RHS x s z c-z

61 Simplex Method: Alternative Opt. Sol. A linear program has alternate optimal solutions if the final tableau has a c j - z j value equal to 0 for a non-basic variable. Final Tableau 194 x 1 x 2 x 3 s 1 s 2 s 3 s 4 Basis C RHS s x x s z c-z

62 Simplex Method: Alternative Opt. Sol. In the previous slide we see that the optimal solution is: x 1 = 4, x 2 = 6, x 3 = 0, s 1 = 0, s 2 = 0, s 3 = 8, s 4 = 12 and z = 32 Note that x 3 is non-basic and its c 3 - z 3 = 0. This 0 indicates that if x 3 were increased, the value of the objective function would not change. Another optimal solution can be found by choosing x 3 as the entering variable and performing one iteration of the simplex method. The new tableau on the next slide shows an alternative optimal solution is: x 1 = 7, x 2 = 0, x 3 = 3, s 1 = 0, s 2 = 0, s 3 = 2, s 4 = 9 and z =

63 Simplex Method: Alternative Opt. Sol. Final Tableau 196 x 1 x 2 x 3 s 1 s 2 s 3 s 4 Basis C RHS s x x s z c-z

64 Simplex Method: Summary Initial Tableau Step 1: If the problem is a minimization problem, multiply the objective function by -1. Step 2: If the problem formulation contains any constraints with negative right-hand sides, multiply each constraint by -1. Step 3: Add a slack variable to each < constraint. Step 4: Subtract a surplus variable and add an artificial variable to each > constraint. 197

65 Simplex Method: Summary Initial Tableau Step 5: Add an artificial variable to each = constraint. Step 6: Set each slack and surplus variable's coefficient in the objective function equal to zero. Step 7: Set each artificial variable's coefficient in the objective function equal to -M, where M is a very large number. Step 8: Each slack and artificial variable becomes one of the basic variables in the initial basic feasible solution. 198

66 Simplex Method: Summary Procedure Step 1: Determine Entering Variable Identify the variable with the most positive value in the c j - z j row. (The entering column is called the pivot column.) Step 2: Determine Leaving Variable For each positive number in the entering column, compute the ratio of the right-hand side values divided by these entering column values. If there are no positive values in the entering column, STOP; the problem is unbounded. Otherwise, select the variable with the minimal ratio. (The leaving row is called the pivot row.) 199

67 Simplex Method: Summary Procedure Step 3: Generate Next Tableau Divide the pivot row by the pivot element (the entry at the intersection of the pivot row and pivot column) to get a new row. We denote this new row as (row *). Replace each non-pivot row i with: [new row i] = [current row i] - [(a ij ) x (row *)], where a ij is the value in entering column j of row i Step 4: Calculate zj Row for New Tableau For each column j, multiply the objective function coefficients of the basic variables by the corresponding numbers in column j and sum them. 200

68 Simplex Method: Summary Procedure Step 5: Calculate c j - z j Row for New Tableau For each column j, subtract the z j row from the c j row. If none of the values in the c j - z j row are positive, GO TO STEP 1. If there is an artificial variable in the basis with a positive value, the problem is infeasible. STOP. Otherwise, an optimal solution has been found. The current values of the basic variables are optimal. The optimal values of the non-basic variables are all zero. If any non-basic variable's c j - z j value is 0, alternate optimal solutions might exist. STOP. 201

69 END of Simplex Method

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

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

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

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

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

Introduction to Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras

Introduction to Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras Introduction to Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras Module - 03 Simplex Algorithm Lecture 15 Infeasibility In this class, we

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

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

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

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

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

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

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

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

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

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

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

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

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

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

(P ) Minimize 4x 1 + 6x 2 + 5x 3 s.t. 2x 1 3x 3 3 3x 2 2x 3 6

(P ) Minimize 4x 1 + 6x 2 + 5x 3 s.t. 2x 1 3x 3 3 3x 2 2x 3 6 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. Problem 1 Consider

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

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

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

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

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

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

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

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

9.5 THE SIMPLEX METHOD: MIXED CONSTRAINTS

9.5 THE SIMPLEX METHOD: MIXED CONSTRAINTS SECTION 9.5 THE SIMPLEX METHOD: MIXED CONSTRAINTS 557 9.5 THE SIMPLEX METHOD: MIXED CONSTRAINTS In Sections 9. and 9., you looked at linear programming problems that occurred in standard form. The constraints

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

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

Understanding the Simplex algorithm. Standard Optimization Problems.

Understanding the Simplex algorithm. Standard Optimization Problems. Understanding the Simplex algorithm. Ma 162 Spring 2011 Ma 162 Spring 2011 February 28, 2011 Standard Optimization Problems. A standard maximization problem can be conveniently described in matrix form

More information

AM 121: Intro to Optimization Models and Methods

AM 121: Intro to Optimization Models and Methods AM 121: Intro to Optimization Models and Methods Fall 2017 Lecture 2: Intro to LP, Linear algebra review. Yiling Chen SEAS Lecture 2: Lesson Plan What is an LP? Graphical and algebraic correspondence Problems

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

Lecture 11: Post-Optimal Analysis. September 23, 2009

Lecture 11: Post-Optimal Analysis. September 23, 2009 Lecture : Post-Optimal Analysis September 23, 2009 Today Lecture Dual-Simplex Algorithm Post-Optimal Analysis Chapters 4.4 and 4.5. IE 30/GE 330 Lecture Dual Simplex Method The dual simplex method will

More information

Non-Standard Constraints. Setting up Phase 1 Phase 2

Non-Standard Constraints. Setting up Phase 1 Phase 2 Non-Standard Constraints Setting up Phase 1 Phase 2 Maximizing with Mixed Constraints Some maximization problems contain mixed constraints, like this: maximize 3x 1 + 2x 2 subject to 2x 1 + x 2 50 (standard)

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

Lecture 5. x 1,x 2,x 3 0 (1)

Lecture 5. x 1,x 2,x 3 0 (1) Computational Intractability Revised 2011/6/6 Lecture 5 Professor: David Avis Scribe:Ma Jiangbo, Atsuki Nagao 1 Duality The purpose of this lecture is to introduce duality, which is an important concept

More information

The Big M Method. Modify the LP

The Big M Method. Modify the LP The Big M Method Modify the LP 1. If any functional constraints have negative constants on the right side, multiply both sides by 1 to obtain a constraint with a positive constant. Big M Simplex: 1 The

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

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

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

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 2. In many business and policy making situations the following type of problem is encountered:

LINEAR PROGRAMMING 2. In many business and policy making situations the following type of problem is encountered: LINEAR PROGRAMMING 2 In many business and policy making situations the following type of problem is encountered: Maximise an objective subject to (in)equality constraints. Mathematical programming provides

More information

Lecture 11 Linear programming : The Revised Simplex Method

Lecture 11 Linear programming : The Revised Simplex Method Lecture 11 Linear programming : The Revised Simplex Method 11.1 The Revised Simplex Method While solving linear programming problem on a digital computer by regular simplex method, it requires storing

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

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

Answer the following questions: Q1: Choose the correct answer ( 20 Points ):

Answer the following questions: Q1: Choose the correct answer ( 20 Points ): Benha University Final Exam. (ختلفات) Class: 2 rd Year Students Subject: Operations Research Faculty of Computers & Informatics Date: - / 5 / 2017 Time: 3 hours Examiner: Dr. El-Sayed Badr Answer the following

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

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

UNIT-4 Chapter6 Linear Programming

UNIT-4 Chapter6 Linear Programming UNIT-4 Chapter6 Linear Programming Linear Programming 6.1 Introduction Operations Research is a scientific approach to problem solving for executive management. It came into existence in England during

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

Slide 1 Math 1520, Lecture 10

Slide 1 Math 1520, Lecture 10 Slide 1 Math 1520, Lecture 10 In this lecture, we study the simplex method which is a powerful method for solving maximization/minimization problems developed in the late 1940 s. It has been implemented

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

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

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

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

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

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

Introduction to Mathematical Programming

Introduction to Mathematical Programming Introduction to Mathematical Programming Ming Zhong Lecture 22 October 22, 2018 Ming Zhong (JHU) AMS Fall 2018 1 / 16 Table of Contents 1 The Simplex Method, Part II Ming Zhong (JHU) AMS Fall 2018 2 /

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

Duality in LPP Every LPP called the primal is associated with another LPP called dual. Either of the problems is primal with the other one as dual. The optimal solution of either problem reveals the information

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

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

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

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

maxz = 3x 1 +4x 2 2x 1 +x 2 6 2x 1 +3x 2 9 x 1,x 2

maxz = 3x 1 +4x 2 2x 1 +x 2 6 2x 1 +3x 2 9 x 1,x 2 ex-5.-5. Foundations of Operations Research Prof. E. Amaldi 5. Branch-and-Bound Given the integer linear program maxz = x +x x +x 6 x +x 9 x,x integer solve it via the Branch-and-Bound method (solving

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

IP Cut Homework from J and B Chapter 9: 14, 15, 16, 23, 24, You wish to solve the IP below with a cutting plane technique.

IP Cut Homework from J and B Chapter 9: 14, 15, 16, 23, 24, You wish to solve the IP below with a cutting plane technique. IP Cut Homework from J and B Chapter 9: 14, 15, 16, 23, 24, 31 14. You wish to solve the IP below with a cutting plane technique. Maximize 4x 1 + 2x 2 + x 3 subject to 14x 1 + 10x 2 + 11x 3 32 10x 1 +

More information

Optimisation and Operations Research

Optimisation and Operations Research Optimisation and Operations Research Lecture 9: Duality and Complementary Slackness Matthew Roughan http://www.maths.adelaide.edu.au/matthew.roughan/ Lecture_notes/OORII/

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

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

March 13, Duality 3

March 13, Duality 3 15.53 March 13, 27 Duality 3 There are concepts much more difficult to grasp than duality in linear programming. -- Jim Orlin The concept [of nonduality], often described in English as "nondualism," is

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

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

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

Variants of Simplex Method

Variants of Simplex Method Variants of Simplex Method All the examples we have used in the previous chapter to illustrate simple algorithm have the following common form of constraints; i.e. a i x + a i x + + a in x n b i, i =,,,m

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

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

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

M.SC. MATHEMATICS - II YEAR

M.SC. MATHEMATICS - II YEAR MANONMANIAM SUNDARANAR UNIVERSITY DIRECTORATE OF DISTANCE & CONTINUING EDUCATION TIRUNELVELI 627012, TAMIL NADU M.SC. MATHEMATICS - II YEAR DKM24 - OPERATIONS RESEARCH (From the academic year 2016-17)

More information

Linear Programming: Chapter 5 Duality

Linear Programming: Chapter 5 Duality Linear Programming: Chapter 5 Duality Robert J. Vanderbei September 30, 2010 Slides last edited on October 5, 2010 Operations Research and Financial Engineering Princeton University Princeton, NJ 08544

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

OPERATIONS RESEARCH. Michał Kulej. Business Information Systems

OPERATIONS RESEARCH. Michał Kulej. Business Information Systems OPERATIONS RESEARCH Michał Kulej Business Information Systems The development of the potential and academic programmes of Wrocław University of Technology Project co-financed by European Union within European

More information

MAT016: Optimization

MAT016: Optimization MAT016: Optimization M.El Ghami e-mail: melghami@ii.uib.no URL: http://www.ii.uib.no/ melghami/ March 29, 2011 Outline for today The Simplex method in matrix notation Managing a production facility The

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

3. Duality: What is duality? Why does it matter? Sensitivity through duality.

3. Duality: What is duality? Why does it matter? Sensitivity through duality. 1 Overview of lecture (10/5/10) 1. Review Simplex Method 2. Sensitivity Analysis: How does solution change as parameters change? How much is the optimal solution effected by changing A, b, or c? How much

More information

1 Simplex and Matrices

1 Simplex and Matrices 1 Simplex and Matrices We will begin with a review of matrix multiplication. A matrix is simply an array of numbers. If a given array has m rows and n columns, then it is called an m n (or m-by-n) matrix.

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

Introduction to Mathematical Programming IE406. Lecture 10. Dr. Ted Ralphs

Introduction to Mathematical Programming IE406. Lecture 10. Dr. Ted Ralphs Introduction to Mathematical Programming IE406 Lecture 10 Dr. Ted Ralphs IE406 Lecture 10 1 Reading for This Lecture Bertsimas 4.1-4.3 IE406 Lecture 10 2 Duality Theory: Motivation Consider the following

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

Chapter 3, Operations Research (OR)

Chapter 3, Operations Research (OR) Chapter 3, Operations Research (OR) Kent Andersen February 7, 2007 1 Linear Programs (continued) In the last chapter, we introduced the general form of a linear program, which we denote (P) Minimize Z

More information

4.4 The Simplex Method and the Standard Minimization Problem

4.4 The Simplex Method and the Standard Minimization Problem . The Simplex Method and the Standard Minimization Problem Question : What is a standard minimization problem? Question : How is the standard minimization problem related to the dual standard maximization

More information

Math 354 Summer 2004 Solutions to review problems for Midterm #1

Math 354 Summer 2004 Solutions to review problems for Midterm #1 Solutions to review problems for Midterm #1 First: Midterm #1 covers Chapter 1 and 2. In particular, this means that it does not explicitly cover linear algebra. Also, I promise there will not be any proofs.

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

Example Problem. Linear Program (standard form) CSCI5654 (Linear Programming, Fall 2013) Lecture-7. Duality

Example Problem. Linear Program (standard form) CSCI5654 (Linear Programming, Fall 2013) Lecture-7. Duality CSCI5654 (Linear Programming, Fall 013) Lecture-7 Duality Lecture 7 Slide# 1 Lecture 7 Slide# Linear Program (standard form) Example Problem maximize c 1 x 1 + + c n x n s.t. a j1 x 1 + + a jn x n b j

More information