Introduction to Operations Research

Size: px
Start display at page:

Download "Introduction to Operations Research"

Transcription

1 Introduction to Operations Research (Week 4: Linear Programming: More on Simplex and Post-Optimality) José Rui Figueira Instituto Superior Técnico Universidade de Lisboa March 7-8, 2016

2 This slides are currently available for personal use of IST LEGI FIO students in an unpublished draft form only. The slides cannot be copied, reproduced, or distributed in any form.

3 Part The Termination of the Simplex Method and Other Aspects

4 Contents 1. Introduction 2. Non-degenerate LPs: Theoretical results 3. Degeneracy and cycling 4. Avoiding degeneracy: The perturbation method 5. Avoiding cycling 6. The computational behavior of the simplex method 7. Numerical stability of the simplex method 8. Conclusions

5 1. Introduction Brief Introduction The simplex algorithm tries to increase the value of a non-basic variable x k. When there is no degeneracy, then x k will be positive after pivoting, which leads to the improvement of the objective value function and the algorithm terminates after a finite number of iterations. When in presence of degeneracy, cycling may occurs. In such a situation, there is a sequence of pivots that starts from some basic feasible solution and ends exactly at the same basic feasible solution. Simplex algorithm cycles forever. How to prevent degeneracy? How to prevent cycling? What is the computational behavior of the simplex algorithm in the worst-case? What about the stability of the simplex algorithm? J.R. Figueira (IST) FIO March 7-8, / 50

6 2. Non-degenerate LPs: Theoretical results Comments and Remarks If we are sure that all the basic feasible solutions are not degenerate the following result holds. Theorem 1 (Termination of the simplex algorithm). If all basic feasible solutions are non-degenerate, then the simplex algorithm terminates (after performing a finite number of iterations), regardless of the choice of the candidate entering variables (and the corresponding leaving variables). The issue is that in practice we do not know wether an LP is free of degenerate basic feasible solutions. Degeneracy should be avoided since it may lead to cycling. Let us illustrate these two concepts. J.R. Figueira (IST) FIO March 7-8, / 50

7 3. Degeneracy and cycling An Example by Klee-Minty max z(x) = 3/4x 1 20x 2 + 1/2x 3 + 6x subject to: 1/4x 1 8x 2 x 3 + 9x 4 0 1/2x 1 12x 2 1/2x 3 + 3x 4 0 x 3 1 x 1, x 2, x 3, x 4 0 After introducing the slack variables, x 5, x 6, and x 7, the following sequence of bases occurs: (Please verify by making the necessary pivoting operations in the simplex Tabeaus.) 1. x B := (x 5, x 6, x 7 ) := (0, 0, 1) and z = x B := (x 1, x 6, x 7 ) := (0, 0, 1) and z = x B := (x 1, x 2, x 7 ) := (0, 0, 1) and z = x B := (x 3, x 2, x 7 ) := (0, 0, 1) and z = x B := (x 3, x 4, x 7 ) := (0, 0, 1) and z = x B := (x 5, x 4, x 7 ) := (0, 0, 1) and z = x B := (x 5, x 6, x 7 ) := (0, 0, 1) and z = 3. J.R. Figueira (IST) FIO March 7-8, / 50

8 4. Avoiding degeneracy: The perturbation method Comments and Remarks Consider the following two problems, named P and P ɛ, respectively (ɛ is a small enough positive value). { max c x : Ax = b, x 0 } (P) x R n { max c x : Ax = b ɛ, x 0 } (P ɛ ) x R n where the components of the perturbed RHS vector b ɛ are the following The following result holds. b 1 + ɛ, b 2 + ɛ 2,..., b i + ɛ i,..., b m + ɛ m. Theorem 2 (Termination of the simplex algorithm regained). The simplex algorithm terminates for P ɛ. Moreover, if P ɛ is unbounded, then P is also unbounded; and, if P ɛ has an optimal solution, then the corresponding basis is also optimal for P. J.R. Figueira (IST) FIO March 7-8, / 50

9 5. Avoiding cycling Comments and Remarks Good news: We do not really to have to deal with a concrete ɛ. Two important rules can be used to prevent cycling: Lexicographic rule. Applied to the leaving variable (more details are needed). Bland s rule. Consider the strictly negative c j. The entering variable is the one corresponding to the smallest index j. When in presence of ties for the selection of the leaving variable, chose the one with the smallest index i. The following result holds. Theorem 3 (Alternative termination result). The simplex method terminates, if the Bland s (lexicographic) rule is applied when solving P. J.R. Figueira (IST) FIO March 7-8, / 50

