+ 5x 2. = x x. + x 2. Transform the original system into a system x 2 = x x 1. = x 1

Size: px
Start display at page:

Download "+ 5x 2. = x x. + x 2. Transform the original system into a system x 2 = x x 1. = x 1"

Transcription

1 University of California, Davis Department of Agricultural and Resource Economics ARE 5 Optimization with Economic Applications Lecture Notes Quirino Paris The Pivot Method for Solving Systems of Equations page The Primal Simplex Algorithm Main Ideas of the Primal Simplex Algorithm Technology Measured in Different Units Opportunity Cost Revisited Complementary Slackness Conditions Completing the Final Tableau Linear Programming in Vector Notation The Pivot Method for Solving Systems of Equations (See also chapter 6 of the Linear Programming textbook and chapter of the Symmetric Programming textbook) It is necessary to learn the Pivot method (even if you know other procedures) because it shows how to use the Simplex algorithm (used in all the software) for solving LP problems. The Simplex algorithm uses economic criteria to find the best production plan. This is the only reason why I teach it. Solving systems of equations means transforming the original system that is difficult to read into an equivalent system very easy to read. For example x 6 Transform the original system into a system 0 0 x x that is easy to read. The Pivot method ANSFORMS the original system of linear equations into an identity matrix (or a permutation of the identity matrix) one variable at a time. Each single-variable transformation is called ITERATION. The Rules of the Pivot Method. Define a square transformation matrix. A transformation matrix is an identity matrix with one column replaced by a transformation vector.. Define a transformation vector. A transformation vector is a vector containing all the recipes for eliminating one variable from all but one equation and for normalizing the Pivot element. Choose a Pivot (a pivot is an non-zero element of the matrix of coefficients).

2 . The reciprocal of the pivot element is placed in the same row of the transformation vector.. All the other coefficients of the pivot column are divided by the pivot and placed in the transformation vector with a changed sign.. Rule to locate the transformation vector within the transformation matrix. Place the transformation vector in that column of the transformation matrix whose index corresponds to the row containing the pivot.. Rule for choosing the pivot element. The first pivot can be chosen in any row or column as long as it is not a zero coefficient. Successive pivots must be chosen in a different row and column from those of previous pivots. Example. Consider the following system of equations Add auxiliary variables z and z (their importance variables will become clear later on; they are not slack variables) z + + z 6 A system with four variables and two equations can be solved by choosing (arbitrarily) the value of two variables and solving for the other two. In the example, we choose,, z,z 6. Let us put all these computations in a tableau. The first row of matrices exhibits the pivot element (indicated by the brackets ) chosen in the second row of the original matrix of coefficients. This means that the transformation vector will be the second column of the transformation matrix T. The BI label stands for Basic Indexes, meaning that at this stage variables z, z are associated with the current basis (mathematical ruler, in our intuitive language). All the other variables are equal to zero. Carry out the pre-multiplication of the original matrix by the transformation matrix. Replace z with in the BI column because the pivot was chosen in the second row of the column: this is the computational meaning of pivot. Choose another pivot and continue until all the auxiliary variables have been replaced by original variables in the BI column. T z z sol BI z z 5! 0! 0 z Current Basis: 0 B 0! 0! 6 z 0 T z z sol BI z 0 0!! 8 z Current Basis: B! 0! 6 0 z z sol BI 0!! Current Basis: 5 B 5 0!! 0

3 The solution is exhibited in the sol and BI columns, that is and. Verify the solution. Important information: The coefficients appearing under the z, z headers constitute the inverse of the basis (the mathematical ruler). This can be shown by computing B B I : 5 0 B B yes 5 0 Note the order of the columns of the B matrix. It follows the order of the variables appearing in the last BI column which, in turn, follows the way the pivot elements were chosen during computations. The Primal Simplex Algorithm (See also chapter 7 of the LP textbook and chapter 7 of the Symmetric Programming textbook) To make production decisions an economic agent must consider two criteria:. profitability criterion. producibility criterion. Profitability: A producible commodity must be profitable. In other words, its opportunity cost must be non-positive: OC MC MR 0. A profitable commodity will be produced up to the level where OC MC MR. Producibility: The production plan must satisfy the input constraints and all the components must be nonnegative. We indicate the production plan as x Bi 0 and x NBj where B Basic (produced) and NB Non Basic (not produced). The primal constraints of a linear programming problem indicate producibility (feasibility) of the production plan: Ax b, x 0. Example. The following numerical example will be solved with the Primal Simplex algorithm (PSA). Before tackling the numerical computations it is necessary to have a clear idea of what the various components of the problem mean in a mathematical as well as economic sense. max + 5 subject to all x j 0 and D S wheat corn land labor Add slack (surplus) variables and reorganize all the info in such a way to have all the unknown variables on one side and the constant parameters on the other side of the equal sign Finally, organize the information into a Primal tableau

