OPERATIONS RESEARCH. Michał Kulej. Business Information Systems

Size: px
Start display at page:

Download "OPERATIONS RESEARCH. Michał Kulej. Business Information Systems"

Transcription

1 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 Social Fund Michał Kulej (Wrocł Univ. of Techn.) OPERATIONS RESEARCH BIS 1 / 41

2 Artificial Starting Solution The Big M Method The linear programming problem in which all constraints are ( ) with nonnegative right-hand sides offers a all-slack starting basic feasible solution. Problems with (=) and/or ( ) constraints need to use artificial variables to the beginning of simplex algorithm. There are two methods: the M-method(also called the Big M-method) and the Two-Phase method. Michał Kulej (Wrocł Univ. of Techn.) OPERATIONS RESEARCH BIS 2 / 41

3 Example Artificial Starting Solution The Big M Method max Z = 2x 1 + x 2 3x 3 x 1 + x 2 + x 3 6 2x 1 + x 2 = 14 x 1, x 2, x 3 0 After converting to standard form we have: max Z = 2x 1 + x 2 3x 3 x 1 + x 2 + x 3 s 1 = 6 2x 1 + x 2 = 14 x 1, x 2, x 3, s 1 0 Michał Kulej (Wrocł Univ. of Techn.) OPERATIONS RESEARCH BIS 3 / 41

4 Artificial Starting Solution Adding Artificial Variables The Big M Method The above system of equations is not in basic form - there is not a basic variable in each equation. If the equation i does not have a slack (or a variable that can play the role of a slack), an artificial variable, a i, is added to form a starting solution similar to the all-slack basic solution. However, because the artificial variables are not part of the original linear model, they are assigned a very high penalty in the objective function, thus forcing them (eventually) to equal zero in the optimal solution. In the considering example we add two artificial variables a 1 and a 2. Michał Kulej (Wrocł Univ. of Techn.) OPERATIONS RESEARCH BIS 4 / 41