10 6. The computational behavior of the simplex method Comments and Remarks Each solution provided by the simplex algorithm is a basic feasible solution with m basic variables (the number of functional constraints). The number of ways of selecting m basic variables out of n is equal to n!/(n m)!m!, which is an upper bound on the number of basic feasible solutions. How many vertices can be visited by the simplex algorithm in the worst case? Klee and Minty (1972) created an LP with n variables and n constraints and 2 n vertices. The standard simplex algorithm passes through each one of the extreme points before reaching the optimal solution (the exponential running time behavior of simplex algorithm for general LPs). The example was built by distorting a cube (hypercube). J.R. Figueira (IST) FIO March 7-8, / 50

11 6. The computational behavior of the simplex method The Klee-Minty Example max z(x) = 2 n 1 x n 2 x n 3 x x n 1 + x n subject to: x 1 5 4x 1 + x x 1 + 4x 2 + x n x n 1 x n 2 x x n 1 + x n 5 n x 1, x 2, x 3,... x n 1, x n 0 J.R. Figueira (IST) FIO March 7-8, / 50

12 7. Numerical stability of the simplex method Comments and Remarks For implementation purposes, the revised simplex method is preferable (to the full tableau method) due to its smaller memory requirements and smaller average running time. The revised simplex method is a variant of the simplex method in the matrix-vector form. We know the importance of the B 1 in this method. Every time this matrix is updated there is a risk of introducing roundoff or truncation errors, which accumulate and might eventually lead to highly inaccurate results. There are several ways of dealing with this problem, but they are out of the contents of this course. J.R. Figueira (IST) FIO March 7-8, / 50

13 8. Conclusions The future of simplex algorithms Simplex for large size LPs. Improved revised versions of the simplex. Use the dual revised simplex. Exploiting parallelism. J.R. Figueira (IST) FIO March 7-8, / 50

14 Part Finding an Initial Basic Feasible Solution

15 Contents 1. Introduction 2. A small example 3. The problem in the equality form 4. Introducing artificial variables 5. Solving the Big M model by the simplex method 6. The two-phases application of the simplex method 7. Conclusions

16 1. Introduction Brief Introduction For a large amount of LPs, we do not dispose of a good starting basic feasible solution. It occurs in particular whenever the LP contains a positive RHS and constraints of the types and =. There are two well-known techniques to find a feasible basic solutions when the polyhedron is not empty. But, if it is the case these techniques are able to provide such an information. These two techniques are: the successive application of the simplex method in two-phases and solving the big M model. IOR Tutorial: References: [Bazaraa et al., 1990, Goldfarb and Todd, 1989, Hillier and Lieberman, 2005, Taha, 2010]. J.R. Figueira (IST) FIO March 7-8, / 50

17 2. A small example An Example: Equality-Inequality Form min z(x 1, x 2 ) = x 1 + 1/4x 2 subject to: 3x 1 + x 2 = 3 4x 1 + 3x 2 6 x 1 + 2x 2 4 x 1, x 2 0 It is easy to see that we cannot start with the standard solution x 1 = x 2 = 0. This solution is not feasible. The first and the second constraints are not standard (as in the previous Lectures). How to deal with the problem? J.R. Figueira (IST) FIO March 7-8, / 50

18 2. A small example Graphical Method x D 1 C 0 A B x 1 J.R. Figueira (IST) FIO March 7-8, / 50

19 3. The problem in the equality form An Example: Equality Form Consider the problem in an equality form. The variable considered to transform an inequality of the type into an equation is called a surplus variable. Slack and surplus variables have a substantive meaning. min z(x 1, x 2, x 3, x 4 ) = x 1 + 1/4x 2 0x 3 + 0x 4 subject to: 3x 1 + x 2 = 3 4x 1 + 3x 2 x 3 = 6 x 1 + 2x 2 + x 4 = 4 x 1, x 2, x 3, x 4 0 Let us try to construct an initial basis:? = 3 3x 1 x 2? = 6 4x 1 3x 2 x 4 = 4 x 1 2x 2 + x 3 It is not possible! J.R. Figueira (IST) FIO March 7-8, / 50