4 x s sol BI 0 " 0 " 6 0 " 6 0 " 8! "!!!! "! " " 0 x s! Every Primal tableau has six (6) parts. It is necessary to recognize what those parts are in a mathematical sense and what their economic significance is. x s solution 0 " Technology (mrtt) " Basic Production Plan! "... "... " OC MC MR " Algebraically, every Primal tableau assumes the following structure 0 " a ij " x Bi! "... "... " oc x j z j c j " where oc x j z j c j MC j MR j is the algebraic notation for opportunity cost found in the majority of LP books. Main Ideas of the Primal Simplex Algorithm (PSA) Economic Language Mathematical Language 0. Find the do nothing production plan. 0. Find an initial and easy basic feasible solution. Check whether this producible production. Check whether this BFS is an optimal solution plan is optimal If YES, stop If YES, Stop IF NO, continue IF NO, continue. Select another profitable and producible. Select another adjacent BFS that improves the production plan and GO TO. value of the objective function and GO TO. Solution of the numerical example by the Primal Simplex algorithm: Identify the pivot (indicated by the brackets ) using the profitability criterion (Step of the PSA) and the producibility criterion (Step of the PSA). Construct the transformation matrix. Carry out the matrix multiplication.

5 T x s sol BI Ratios 0! 0! 0 " "! " 5 0! 0! 0! 6 0! 6 0! 8 "! " " " "! "! 5 0 0! 0 6 Step of PSA 8 x s 6 " Step : most negative OC MC MR Note: The intersection of the two arrows identifies the pivot in row,. Hence, the transformation vector is located in column of the transformation matrix T (according to rule of the pivot method). A more detailed discussion of the above first iteration (first tableau) of the PSA follows. Step 0 (the initial step) of the PSA identifies (by inspection) the do nothing production plan. This is the current basic feasible solution (BFS). Step 0: Do nothing production plan Current basic feasible solution This is clearly not an optimal solution. 6 x s 8 Step selects the coefficient ( 5) in the third row because it indicates the most negative opportunity cost. Recall that the opportunity cost is defined as OC MC MR. Therefore, at this stage of the decision making process, before deciding which output to produce (hence producing nothing for the time being), the marginal cost is zero. As a consequence, every coefficient in the OC row of the first tableau has the structure of OC (0 ),(0 5),(0 0),(0 0). This is the reason why Step selects ( 5) as the most profitable opportunity cost associated with activity, corn. Step of the PSA selects a better production plan since Step indicated that a new (better) production plan (with corn, > 0 ) could be producible (feasible) and, hopefully, be also optimal. Therefore, the next production plan will include corn at a positive level (if possible) and must adjust the current levels of the other activities by the technical coefficients of corn because the production of corn will deplete the current supply of land and labor. New production plan New basic feasible solution > x s for feasibility for feasibility 5

6 From the two inequalities involving the slack variables (surplus land and surplus labor) we can determine the actual quantitative and feasible level of, corn. 6 x 6 0 minimum ratio 8 x The minimum ratio must be chosen to maintain the producibility (feasibility) of the entire production plan. We can now return to the tableau of the first iteration, carry out the matrix multiplication and continue with the PSA. T x s sol BI Ratios 9! 0 0 9! 0 " "! " 0 9! 0 0!! / !! 6 x s Step of PSA 9/ "! " " " "! " "! 5 0 0! 0 Step : most negative OC MC MR The reading of this second tableau can be summarized as follows: Current feasible New improved production plan production plan > / 6 x s 6 x s / min ratio We can now return to the tableau of the second iteration, carry out the matrix multiplication and continue with the PSA, if necessary. x s sol BI 0 0 " 0 9 " x 0 " "! "!!!! "!! " 7 " y s y s y y TC This third tableau is an optimal tableau because the basic solution is feasible (producible) and all the opportunity costs are nonnegative. The PSA terminates here. The most important aspect to understand the structure of a LP problem is to be able to read and interpret the final (optimal) tableau. This tableau contains all the information useful to the economic agent. Begin with the 6

