Chap 4 The Simplex Method
|
|
- Sherman Banks
- 7 years ago
- Views:
Transcription
1 The Essence of the Simplex Method Recall the Wyndor problem Max Z = 3x 1 + 5x 2 S.T. x 1 4 2x x 1 + 2x 2 18 x 1, x 2 0 Chap 4 The Simplex Method 8 corner point solutions. 5 out of them are CPF solutions. Each corner-point solution lies at the intersection of two constraint boundaries. General speaking, for a LP problem with n variables, each of its corner-point solutions lies at the intersections of n constraint boundaries. For any LP with n decision variables, two CPF solutions are adjacent to each other if they share n 1 constraint boundaries. For example, (0, 0) and (0, 6) are adjacent. (0, 0) and (4, 3) are not. Two adjacent CPF solutions are connected by a line segment that lies on these same shared constraint boundaries, call an edge of the feasible region. Note that two edges emanate from each CPF solution. Thus, each CPF solution has two adjacent CPF solutions (in the Wyndor example). How many adjacent CPF are there for an n decision variable case? Optimality Test Consider a LP problem that possesses at least one optimal solution. If a CPF solution has no adjacent CPF solutions that are better, then it must be an optimal solution. (2, 6) is the optimal solution in the Wyndor Example. Solving the Wyndor Example (from a geometric viewpoint) Initialization Choose (0, 0) as the initial CPF solution for convenient reason. Optimality Test (0, 0) is not an optimal solution (adjacent solutions are better). Chap4-1
2 Iteration 1 Move to a better adjacent CPF solution, (0, 6). Between the two edges of the feasible region that emanate from (0, 0), choose to move along the edge that leads up the x 2 axis. Why choose this one? Stop at the first new constraint boundary: 2x 2 = 12. Solve for the intersection of the new set of constraint boundaries: (0, 6). Optimality Test: still not an optimal Iteration 2 Following the same procedures, move to a better adjacent CPF solution (2, 6). Optimality Test (2, 6) is an optimal solution. Key Solution Concepts Behind the Simplex Method Concept 1: For any problem with at least one optimal solution, finding one requires only finding a best CPF solution. Thus, we focus solely on CPF solutions. The number of CPF solutions is finite. This simplifies the searching space tremendously. Concept 2: The simplex method is an iterative algorithm. Find an initial CPF solution Stop Yes Is Current CPF solution optimal? No Perform an iteration to find a better CPF Chap4-2
3 Concept 3: Whenever possible, chooses the origin to be the initial CPF solution. Concept 4: Given a CPF solution, it is much quicker computationally to gather information about its adjacent CPF solutions than about other CPF solutions. While moving from the current CPF solution to a better one, it always chooses a CPF solution that is adjacent to the current one. The entire path followed to eventually reach an optimal solution is along the edges of the feasible region. Concept 5: After the current CPF solution is identified, the simplex method examines each of the edges of the feasible region that emanate from the current CPF solution. Among the edges with a positive rate of improvement in Z, it chooses to move along the one with the largest improvement rate. Concept 6: How the optimality test is performed efficiently? Check the improvement rate of each edge emanate from the current CPF solution. If all of them are negative, the current CPF solution is optimal. Solving the Wyndor Example (a algebraic procedure) Max Z = 3x 1 + 5x 2 S.T. x 1 4 2x x 1 + 2x 2 18 x 1, x 2 0 Setting up the Simplex method Introducing slack variables to transfer the functional inequalities into equalities and obtain the augmented form of the model. Max Z = 3x 1 + 5x 2 St x 1 + x 3 = 4 2x 2 + x 4 = 12 3x 1 + 2x 2 + x 5 = 18 x 1, x 2, x 3, x 4, x 5 0 If a slack variable equals 0 in the current solution, then this solution lies on the constraint boundary for the corresponding functional constraint. A value greater than 0 means that the solution lies on the feasible side of this constraint boundary. Chap4-3
4 What if the value of a slack variable is less than 0? More terminologies An augmented solution is a solution for the original variables and the slack variables (feasible or infeasible). A basic solution is an augmented corner-point solution (feasible or infeasible). For example, (4, 6) is a corner-point solution and (4, 6, 0, 0, -6) is the corresponding basic solution. A basic feasible (BF) solution is an augmented CPF solution. For example (0, 6) is a CPF solution and (0, 6, 4, 0, 6) is a BF solution. There are 3 equations with 5 variables. So, we can have 2 free variables. That is, if two of the variables are set, the value of the other three variables can be calculated. The simplex method uses zero for this arbitrary value. That is, two of the variables (called the nonbasic variables) are set to zero, and then the simultaneous solution of the three equations for the other three variables (called basic variables) is a basic solution. Some properties of a basic solution Each variable is designated as either a basic or a non-basic variable. The number of basic variables equals to the number of functional constraints. Therefore, number of non-basic variables equals the total number of variables (including slack variables) minus number of functional constraints. The non-basic variables are set to zero. The values of the basic variables are obtained as the simultaneous solution of the system of equations. The set of basic variables is often referred to as the basis. If the basic variables satisfy the non-negativity constraints, the basic solution is a BF solution. Let x 1 = x 4 = 0 (nonbasic variables), obtain x 3 =4, x 2 = 6, and x 5 = 6 (basic variables). It is a BF solution. Chap4-4
5 Two BF solutions are adjacent if all but one of their basic (nonbasic) variables are the same. (Note: not the values.) That is, moving from the current BF solution to an adjacent one involves switching one variable from nonbasic to basic and vice versa. (0, 6, 4, 0, 6) (2, 6, 2, 0, 0) (4, 3, 0, 6, 0) (4, 0, 0, 12, 6) (0, 0, 4, 12, 18) We could deal with the objective function equation at the same time as the new constraint equation. Note that Z is not really a decision variable. Max Z S.T. Z - 3x 1-5x 2 = 0 x 1 = 4 2x 2 = 12 3x 1 + 2x 2 = 18 x 1, x 2 0 The Algebra of the Simplex Method Recall the Wyndor Problem again. Initialization Add the slack variables Max Z S.T. Z - 3x 1-5x 2 = 0 (0) x 1 + x 3 = 4 (1) 2x 2 + x 4 = 12 (2) 3x 1 + 2x 2 + x 5 = 18 (3) x 1, x 2, x 3, x 4, x 5 0 Pick x 1 and x 2 be the nonbasic variables (starting from the origin). x 1 = x 2 = 0. Easily obtain x 3 = 4, x 4 = 12, and x 5 = 18 (x 3, x 4, and x 5 are basic variables). Why it is easy? Each equation has just one basic variable, which has a coefficient 1, and this basic variable does not appear in any other equation (and the objective function). Chap4-5
6 Optimality test Z - 3x 1-5x 2 = 0 Z (to be maximized) = 3x 1 + 5x 2 Can we improve the objective value any more (Z = 0 currently)? Determining the direction of movement If we change the value of x 1, or x 2, can we increase the value of objective function? Which one looks more promising? Pick to increase, called the entering basic variable. Determining where to stop. (How far could we increase the entering variable?) x 1 remain zero. x 1 + x 3 = 4 x 3 = 4 no bound on x 2 2x 2 + x 4 = 12 x 4 = 12 2x 2 x 2 6 minimum 3x 1 + 2x 2 + x 5 = 18 x 5 = 18 2x 2 x 2 9 x 2 can be increased to 6, where x 4 will drop to zero. x 4 is called the leaving basic variable (since it becomes zero). These procedures are referred to as the minimum ratio test. Only consider the equations where the coefficient of the entering basic variable is strictly positive (>0). Solving for the New BF Solution Initial BF solution: Nonbasic: x 1 = x 2 = 0, Basic: x 3 = 4, x 4 = 12, x 5 = 18. New BF solution: Nonbasic: x 1 = x 4 = 0, Basic: x 3 =?, x 2 =?, x 5 =? We would like to convert the system of equations to a more convenient form for obtaining the variable values and conducting the optimality test. Objective function equation only contains the nonbasic variables. Each functional constraint equation contains only one basic variable and its coefficient equals to 1. The original algebra form Z 3x 1 5x 2 = 0 (0) x 1 + x 3 = 4 (1) 2x 2 + x 4 = 12 (2) 3x 1 + 2x 2 + x 5 = 18 (3) Chap4-6
7 Perform the elementary algebraic operations (as learned in linear algebra) to produce the convenient form (called Gaussian elimination). Multiply (or divide) an equation by a nonzero constant. Add (or subtract) a multiple of one equation to (or from) another equation. Note that the coefficients of x 2 are -5, 0, 2, and 2. We want these coefficients to become 0, 0, 1, and 0. Optimality test (for the new BF solution) Z 3x 1 + 5/2x 4 = 30 Z = x 1 5/2x 4 Do we need to continue? Determine the direction of movement Determine where to stop Chap4-7
8 Solving for the new BF solution Optimality Test Do we need to continue? Optimal solution is Simplex Method in Tabular Form Logic is identical to that of the algebraic form. Only records the essential information. It can significantly reduce the effort of calculations. Z 3x 1 5x 2 = 0 x 1 + x 3 = 4 2x 2 + x 4 = 12 3x 1 + 2x 2 + x 5 = 18 Basic Coefficient of: Right Side Variable Z x 1 x 2 x 3 x 4 x 5 Z x x x Optimality test If every coefficient in Z row (row 0) is nonnegative ( 0). Chap4-8
9 Iteration Determining the entering basic variable by selecting the variable with the negative coefficient having the largest absolute value in row 0. Put a box around the column below this coefficient, and call this the pivot column. Basic Coefficient of: Right Side Variable Z x 1 x 2 x 3 x 4 x 5 Z x x x Determining the leaving basic variable by applying the minimum ratio test. Pick out each coefficient in the pivot column that is strictly positive (>0). Divide each of these coefficients into the right side entry for the same row. Identify the row that has the smallest of these ratios. Put a box around this row and call it the pivot row. Also, call the number that is in both boxes the pivot number. Basic Coefficient of: Right Ratio Variable Z x 1 x 2 x 3 x 4 x 5 Side Z x x /2=6 min x /2=9 The basic variable for the pivot row is the leaving basic variable, so replace that variable by the entering basic variable in the basic variable column of the next simplex tableau. Use elementary row operations to construct a new simplex tableau in proper form by using Gaussian elimination. Divide the pivot row by the pivot number. Chap4-9
10 Use elementary row operations to make other coefficients in pivot column to be zero. Basic Coefficient of: Right Ratio Variable Z x 1 x 2 x 3 x 4 x 5 Side Z / x /1=4 x /2 0 6 x /3=2 Basic Coefficient of: Right Variable Z x 1 x 2 x 3 x 4 x 5 Side Z / x /3-1/3 2 x /2 0 6 x /3 1/3 2 Ratio Tie for the entering basic variable Z = 3x 1 + 3x 2 Selection may be made arbitrarily. Tie for the leaving variable degeneracy Z 3x 1 5x 2 = 0 x 1 + x 3 = 4 2x 2 + x 4 = 12 3x 1 + 2x 2 + x 5 = 12 x 2 is the entering variable, x 4 and x 5 reach zero simultaneously. All the tied basic variables reach zero simultaneously. The one not chosen to be the leaving basic variable also will have a value of zero in the new BF solution. If x 4 is chosen as the leaving basic variable Z 3x 1 + 5/2x 4 = 30 x 1 + x 3 = 4 x 2 + 1/2x 4 = 6 3x 1 x 4 + x 5 = 0 So, the value of basic variable x 5 is zero (called a degenerate basic variable). Chap4-10
11 If the degenerate basic variable retains its value of zero until it is chosen to be a leaving basic variable, the corresponding entering basic variable also must remain zero, so the value of Z must remain unchanged. If x 1 is the entering basic variable and x 5 is the leaving basic variable, x 1 will remain zero because any increment of x 1 will result in a negative value of x 5. If Z may remain the same rather than increase at each iteration, the simplex method may then go around a loop. Rarely happen and ease to avoid. No Leaving basic variable unbounded Z x 1 is the entering basic variable Z 3x 1 + 5x 5 = 30 -x 1 + x 3 = 4-2x 1 + x 4 = 9 Multiple optimal solution If there are multiple optimal solutions, two of them must be CPF. How to tell and how to find the other optimal solutions? At least one of the nonbasic variables has a coefficient of zero in the final objective row. Increasing any such variable will not change the value of Z. Just perform one of iteration of simplex method will find it. Z 0x 3 + x 5 = 18 x 1 + x 3 = 4 3x 3 + x 4 x 5 = 6 x 2 3/2x 3 + 1/2x 5 = 3 Chap4-11
12 Rewrite the algebraic form All optimal solution can be written as linear combination of these two CPF. (x 1, x 2, x 3, x 4, x 5 ) = w 1 (2, 6, 2, 0, 0) + w 2 (4, 3, 0, 6, 0) or (x 1, x 2 ) = w 1 (2, 6) + w 2 (4, 3) w 1 + w 2 = 1, w 1, w 2 0 Not all models can be stated in standard form It causes the difficulty of finding the initial BF solution. Equality constraints Adopt 3x 1 + 2x 2 = 18 instead of 3x 1 + 2x 2 18 in the Wyndor Problem. Replace this equality by 3x 1 + 2x 2 18 and 3x 1 + 2x 2 18 is workable. But it is not a good idea since the increment of number of constraints. After introducing slack variables, we have Max Z = 3x 1 + 5x 2 S.T. x 1 + x 3 = 4 2x 2 + x 4 = 12 3x 1 + 2x 2 = 18 x 1, x 2, x 3, x 4 0 It is not easy to get the initial feasible solution anymore. The origin point is not feasible. Introduce an artificial variable x 5 and construct the artificial problem Max Z = 3x 1 + 5x 2 S.T. x 1 + x 3 = 4 2x 2 + x 4 = 12 3x 1 + 2x 2 + x 5 = 18 x 1, x 2, x 3, x 4, x 5 0 Assign an overwhelming penalty to having x 5 > 0 by changing the objective function Z = 3x 1 + 5x 2 to Z = 3x 1 + 5x 2 Mx 5 (M is a huge positive number, Big M method). Chap4-12
13 x 5 needs to be zero to assure the feasibility. So, impose a huge penalty when it becomes non-zero. Max Z = 3x 1 + 5x 2 Mx 5 S.T. x 1 + x 3 = 4 2x 2 + x 4 = 12 3x 1 + 2x 2 + x 5 = 18 x 1, x 2, x 3, x 4, x 5 0 Simplex method will try very hard not to have x 5 > 0 in the optimal solution. The initial basic variables are x 3, x 4, and x 5. So, we have to rewrite the objective function in term of nonbasic variables. Z = 18M + (3M+3)x 1 + (2M+5)x 2 Please finish the rest procedures (in tabular or algebraic form). See page 128 for details. What does it mean by having at least one non-zero artificial variable when the simplex method stops? Negative right hand side Multiply both sides by 1. Functional constraints in form 0.6x x 2 6 Introduce a surplus variable x 5 to make it be equality. Then, introduce an artificial variable x 6 and treat it as before. 0.6x x x x 2 x 5 = 6 0.6x x 2 x 5 + x 6 = 6 Minimization Multiply the objective function by 1 Min Z = 0.4x x 2 Max Z = 0.4x 1 0.5x 2 Chap4-13
14 Example Radiation Therapy Example Min Z = 0.4x x 2 S.T. 0.3x x x x 2 = 6 0.6x x 2 6 x 1, x 2 0 Apply above procedures Max Z = 0.4x 1 0.5x 2 Mx 4 Mx 6 S.T. 0.3x x 2 + x 3 = x x 2 + x 4 = 6 0.6x x 2 x 5 + x 6 = 6 x 1, x 2, x 3, x 4, x 5, x 6 0 Rewrite the objective function in term of nonbasic variables and solve by the simplex method Chap4-14
15 Recall the radiation therapy example The big M method requires extra calculation after the initial BF solution (for the original problem) is found. When the artificial variables are equal to 0, they remain zero for the rest simplex iterations. Summary of the Two-Phase Method Initialization: Revise the constraints by introducing artificial variables. Phase 1: The objective is to find a BF solution for the real problem. Min Z = sum of artificial variables, subject to revised constraints Phase 2: The objective is to find an optimal solution for the real problem. Phase 1 problem for radiation therapy example Chap4-15
16 Phase 2 problem for radiation therapy example Drop the artificial variables and restore the original objective function. Variables with a bound or with no bound x j L Let x j = x j L so x j 0 and can be treated as usual x j U Let x j = U x j so x j 0 and can be treated as usual x j does not have a bound + - x j = x j x j, x + - j, x j 0 Chap4-16
17 Shadow Price Find managerial decisions on resource allocations. * The shadow price for resource i (denoted by y i ) measures the marginal value of this resource. The rate which Z could be increased by (slightly) increasing the amount of this resource (b i ) being made available. Shadow price y * i equals to the coefficient (positive value) of the ith slack variable in the final objective row. The final iteration of the Wyndor example Z +3/2x 4 +x 5 = 36 x 3 +1/3x 4 1/3x 5 = 2 x 2 +1/2x 4 = 6 x 1 1/3x 4 +1/3x 5 = 2 The shadow prices are: If the unit cost for resource 2 is 1, do you want to go for it? Notice that the increment of resources is not unlimited. Chap4-17
18 Binding constraints are: Sensitivity Analysis Evaluate estimates of model parameters Define the allowable range of parameters without changing the optimal solution (or optimal basis). Sensitive parameters: The parameters that cannot be changed without changing the optimal solution. As for b i : As for c i : Chap4-18
19 As for a ij : Sensitivity report provided by the Excel Solver Chap4-19
Special Situations in the Simplex Algorithm
Special Situations in the Simplex Algorithm Degeneracy Consider the linear program: Maximize 2x 1 +x 2 Subject to: 4x 1 +3x 2 12 (1) 4x 1 +x 2 8 (2) 4x 1 +2x 2 8 (3) x 1, x 2 0. We will first apply the
More informationChapter 6. Linear Programming: The Simplex Method. Introduction to the Big M Method. Section 4 Maximization and Minimization with Problem Constraints
Chapter 6 Linear Programming: The Simplex Method Introduction to the Big M Method In this section, we will present a generalized version of the simplex method that t will solve both maximization i and
More informationSimplex method summary
Simplex method summary Problem: optimize a linear objective, subject to linear constraints 1. Step 1: Convert to standard form: variables on right-hand side, positive constant on left slack variables for
More informationOPRE 6201 : 2. Simplex Method
OPRE 6201 : 2. Simplex Method 1 The Graphical Method: An Example Consider the following linear program: Max 4x 1 +3x 2 Subject to: 2x 1 +3x 2 6 (1) 3x 1 +2x 2 3 (2) 2x 2 5 (3) 2x 1 +x 2 4 (4) x 1, x 2
More information1 Solving LPs: The Simplex Algorithm of George Dantzig
Solving LPs: The Simplex Algorithm of George Dantzig. Simplex Pivoting: Dictionary Format We illustrate a general solution procedure, called the simplex algorithm, by implementing it on a very simple example.
More informationLinear Programming for Optimization. Mark A. Schulze, Ph.D. Perceptive Scientific Instruments, Inc.
1. Introduction Linear Programming for Optimization Mark A. Schulze, Ph.D. Perceptive Scientific Instruments, Inc. 1.1 Definition Linear programming is the name of a branch of applied mathematics that
More informationSolving Linear Programs
Solving Linear Programs 2 In this chapter, we present a systematic procedure for solving linear programs. This procedure, called the simplex method, proceeds by moving from one feasible solution to another,
More informationStandard Form of a Linear Programming Problem
494 CHAPTER 9 LINEAR PROGRAMMING 9. THE SIMPLEX METHOD: MAXIMIZATION For linear programming problems involving two variables, the graphical solution method introduced in Section 9. is convenient. However,
More informationLinear Programming. March 14, 2014
Linear Programming March 1, 01 Parts of this introduction to linear programming were adapted from Chapter 9 of Introduction to Algorithms, Second Edition, by Cormen, Leiserson, Rivest and Stein [1]. 1
More informationSensitivity Analysis 3.1 AN EXAMPLE FOR ANALYSIS
Sensitivity Analysis 3 We have already been introduced to sensitivity analysis in Chapter via the geometry of a simple example. We saw that the values of the decision variables and those of the slack and
More informationIEOR 4404 Homework #2 Intro OR: Deterministic Models February 14, 2011 Prof. Jay Sethuraman Page 1 of 5. Homework #2
IEOR 4404 Homework # Intro OR: Deterministic Models February 14, 011 Prof. Jay Sethuraman Page 1 of 5 Homework #.1 (a) What is the optimal solution of this problem? Let us consider that x 1, x and x 3
More informationChapter 2 Solving Linear Programs
Chapter 2 Solving Linear Programs Companion slides of Applied Mathematical Programming by Bradley, Hax, and Magnanti (Addison-Wesley, 1977) prepared by José Fernando Oliveira Maria Antónia Carravilla A
More information3. Evaluate the objective function at each vertex. Put the vertices into a table: Vertex P=3x+2y (0, 0) 0 min (0, 5) 10 (15, 0) 45 (12, 2) 40 Max
SOLUTION OF LINEAR PROGRAMMING PROBLEMS THEOREM 1 If a linear programming problem has a solution, then it must occur at a vertex, or corner point, of the feasible set, S, associated with the problem. Furthermore,
More informationUsing the Simplex Method to Solve Linear Programming Maximization Problems J. Reeb and S. Leavengood
PERFORMANCE EXCELLENCE IN THE WOOD PRODUCTS INDUSTRY EM 8720-E October 1998 $3.00 Using the Simplex Method to Solve Linear Programming Maximization Problems J. Reeb and S. Leavengood A key problem faced
More informationDuality in Linear Programming
Duality in Linear Programming 4 In the preceding chapter on sensitivity analysis, we saw that the shadow-price interpretation of the optimal simplex multipliers is a very useful concept. First, these shadow
More informationLinear Programming Problems
Linear Programming Problems Linear programming problems come up in many applications. In a linear programming problem, we have a function, called the objective function, which depends linearly on a number
More informationPractical Guide to the Simplex Method of Linear Programming
Practical Guide to the Simplex Method of Linear Programming Marcel Oliver Revised: April, 0 The basic steps of the simplex algorithm Step : Write the linear programming problem in standard form Linear
More information1 Introduction. Linear Programming. Questions. A general optimization problem is of the form: choose x to. max f(x) subject to x S. where.
Introduction Linear Programming Neil Laws TT 00 A general optimization problem is of the form: choose x to maximise f(x) subject to x S where x = (x,..., x n ) T, f : R n R is the objective function, S
More informationLinear Programming I
Linear Programming I November 30, 2003 1 Introduction In the VCR/guns/nuclear bombs/napkins/star wars/professors/butter/mice problem, the benevolent dictator, Bigus Piguinus, of south Antarctica penguins
More informationLinear Programming: Theory and Applications
Linear Programming: Theory and Applications Catherine Lewis May 11, 2008 1 Contents 1 Introduction to Linear Programming 3 1.1 What is a linear program?...................... 3 1.2 Assumptions.............................
More informationThe Graphical Method: An Example
The Graphical Method: An Example Consider the following linear program: Maximize 4x 1 +3x 2 Subject to: 2x 1 +3x 2 6 (1) 3x 1 +2x 2 3 (2) 2x 2 5 (3) 2x 1 +x 2 4 (4) x 1, x 2 0, where, for ease of reference,
More informationChapter 6: Sensitivity Analysis
Chapter 6: Sensitivity Analysis Suppose that you have just completed a linear programming solution which will have a major impact on your company, such as determining how much to increase the overall production
More informationLinear Programming. April 12, 2005
Linear Programming April 1, 005 Parts of this were adapted from Chapter 9 of i Introduction to Algorithms (Second Edition) /i by Cormen, Leiserson, Rivest and Stein. 1 What is linear programming? The first
More information4.6 Linear Programming duality
4.6 Linear Programming duality To any minimization (maximization) LP we can associate a closely related maximization (minimization) LP. Different spaces and objective functions but in general same optimal
More informationLinear Programming in Matrix Form
Linear Programming in Matrix Form Appendix B We first introduce matrix concepts in linear programming by developing a variation of the simplex method called the revised simplex method. This algorithm,
More information2x + y = 3. Since the second equation is precisely the same as the first equation, it is enough to find x and y satisfying the system
1. Systems of linear equations We are interested in the solutions to systems of linear equations. A linear equation is of the form 3x 5y + 2z + w = 3. The key thing is that we don t multiply the variables
More informationLinear Programming. Solving LP Models Using MS Excel, 18
SUPPLEMENT TO CHAPTER SIX Linear Programming SUPPLEMENT OUTLINE Introduction, 2 Linear Programming Models, 2 Model Formulation, 4 Graphical Linear Programming, 5 Outline of Graphical Procedure, 5 Plotting
More informationDegeneracy in Linear Programming
Degeneracy in Linear Programming I heard that today s tutorial is all about Ellen DeGeneres Sorry, Stan. But the topic is just as interesting. It s about degeneracy in Linear Programming. Degeneracy? Students
More informationLinear Programming Notes V Problem Transformations
Linear Programming Notes V Problem Transformations 1 Introduction Any linear programming problem can be rewritten in either of two standard forms. In the first form, the objective is to maximize, the material
More informationWhat is Linear Programming?
Chapter 1 What is Linear Programming? An optimization problem usually has three essential ingredients: a variable vector x consisting of a set of unknowns to be determined, an objective function of x to
More informationOperation Research. Module 1. Module 2. Unit 1. Unit 2. Unit 3. Unit 1
Operation Research Module 1 Unit 1 1.1 Origin of Operations Research 1.2 Concept and Definition of OR 1.3 Characteristics of OR 1.4 Applications of OR 1.5 Phases of OR Unit 2 2.1 Introduction to Linear
More informationLECTURE 5: DUALITY AND SENSITIVITY ANALYSIS. 1. Dual linear program 2. Duality theory 3. Sensitivity analysis 4. Dual simplex method
LECTURE 5: DUALITY AND SENSITIVITY ANALYSIS 1. Dual linear program 2. Duality theory 3. Sensitivity analysis 4. Dual simplex method Introduction to dual linear program Given a constraint matrix A, right
More informationSolving Systems of Linear Equations Using Matrices
Solving Systems of Linear Equations Using Matrices What is a Matrix? A matrix is a compact grid or array of numbers. It can be created from a system of equations and used to solve the system of equations.
More informationLinear Programming Notes VII Sensitivity Analysis
Linear Programming Notes VII Sensitivity Analysis 1 Introduction When you use a mathematical model to describe reality you must make approximations. The world is more complicated than the kinds of optimization
More informationNetwork Models 8.1 THE GENERAL NETWORK-FLOW PROBLEM
Network Models 8 There are several kinds of linear-programming models that exhibit a special structure that can be exploited in the construction of efficient algorithms for their solution. The motivation
More informationLinear Programming II: Minimization 2006 Samuel L. Baker Assignment 11 is on page 16.
LINEAR PROGRAMMING II 1 Linear Programming II: Minimization 2006 Samuel L. Baker Assignment 11 is on page 16. Introduction A minimization problem minimizes the value of the objective function rather than
More informationLecture 3. Linear Programming. 3B1B Optimization Michaelmas 2015 A. Zisserman. Extreme solutions. Simplex method. Interior point method
Lecture 3 3B1B Optimization Michaelmas 2015 A. Zisserman Linear Programming Extreme solutions Simplex method Interior point method Integer programming and relaxation The Optimization Tree Linear Programming
More information56:171 Operations Research Midterm Exam Solutions Fall 2001
56:171 Operations Research Midterm Exam Solutions Fall 2001 True/False: Indicate by "+" or "o" whether each statement is "true" or "false", respectively: o_ 1. If a primal LP constraint is slack at the
More information9.4 THE SIMPLEX METHOD: MINIMIZATION
SECTION 9 THE SIMPLEX METHOD: MINIMIZATION 59 The accounting firm in Exercise raises its charge for an audit to $5 What number of audits and tax returns will bring in a maximum revenue? In the simplex
More information3.1 Solving Systems Using Tables and Graphs
Algebra 2 Chapter 3 3.1 Solve Systems Using Tables & Graphs 3.1 Solving Systems Using Tables and Graphs A solution to a system of linear equations is an that makes all of the equations. To solve a system
More informationLinear Programming Supplement E
Linear Programming Supplement E Linear Programming Linear programming: A technique that is useful for allocating scarce resources among competing demands. Objective function: An expression in linear programming
More information7 Gaussian Elimination and LU Factorization
7 Gaussian Elimination and LU Factorization In this final section on matrix factorization methods for solving Ax = b we want to take a closer look at Gaussian elimination (probably the best known method
More informationSensitivity Analysis with Excel
Sensitivity Analysis with Excel 1 Lecture Outline Sensitivity Analysis Effects on the Objective Function Value (OFV): Changing the Values of Decision Variables Looking at the Variation in OFV: Excel One-
More information5.5. Solving linear systems by the elimination method
55 Solving linear systems by the elimination method Equivalent systems The major technique of solving systems of equations is changing the original problem into another one which is of an easier to solve
More informationMATRIX ALGEBRA AND SYSTEMS OF EQUATIONS
MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS Systems of Equations and Matrices Representation of a linear system The general system of m equations in n unknowns can be written a x + a 2 x 2 + + a n x n b a
More informationMathematical finance and linear programming (optimization)
Mathematical finance and linear programming (optimization) Geir Dahl September 15, 2009 1 Introduction The purpose of this short note is to explain how linear programming (LP) (=linear optimization) may
More informationNonlinear Programming Methods.S2 Quadratic Programming
Nonlinear Programming Methods.S2 Quadratic Programming Operations Research Models and Methods Paul A. Jensen and Jonathan F. Bard A linearly constrained optimization problem with a quadratic objective
More information15.053/8 February 26, 2013
15.053/8 February 26, 2013 Sensitivity analysis and shadow prices special thanks to Ella, Cathy, McGraph, Nooz, Stan and Tom 1 Quotes of the Day If the facts don't fit the theory, change the facts. --
More informationReduced echelon form: Add the following conditions to conditions 1, 2, and 3 above:
Section 1.2: Row Reduction and Echelon Forms Echelon form (or row echelon form): 1. All nonzero rows are above any rows of all zeros. 2. Each leading entry (i.e. left most nonzero entry) of a row is in
More informationSensitivity Report in Excel
The Answer Report contains the original guess for the solution and the final value of the solution as well as the objective function values for the original guess and final value. The report also indicates
More informationThis exposition of linear programming
Linear Programming and the Simplex Method David Gale This exposition of linear programming and the simplex method is intended as a companion piece to the article in this issue on the life and work of George
More information. P. 4.3 Basic feasible solutions and vertices of polyhedra. x 1. x 2
4. Basic feasible solutions and vertices of polyhedra Due to the fundamental theorem of Linear Programming, to solve any LP it suffices to consider the vertices (finitely many) of the polyhedron P of the
More informationMATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 2. x n. a 11 a 12 a 1n b 1 a 21 a 22 a 2n b 2 a 31 a 32 a 3n b 3. a m1 a m2 a mn b m
MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS 1. SYSTEMS OF EQUATIONS AND MATRICES 1.1. Representation of a linear system. The general system of m equations in n unknowns can be written a 11 x 1 + a 12 x 2 +
More information4 UNIT FOUR: Transportation and Assignment problems
4 UNIT FOUR: Transportation and Assignment problems 4.1 Objectives By the end of this unit you will be able to: formulate special linear programming problems using the transportation model. define a balanced
More informationa 11 x 1 + a 12 x 2 + + a 1n x n = b 1 a 21 x 1 + a 22 x 2 + + a 2n x n = b 2.
Chapter 1 LINEAR EQUATIONS 1.1 Introduction to linear equations A linear equation in n unknowns x 1, x,, x n is an equation of the form a 1 x 1 + a x + + a n x n = b, where a 1, a,..., a n, b are given
More information1. Graphing Linear Inequalities
Notation. CHAPTER 4 Linear Programming 1. Graphing Linear Inequalities x apple y means x is less than or equal to y. x y means x is greater than or equal to y. x < y means x is less than y. x > y means
More informationINTEGER PROGRAMMING. Integer Programming. Prototype example. BIP model. BIP models
Integer Programming INTEGER PROGRAMMING In many problems the decision variables must have integer values. Example: assign people, machines, and vehicles to activities in integer quantities. If this is
More informationInternational Doctoral School Algorithmic Decision Theory: MCDA and MOO
International Doctoral School Algorithmic Decision Theory: MCDA and MOO Lecture 2: Multiobjective Linear Programming Department of Engineering Science, The University of Auckland, New Zealand Laboratoire
More informationSolving Linear Programs in Excel
Notes for AGEC 622 Bruce McCarl Regents Professor of Agricultural Economics Texas A&M University Thanks to Michael Lau for his efforts to prepare the earlier copies of this. 1 http://ageco.tamu.edu/faculty/mccarl/622class/
More information3. Linear Programming and Polyhedral Combinatorics
Massachusetts Institute of Technology Handout 6 18.433: Combinatorial Optimization February 20th, 2009 Michel X. Goemans 3. Linear Programming and Polyhedral Combinatorics Summary of what was seen in the
More information0.1 Linear Programming
0.1 Linear Programming 0.1.1 Objectives By the end of this unit you will be able to: formulate simple linear programming problems in terms of an objective function to be maximized or minimized subject
More informationQuestion 2: How do you solve a linear programming problem with a graph?
Question 2: How do you solve a linear programming problem with a graph? Now that we have several linear programming problems, let s look at how we can solve them using the graph of the system of inequalities.
More informationLecture 2: August 29. Linear Programming (part I)
10-725: Convex Optimization Fall 2013 Lecture 2: August 29 Lecturer: Barnabás Póczos Scribes: Samrachana Adhikari, Mattia Ciollaro, Fabrizio Lecci Note: LaTeX template courtesy of UC Berkeley EECS dept.
More informationIntroduction to Linear Programming (LP) Mathematical Programming (MP) Concept
Introduction to Linear Programming (LP) Mathematical Programming Concept LP Concept Standard Form Assumptions Consequences of Assumptions Solution Approach Solution Methods Typical Formulations Massachusetts
More informationChapter 5. Linear Inequalities and Linear Programming. Linear Programming in Two Dimensions: A Geometric Approach
Chapter 5 Linear Programming in Two Dimensions: A Geometric Approach Linear Inequalities and Linear Programming Section 3 Linear Programming gin Two Dimensions: A Geometric Approach In this section, we
More informationEQUATIONS and INEQUALITIES
EQUATIONS and INEQUALITIES Linear Equations and Slope 1. Slope a. Calculate the slope of a line given two points b. Calculate the slope of a line parallel to a given line. c. Calculate the slope of a line
More informationLECTURE: INTRO TO LINEAR PROGRAMMING AND THE SIMPLEX METHOD, KEVIN ROSS MARCH 31, 2005
LECTURE: INTRO TO LINEAR PROGRAMMING AND THE SIMPLEX METHOD, KEVIN ROSS MARCH 31, 2005 DAVID L. BERNICK dbernick@soe.ucsc.edu 1. Overview Typical Linear Programming problems Standard form and converting
More informationMethod To Solve Linear, Polynomial, or Absolute Value Inequalities:
Solving Inequalities An inequality is the result of replacing the = sign in an equation with ,, or. For example, 3x 2 < 7 is a linear inequality. We call it linear because if the < were replaced with
More informationCHAPTER 11: BASIC LINEAR PROGRAMMING CONCEPTS
Linear programming is a mathematical technique for finding optimal solutions to problems that can be expressed using linear equations and inequalities. If a real-world problem can be represented accurately
More informationSystems of Linear Equations
Systems of Linear Equations Beifang Chen Systems of linear equations Linear systems A linear equation in variables x, x,, x n is an equation of the form a x + a x + + a n x n = b, where a, a,, a n and
More information3 Introduction to Linear Programming
3 Introduction to Linear Programming 24 The development of linear programming has been ranked among the most important scientific advances of the mid-20th century, and we must agree with this assessment.
More informationDefinition 8.1 Two inequalities are equivalent if they have the same solution set. Add or Subtract the same value on both sides of the inequality.
8 Inequalities Concepts: Equivalent Inequalities Linear and Nonlinear Inequalities Absolute Value Inequalities (Sections 4.6 and 1.1) 8.1 Equivalent Inequalities Definition 8.1 Two inequalities are equivalent
More informationStudy Guide 2 Solutions MATH 111
Study Guide 2 Solutions MATH 111 Having read through the sample test, I wanted to warn everyone, that I might consider asking questions involving inequalities, the absolute value function (as in the suggested
More informationApproximation Algorithms
Approximation Algorithms or: How I Learned to Stop Worrying and Deal with NP-Completeness Ong Jit Sheng, Jonathan (A0073924B) March, 2012 Overview Key Results (I) General techniques: Greedy algorithms
More informationUnit 1. Today I am going to discuss about Transportation problem. First question that comes in our mind is what is a transportation problem?
Unit 1 Lesson 14: Transportation Models Learning Objective : What is a Transportation Problem? How can we convert a transportation problem into a linear programming problem? How to form a Transportation
More informationWhat does the number m in y = mx + b measure? To find out, suppose (x 1, y 1 ) and (x 2, y 2 ) are two points on the graph of y = mx + b.
PRIMARY CONTENT MODULE Algebra - Linear Equations & Inequalities T-37/H-37 What does the number m in y = mx + b measure? To find out, suppose (x 1, y 1 ) and (x 2, y 2 ) are two points on the graph of
More informationPart 1 Expressions, Equations, and Inequalities: Simplifying and Solving
Section 7 Algebraic Manipulations and Solving Part 1 Expressions, Equations, and Inequalities: Simplifying and Solving Before launching into the mathematics, let s take a moment to talk about the words
More informationAbstract: We describe the beautiful LU factorization of a square matrix (or how to write Gaussian elimination in terms of matrix multiplication).
MAT 2 (Badger, Spring 202) LU Factorization Selected Notes September 2, 202 Abstract: We describe the beautiful LU factorization of a square matrix (or how to write Gaussian elimination in terms of matrix
More informationMATH2210 Notebook 1 Fall Semester 2016/2017. 1 MATH2210 Notebook 1 3. 1.1 Solving Systems of Linear Equations... 3
MATH0 Notebook Fall Semester 06/07 prepared by Professor Jenny Baglivo c Copyright 009 07 by Jenny A. Baglivo. All Rights Reserved. Contents MATH0 Notebook 3. Solving Systems of Linear Equations........................
More informationMATH10212 Linear Algebra. Systems of Linear Equations. Definition. An n-dimensional vector is a row or a column of n numbers (or letters): a 1.
MATH10212 Linear Algebra Textbook: D. Poole, Linear Algebra: A Modern Introduction. Thompson, 2006. ISBN 0-534-40596-7. Systems of Linear Equations Definition. An n-dimensional vector is a row or a column
More informationSolving Systems of Linear Equations
LECTURE 5 Solving Systems of Linear Equations Recall that we introduced the notion of matrices as a way of standardizing the expression of systems of linear equations In today s lecture I shall show how
More informationLecture 3: Finding integer solutions to systems of linear equations
Lecture 3: Finding integer solutions to systems of linear equations Algorithmic Number Theory (Fall 2014) Rutgers University Swastik Kopparty Scribe: Abhishek Bhrushundi 1 Overview The goal of this lecture
More informationSpecial cases in Transportation Problems
Unit 1 Lecture 18 Special cases in Transportation Problems Learning Objectives: Special cases in Transportation Problems Multiple Optimum Solution Unbalanced Transportation Problem Degeneracy in the Transportation
More informationModule1. x 1000. y 800.
Module1 1 Welcome to the first module of the course. It is indeed an exciting event to share with you the subject that has lot to offer both from theoretical side and practical aspects. To begin with,
More informationIntroduction to Matrix Algebra
Psychology 7291: Multivariate Statistics (Carey) 8/27/98 Matrix Algebra - 1 Introduction to Matrix Algebra Definitions: A matrix is a collection of numbers ordered by rows and columns. It is customary
More informationLinear Programming. Widget Factory Example. Linear Programming: Standard Form. Widget Factory Example: Continued.
Linear Programming Widget Factory Example Learning Goals. Introduce Linear Programming Problems. Widget Example, Graphical Solution. Basic Theory:, Vertices, Existence of Solutions. Equivalent formulations.
More informationAirport Planning and Design. Excel Solver
Airport Planning and Design Excel Solver Dr. Antonio A. Trani Professor of Civil and Environmental Engineering Virginia Polytechnic Institute and State University Blacksburg, Virginia Spring 2012 1 of
More informationSolutions of Linear Equations in One Variable
2. Solutions of Linear Equations in One Variable 2. OBJECTIVES. Identify a linear equation 2. Combine like terms to solve an equation We begin this chapter by considering one of the most important tools
More informationProduct Mix as a Framing Exercise: The Role of Cost Allocation. Anil Arya The Ohio State University. Jonathan Glover Carnegie Mellon University
Product Mix as a Framing Exercise: The Role of Cost Allocation Anil Arya The Ohio State University Jonathan Glover Carnegie Mellon University Richard Young The Ohio State University December 1999 Product
More informationMEP Y9 Practice Book A
1 Base Arithmetic 1.1 Binary Numbers We normally work with numbers in base 10. In this section we consider numbers in base 2, often called binary numbers. In base 10 we use the digits 0, 1, 2, 3, 4, 5,
More informationManagerial Economics Prof. Trupti Mishra S.J.M. School of Management Indian Institute of Technology, Bombay. Lecture - 13 Consumer Behaviour (Contd )
(Refer Slide Time: 00:28) Managerial Economics Prof. Trupti Mishra S.J.M. School of Management Indian Institute of Technology, Bombay Lecture - 13 Consumer Behaviour (Contd ) We will continue our discussion
More informationSolving Linear Programs using Microsoft EXCEL Solver
Solving Linear Programs using Microsoft EXCEL Solver By Andrew J. Mason, University of Auckland To illustrate how we can use Microsoft EXCEL to solve linear programming problems, consider the following
More informationSolutions Of Some Non-Linear Programming Problems BIJAN KUMAR PATEL. Master of Science in Mathematics. Prof. ANIL KUMAR
Solutions Of Some Non-Linear Programming Problems A PROJECT REPORT submitted by BIJAN KUMAR PATEL for the partial fulfilment for the award of the degree of Master of Science in Mathematics under the supervision
More informationBinary Adders: Half Adders and Full Adders
Binary Adders: Half Adders and Full Adders In this set of slides, we present the two basic types of adders: 1. Half adders, and 2. Full adders. Each type of adder functions to add two binary bits. In order
More informationUSING EXCEL 2010 TO SOLVE LINEAR PROGRAMMING PROBLEMS MTH 125 Chapter 4
ONE-TIME ONLY SET UP INSTRUCTIONS Begin by verifying that the computer you are using has the Solver Add-In enabled. Click on Data in the menu across the top of the window. On the far right side, you should
More informationChapter 2: Linear Equations and Inequalities Lecture notes Math 1010
Section 2.1: Linear Equations Definition of equation An equation is a statement that equates two algebraic expressions. Solving an equation involving a variable means finding all values of the variable
More information23. RATIONAL EXPONENTS
23. RATIONAL EXPONENTS renaming radicals rational numbers writing radicals with rational exponents When serious work needs to be done with radicals, they are usually changed to a name that uses exponents,
More informationAlgebra 2 Chapter 1 Vocabulary. identity - A statement that equates two equivalent expressions.
Chapter 1 Vocabulary identity - A statement that equates two equivalent expressions. verbal model- A word equation that represents a real-life problem. algebraic expression - An expression with variables.
More information2.3 Solving Equations Containing Fractions and Decimals
2. Solving Equations Containing Fractions and Decimals Objectives In this section, you will learn to: To successfully complete this section, you need to understand: Solve equations containing fractions
More informationSolution of Linear Systems
Chapter 3 Solution of Linear Systems In this chapter we study algorithms for possibly the most commonly occurring problem in scientific computing, the solution of linear systems of equations. We start
More information