20 4. Introducing artificial variables Artificial Variables Consider only the constraints and add two artificial variables: 3x 1 + x 2 + a 1 = 3 4x 1 + 3x 2 x 3 + a 2 = 6 x 1 + 2x 2 + x 4 = 4 x 1, x 2, a 1, x 3, a 2, x 4 0 Now, construct an initial basis: a 1 = 3 3x 1 x 2 a 2 = 6 4x 1 3x 2 x 4 = 4 x 1 2x 2 + x 3 Artificial variables have no meaning. They should be removed from the basis as soon as possible. If they still in the basis at the optimum, then the problem has no feasible solutions. J.R. Figueira (IST) FIO March 7-8, / 50

21 5. Solving the Big M model by the simplex method Comments and Remarks The main objective is to remove artificial variables from the basis. When it is possible, we get a first basic feasible solution. If the artificial variables cannot be removed, the problem has no feasible solutions. In Big M method we should form the following objective function (M is a large enough positive value). min z(x) = x 1 + 1/4x 2 + Ma 1 0x 3 + Ma 2 + 0x 4. The next step is just to apply simplex method as we know it. If the problem is a maximization problem, the coefficients in the objective function are as follows Ma 1,... When an artificial variable leaves the basis we do not need to update its column, unless we need to perform some kind of post-optimality analysis. Next slide contains the resolution of the example. J.R. Figueira (IST) FIO March 7-8, / 50

22 5. Solving the Big M model by the simplex method c j 1 1/4 M 0 M 0 M a (3/3 = 1) M a (6/4 = 1.5) Basis x j x 1 x 2 a 1 x 3 a 2 x 4 ˆbi Ratio 0 x (4/1 = 4) t = 0 z j 7M 4M M M M 0 A c j (7M 1) (4M 1/4) 0 M 0 0 9M 1 x 1 1 1/ (1 : 1/3 = 3) M a 2 0 5/ (2 : 5/3 = 6/5) 0 x 4 0 5/ (3 : 5/3 = 9/5) t = 1 z j 1 (1 + 5M)/3 M M 0 B c j 0 (5M/3 + 1/12) M M 1 x /5 0 3/5 (3/5 : 1/5 = 3) 1/4 x /5 0 6/5 0 x (1/1 = 1) t = 2 z j 1 1/4 1/20 0 C c j 0 0 1/20 0 9/10 1 x /5 2/5 1/4 x /5 9/5 0 x t = 3 z j 1 1/4 0 1/20 D c j /20 17/20 J.R. Figueira (IST) FIO March 7-8, / 50

23 6. The two-phases application of the simplex method Comments and Remarks The objective is the same: find a starting feasible basis, if possible. This should be done in two phases. The first phase consist of minimizing the following objective function (it is always a minimization). min a 1 + a 2. If the optimal value of this objective function is zero, it means we found a starting basic feasible solutions and we can go to the second phase. Otherwise, the problem has no feasible solutions. In Phase II, optimize the original objective function from the optimal solution of Phase I. min z(x) = x 1 + 1/4x 2. When the original problem is a maximization problem, the second phase is also a maximization problem. Let us consider the same example. J.R. Figueira (IST) FIO March 7-8, / 50

24 6. The two-phases application of the simplex method Phase I: (Consider the first objective function) c j a (3/3 = 1) 1 a (6/4 = 1.5) Basis x j x 1 x 2 a 1 x 3 a 2 x 4 ˆbi Ratio 0 x (4/1 = 4) t = 0 z j A c j x 1 1 1/ (1 : 1/3 = 3) 1 a 2 0 5/ (2 : 5/3 = 6/5) 0 x 4 0 5/ (3 : 5/3 = 9/5) t = 1 z j 1 5/ B c j 0 5/ x /5 0 3/5 0 x /5 0 6/5 0 x t = 2 z j C c j At the end the objective function has value zero. Go to Phase II. J.R. Figueira (IST) FIO March 7-8, / 50

25 6. The two-phases application of the simplex method Phase II: (Consider the last tableau of Phase I) c j???? Basis x j x 1 x 2 x 3 x 4 ˆbi Ratio? x /5 0 3/5? x /5 0 6/5? x z j???? c j????? c j 1 1/4 0 0 Basis x j x 1 x 2 x 3 x 4 ˆbi Ratio 1 x /5 0 3/5 1/4 x /5 0 6/5 0 x t = 0 z j 1 1/4 1/20 0 C c j 0 0 1/20 0 9/10 1 x /5 2/5 1/4 x /5 9/5 0 x t = 1 z j 1 1/4 0 1/20 D c j /20 17/20 J.R. Figueira (IST) FIO March 7-8, / 50