7 optimal production plan x s 6 Note that x It is remarkable that, without looking explicitly for the dual solution, the PSA produces the dual solution whose economic meaning is that of opportunity costs. optimal opportunity costs y s y s y 6 7 y 9 TC 6 7 Note that TC 6y 6 +8y Therefore, max mintc. The activated technology (optimal feasible basis) is given by the following matrix: B opt 6 It exhibits a permutation of columns because of the pivot selection in the PSA sequence. The coefficients under the slack variables (in the final tableau) constitute the inverse of the optimal basis. This fact can be verified by checking that B opt B opt I : Technology Measured in Different Units Fundamental question: What happens when going from the initial tableau to the final tableau? Answer: All the coefficients of the technology and of the input supplies are measured in different units. Consider again the initial tableau x s sol BI Prices Ruler (Basis) " 0 " 6 y 0 " 6 0 " 8 x s y 0 B! "!!!! "!! 0 " " yes 0 0 x s 7

8 Clearly, the mathematical ruler (basis) is the technology of conserving inputs (do not produce any output). Hence, every coefficient in the initial tableau is measured in input units. Recall, in fact, that every technical coefficient indicates how many units of an input is necessary to produce one unit of output. We conclude that the initial tableau is measured in input units. Analogous discussion can be elaborated for an intermediate tableau. The essential idea to retain is that the basis (mathematical ruler) changes and, therefore, the measurements change accordingly. Consider now the final (optimal) tableau. x s sol BI Prices Ruler (Basis) 0 0 " 0 9 " x c 0 " " c! "!!!! "! B opt! 6 " 7 " In this final tableau, the mathematical ruler (basis) is given by the technology of producing outputs and (recall that the order of the outputs depends on the selection of pivot elements during the PSA execution). Hence, every coefficient of this tableau is measured in output units. Opportunity Costs Revisited The opportunity cost is the single most important notion of microeconomics. Every life decision about every action to be taken is made on the basis of the opportunity cost. The opportunity cost of producing an output is defined as the difference between the marginal cost and the marginal revenue; OC x j MC x j MR x j. In a price-taking environment, the marginal revenue is easy to ascertain. On the contrary, marginal cost may be considered the most difficult notion to measure (correctly) in every economic model. Measure is the crucial word. In the previous discussion, we have seen that economic entities can be measured with different rulers (bases). Hence also marginal costs can be measured with those same rulers (bases). In the previous section we have identified two important rulers (bases): the input ruler and the output ruler. Consider again the initial tableau. The information contained in it can be unpacked to write: input shadow prices b y x s 8 b y 5 Total cost is defined as the sum of the products of input quantities and their prices: TC b y + b y 6y +8y y ( + + ) + y (6 + + x s ) Therefore, marginal costs of outputs and and inputs and are: 8

9 TC MC x y + 6y [y y ] y a 6 TC MC x y + y [y y ] y a TC MC xs y [y y ] x y e s 0 TC 0 MC xs y [y y ] y e x s Now consider the final (optimal) tableau. The information contained in it can be unpacked to write: market output prices x + 9 x s c x x s c x 6 s + 9 x s At the optimal solution of a LP problem total revenue is equal to total cost of the physical plant. Hence, 0 TC c + c c + c c ( x s ) + c ( + 9 x s ) Therefore, marginal costs of outputs and and inputs and are: TC 0 MC x c [c c ] x TC MC x c [c c ] 0 TC MC xs c 6 c [c c ] x s 6 TC 9 MC xs 9 c + 9 c [c c ] x s 9 Finally, it is possible to compute the opportunity cost of all commodities (inputs and outputs) as they appear in the final (optimal) tableau in two different but equivalent ways: Let us recall that, in this example, output market prices (that is, marginal revenues) are c and c 5.. Opportunity cost at market output prices 0 OC x MC x MR x c c [c c ] c y s OC x MC x MR x c c [c c ] c y 0 s OC xs MC xs MR xs c 6 c 0 [5 ] y 6 OC xs MC xs MR xs 9 c + 9 c 0 [5 ] 9 0 y 9 9 9