5 Artificial Starting Solution The Big M Method Penalty Rule for Artificial Variables. Given M, a sufficiently large positive value (mathematically, M ), the objective coefficient of an artificial variable represents an appropriate penalty if: Artificial variable objective coefficient = { M, in maximization problems M, in minimization problems. So we have: max Z = 2x 1 + x 2 3x 3 Ma 1 Ma 2 a 1 +x 1 + x 2 + x 3 s 1 = 6 a 2 +2x 1 + x 2 = 14 x 1, x 2, x 3, s 1, a 1, a 2 0 Michał Kulej (Wrocł Univ. of Techn.) OPERATIONS RESEARCH BIS 5 / 41

6 Artificial Starting Solution The Big M Method Calculations The Big M Method First and second simplex tableau are as follows: c B BV a 1 a 2 x 1 x 2 x 3 s 1 Solution M a /1 = 6 M a /2 = 7 Z 0 0 3M 2 2M 1 M + 3 M 20M 2 x M a /2 = 1 Z 3M M + 1 2M 1 2M 2 2M + 12 The optimal simplex tableau: c B BV a 1 a 2 x 1 x 2 x 3 s 1 Solution x s Z M M Optimal solution is: x 1 = 7, s 1 = 1, x 2 = x 3 = 0 with Z = 14. Michał Kulej (Wrocł Univ. of Techn.) OPERATIONS RESEARCH BIS 6 / 41

7 Artificial Starting Solution The Big M Method No Feasible Solution - an Example The use of the penalty M will not force an artificial variable to zero level in the final simplex iteration if LPP does not have a feasible solution (i.e. the constraints are not consistent). In this case, the final simplex tableau will include at least one artificial variable at positive level. Solve the problem : The standard form: max Z = 2x 1 + 2x 2 6x 1 + 4x 2 24 x 1 5 x 1, x 2 0 max Z = 2x 1 + 2x 2 s 1 +6x 1 + 4x 2 = 24 x 1 s 2 = 5 x 1, x 2, s 1, s 2 0 Michał Kulej (Wrocł Univ. of Techn.) OPERATIONS RESEARCH BIS 7 / 41

8 Artificial Starting Solution The Big M Method Using The Big M Method to Solve the Problem It is enough to add only one artificial variable : max Z = 2x 1 + 2x 2 Ma 2 s 1 +6x 1 + 4x 2 = 24 a 2 +x 1 s 2 = 5 x 1, x 2, s 1, s 2 0 Michał Kulej (Wrocł Univ. of Techn.) OPERATIONS RESEARCH BIS 8 / 41

9 Artificial Starting Solution The Big M Method Calculations The Big M Method c B BV s 1 a 2 x 1 x 2 s 2 Solution 0 s /6 = 4 M a /1 = 5 Z 0 0 M 2 2 M 5M c B BV s 1 a 2 x 1 x 2 s 2 Solution x M a Z 6 M M 2 3 M M + 8 The last simplex tableau is optimal - all Z - row coefficients are nonnegative. The artificial variable a 2 is basic variable with positive value so the problem is not consistent - it has no feasible solutions. Michał Kulej (Wrocł Univ. of Techn.) OPERATIONS RESEARCH BIS 9 / 41

10 Artificial Starting Solution The Two-Phase Method The Essence of The Two-Phase Method This method solves the linear programming problem in two phases: Phase I attempts to find a starting feasible solution and, if one is found, Phase II is used to solve the original problem. Phase I Put the problem in equation form, and add the necessary artificial variables to the constraints to get starting feasible basic solution. Next, find a basic solution of the resulting equations that, regardless of whether the problem is maximization or minimization, always minimizes the sum of the artificial variables. If minimum value of the sum is positive, the problem has no feasible solution, which ends the process. Otherwise, proceed to Phase II. Phase II Use the feasible solution from Phase I as starting feasible basic solution for original problem. Michał Kulej (Wrocł Univ. of Techn.) OPERATIONS RESEARCH BIS 10 / 41

11 Example Artificial Starting Solution The Two-Phase Method We use this method to solve the following problem: max Z = 4x 1 + x 2 3x 1 + x 2 = 3 4x 1 + 3x 2 6 x 1 + 2x 2 4 x 1, x 2 0 Using s 2 as a surplus in the second constraint and s 3 as a slack in the third constraint, the standard form of the problem is given as: max Z = 4x 1 + x 2 3x 1 + x 2 = 3 4x 1 + 3x 2 s 2 = 6 x 1 + 2x 2 + s 3 = 4 x 1, x 2, s 2, s 3 0 Michał Kulej (Wrocł Univ. of Techn.) OPERATIONS RESEARCH BIS 11 / 41

12 Artificial Starting Solution The Two-Phase Method The Model with Arificial Variables - Phase I The third equation has its basic variable (s 3 ) but the first and second do not. Thus we add the artificial variables a 1 and a 2 and we minimize the sum of the artificial variables a 1 + a 2. The resulting model is given as: min Z a = a 1 + a 2 3x 1 + x 2 +a 1 = 3 4x 1 + 3x 2 s 2 +a 2 = 6 x 1 + 2x 2 +s 3 = 4 x 1, x 2, s 2, s 3, a 1, a 2 0 Taking a 1, a 2, s 3 as a basic variables and using formula (2) for computing coefficients of Z a - row we obtain the first simplex tableau: c B BV x 1 x 2 s 2 a 1 a 2 s 3 Solution 1 a a s Z a Michał Kulej (Wrocł Univ. of Techn.) OPERATIONS RESEARCH BIS 12 / 41

13 Artificial Starting Solution The Two-Phase Method The Optimal Simplex Tableau of Phase I Now we use simplex algorithm for minimization problem and receive (after two iterations) the following optimum tableau: c B BV x 1 x 2 s 2 a 1 a 2 s 3 Solution x x s Z a Because minimum Z a = 0. Phase I produces the basic feasible solution x 1 = 3 5, x 2 = 6 5, s 3 = 1. We can eliminate columns for a 1 and a 2 from tableau and move to Phase II. Michał Kulej (Wrocł Univ. of Techn.) OPERATIONS RESEARCH BIS 13 / 41

14 Phase II Artificial Starting Solution The Two-Phase Method After deleting the artificial columns, we write the original problem as max Z = 4x 1 + x 2 x s 2 = 3 5 x s 2 = 6 5 s 2 +s 3 = 1 x 1, x 2, s 2, s 3 0 Now we can begin the simplex algorithm with the following simplex tableau: c B BV x 1 x 2 s 2 s 3 Solution 4 x x s Z Because we are maximizing, this is the optimal tableau. The optimal solution is x 1 = 3 5, x 2 = 6 5 and Z = Michał Kulej (Wrocł Univ. of Techn.) OPERATIONS RESEARCH BIS 14 / 41

15 Artificial Starting Solution The Two-Phase Method Removal of Artificial Variables after Phase I The removal of the artificial variables and their columns at the end of Phase I can take place only when they are all nonbasic. If one or more artificial variables are basic (at zero level) at the end of Phase I, then the following additional steps must be undertaken to remove them prior to start of Phase II. Step 1. Select a zero artificial variable to leave the basic solution (choosing the leaving variable) and designate its row as the pivot row. The entering variable can be any nonbasic variable with a nonzero(positive or negative) coefficient in the pivot row. Perform the associated simplex iteration. Step 2. Remove the column of the (just-leaving) artificial variable from the tableau. If all the zero artificial variables have been removed, go to Phase II. Otherwise, go back to Step 1. Remark All commercial packages use the two-phase method to solve linear programming problems. Michał Kulej (Wrocł Univ. of Techn.) OPERATIONS RESEARCH BIS 15 / 41

16 Sensitivity Analysis Changes in Objective Coefficients Changes in Objective Coefficients The sensitivity analysis is concerned with how changes in an parameters of the linear programming model affect the optimal solution. Let us consider the following problem (described in the basic form) of manufacturing two products W 1 and W 2 from two row materials S 1, S 2 : max Z = 3x 1 + 2x 2 [Maximizing the revenue] s 1 +2x 1 + x 2 = 100 [Limit on row material S 1 ] s 2 +x 1 + x 2 = 80 [Limit on row material S 2 ] s 3 +x 1 = 40 [Demand on W 1 ] x 1, x 2, s 1, s 2, s 3 0 The optimal solution of the model is x 1 = 20, x 2 = 60 with Z = 180. We want to determine the range of values of parameter (i.e. coefficient of objective function - unit price of product W 1 in our example ) over which the optimal solution remain unchanged. Michał Kulej (Wrocł Univ. of Techn.) OPERATIONS RESEARCH BIS 16 / 41

17 Sensitivity Analysis Changes in Objective Coefficients The Optimal Simplex Tableau of the Problem c B BV s 1 s 2 s 3 x 1 x 2 Solution 3 x x s Z Let us assumed that unit price of W 1 equals 3 + δ. Then we have: c B BV s 1 s 2 s 3 x 1 x 2 Solution 3 + δ x x s Z 1 + δ δ Michał Kulej (Wrocł Univ. of Techn.) OPERATIONS RESEARCH BIS 17 / 41

18 Sensitivity Analysis Changes in Objective Coefficients Possibly Changes of Values of c 1 The optimal solution remains optimal as long as all the Z row coefficients are nonnegative, so we get: { 1 + δ 0 δ Solving these system inequalities we obtain that δ [ 1, 1]. Thus optimal solution will remain optimal for values of price of W 1 belonging to the interval [2,4]. Michał Kulej (Wrocł Univ. of Techn.) OPERATIONS RESEARCH BIS 18 / 41

19 Sensitivity Analysis Changes in Right-Hand Side Changes in Right-Hand Side Now we examine how the optimal solution to linear problem will changes if the right-hand side of a constraint is changed. For example we consider the constraint for row material S 1 (coefficient b 1 = 100). Changing in b i will leave Z - row of simplex tableau unchanged but will change the the solution column of the simplex tableau. If at least one coefficient becomes negative, the current solution is no longer feasible. So we look for the value of δ for which the following system equalities is consistent: 2x 1 + x 2 = δ x 1 + x 2 = 80 s 3 + x 1 = 40 x 1, x 2, s 1, s 2, s 3 0 Michał Kulej (Wrocł Univ. of Techn.) OPERATIONS RESEARCH BIS 19 / 41

20 Sensitivity Analysis Changes in Right-Hand Side Matrix Form of System Equations We describe this system in matrix form: x x 2 = s δ Multiplying both sides of this equations by the inverse matrix of the coefficients matrix we get: x 1 x 2 s 3 = δ Michał Kulej (Wrocł Univ. of Techn.) OPERATIONS RESEARCH BIS 20 / 41

21 Sensitivity Analysis The Inverse Matrix of Basis Changes in Right-Hand Side The inverse matrix we could obtain from the optimal simplex tableau. It is consisting of the columns in the optimal tableau that correspond to the initial basic variables BV = {s 1, s 2, s 3 }(taking in the same order): = Michał Kulej (Wrocł Univ. of Techn.) OPERATIONS RESEARCH BIS 21 / 41

22 Sensitivity Analysis Changes in Right-Hand Side Hence we get: δ For the current set of basic variable (basis) to remain optimal we require that the following system of inequalities holds: 20 + δ 0 60 δ 0 20 δ 0 The solution remains optimal (basic variable x 1, x 2, s 3 ) as long as δ [ 20, 20] or if between 80 and 120 row material S1 (b 1 [80, 120], where the current amount is b 1 = 100) are available. Michał Kulej (Wrocł Univ. of Techn.) OPERATIONS RESEARCH BIS 22 / 41

23 Dual Problem Definition Of the Dual Problem Associated with any linear programming problem is another linear problem, called the dual problem (Dual in short). Now we explain how to find the dual problem to the given LPP, we discuss the economic interpretation of the dual problem and we discuss the relation that exist between an LPP (called Primal) and its dual problem. We consider the LPP with normal (canonical) form : max Z = c 1 x 1 + c 2 x c n x n a 11 x 1 + a 12 x a 1n x n b 1 a 21 x 1 + a 22 x a 2n x n b 2... a m1 x 1 + a m2 x a mn x n b m x j 0 (j = 1, 2,...,n) The original problem is called the primal. Michał Kulej (Wrocł Univ. of Techn.) OPERATIONS RESEARCH BIS 23 / 41

24 Dual Problem Definition Of the Dual Problem Dual Problem of LPP if Primal is in Canonical Form The dual problem is defined as follows: min W = b 1 y 1 + b 2 y b m y m a 11 y 1 + a 21 y a m1 y m c 1 a 12 y 1 + a 22 y a m2 y m c 2... a 1n y 1 + a 2n y a mn y m c n y i 0 (i = 1, 2,...,m) Michał Kulej (Wrocł Univ. of Techn.) OPERATIONS RESEARCH BIS 24 / 41

25 Dual Problem Definition Of the Dual Problem The Construction of the Dual Problem from the Primal Problem max Z min W (x 1 0) (x 2 0) (x n 0) x 1 x 2 x n (y 1 0) y 1 a 11 a 12 a 1n b 1 (y 2 0) y 2 a 21 a 22 a 2n b (y m 0) y m a m1 a m2 a mn b m c 1 c 2 c n Michał Kulej (Wrocł Univ. of Techn.) OPERATIONS RESEARCH BIS 25 / 41

26 Example Dual Problem Definition Of the Dual Problem The Furniture Company STYLE manufactures tables and chairs. A table sells for $160, and chair sells for $200. The demand for tables and chairs is unlimited. The manufacture of each type of furniture require labor, lumber, and inventory space. The amount of each resource needed to make tables and chairs and daily limit of available resources is given in the following table: Resources needed Amount of Resource Table Chair resource available(hours) Labor(hours) Lumber((feet) 3 ) Inventory space((feet) 2 ) STYLE wants to maximize total revenue. Michał Kulej (Wrocł Univ. of Techn.) OPERATIONS RESEARCH BIS 26 / 41

27 Dual Problem Definition Of the Dual Problem Primal and Dual of the Example Problem Primal problem max z = 160x x 2 2x 1 + 4x x x x x x 1, x 2 0. Dual problem min w = 40y y y 3 2y y y y y y y 1, y 2, y 3 0. Michał Kulej (Wrocł Univ. of Techn.) OPERATIONS RESEARCH BIS 27 / 41

28 Dual Problem Interpretation of Dual for STYLE Economic Interpretation of Duality Suppose there is an entrpreneur who wants to purchase all of Style s resourses i.e. 40 hours of labor, 210 (feet) 3 of lumber and 240(feet) 2 of inventory space. Then he must determine the price he is willing to pay for a unit of each of STYLE s resources. Let y 1, y 2 i y 3 be the price for one hour of labor, one cubic feet of lumber and one square feet of inventory space. We show that the resource prices should be determine by solving the dual problem. The total price the entrepreneur must pay for the resources is 40y y y 3 and since he wish to minimize the cost of purchasing the resources he wants to: minimize W = 40y y y 3. But he must set resource prices high enough to induce STYLE to sell its resources. Michał Kulej (Wrocł Univ. of Techn.) OPERATIONS RESEARCH BIS 28 / 41

29 Dual Problem Interpretation of Dual for STYLE Economic Interpretation of Duality For example, he must offer STYLE at lest $160 for a combination of resources that includes 2 hours of labor, 18 cubic feet of lumber and 24 square feet of inventory space, because STYLE could use these resources to manufacture table that can be sold for $160. Since he is offering 2y y y 3 for the resources used to produce table, he must choose y 1, y 2, y 3 to satisfy 2y y y Similar reasoning for the chair gives: 4y y y The sign restrictions y 1, y 2, y 3 0 must also hold. So we see that the solution to the dual of STYLE problem does yield prices for labor, lumber and inventory space. Michał Kulej (Wrocł Univ. of Techn.) OPERATIONS RESEARCH BIS 29 / 41

30 Dual Problem Finding the Dual to any LPP Economic Interpretation of Duality We illustrate how to find the dual problem on the following example: max z = 2x 1 + x 2 min w = 2y 1 + 3y 2 + y 3 x 1 + x 2 = 2 y 1 - Unrestricted 2x 1 x 2 3 y 2 0 x 1 x 2 1 y 3 0 x 1 0 y 1 + 2y 2 + y 3 2 x 2 Unrestricted y 1 y 2 y 3 = 1. Michał Kulej (Wrocł Univ. of Techn.) OPERATIONS RESEARCH BIS 30 / 41

31 Dual Problem Rules for Construction of Dual Economic Interpretation of Duality The general conclusion from the preceding example is that the variables and constraints in the primal and dual problems are defined by rules in the following table: Maximization problem Minimization problem Constraints Variables 0 0 = Unrestricted Variables Constraints 0 0 Unrestricted = Table: Rules for construction the Dual Problem Michał Kulej (Wrocł Univ. of Techn.) OPERATIONS RESEARCH BIS 31 / 41

32 Dual Problem Primal-Dual Relationships The Key Relationships between the Primal and Dual Theorem The dual of the dual problem yields the original primal problem. Theorem (Weak duality property) If we choose any feasible solution to the primal and any feasible solution to the dual, the W value for the feasible dual solution will be at least as large as the Z value for the feasible primal solution. Let x = [x 1, x 2,...,x n ] T be any feasible solution to the primal and y = [y 1, y 2,...,y m ] be any feasible solution to the dual. Then (Z value for x) (W value for y) From this theorem results two properties: Michał Kulej (Wrocł Univ. of Techn.) OPERATIONS RESEARCH BIS 32 / 41

33 Dual Problem Primal-Dual Relationships Property If x = ( x 1, x 2,..., x n ) and ȳ = (ȳ 1, ȳ 2,...,ȳ m ) are feasible solutions of primal problem and dual problem respectively such that Z = c 1 x 1 + c 2 x c n x n = b 1 ȳ 1 + b 2 ȳ b m ȳ m = W, then x must be optimal solution for primal problem and ȳ must be optimal solution for dual problem. Property If the primal(dual) is unbounded, then the dual(primal) problem is infeasible. Michał Kulej (Wrocł Univ. of Techn.) OPERATIONS RESEARCH BIS 33 / 41

34 Dual Problem Primal-Dual Relationships Duality Theorem Theorem The following are only possible relations between the primal and dual problems: 1 If one problem has feasible solutions and a bounded objective function(and so has optimal solution), then so does the other problem. 2 If one problem has feasible solutions and an unbounded objective function(and so no optimal solution), then the other problem has no feasible solutions. 3 If one problem has no feasible solutions, then the other problem has either no feasible solution or an unbounded objective function. Michał Kulej (Wrocł Univ. of Techn.) OPERATIONS RESEARCH BIS 34 / 41

35 Dual Problem Primal-Dual Relationships Interpretation of Optimal Dual Decision Variables Now we can give an interpretation of the dual problem for maximization problem. We know that for optimal solutions x of primal problem and ȳ of dual problem the following equality holds: Z = c 1 x 1 + c 2 x c n x n = b 1 ȳ 1 + b 2 ȳ b m ȳ m = W So each b i ȳ i can be interpreted as the contribution to profit by having b i units of resource i available for the primal problem. Thus, the optimal dual variable ȳ i (it is called shadow price) is interpreted as the contribution to profit per unit of resource i(i = 1, 2,...,m). Michał Kulej (Wrocł Univ. of Techn.) OPERATIONS RESEARCH BIS 35 / 41

36 Dual Problem Reding the Optimal Dual Solution if Primal is a Maximum Problem Reading Optimal Dual from Z-row of Optimal Simplex Tableau for STYLE After solving primal problem by simplex method we could read the optimal dual solution from the optimal simplex tableau. Let us consider the LPP for firm STYLE. The optimal simplex tableau is as follows: Table: Optimal simplex tableau s 1 s 2 s 3 x 1 x x x s Z The basic variables are ZB = {x 2, x 1, s 3 } and the basis is B = Inverse matrix for B is: B = Michał Kulej (Wrocł Univ. of Techn.) OPERATIONS RESEARCH BIS 36 / 41

37 Dual Problem The Optimal Solution of Dual Problem Reding the Optimal Dual Solution if Primal is a Maximum Problem (y 1, y 2, y 3 ) we can compute using matrix B 1 as follows: (y 1, y 2, y 3 ) = c B B 1 = (200, 160, 0) = (20, 20 3, 0). where the vector c B contains the coefficients of objective function corresponding the basic variables. The optimal dual solution are coefficients of variables s 1, s 2, s 3 of Z row optimal simplex tableau. Michał Kulej (Wrocł Univ. of Techn.) OPERATIONS RESEARCH BIS 37 / 41

38 Dual Problem Reding the Optimal Dual Solution if Primal is a Maximum Problem Reding Dual Solution from Optimal Simplex Tableau If the primal problem is any form, then the optimal dual solution may be read from Z row optimal simplex tableau by using the following rules: Optimal value of dual variable y i if constraint i is a ( ) equal to coefficient of s i in Z row optimal simplex tableau. Optimal value of dual variable y i if constraint i is a ( ) equal to -(coefficient of e i in Z row optimal simplex tableau), where e i is surplus variable. Optimal value of dual variable y i if constraint i is an equality (=) equal to (coefficient of a i in Z row optimal simplex tableau)-m, where a i is artificial variable. Michał Kulej (Wrocł Univ. of Techn.) OPERATIONS RESEARCH BIS 38 / 41

39 Dual Problem Reding the Optimal Dual Solution if Primal is a Maximum Problem Example max z = 3x 1 + 2x 2 + 5x 5 x 1 + 3x 2 + 2x x 2 x 3 5 2x 1 + x 2 5x 3 = 10 x 1, x 2, x 3 0. To solve the problem we use the M method: max Z = 3x 1 + 2x 2 + 5x 5 Ma 2 Ma 3 x 1 + 3x 2 + 2x 3 + s 1 = 15 2x 2 x 3 e 2 + a 2 = 5 2x 1 + x 2 5x 3 + a 3 = 10 x 1, x 2, x 3, s 1, a 2, a 3 0. Michał Kulej (Wrocł Univ. of Techn.) OPERATIONS RESEARCH BIS 39 / 41

40 Dual Problem Reding the Optimal Dual Solution if Primal is a Maximum Problem The Big-M Method, the Last Simplex Tableau x 1 x 2 x 3 s 1 e 2 a 2 a x x x Z The dual problem has the following form: M M min W = 15y 1 + 5y y 3 y 1 + 2y 3 3 3y 1 + 2y 2 + y 3 2 2y 1 y 2 5y 3 5 y 1 0, y 2 0, y 3 Unrestricted. Michał Kulej (Wrocł Univ. of Techn.) OPERATIONS RESEARCH BIS 40 / 41

41 Optimal Dual Solution Dual Problem Reding the Optimal Dual Solution if Primal is a Maximum Problem Reading optimal dual solution from optimal simplex tableau we get: The first constraint is inequality so y 1 = (coefficient of Z row for column s 1 ). The second constraint is inequality so y 2 = (- coefficient of Z row for column e 2 ). The third constraint is equality = so y 3 = 9 23 (coefficient of Z row for column a 3 minus M). Optimal value of objective function of dual problem is W = ( 23 ) = and equals optimal value of objective function of the primal problem. Michał Kulej (Wrocł Univ. of Techn.) OPERATIONS RESEARCH BIS 41 / 41

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

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

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

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

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

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

UNIT-4 Chapter6 Linear Programming

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

More information

Note 3: LP Duality. If the primal problem (P) in the canonical form is min Z = n (1) then the dual problem (D) in the canonical form is max W = m (2)

Note 3: LP Duality. If the primal problem (P) in the canonical form is min Z = n (1) then the dual problem (D) in the canonical form is max W = m (2) Note 3: LP Duality If the primal problem (P) in the canonical form is min Z = n j=1 c j x j s.t. nj=1 a ij x j b i i = 1, 2,..., m (1) x j 0 j = 1, 2,..., n, then the dual problem (D) in the canonical

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

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

56:171 Operations Research Midterm Exam - October 26, 1989 Instructor: D.L. Bricker

56:171 Operations Research Midterm Exam - October 26, 1989 Instructor: D.L. Bricker 56:171 Operations Research Midterm Exam - October 26, 1989 Instructor: D.L. Bricker Answer all of Part One and two (of the four) problems of Part Two Problem: 1 2 3 4 5 6 7 8 TOTAL Possible: 16 12 20 10

More information

Special cases of linear programming

Special cases of linear programming Special cases of linear programming Infeasible solution Multiple solution (infinitely many solution) Unbounded solution Degenerated solution Notes on the Simplex tableau 1. The intersection of any basic

More information

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

Review Solutions, Exam 2, Operations Research

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

More information

Dr. S. Bourazza Math-473 Jazan University Department of Mathematics

Dr. S. Bourazza Math-473 Jazan University Department of Mathematics Dr. Said Bourazza Department of Mathematics Jazan University 1 P a g e Contents: Chapter 0: Modelization 3 Chapter1: Graphical Methods 7 Chapter2: Simplex method 13 Chapter3: Duality 36 Chapter4: Transportation

More information

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

56:270 Final Exam - May

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

More information

Sensitivity Analysis

Sensitivity Analysis Dr. Maddah ENMG 500 /9/07 Sensitivity Analysis Changes in the RHS (b) Consider an optimal LP solution. Suppose that the original RHS (b) is changed from b 0 to b new. In the following, we study the affect

More information

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

The Dual Simplex Algorithm

The Dual Simplex Algorithm p. 1 The Dual Simplex Algorithm Primal optimal (dual feasible) and primal feasible (dual optimal) bases The dual simplex tableau, dual optimality and the dual pivot rules Classical applications of linear

More information

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

More information

The Simplex Algorithm and Goal Programming

The Simplex Algorithm and Goal Programming The Simplex Algorithm and Goal Programming In Chapter 3, we saw how to solve two-variable linear programming problems graphically. Unfortunately, most real-life LPs have many variables, so a method is

More information

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

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

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

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

More information

The Simplex Algorithm

The Simplex Algorithm The Simplex Algorithm How to Convert an LP to Standard Form Before the simplex algorithm can be used to solve an LP, the LP must be converted into a problem where all the constraints are equations and

More information

Week_4: simplex method II

Week_4: simplex method II Week_4: simplex method II 1 1.introduction LPs in which all the constraints are ( ) with nonnegative right-hand sides offer a convenient all-slack starting basic feasible solution. Models involving (=)

More information

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

The Graphical Method & Algebraic Technique for Solving LP s. Métodos Cuantitativos M. En C. Eduardo Bustos Farías 1

The Graphical Method & Algebraic Technique for Solving LP s. Métodos Cuantitativos M. En C. Eduardo Bustos Farías 1 The Graphical Method & Algebraic Technique for Solving LP s Métodos Cuantitativos M. En C. Eduardo Bustos Farías The Graphical Method for Solving LP s If LP models have only two variables, they can be

More information

ECE 307- Techniques for Engineering Decisions

ECE 307- Techniques for Engineering Decisions ECE 307- Techniques for Engineering Decisions Lecture 4. Dualit Concepts in Linear Programming George Gross Department of Electrical and Computer Engineering Universit of Illinois at Urbana-Champaign DUALITY

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

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

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

Linear Programming: Chapter 5 Duality

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

More information

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

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

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

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

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

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

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

The Simplex Method of Linear Programming

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

More information

4.7 Sensitivity analysis in Linear Programming

4.7 Sensitivity analysis in Linear Programming 4.7 Sensitivity analysis in Linear Programming Evaluate the sensitivity of an optimal solution with respect to variations in the data (model parameters). Example: Production planning max n j n a j p j

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

The Simplex Method. Lecture 5 Standard and Canonical Forms and Setting up the Tableau. Lecture 5 Slide 1. FOMGT 353 Introduction to Management Science

The Simplex Method. Lecture 5 Standard and Canonical Forms and Setting up the Tableau. Lecture 5 Slide 1. FOMGT 353 Introduction to Management Science The Simplex Method Lecture 5 Standard and Canonical Forms and Setting up the Tableau Lecture 5 Slide 1 The Simplex Method Formulate Constrained Maximization or Minimization Problem Convert to Standard

More information

Worked Examples for Chapter 5

Worked Examples for Chapter 5 Worked Examples for Chapter 5 Example for Section 5.2 Construct the primal-dual table and the dual problem for the following linear programming model fitting our standard form. Maximize Z = 5 x 1 + 4 x

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

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

OPERATIONS RESEARCH. Linear Programming Problem

OPERATIONS RESEARCH. Linear Programming Problem OPERATIONS RESEARCH Chapter 1 Linear Programming Problem Prof. Bibhas C. Giri Department of Mathematics Jadavpur University Kolkata, India Email: bcgiri.jumath@gmail.com MODULE - 2: Simplex Method for

More information

Math Models of OR: Sensitivity Analysis

Math Models of OR: Sensitivity Analysis Math Models of OR: Sensitivity Analysis John E. Mitchell Department of Mathematical Sciences RPI, Troy, NY 8 USA October 8 Mitchell Sensitivity Analysis / 9 Optimal tableau and pivot matrix Outline Optimal

More information

Ω 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

Simplex Method for LP (II)

Simplex Method for LP (II) Simplex Method for LP (II) Xiaoxi Li Wuhan University Sept. 27, 2017 (week 4) Operations Research (Li, X.) Simplex Method for LP (II) Sept. 27, 2017 (week 4) 1 / 31 Organization of this lecture Contents:

More information

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

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

More information

Gauss-Jordan Elimination for Solving Linear Equations Example: 1. Solve the following equations: (3)

Gauss-Jordan Elimination for Solving Linear Equations Example: 1. Solve the following equations: (3) The Simple Method Gauss-Jordan Elimination for Solving Linear Equations Eample: Gauss-Jordan Elimination Solve the following equations: + + + + = 4 = = () () () - In the first step of the procedure, we

More information

2. Linear Programming Problem

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

More information

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

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

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

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

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

More information

In Chapters 3 and 4 we introduced linear programming

In Chapters 3 and 4 we introduced linear programming SUPPLEMENT The Simplex Method CD3 In Chapters 3 and 4 we introduced linear programming and showed how models with two variables can be solved graphically. We relied on computer programs (WINQSB, Excel,

More information

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

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

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

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

More information

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

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

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

Linear Programming. Xi Chen. Department of Management Science and Engineering International Business School Beijing Foreign Studies University

Linear Programming. Xi Chen. Department of Management Science and Engineering International Business School Beijing Foreign Studies University Linear Programming Xi Chen Department of Management Science and Engineering International Business School Beijing Foreign Studies University Xi Chen (chenxi0109@bfsu.edu.cn) Linear Programming 1 / 148

More information

Linear Programming. Dr. Xiaosong DING

Linear Programming. Dr. Xiaosong DING Linear Programming Dr. Xiaosong DING Department of Management Science and Engineering International Business School Beijing Foreign Studies University Dr. DING (xiaosong.ding@hotmail.com) Linear Programming

More information

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

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

More information

New Artificial-Free Phase 1 Simplex Method

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

More information

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

Operations Research. Duality in linear programming.

Operations Research. Duality in linear programming. Operations Research Duality in linear programming Duality in linear programming As we have seen in past lessons, linear programming are either maximization or minimization type, containing m conditions

More information

"SYMMETRIC" PRIMAL-DUAL PAIR

SYMMETRIC PRIMAL-DUAL PAIR "SYMMETRIC" PRIMAL-DUAL PAIR PRIMAL Minimize cx DUAL Maximize y T b st Ax b st A T y c T x y Here c 1 n, x n 1, b m 1, A m n, y m 1, WITH THE PRIMAL IN STANDARD FORM... Minimize cx Maximize y T b st Ax

More information

OPTIMISATION 3: NOTES ON THE SIMPLEX ALGORITHM

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

More information

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

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

More information

(includes both Phases I & II)

(includes both Phases I & II) (includes both Phases I & II) Dennis ricker Dept of Mechanical & Industrial Engineering The University of Iowa Revised Simplex Method 09/23/04 page 1 of 22 Minimize z=3x + 5x + 4x + 7x + 5x + 4x subject

More information

Linear Programming Inverse Projection Theory Chapter 3

Linear Programming Inverse Projection Theory Chapter 3 1 Linear Programming Inverse Projection Theory Chapter 3 University of Chicago Booth School of Business Kipp Martin September 26, 2017 2 Where We Are Headed We want to solve problems with special structure!

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 Big M Method. Modify the LP

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

More information

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

Summary of the simplex method

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

More information

SELECT TWO PROBLEMS (OF A POSSIBLE FOUR) FROM PART ONE, AND FOUR PROBLEMS (OF A POSSIBLE FIVE) FROM PART TWO. PART ONE: TOTAL GRAND

SELECT TWO PROBLEMS (OF A POSSIBLE FOUR) FROM PART ONE, AND FOUR PROBLEMS (OF A POSSIBLE FIVE) FROM PART TWO. PART ONE: TOTAL GRAND 1 56:270 LINEAR PROGRAMMING FINAL EXAMINATION - MAY 17, 1985 SELECT TWO PROBLEMS (OF A POSSIBLE FOUR) FROM PART ONE, AND FOUR PROBLEMS (OF A POSSIBLE FIVE) FROM PART TWO. PART ONE: 1 2 3 4 TOTAL GRAND

More information

Formulating and Solving a Linear Programming Model for Product- Mix Linear Problems with n Products

Formulating and Solving a Linear Programming Model for Product- Mix Linear Problems with n Products Formulating and Solving a Linear Programming Model for Product- Mix Linear Problems with n Products Berhe Zewde Aregawi Head, Quality Assurance of College of Natural and Computational Sciences Department

More information

II. Analysis of Linear Programming Solutions

II. Analysis of Linear Programming Solutions Optimization Methods Draft of August 26, 2005 II. Analysis of Linear Programming Solutions Robert Fourer Department of Industrial Engineering and Management Sciences Northwestern University Evanston, Illinois

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

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

Simplex tableau CE 377K. April 2, 2015

Simplex tableau CE 377K. April 2, 2015 CE 377K April 2, 2015 Review Reduced costs Basic and nonbasic variables OUTLINE Review by example: simplex method demonstration Outline Example You own a small firm producing construction materials for

More information

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

Lesson 27 Linear Programming; The Simplex Method

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

More information

Chapter 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

Section 4.1 Solving Systems of Linear Inequalities

Section 4.1 Solving Systems of Linear Inequalities Section 4.1 Solving Systems of Linear Inequalities Question 1 How do you graph a linear inequality? Question 2 How do you graph a system of linear inequalities? Question 1 How do you graph a linear inequality?

More information

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

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

More information

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

(includes both Phases I & II)

(includes both Phases I & II) Minimize z=3x 5x 4x 7x 5x 4x subject to 2x x2 x4 3x6 0 x 3x3 x4 3x5 2x6 2 4x2 2x3 3x4 x5 5 and x 0 j, 6 2 3 4 5 6 j ecause of the lack of a slack variable in each constraint, we must use Phase I to find

More information

9.1 Linear Programs in canonical form

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

More information

IE 400: Principles of Engineering Management. Simplex Method Continued

IE 400: Principles of Engineering Management. Simplex Method Continued IE 400: Principles of Engineering Management Simplex Method Continued 1 Agenda Simplex for min problems Alternative optimal solutions Unboundedness Degeneracy Big M method Two phase method 2 Simplex for

More information

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

Dr. Maddah ENMG 500 Engineering Management I 10/21/07

Dr. Maddah ENMG 500 Engineering Management I 10/21/07 Dr. Maddah ENMG 500 Engineering Management I 10/21/07 Computational Procedure of the Simplex Method The optimal solution of a general LP problem is obtained in the following steps: Step 1. Express the

More information

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