26 7. Conclusions Some conclusions These two techniques are used when there is no an obvious starting solution. You should apply the two techniques to a problem with no feasible solutions (see PB Classes). Unless post-optimality analysis will be required, you can discard the columns of artificial variables once they leave the basis. Apply the two techniques to minimization as well as to maximization problems. J.R. Figueira (IST) FIO March 7-8, / 50

27 Part Post-Optimality and Economic Interpretation

28 Contents 1. Introduction 2. A general product-mix allocation problem 3. Characterizing the resources 4. Sensitivity analysis: Graphical approach 5. Sensitivity analysis: Tabular computations 6. Sensitivity analysis: Matrix-vector computations 7. Conclusions

29 1. Introduction Brief Introduction The economic interpretation of the data and the results is extremely important. Some post-optimality analysis can help in doing it. Post-optimality includes: adding/removing variables or/and constraints, discrete changes in data, parametric techniques, robustness analysis, stability analysis, sensitivity analysis,... We shall deal with sensitivity analysis for each c j and b i, considered separately. In such a kind of analysis we are interested in identifying the range that allows to maintain the structure of the optimal solution (i.e, basic and non-basic variables will not change). J.R. Figueira (IST) FIO March 7-8, / 50

30 2. A general product-mix allocation problem A Classical Maximization Problem Example 2 (A Classical Product Mix Resource Allocation Problem). The CorkMaxPro Company is the largest Portuguese producer and exporter of cork made products. Over the last five years, the company has gradually expanded the geography and the volume of its production activities, which consist of producing a product mix (i.e., designing and making the product lines or assortments that the company offers to its clients), here generically denoted by P 1,..., P j,..., and P n. The company s plants possess several resources, R 1,..., R i,..., and R m, to make the different assortments. The quantity available of each resource is, b 1,..., b i,..., and b m, respectively. The allocation of resources to the production is as follows: allocate a ij units of the resource R i to make one unit of the assortment P j. The market absorbs all the production and the revenue per unit of product sold is c j Euros. The Company s CEO needs to know the next year production plan (activity levels) in such a way that the resource constraints should be taken into account and the overall revenue to be earned from the selling of the assortments in the market should be maximized. J.R. Figueira (IST) FIO March 7-8, / 50

31 2. A general product-mix allocation problem Relevant Information from the Problem Description Sets: P = {P 1,..., P j,..., P n } is the set of products. R = {R 1,..., R i,..., R m } is the set of resources. Indices: j {1,..., n} is the set of the product indices. i {1,..., m} is the set of the resources indices. Parameters (Data): b i is the available amount of resource R i, i = 1,..., m. a ij is the amount of resource R i, i = 1,..., m, allocated to the production of one unit of product P j, j = 1,..., n. c j is the per unit revenue earned when P j is sold, j = 1,..., n. Decision Variables:... x j is the amount of product P j, j = 1,..., n, to be produced. J.R. Figueira (IST) FIO March 7-8, / 50

32 2. A general product-mix allocation problem The Linear Programming (LP) Model maximize z(x) = c 1 x c j x j c n x n subject to: a 11 x a 1j x j a 1n x n b 1... a i1 x a ij x j a in x n b i... a m1 x a mj x j a mn x n b m x 1,... x j,... x n 0 J.R. Figueira (IST) FIO March 7-8, / 50

33 3. Characterizing the resources Some definitions (1) Definition 1 (Slack Variables). From a technical point of view, in linear programming, a (non-negative) slack variable, say x n+i (or s i instead), is a variable that is added to a (lower than or equal) inequality type constraint, n j=1 a ijx j b i, to transform it in an equality type constraint: a i1 x a ij x j a in x n + s i = b i, s i 0 From an economic point of view, s i represents the unused amount of resource availability, b i. J.R. Figueira (IST) FIO March 7-8, / 50

34 3. Characterizing the resources Some definitions (2) Definition 2 (Biding Constraints). A constraint, i, is said biding when a i1 x a ij x j a in x n = b i. In other words, when the whole amount of resource R i, b i, was allocated to the production of P j, for j = 1,..., n. In this situation s i = 0. When s i > 0 the constraint is called non-biding. In such a case: a i1 x a ij x j a in x n < b i, and some amount of resource remains unused. J.R. Figueira (IST) FIO March 7-8, / 50