10 Note that the vertical boxes are the technology vectors appearing in the final tableau.. Opportunity cost at factor cost (shadow input prices) OC x MC x MR x y + 6y c [ 7 6 OC x MC x MR x y + y c [ ] y s 6 9 ] 5 y s 7 OC xs MC xs MR xs y 0 [ 6 9 ] y OC xs MC xs MR xs y 0 [ 6 9 ] 0 9 y Note that the vertical boxes are the technology vectors appearing in the initial tableau. Verify that the two sets of opportunity costs (measured at market output prices and at factor cost) are identical although computed with completely different information. Complementary Slackness Conditions The Economic Equilibrium problem includes primal and dual complementary slackness conditions. (S D)P quantity side (MC MR)Q price side Recall that equilibrium means solution. Therefore, from the final tableau: inputs (land, labor x s ) 7 S D and y 6 y S D x s and y 9 x s y From the final tableau: outputs (wheat, corn ) MC x MR x y s and y s MC x MR x y s and y s When computing the opportunity cost or the quantity level of some commodity, therefore, we can use the appropriate complementary slackness condition. If the commodity is an input we can state directly that if x si > 0 then y i If the commodity is an output if y i > 0 then x si if x j > 0 then y sj if y sj > 0 then x j 0

11 Completing the Final Tableau (When Only the Inverse of the Optimal Basis is Known) To summarize (and verify) all the knowledge accumulated in previous discussions, we now complete the final (optimal) tableau when only knowledge of the initial problem and the inverse matrix of the final (optimal) basis (ruler) are known. Example. Let max x subject to all x j 0 and x 0 x + x x 6 Rearrange (add slack variables and name the vectors) x x 0 s + x s 6 a a a e e b The incomplete final tableau is given as x x s sol BI 0 "??? 7 0 "??? 7 With the available information it is possible to complete the final tableau, that is filling in the missing information. This exercise fulfills the objective of understanding the structure and the meaning of the optimal (final) tableau. To begin with, the coefficients under the slack variables constitute the inverse of the current (optimal, final) basis, say B. Therefore, the solution (basic production plan) is computed as x B B b Recall that a basis (ruler) can measure any point in the given space. Hence w a B a w a B a 7 "? 7 "?! "!!!!! "! "????? "? ??! w a B a Therefore, the partially completed final tableau is: c c x