35 3. Characterizing the resources Some definitions (3) Definition 3 (Scarce and Abundant Resources). A resource R i is called scarce if it is associated with a biding constraint, i.e., when s i = 0. Otherwise, it is called abundant (s i > 0). This classification of resources is very important for an economical interpretation of the problem. J.R. Figueira (IST) FIO March 7-8, / 50

36 3. Characterizing the resources Simplex method: Graphical Illustration x B C D A x J.R. Figueira (IST) FIO March 7-8, / 50

37 3. Characterizing the resources Comments and Remarks Constraint 1 is biding: resource R 1 is scarce (Silicone). Constraint 2 is biding: resource R 2 is scarce (Hight-Tech machine). Constraint 3 is non-biding: resource R 3 is abundant (Robot 1). Constraint 4 is non-biding: resource R 4 is abundant (Robot 2). In what follow, these information are very important. J.R. Figueira (IST) FIO March 7-8, / 50

38 4. Sensitivity analysis: Graphical approach Relevant Questions: Sensitivity Analysis to the RHS When performing the sensitivity analysis of the availability of Resource 1, we do not care about the other data (ceteris paribus condition): b min 1 b 1 b max 1. As for a scarce resource, the most relevant question is to know how much we can increase its availability (this leads always to improve the value of the objective function). As for an abundant resource, the most relevant question is to know how much we can decrease its availability (this does not change the value of objective function). For instance, during crises periods, it is also important to how much we can decrease the availability of a scarce resource (this leads always to a degradation of the value of the objective function). Increase the availability of an abundant resource is not relevant (it can be increased till infinite). J.R. Figueira (IST) FIO March 7-8, / 50

39 4. Sensitivity analysis: Graphical approach Graphical Illustration: Upper Bound of b 1 x D H x J.R. Figueira (IST) FIO March 7-8, / 50

40 4. Sensitivity analysis: Graphical approach Graphical Illustration: Lower bound of b 1 x C D x J.R. Figueira (IST) FIO March 7-8, / 50

41 4. Sensitivity analysis: Graphical approach Comments and Remarks Compute b max 1. Observe the graphical representation. - When increasing the resource availability we can reach point H = (8, 3.5). - At this point the availability is Thus, b max 1 = At point H the value of the objective function is When increasing the availability of R 1 from 18 to 19.5, the objective function increases from 37 to The unitary impact is thus (38 37)/( ) = 2/3. Compute b min 1. - The availability of R 1 can be decreased till point C = (3, 6). - Thus, b min 1 = 12. Conclusion: 12 b J.R. Figueira (IST) FIO March 7-8, / 50

42 4. Sensitivity analysis: Graphical approach Upper bound of c 1 Lower bound of c 2 x D x J.R. Figueira (IST) FIO March 7-8, / 50

43 4. Sensitivity analysis: Graphical approach Objective function coefficients In the sensitivity analysis of c j, we should stay at point D. If we rotate clockwise the objective function we can reach the c max 1. It reaches its maximum value when the slope of the objective function is the same as the slope of the Constraint 1. It suffices to perform such a slope analysis. From the objective function: c max 1 x 1 + 4x 2 = K x 2 = K/4 (c max 1 /4)x 1 From the Equation 1: 2x 1 + x 2 = 18 x 2 = 18 2x 1 Conclusion: c max 1 /4 = 2 c max 1 = 8. J.R. Figueira (IST) FIO March 7-8, / 50

44 5. Sensitivity analysis: Tabular computations c j Basis x j x 1 x 2 x 3 x 4 x 5 x 6 ˆbi Ratio 0 x x x x t = 0 z j A z j c j x x x x t = 1 z j B z j c j x x x x t = 2 z j C z j c j J.R. Figueira (IST) FIO March 7-8, / 50

45 5. Sensitivity analysis: Tabular computations c j Basis x j x 1 x 2 x 3 x 4 x 5 x 6 ˆbi Ratio 0 x /3 2/ /3 1 3 x /3 1/ /3 1 0 x /3 1/ /3 1 4 x /3 2/ /3 1 t = 3 z j 3 4 2/3 5/3 0 0 D z j c j 0 0 2/3 5/ /3 1 Construct the system: 2 + 1/3 1 0 ( 1 6) 7 + 2/3 1 0 ( 1 21/2) 1 2/3 1 0 ( 1 3/2) 4 1/3 1 0 ( 1 12) Thus, Consequently, 12 b J.R. Figueira (IST) FIO March 7-8, / 50