12 x x s sol BI 0 " " 7 x 5 0 " " 7! "!!!!! "!! " " 0????? 7 The order of the variables under the BI column is identified by the location of the pivot as selected during the PSA. For example, the column under the variable x exhibits a unit value in row. This means that the pivot was selected in that location and, therefore, x replaces (by pivoting) whatever other variable was appearing in row of the BI column. There remains to complete the row of opportunity costs. We have two alternatives:. At factor cost. At market output price Since the factor costs (input shadow prices) are not yet known, it is necessary to compute the opportunity costs at market output prices. Opportunity costs at market output prices: OC MC MR ] mrtt measured OC x MC x MR x [c c 6 c [ 6] y s in x, units 7 OC x : since > 0 it follows that OC x MC x MR x y s by the Economic Equilibrium OC x : since x > 0 it follows that OC x MC x MR x y s by the Economic Equilibrium OC xs MC xs MR xs y 7 OC xs MC xs MR xs y 7 Now that we know the factor costs (input shadow prices), y, y, we can re-compute the Opportunity costs at factor cost 5 OC [ ] 0 7 xs MC xs MR xs 7 7 y OC 0 5 xs MC xs MR xs [ 7 7 ] 7 y ] mrtt messured in input units OC x MC x MR x [y y 5 [ 7 7 ] y s 5 7 OC 7 0 x MC x MR x [ 7 7 ] y s 5 96 OC x MC x MR x 7 5 [ 7 7 ] y s

13 The final tableau can now be completed: TC b y + b y 7 7 x x s sol BI 0 " " 7 x 5 0 " " 7! "!!!!! "!! " 0 5 " y s y s y s y y TC Linear Programming in Vector Notation Partition the technology matrix, A(m n, m < n), in two sub-matrices: a basis (square matrix), B(m m), and the rest of the technology that is not basic, NB, that is, A [B A NB ]. Partition the production plan vector, x(n ), and the market output price vector, c(n ), in similar ways: x x B x NB and c c B c subject to NB. Then, a LP primal problem is stated as x B max c x c B c NB c B x B + c x NB Ax b NB x NB ( m)(m ) + [ (n m)][(n m) ] [B A NB ] x B x b NB Bx B + ANBxNB b Insert surplus variables in the primal constraints Bx B + A NB x NB + Ix s b What follows are the initial and intermediate/final tableaux of the PSA: T x B x NB x s Sol BI B! 0 0! B A NB I! b x s Initial Tableau ""! " "! "" "" "! " " Choose B c B B!! c B c NB 0! 0 as a "pivot" x B x NB x s Sol BI B 0! I B A NB! B b x B Intermediate "! " """""" ""! """ " or Final! 0 ( c c B B! c B B b Tableau B B A NB c NB ) y s,b y s,nb y B TC

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

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

More information

Symmetric Lagrange function

Symmetric Lagrange function University of California, Davis Department of Agricultural and Resource Economics ARE 5 Optimization with Economic Applications Lecture Notes 7 Quirino Paris Symmetry.......................................................................page

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

The Monopolist. The Pure Monopolist with symmetric D matrix

The Monopolist. The Pure Monopolist with symmetric D matrix University of California, Davis Department of Agricultural and Resource Economics ARE 252 Optimization with Economic Applications Lecture Notes 5 Quirino Paris The Monopolist.................................................................

More information

4. Duality and Sensitivity

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

More information

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

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

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

1 Simplex and Matrices

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

More information

3. THE SIMPLEX ALGORITHM

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

More information

Linear Programming, 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

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

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

The Strong Duality Theorem 1

The Strong Duality Theorem 1 1/39 The Strong Duality Theorem 1 Adrian Vetta 1 This presentation is based upon the book Linear Programming by Vasek Chvatal 2/39 Part I Weak Duality 3/39 Primal and Dual Recall we have a primal linear

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

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

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

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

More information

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

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

LINEAR PROGRAMMING. Introduction

LINEAR PROGRAMMING. Introduction 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

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

Relation of Pure Minimum Cost Flow Model to Linear Programming

Relation of Pure Minimum Cost Flow Model to Linear Programming Appendix A Page 1 Relation of Pure Minimum Cost Flow Model to Linear Programming The Network Model The network pure minimum cost flow model has m nodes. The external flows given by the vector b with m

More information

Farkas Lemma, Dual Simplex and Sensitivity Analysis

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

More information

Linear Programming 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 and Combinatorial Optimization

Linear and Combinatorial Optimization Linear and Combinatorial Optimization The dual of an LP-problem. Connections between primal and dual. Duality theorems and complementary slack. Philipp Birken (Ctr. for the Math. Sc.) Lecture 3: Duality

More information

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

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

More information

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

Sensitivity Analysis and Duality

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

More information

Understanding the Simplex algorithm. Standard Optimization Problems.

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

More information

MAT016: Optimization

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

More information

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

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

(P ) Minimize 4x 1 + 6x 2 + 5x 3 s.t. 2x 1 3x 3 3 3x 2 2x 3 6 The exam is three hours long and consists of 4 exercises. The exam is graded on a scale 0-25 points, and the points assigned to each question are indicated in parenthesis within the text. Problem 1 Consider

More information

Two inputs and three outputs example

Two inputs and three outputs example University of California, Davis Department of Agricultural and Resource Economics ARE 252 Optimization with Economic Applications Lecture Notes 3 Quirino Paris Price Taker....................................................................

More information

Sensitivity Analysis and Duality in LP

Sensitivity Analysis and Duality in LP Sensitivity Analysis and Duality in LP Xiaoxi Li EMS & IAS, Wuhan University Oct. 13th, 2016 (week vi) Operations Research (Li, X.) Sensitivity Analysis and Duality in LP Oct. 13th, 2016 (week vi) 1 /

More information

Lesson 27 Linear Programming; The Simplex Method

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

More information

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

Chapter 1: Linear Programming

Chapter 1: Linear Programming Chapter 1: Linear Programming Math 368 c Copyright 2013 R Clark Robinson May 22, 2013 Chapter 1: Linear Programming 1 Max and Min For f : D R n R, f (D) = {f (x) : x D } is set of attainable values of

More information

UNIVERSITY of LIMERICK

UNIVERSITY of LIMERICK UNIVERSITY of LIMERICK OLLSCOIL LUIMNIGH Department of Mathematics & Statistics Faculty of Science and Engineering END OF SEMESTER ASSESSMENT PAPER MODULE CODE: MS4303 SEMESTER: Spring 2018 MODULE TITLE:

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

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

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

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

TIM 206 Lecture 3: The Simplex Method

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

More information

Contents. 4.5 The(Primal)SimplexMethod NumericalExamplesoftheSimplexMethod

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

More information

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

University of California, Davis Department of Agricultural and Resource Economics ARE 252 Lecture Notes 2 Quirino Paris

University of California, Davis Department of Agricultural and Resource Economics ARE 252 Lecture Notes 2 Quirino Paris University of California, Davis Department of Agricultural and Resource Economics ARE 5 Lecture Notes Quirino Paris Karush-Kuhn-Tucker conditions................................................. page Specification

More information

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

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

More information

Ω 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

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

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

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

More information

Linear Programming in Matrix Form

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

More information

(b) For the change in c 1, use the row corresponding to x 1. The new Row 0 is therefore: 5 + 6

(b) For the change in c 1, use the row corresponding to x 1. The new Row 0 is therefore: 5 + 6 Chapter Review Solutions. Write the LP in normal form, and the optimal tableau is given in the text (to the right): x x x rhs y y 8 y 5 x x x s s s rhs / 5/ 7/ 9 / / 5/ / / / (a) For the dual, just go

More information

A Review of Linear Programming

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

More information

M340(921) Solutions Problem Set 6 (c) 2013, Philip D Loewen. g = 35y y y 3.

M340(921) Solutions Problem Set 6 (c) 2013, Philip D Loewen. g = 35y y y 3. M340(92) Solutions Problem Set 6 (c) 203, Philip D Loewen. (a) If each pig is fed y kilograms of corn, y 2 kilos of tankage, and y 3 kilos of alfalfa, the cost per pig is g = 35y + 30y 2 + 25y 3. The nutritional

More information

March 13, Duality 3

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

More information

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

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

More information

Duality Theory, Optimality Conditions

Duality Theory, Optimality Conditions 5.1 Duality Theory, Optimality Conditions Katta G. Murty, IOE 510, LP, U. Of Michigan, Ann Arbor We only consider single objective LPs here. Concept of duality not defined for multiobjective LPs. Every

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

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

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

More information

SAMPLE QUESTIONS. b = (30, 20, 40, 10, 50) T, c = (650, 1000, 1350, 1600, 1900) T.

SAMPLE QUESTIONS. b = (30, 20, 40, 10, 50) T, c = (650, 1000, 1350, 1600, 1900) T. SAMPLE QUESTIONS. (a) We first set up some constant vectors for our constraints. Let b = (30, 0, 40, 0, 0) T, c = (60, 000, 30, 600, 900) T. Then we set up variables x ij, where i, j and i + j 6. By using

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

Chapter 1 Linear Programming. Paragraph 5 Duality

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

More information

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

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

AM 121: Intro to Optimization Models and Methods

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

More information

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

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

More information

CO350 Linear Programming Chapter 6: The Simplex Method

CO350 Linear Programming Chapter 6: The Simplex Method CO50 Linear Programming Chapter 6: The Simplex Method rd June 2005 Chapter 6: The Simplex Method 1 Recap Suppose A is an m-by-n matrix with rank m. max. c T x (P ) s.t. Ax = b x 0 On Wednesday, we learned

More information

Chapter 5 Linear Programming (LP)

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

More information

4.6 Linear Programming duality

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

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

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

More information

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

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

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

More information

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

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

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

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

More information

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

Optimisation. 3/10/2010 Tibor Illés Optimisation

Optimisation. 3/10/2010 Tibor Illés Optimisation Optimisation Lectures 3 & 4: Linear Programming Problem Formulation Different forms of problems, elements of the simplex algorithm and sensitivity analysis Lecturer: Tibor Illés tibor.illes@strath.ac.uk

More information

The Simplex Algorithm

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

More information

Overview of course. Introduction to Optimization, DIKU Monday 12 November David Pisinger

Overview of course. Introduction to Optimization, DIKU Monday 12 November David Pisinger Introduction to Optimization, DIKU 007-08 Monday November David Pisinger Lecture What is OR, linear models, standard form, slack form, simplex repetition, graphical interpretation, extreme points, basic

More information

SEN301 OPERATIONS RESEARCH I LECTURE NOTES

SEN301 OPERATIONS RESEARCH I LECTURE NOTES SEN30 OPERATIONS RESEARCH I LECTURE NOTES SECTION II (208-209) Y. İlker Topcu, Ph.D. & Özgür Kabak, Ph.D. Acknowledgements: We would like to acknowledge Prof. W.L. Winston's "Operations Research: Applications

More information

Lectures 6, 7 and part of 8

Lectures 6, 7 and part of 8 Lectures 6, 7 and part of 8 Uriel Feige April 26, May 3, May 10, 2015 1 Linear programming duality 1.1 The diet problem revisited Recall the diet problem from Lecture 1. There are n foods, m nutrients,

More information

Lecture 10: Linear programming duality and sensitivity 0-0

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

More information

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

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

More information

TRANSPORTATION PROBLEMS

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

More information

Linear Programming Redux

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

More information

LINEAR PROGRAMMING II

LINEAR PROGRAMMING II LINEAR PROGRAMMING II LP duality strong duality theorem bonus proof of LP duality applications Lecture slides by Kevin Wayne Last updated on 7/25/17 11:09 AM LINEAR PROGRAMMING II LP duality Strong duality

More information

56:171 Operations Research Midterm Exam--15 October 2002

56:171 Operations Research Midterm Exam--15 October 2002 Name 56:171 Operations Research Midterm Exam--15 October 2002 Possible Score 1. True/False 25 _ 2. LP sensitivity analysis 25 _ 3. Transportation problem 15 _ 4. LP tableaux 15 _ Total 80 _ Part I: True(+)

More information

LINEAR PROGRAMMING 2. In many business and policy making situations the following type of problem is encountered:

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

More information

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

Brief summary of linear programming and duality: Consider the linear program in standard form. (P ) min z = cx. x 0. (D) max yb. z = c B x B + c N x N

Brief summary of linear programming and duality: Consider the linear program in standard form. (P ) min z = cx. x 0. (D) max yb. z = c B x B + c N x N Brief summary of linear programming and duality: Consider the linear program in standard form (P ) min z = cx s.t. Ax = b x 0 where A R m n, c R 1 n, x R n 1, b R m 1,and its dual (D) max yb s.t. ya c.

More information

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

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

More information

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

OPTIMISATION 2007/8 EXAM PREPARATION GUIDELINES

OPTIMISATION 2007/8 EXAM PREPARATION GUIDELINES General: OPTIMISATION 2007/8 EXAM PREPARATION GUIDELINES This points out some important directions for your revision. The exam is fully based on what was taught in class: lecture notes, handouts and homework.

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

Mathematical Foundations -1- Constrained Optimization. Constrained Optimization. An intuitive approach 2. First Order Conditions (FOC) 7

Mathematical Foundations -1- Constrained Optimization. Constrained Optimization. An intuitive approach 2. First Order Conditions (FOC) 7 Mathematical Foundations -- Constrained Optimization Constrained Optimization An intuitive approach First Order Conditions (FOC) 7 Constraint qualifications 9 Formal statement of the FOC for a maximum

More information

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

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

More information

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

Introduction to linear programming using LEGO.

Introduction to linear programming using LEGO. Introduction to linear programming using LEGO. 1 The manufacturing problem. A manufacturer produces two pieces of furniture, tables and chairs. The production of the furniture requires the use of two different

More information

Midterm Review. Yinyu Ye Department of Management Science and Engineering Stanford University Stanford, CA 94305, U.S.A.

Midterm Review. Yinyu Ye Department of Management Science and Engineering Stanford University Stanford, CA 94305, U.S.A. Midterm Review Yinyu Ye Department of Management Science and Engineering Stanford University Stanford, CA 94305, U.S.A. http://www.stanford.edu/ yyye (LY, Chapter 1-4, Appendices) 1 Separating hyperplane

More information