46 5. Sensitivity analysis: Tabular computations c j (3 + δ 1 ) Basis x j x 1 x 2 x 3 x 4 x 5 x 6 ˆbi Ratio 0 x /3 2/ (3 + δ 1 ) x /3 1/ x /3 1/ x /3 2/ t = 3 z j (3 + δ 1 ) 4 (2/3 + 2/3δ 1 ) (5/3 1/3δ 1 ) 0 0 D z j c j 0 0 (2/3 + 2/3δ 1 ) (5/3 1/3δ 1 ) δ 1 Construct the system: { 2/3 + 2/3δ1 0 (δ 1 1) 5/3 1/3δ 1 0 (δ 1 5) Thus, 1 δ 1 5 Consequently, 2 c 1 8 J.R. Figueira (IST) FIO March 7-8, / 50

47 6. Sensitivity analysis: Matrix-vector computations Matrix computations As for b 1 we have to guarantee that B 1 b /3 2/ / /3 1/ /3 1/ / / /3 2/ /3 1 0 As for the coefficients of the objective function there are two cases: Our x 1 is basic: (c δ 1 B ) B 1 N (c δ 1 B ) 0. When x j is non-basic we have: z j (c j + δ j ) 0 J.R. Figueira (IST) FIO March 7-8, / 50

48 7. Conclusions Results Resource R 1 : 12 b Resource R 2 : 12 b Resource R 3 : 7 b 3 +. Resource R 4 : 4 b 4 +. Coefficient of x 1 : 2 c 1 8. Coefficient of x 2 : 1.5 c 2 6. J.R. Figueira (IST) FIO March 7-8, / 50

49 Part Bibliography

50 References Bazaraa, M., Jarvis, J., and Sherali, H. (1990). Linear Programming and Network Flows. John Wiley & Sons, New York, USA, second edition. Goldfarb, D. and Todd, M. J. (1989). Linear programming. In Nemhauser, G. L., Rinnoy Kan, A. H. G., and Todd, M. J., editors, Optimization, volume 1 of Handbooks in Operations Research and Management Science, pages North Holland, Amsterdam, The Netherlands. Hillier, F. and Lieberman, G. (2005). Introduction to Operations Research. The McGraw-Hill Companies, Inc., New York, USA, eighth edition. Taha, H. (2010). Operations Research: An Introduction. Prentice-Hall, Upper Saddle River, New Jersey, USA, 9th edition.

Introduction to Operations Research

Introduction to Operations Research Introduction to Operations Research (Week 5: Linear Programming: More on Simplex) José Rui Figueira Instituto Superior Técnico Universidade de Lisboa (figueira@tecnico.ulisboa.pt) March 14-15, 2016 This

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Ann-Brith Strömberg. Lecture 4 Linear and Integer Optimization with Applications 1/10

Ann-Brith Strömberg. Lecture 4 Linear and Integer Optimization with Applications 1/10 MVE165/MMG631 Linear and Integer Optimization with Applications Lecture 4 Linear programming: degeneracy; unbounded solution; infeasibility; starting solutions Ann-Brith Strömberg 2017 03 28 Lecture 4

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

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

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

More information

Lecture 6 Simplex method for linear programming

Lecture 6 Simplex method for linear programming Lecture 6 Simplex method for linear programming Weinan E 1,2 and Tiejun Li 2 1 Department of Mathematics, Princeton University, weinan@princeton.edu 2 School of Mathematical Sciences, Peking University,

More information

Linear Programming. H. R. Alvarez A., Ph. D. 1

Linear Programming. H. R. Alvarez A., Ph. D. 1 Linear Programming H. R. Alvarez A., Ph. D. 1 Introduction It is a mathematical technique that allows the selection of the best course of action defining a program of feasible actions. The objective of

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 Simplex Issues: Number of Pivots. ORIE 6300 Mathematical Programming I October 9, 2014

Lecture Simplex Issues: Number of Pivots. ORIE 6300 Mathematical Programming I October 9, 2014 ORIE 6300 Mathematical Programming I October 9, 2014 Lecturer: David P. Williamson Lecture 14 Scribe: Calvin Wylie 1 Simplex Issues: Number of Pivots Question: How many pivots does the simplex algorithm

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

Linear Programming Duality

Linear Programming Duality Summer 2011 Optimization I Lecture 8 1 Duality recap Linear Programming Duality We motivated the dual of a linear program by thinking about the best possible lower bound on the optimal value we can achieve

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

AM 121 Introduction to Optimization: Models and Methods Example Questions for Midterm 1

AM 121 Introduction to Optimization: Models and Methods Example Questions for Midterm 1 AM 121 Introduction to Optimization: Models and Methods Example Questions for Midterm 1 Prof. Yiling Chen Fall 2018 Here are some practice questions to help to prepare for the midterm. The midterm will

More information

New Artificial-Free Phase 1 Simplex Method

New Artificial-Free Phase 1 Simplex Method International Journal of Basic & Applied Sciences IJBAS-IJENS Vol:09 No:10 69 New Artificial-Free Phase 1 Simplex Method Nasiruddin Khan, Syed Inayatullah*, Muhammad Imtiaz and Fozia Hanif Khan Department

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

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

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

Signature: Name (PRINT CLEARLY) and ID number:

Signature: Name (PRINT CLEARLY) and ID number: AMS 540 / MBA 540 (Fall, 2008) Estie Arkin Linear Programming - Midterm Do all problems. Write your answers on the exam. You are permitted to use the text, your notes and any material handed out in class.

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

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

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

Termination, Cycling, and Degeneracy

Termination, Cycling, and Degeneracy Chapter 4 Termination, Cycling, and Degeneracy We now deal first with the question, whether the simplex method terminates. The quick answer is no, if it is implemented in a careless way. Notice that we

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

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

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

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

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

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

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

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

MAT 2009: Operations Research and Optimization 2010/2011. John F. Rayman

MAT 2009: Operations Research and Optimization 2010/2011. John F. Rayman MAT 29: Operations Research and Optimization 21/211 John F. Rayman Department of Mathematics University of Surrey Introduction The assessment for the this module is based on a class test counting for 1%

More information

Systems Analysis in Construction

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

More information

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

9.1 Linear Programs in canonical form

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

More information

OPRE 6201 : 3. Special Cases

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

More information

15-780: LinearProgramming

15-780: LinearProgramming 15-780: LinearProgramming J. Zico Kolter February 1-3, 2016 1 Outline Introduction Some linear algebra review Linear programming Simplex algorithm Duality and dual simplex 2 Outline Introduction Some linear

More information

...(iii), x 2 Example 7: Geetha Perfume Company produces both perfumes and body spray from two flower extracts F 1. The following data is provided:

...(iii), x 2 Example 7: Geetha Perfume Company produces both perfumes and body spray from two flower extracts F 1. The following data is provided: The LP formulation is Linear Programming: Graphical Method Maximize, Z = 2x + 7x 2 Subject to constraints, 2x + x 2 200...(i) x 75...(ii) x 2 00...(iii) where x, x 2 ³ 0 Example 7: Geetha Perfume Company

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

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

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

Optimization Methods in Management Science

Optimization Methods in Management Science Optimization Methods in Management Science MIT 15.053, Spring 2013 Problem Set 2 First Group of Students) Students with first letter of surnames A H Due: February 21, 2013 Problem Set Rules: 1. Each student

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

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

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

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

Fundamentals of Operations Research. Prof. G. Srinivasan. Indian Institute of Technology Madras. Lecture No. # 15

Fundamentals of Operations Research. Prof. G. Srinivasan. Indian Institute of Technology Madras. Lecture No. # 15 Fundamentals of Operations Research Prof. G. Srinivasan Indian Institute of Technology Madras Lecture No. # 15 Transportation Problem - Other Issues Assignment Problem - Introduction In the last lecture

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

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

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

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

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

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

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

More information

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

The Simplex Method of Linear Programming

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

More information

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

CSC373: Algorithm Design, Analysis and Complexity Fall 2017 DENIS PANKRATOV NOVEMBER 1, 2017

CSC373: Algorithm Design, Analysis and Complexity Fall 2017 DENIS PANKRATOV NOVEMBER 1, 2017 CSC373: Algorithm Design, Analysis and Complexity Fall 2017 DENIS PANKRATOV NOVEMBER 1, 2017 Linear Function f: R n R is linear if it can be written as f x = a T x for some a R n Example: f x 1, x 2 =

More information

2. Linear Programming Problem

2. Linear Programming Problem . Linear Programming Problem. Introduction to Linear Programming Problem (LPP). When to apply LPP or Requirement for a LPP.3 General form of LPP. Assumptions in LPP. Applications of Linear Programming.6

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

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

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

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

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

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

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

Discrete Optimization. Guyslain Naves

Discrete Optimization. Guyslain Naves Discrete Optimization Guyslain Naves Fall 2010 Contents 1 The simplex method 5 1.1 The simplex method....................... 5 1.1.1 Standard linear program................. 9 1.1.2 Dictionaries........................

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

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

Algebraic Simplex Active Learning Module 4

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

More information

Civil Engineering Systems Analysis Lecture XII. Instructor: Prof. Naveen Eluru Department of Civil Engineering and Applied Mechanics

Civil Engineering Systems Analysis Lecture XII. Instructor: Prof. Naveen Eluru Department of Civil Engineering and Applied Mechanics Civil Engineering Systems Analysis Lecture XII Instructor: Prof. Naveen Eluru Department of Civil Engineering and Applied Mechanics Today s Learning Objectives Dual Midterm 2 Let us look at a complex case

More information

56:270 Final Exam - May

56:270  Final Exam - May @ @ 56:270 Linear Programming @ @ Final Exam - May 4, 1989 @ @ @ @ @ @ @ @ @ @ @ @ @ @ Select any 7 of the 9 problems below: (1.) ANALYSIS OF MPSX OUTPUT: Please refer to the attached materials on the

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

CSCI5654 (Linear Programming, Fall 2013) Lecture-8. Lecture 8 Slide# 1

CSCI5654 (Linear Programming, Fall 2013) Lecture-8. Lecture 8 Slide# 1 CSCI5654 (Linear Programming, Fall 2013) Lecture-8 Lecture 8 Slide# 1 Today s Lecture 1. Recap of dual variables and strong duality. 2. Complementary Slackness Theorem. 3. Interpretation of dual variables.

More information

Solution Cases: 1. Unique Optimal Solution Reddy Mikks Example Diet Problem

Solution Cases: 1. Unique Optimal Solution Reddy Mikks Example Diet Problem Solution Cases: 1. Unique Optimal Solution 2. Alternative Optimal Solutions 3. Infeasible solution Case 4. Unbounded Solution Case 5. Degenerate Optimal Solution Case 1. Unique Optimal Solution Reddy Mikks

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

Supplementary lecture notes on linear programming. We will present an algorithm to solve linear programs of the form. maximize.

Supplementary lecture notes on linear programming. We will present an algorithm to solve linear programs of the form. maximize. Cornell University, Fall 2016 Supplementary lecture notes on linear programming CS 6820: Algorithms 26 Sep 28 Sep 1 The Simplex Method We will present an algorithm to solve linear programs of the form

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

Paper Name: Linear Programming & Theory of Games. Lesson Name: Duality in Linear Programing Problem

Paper Name: Linear Programming & Theory of Games. Lesson Name: Duality in Linear Programing Problem Paper Name: Linear Programming & Theory of Games Lesson Name: Duality in Linear Programing Problem Lesson Developers: DR. VAJALA RAVI, Dr. Manoj Kumar Varshney College/Department: Department of Statistics,

More information

56:171 Operations Research Fall 1998

56:171 Operations Research Fall 1998 56:171 Operations Research Fall 1998 Quiz Solutions D.L.Bricker Dept of Mechanical & Industrial Engineering University of Iowa 56:171 Operations Research Quiz

More information

On the Number of Solutions Generated by the Simplex Method for LP

On the Number of Solutions Generated by the Simplex Method for LP Workshop 1 on Large Scale Conic Optimization IMS (NUS) On the Number of Solutions Generated by the Simplex Method for LP Tomonari Kitahara and Shinji Mizuno Tokyo Institute of Technology November 19 23,

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

Applications. Stephen J. Stoyan, Maged M. Dessouky*, and Xiaoqing Wang

Applications. Stephen J. Stoyan, Maged M. Dessouky*, and Xiaoqing Wang Introduction to Large-Scale Linear Programming and Applications Stephen J. Stoyan, Maged M. Dessouky*, and Xiaoqing Wang Daniel J. Epstein Department of Industrial and Systems Engineering, University of

More information