Chap6 Duality Theory and Sensitivity Analysis

Size: px
Start display at page:

Download "Chap6 Duality Theory and Sensitivity Analysis"

Transcription

1 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 multiply a certain number (y 0) on both sides of any constraint, the result won t be affected. The arbitrary y is called the multiplier. y 1, y 2, and y 3 are the multipliers of constraints 1, 2, and 3, respectively. How can we tell the range of the optimal objective value? (Let Z * be the optimal value) Consider 4x 1 + x 2 + 5x 3 + 3x 4 5/3 (5x 1 + x 2 + 3x 3 + 8x 4 ) Z* 5/3(55) = 275/3 Similarly 4x 1 + x 2 + 5x 3 + 3x 4 constraint 2 + constraint 3 = (5x 1 + x 2 + 3x 3 + 8x 4 ) + ( x 1 + 2x 2 + 3x 3 5x 4 ) Z* < = 58 That is (1) Z* 0.b 1 + 5/3.b b 3 (2) Z* 0.b b b 3 In general, we want to determine the values of y i such that the following statement holds. Z* 4x 1 + x 2 + 5x 3 + 3x 4 y 1 (x 1 x 2 x 3 + 3x 4 ) + y 2 (5x 1 + x 2 + 3x 3 + 8x 4 ) + y 3 ( x 1 + 2x 2 + 3x 3 5x 4 ) y y 2 + 3y 3 Issue: which is the best estimate of the optimal value? Jin Y. Wang 6-1

2 So, we can conclude that (1) y 1, y 2, y 3 0 (2) 4 y 1 + 5y 2 y 3 1 y 1 + y 2 + 2y 3 5 y 1 + 3y 2 + 3y 3 3 3y 1 + 8y 2 5y 3 (3) Since we want to estimate Z* as best as possible, i.e. we want to have y y 2 + 3y 3 as less as possible. Therefore, we have Min y y 2 + 3y 3 The above formulation is called the Dual problem. The original formulation is called the Primal problem. Note: (1) Primal: coefficients of the objective function Dual: RHS (2) Primal: RHS Dual: coefficients of the objective function (3) Primal: coefficients of a variable in the functional constraint Dual: coefficients in a functional constraint (4) Max Min (5) Example of finding the dual problem Max 5x 1 + 4x 2 + 3x 3 S.T. 2x 1 + 3x 2 + x 3 5 4x 1 + x 2 + 2x x 1 + 4x 2 + 2x 3 8 x 1, x 2, x 3 0 Matrix representation of the primal and dual problems Jin Y. Wang 6-2

3 Primal Problem (P) n Max Z = j c = 1 j x j Max Z = cx n S.T. = a j ij x j b 1 i, for i = 1, 2,, m S.T. Ax b x j 0, for j = 1, 2,, n x 0 Dual Problem (D) m Min W = j b = 1 i y i Min W = yb m S.T. = a i ij yi c 1 j, for j = 1, 2,, n S.T. ya c y i 0, for i = 1, 2,, m y 0 Weak duality property If x is a feasible primal solution, and y is a feasible dual solution, then cx yb <Proof> Corollary: If the primal is feasible and unbounded, the dual is infeasible and vice versa. Strong duality property If x * is an optimal solution for the primal problem and y * is an optimal solution for the dual problem, then cx * = y * b. A corollary for weak and strong duality property These two properties implies that cx < yb for feasible solutions if one or both of them are not optimal for their respective problems, whereas equality holds when both are optimal. Complementary solutions property Jin Y. Wang 6-3

4 At each iteration, the simplex method simultaneously identifies a CPF solution x for the primal problem and a complementary solution y for the dual problem (in tabular form, the coefficients of the slack variables in row 0), where cx = yb. If x is not optimal for the primal problem, then y is not feasible for the dual problem. P: Max Z = 5x 1 + 4x 2 + 3x 3 S.T. 2x 1 + 3x 2 + x 3 5 4x 1 + x 2 + 2x x 1 + 4x 2 + 2x 3 8 x 1, x 2 x 3 0 D: Min W = 5y 1 +11y 2 + 8y 3 S.T. 2y 1 + 4y 2 + 3y 3 5 3y 1 + y 2 + 4y 3 4 y 1 + 2y 2 + 2y 3 3 y 1, y 2, y 3 0 Z - 5x 1-4x 2-3x 3 = 0 2x 1 + 3x 2 + x 3 + x 4 = 5 4x 1 + x 2 + 2x 3 + x 5 = 11 3x 1 4x 2 + 2x 3 + x 6 = 8 y 1 =, y 2 =, y 3 = Z - 1/2 x 1 + 2x 2 + 3/2x 6 = 12 1/2 x 1 + x 2 + x 4 + 1/2x 6 = 1 x 1 3x 2 + x 5 + x 6 = 3 3/2x 1 + 2x 2 + x 3 + 1/2x 6 = 4 y 1 =, y 2 =, y 3 = Z + 3x 2 + x 4 + x 6 = 13 x 1 + 2x 2 + 2x 4 x 6 = 2 5x 2 2x 4 + x 5 = 1 x 2 + x 3 3x 4 + 2x 6 = 1 y 1 =, y 2 =, y 3 = Recall that Jin Y. Wang 6-4

5 Iteration Basic Variable Z Any Z x B 1 0 Coefficient of: Right Side Original Variable Slack Variables c B B -1 A c B -1 A c B B -1 B -1 c B B -1 b B -1 b Let y (dual variables) = c B B -1 (the shadow price). Obviously, Z (=cx) = yb. The coefficients of original and slack variables in the objective row are ya c and y, respectively. Note that ya c represents the value of surplus variables in the dual. If the optimality hasn t yet reached, at least one coefficient in the objective row is < 0. Thus, at lease one constraint of the dual is violated. This also explains the strong duality property in some sense. Complementary optimal solutions property At the final iteration, the simplex method simultaneously identifies an optimal solution x * for the primal problem and a complementary optimal solution y * for the dual problem (the coefficients of the slack variables in row 0), where cx * = y * b In fact, y * = C B B -1 are the shadow prices. Symmetry property For any primal problem and its dual problem, all relationships between them must be symmetric because the dual of this dual problem is this primal problem. Duality theorem All possible relationships between the primal and dual problems If one problem has feasible solutions and a bounded objective function (and so has an optimal solution), then so does the other problem. If one problem has feasible solutions and an unbounded objective function (and so no optimal solution), then the other problem has no feasible solutions. Jin Y. Wang 6-5

6 If one problem has no feasible solutions, then the other problem has either no feasible solutions or an unbounded objective function. Dual Optimal Infeasible Unbounded Optimal Primal Infeasible Unbounded Example for primal infeasible dual infeasible Max 2x 1 x 2 Min y 1 2y 2 S.T. x 1 x 2 1 S.T. y 1 y 2 2 x 1 + x 2 2 y 1 + y 2 1 x 1, x 2 0 y 1, y 2 0 Applications of dual problem Dual problem can be solved directly by the simplex method. The number of functional constraints affects the computational effort of the simplex method far more than the number of variables does. It is useful for evaluating a proposed solution for the primal problem. Economic interpretation of duality Primal Problem (P) Z n j 1 n a j ij x j Max = = c j x j S.T. = b 1 i, for i = 1, 2,, m x j 0, for j = 1, 2,, n Dual Problem (D) W m j 1 m a i ij yi Min = = b i y i S.T. = c 1 j, for j = 1, 2,, n y i 0, for i = 1, 2,, m Jin Y. Wang 6-6

7 If resource i is not used for production, we rent it out with unit rental of y i. m a y i = 1 ij i means the rental income if we reduce the production amount of product j by one. m = a i ij yi c 1 j means the rental income be greater than the sales income. The objective of dual is to minimize the rental income in order to obtain the reasonable rental price. Primal-Dual relationships Dual is a LP problem and also has corner-point solutions. By using the augmented form, we can express these corner-point solutions as basic solutions. Because the functional constraints have the form, this augmented form is obtained by subtracting the surplus from the left-hand side of each constraint. Complementary basic solutions property Each basic solution in the primal problem has a complementary basic solution in the dual problem, where their respective objective function values are equal. Recall again: Coefficient of: Iteration Basic Variable Z Original Variable Slack Variables Right Side Any Z 1 c B B -1 A c c B B -1 c B B -1 b Given row 0 (objective row) of the simplex tableau for the primal basic solution, the complementary dual basic solution can be easily found. Primal Variable Associated Dual Variables (Original variable) x j (Surplus Variable) y m+j (j = 1, 2,, n) (Slack Variable) x n+i (Original Variable) y i (i = 1, 2,., m) Jin Y. Wang 6-7

8 The m basic variables for the primal problem are required to have a coefficient of zero in the objective row, which thereby requires the m associated dual variables to be zero, i.e., nonbasic variables for the dual problem. The values of the remaining n (basic) variables will be the simultaneous solution to the system of equations. The dual solution read from row 0 must also be a basic solution. Complementary slackness property Primal Variable Associated Dual Variable Basic Nonbasic (m variables) Nonbasic Basic (n variables) If one of (primal) variables is a basic variable (> 0), then the corresponding one (dual) must be a nonbasic variable (= 0). Wyndor Example: Max Z = 3x 1 + 5x 2 Min W = 4y y y 3 S.T. x 1 4 S.T. y 1 + 3y 3 3 2x y 2 + 2y 3 5 3x 1 + 2x 2 18 x 1, x 2 0 y 1, y 2, y 3 0 Max Z = 3x 1 + 5x 2 Min W = 4y y y 3 S.T. x 1 + x 3 = 4 S.T. y 1 + 3y 3 y 4 = 3 2x 2 + x 4 = 12 2y 2 + 2y 3 y 5 = 5 3x 1 + 2x 2 + x 5 = 18 Given x = (4, 6, 0, 0, -6), we know that x 1, x 2, and x 5 are basic variables. The coefficients of these variables in row 0 are zero. Thus, y 4, y 5, and y 3 are nonbasic variables (=0). y 1 = 3 2y 2 = 5 Jin Y. Wang 6-8

9 Given x = (0, 6, 4, 0, 6), we have Let x 1 * ~x n * be primal feasible solution, y 1 * ~y m * be dual feasible solution. Then, they are both optimal if and only if (1) x j * > 0 implies m i= 1 * a y = c. ij i j n (2) a j= 1 ij * x < b implies y * i = 0. j i Ex: Max 5x 1 + 6x 2 + 9x 3 + 8x 4 Min 5y 1 + 3y 2 S.T. x 1 + 2x 2 + 3x 3 + x 4 5 S.T. y 1 + y 2 5 x 1 + x 2 + 2x 3 + 3x 4 3 2y 1 + y 2 6 x 1,, x 4 0 3y 1 + 2y 2 9 y 1 + 3y 2 8 y 1, y 2 0 Ex: Max 8x 1 9x x 3 + 4x x 5 Jin Y. Wang 6-9

10 S.T. 2x 1 3x 2 + 4x 3 + x 4 + 3x 5 1 x 1 + 7x 2 + 3x 3 2x 4 + x 5 1 5x 1 + 4x 2 6x 3 + 2x 4 + 3x 5 22 x 1,.., x 5 0 Complementary optimal basic solutions property Each optimal basic solution in the primal problem has a complementary optimal basic solution in the dual problem, where their respective objective functions are equal. The coefficients in the primal row 0 are all 0 All dual variables (including decision and surplus variables) are all 0. Nonnegative surplus variables imply that functional constraints are satisfied. Nonnegativity constraints are satisfied. How to write the dual if the primal is not in the standard form Max 3x 1 + x 2 x 3 S.T. x 1 + x 2 + 4x 3 5 x 1 x 2 7x 3 = 7 x 1, x 2 0, x 3 is free Jin Y. Wang 6-10

11 Summary Primal (Dual) Dual (Primal) Max Min i th constraint is (sensible) i th variable 0 (sensible) i th variable 0 (sensible) i th constraint is (sensible) i th constraint is = (odd) i th variable is unsigned (odd) i th variable is unsigned (odd) i th constraint is = (odd) i th constraint is (bizarre) i th variable 0 (bizarre) i th variable 0 (bizarre) i th constraint is (bizarre) For constraint in primal, we can convert to by multiplying both sides by -1. For negative variable x (< 0) in primal, we can use another variable, whose value is (-1)*x, to replace x. Ex: Max 5x 1 + 4x 2 S.T. x 1 x 2 5 3x 1 + x 2 2 x 1 + 2x 2 = 9 x 1 0, x 2 0 The radiation therapy example Min Z = 0.4x x 2 Jin Y. Wang 6-11

12 S.T. 0.3x x x x 2 = 6 0.6x x 2 6 x 1, x 2 0 Dual simplex method (section 7.1) Max 8x 1 8x 2 9x 3 Min y 1 8y 2 2y 3 S.T. x 1 + x 2 + x 3 1 S.T. y 1 2y 2 + y 3 8 2x 1 4x 2 x 3 8 y 1 4y 2 y 3 8 x 1 x 2 x 3 2 y 1 y 2 y 3 9 x 1 ~ x 3 0 y 1 ~ y 3 0 Note that the current primal does not have a feasible solution. However, the dual does have one. Working on the dual is one way of tackling this situation. Another way is working the complementary counterpart on the primal. Convert the dual to standard form and add slack variables (currently, the basic solution is feasible). W + y 1 8y 2 2y 3 = 0 y 1 + 2y 2 y 3 + y 4 = 8 y 1 + 4y 2 + y 3 + y 5 = 8 y 1 + y 2 + y 3 + y 6 = 9 Add slack variables to the primal (currently, the basic solution is infeasible). Z + 8x 1 + 8x 2 + 9x 3 = 0 x 1 + x 2 + x 3 + x 4 = 1 2x 1 4x 2 x 3 + x 5 = 8 x 1 x 2 x 3 + x 6 = 2 In the dual problem, pick y 3 to enter and pick y 5 to leave. Jin Y. Wang 6-12

13 The coefficients of the dual objective function correspond to the current value of primal s basic variable. The dual current values of basic variables correspond to the coefficients of the primal objective function. The dual entering column corresponds to the primal leaving row. In dual: Find a nonbasic variable with a negative coefficient in row 0 (positive coefficient in algebraic form) to enter. In Primal: Find a basic variable with a negative current value to leave. In dual: Find the variable corresponding to the entering variable with a positive coefficient and smallest ratio to leave. In Primal: Find the variable with a negative coefficient in the leaving row and smallest ratio to enter. For dual, pick y 3 to enter and pick y 5 to leave. W y 1 0y 2 + 2y 5 = 16 2y 1 + 6y 2 + y 4 + y 5 = 16 y 1 + 4y 2 + y 3 + y 5 = 8 0y 1 3y 2 y 5 + y 6 = 1 For primal, pick x 6 to leave, x 2 to enter. Z + 16x 1 + x 3 + 8x 6 = 16 2x 1 + 0x 3 + x 4 + x 6 = 1 6x 1 + 3x 3 + x 5 4x 6 = 0 x 1 + x 2 + x 3 x 6 = 2 Conditions for adopting the dual simplex method Jin Y. Wang 6-13

14 The prerequisite for using the dual simplex is the dual has initial feasible solution. Thus, the primal coefficient of row 0 must be nonnegative. What if both primal and dual do not have a feasible initial solution? Big M or two-phase method. Another example for dual simplex Z + 4x 2 + x 4 + x 5 = 12 x 1 3x x 4 x 5 = 4 x 2 + x 3 3x 4 + 2x 5 = 8 Jin Y. Wang 6-14

15 Sensitivity Analysis Max Z = cx Ax = b x 0 Recalled that we can rewrite it as the following Max Z = c B x B + c N x N S.T. Bx B + Nx N = b x B, x N 0 Max Z + (c B B -1 N - c N )x N = c B B -1 b x B = B -1 b B -1 Nx N What happens to the optimal solution if (1) b is changed (2) c is changed (3) A is changed (4) add a new variable (5) add a new constraint b is changed to b Max cx S.T. Ax = b x 0 In this case, the original optimal basic solution is no more feasible, since b is changed to b. In order to make sure that the basic won t change, we need to check B -1 b. If B -1 b 0 The basic won t change, we are at optimality since (c B B -1 N - c N 0) Otherwise (B -1 b < 0) The new basic solution is infeasible. That is, the basic change. Need to solve the problem by using dual simplex. Ex: Max Z = 3x 1 + 5x 2 Jin Y. Wang 6-15

16 S.T. x 1 + x 3 = 4 2x 2 +x 4 = 12 3x 1 + 2x 2 +x 5 = 18 x * = 2 6, x B = 2 x x x x4, x N = x5 b changes from to b changes from to The final tableau can be obtained based on the given information. Based on Z + (c B B -1 N - c N )x N = c B B -1 b and x B = B -1 b B -1 Nx N or recall the fundamental insight table. Jin Y. Wang 6-16

17 Iteration Basic Variable Z Any Z 1 x B 0 Coefficient of: Right Side Original Variable Slack Variables c B B -1 A c B -1 A c B B -1 B -1 c B B -1 b B -1 b Basic Final tableau after RHS changing Coefficient of: Right Side Variable x 1 x 2 x 3 x 4 x 5 Z x 3 x 2 x 1 Apply dual simplex. We pick x 1 to leave and x 4 to enter. Basic Coefficient of: Variable x 1 x 2 x 3 x 4 x 5 Right Side Z x 3 x 2 x 4 Allowable range for RHS given that the basic won t change Max Z = 3x 1 + 5x 2 S.T. x 1 +x 3 = 4 2x 2 +x 4 = 12 3x 1 + 2x 2 +x 5 = 18 b changes from to Δ. We need to guarantee B -1 b 0 18 Simultaneous changes in Right-Hand Sides Jin Y. Wang 6-17

18 Adopt the 100 percent rule. Calculate for each change percentage of the allowable change (increase or decrease) for that right-hand side to remain within its allowable range. If the sum of the percentage changes does not exceed 100 percent, the shadow prices definitely will still be valid (basic remains the same). If the sum does exceed 100 percent, then we cannot be sure. Example (Wyndor) Constraint Shadow Price Current RHS Allowable Increase Allowable Decrease Plant Infinite 2 Plant Plant Change b from 12 to b 2 : percentage of allowable increase = b 3 : percentage of allowable decrease = Conclusion: c is changed to c Supposed c is changed to c Max c x Ax = b x 0 Notice that the optimal solution computed before is still. In order to check the optimality, look at the objective row and be sure. That is, if the above inequality holds, we are still at optimality. Otherwise, use (revised) simplex method starting with x * as initial feasible solution. Ex: Max Z = 3x 1 + 5x 2 Jin Y. Wang 6-18

19 S.T. x 1 + x 3 = 4 2x 2 + x 4 = 12 3x 1 + 2x 2 + x 5 = 18 At the final iteration, we have If c changes from [ 3 5] to [ 5] 4. How much can c change and still have the same optimal solution? The coefficients of nonbasic variables are changed Let c B B -1 N - c N remains 0 Example 1: x B = [ x 1, x 2, x 3 ] T, x N = [x 4, x 5, x 6 ] T, c B = [1 2 1 ], c N = [2 3 3] B = 0 1 4, N = Jin Y. Wang 6-19

20 The coefficients of basic variables are changed same reasoning. Example 2 (Wyndor): At the final iteration, x B = [x 3, x 2, x 1 ] T, x N = [x 4, x 5 ] T, c B = [0 5 3], c N = [0 0], B = 0 2 0, N = How much can we change c 2 given the original optimal is still optimal? Simultaneous changes on objective function coefficients Variable Value Reduced cost Current coefficient Allowable increase Allowable decrease x Infinite x Infinite 3 Apply the 100 percent rule. In the Wyndor example, if c 1 is increased by 1.5, then c 2 can be decreased by as much as. If c 1 is increased by 3, then c 2 can only be decreased by as much as. Reduce cost For any nonbasic decision variable x j, the associated coefficient in row 0 is referred to as the reduced cost for x j. It is the minimum amount by which the unit cost of activity j would have to be reduced to make it worthwhile to undertake activity j (increase x j from zero). Jin Y. Wang 6-20

21 Interpreting c j as the unit profit of activity j, the reduce cost for x j is the maximum allowable increase in c j to keep the current BF solution optimal. A is changed to A Max cx S.T. A x = b x 0 Similar to the procedures when b is changed; but a bit more complex. Change the coefficients of nonbasic variables. Current optimal basic solution is still feasible. Only need to check the optimality. An easy way: If the complementary dual basic solution y * still satisfies the single dual constraint that has changed, then the original optimal solution remains optimal. Or use our usual way of checking whether c B B -1 N - c N 0. Change the coefficients of basic variables Check the feasibility first. If feasible, perform the optimality check. If infeasible, compute the coefficients of row 0 and reoptimize with the dual simplex or two phase/big M methods. Sometimes, coefficients of c and A may be changed simultaneously. The solutions techniques are similar as discussed before. Let s go to the examples directly. Jin Y. Wang 6-21

22 Example 1: Changes in the coefficients of a nonbasic variable Given the following LP problem and the final tableau. Max Z = 3x 1 + 5x 2 S.T. x 1 + x 3 = 4 2x 2 + x 4 = 24 3x 1 + 2x 2 + x 5 = 18 Basic Coefficient of: Right Side Variable x 1 x 2 x 3 x 4 x 5 Z 9/ /2 45 x x 2 3/ /2 9 x Changes are made to the coefficients of x 1. Let c 1 = 4 and a 31 = 2. Applying the dual theory. Or compute the value of c B B -1 N - c N. Example 2: Changes in the coefficients of a basic variable Use the same problem as in Example 1. Changes are made to the coefficients of x 2. Let c 2 = 3, a 22 = 3, and a 32 = 4. Compute the new current basic solution. Optimality check. Jin Y. Wang 6-22

23 Reoptimize using revised simplex method, if needed. Add x n+1 Add a new variable (x n+1 ) to the objective function and each constraint Assume the value of this new variable be zero. That is, let the new solution * x 1 be.. * x n 0 This new solution is still feasible. Check optimality If c B B -1 N - c N 0 done, this new solution is the optimal solution. If c B B -1 N - c N < 0 basic changed adopt (revised) simplex starting from the above solution. Example: Max x 1 + x 2 S.T. 2x 1 + x 2 + x 3 = 4 x 1 + 2x 2 + x 4 = 4 x 1 ~ x / 3 4 / 3 x* = add x Jin Y. Wang 6-23

24 Max x 1 + x 2 + 2x 5 S.T. 2x 1 + x 2 + x 3 + 3x 5 = 4 x 1 + 2x 2 + x 4 3x 5 = 4 x 1 ~x 5 0 Keep x 1, x 2 as basic variables, x 3, x 4, and x 5 as nonbasic variables. 4 / 3 4 / 3 x = 0, check c B B -1 N - c N 0 0 Jin Y. Wang 6-24

25 Add a new constraint If new slack 0 (current constraint satisfies the new constraint) done, at optimality If the current optimal solution satisfies the new constraint, then it would still be the optimal solution. The reason is that a new constraint can only eliminate some previously feasible solutions without adding any new ones. If new slack 0 (current constraint does not satisfy the new constraint) basis changed Introduce this new constraint into the final simplex tableau, where the usual additional variable (slack) is designated to be the new basic variable for this new row. Apply elementary operations to convert to proper form resolve the problem by dual simplex. Example: Max Z = 3x 1 + 5x 2 S.T. x 1 4 2x x 1 + 2x 2 18 x 1, x 2 0 Add a new constraint 2x 1 + 3x The previous optimal solution (0, 9) violates the new constraint. So the previous optimal solution is no longer feasible. Add the new constraint to the current final simplex tableau. Basic Variable Revised final tableau Coefficient of: x 1 x 2 x 3 x 4 x 5 x 6 RHS Z 9/ / x x 2 3/ /2 0 9 x x Convert to proper form Jin Y. Wang 6-25

26 Basic Variable Converted to proper form Coefficient of: x 1 x 2 x 3 x 4 x 5 x 6 RHS Z 9/ / x x 2 3/ /2 0 9 x x 6-5/ /2 1-3 Apply the dual simplex Basic Variable New final tableau Coefficient of: x 1 x 2 x 3 x 4 x 5 x 6 RHS Z 1/ /3 40 x x 2 3/ /3 8 x 4-4/ /3 8 x 6 5/ /3 2 Jin Y. Wang 6-26

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

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

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

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

"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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

(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

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

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

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

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

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

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

More information

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

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

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

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

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

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

More information

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

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

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

Prelude to the Simplex Algorithm. The Algebraic Approach The search for extreme point solutions.

Prelude to the Simplex Algorithm. The Algebraic Approach The search for extreme point solutions. Prelude to the Simplex Algorithm The Algebraic Approach The search for extreme point solutions. 1 Linear Programming-1 x 2 12 8 (4,8) Max z = 6x 1 + 4x 2 Subj. to: x 1 + x 2

More information

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

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

THE UNIVERSITY OF HONG KONG DEPARTMENT OF MATHEMATICS. Operations Research I

THE UNIVERSITY OF HONG KONG DEPARTMENT OF MATHEMATICS. Operations Research I LN/MATH2901/CKC/MS/2008-09 THE UNIVERSITY OF HONG KONG DEPARTMENT OF MATHEMATICS Operations Research I Definition (Linear Programming) A linear programming (LP) problem is characterized by linear functions

More information

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

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

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

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

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

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

More information

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

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

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

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

CO350 Linear Programming Chapter 8: Degeneracy and Finite Termination

CO350 Linear Programming Chapter 8: Degeneracy and Finite Termination CO350 Linear Programming Chapter 8: Degeneracy and Finite Termination 27th June 2005 Chapter 8: Finite Termination 1 The perturbation method Recap max c T x (P ) s.t. Ax = b x 0 Assumption: B is a feasible

More information

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

Algorithms and Theory of Computation. Lecture 13: Linear Programming (2)

Algorithms and Theory of Computation. Lecture 13: Linear Programming (2) Algorithms and Theory of Computation Lecture 13: Linear Programming (2) Xiaohui Bei MAS 714 September 25, 2018 Nanyang Technological University MAS 714 September 25, 2018 1 / 15 LP Duality Primal problem

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

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

Introduction to Mathematical Programming IE406. Lecture 13. Dr. Ted Ralphs Introduction to Mathematical Programming IE406 Lecture 13 Dr. Ted Ralphs IE406 Lecture 13 1 Reading for This Lecture Bertsimas Chapter 5 IE406 Lecture 13 2 Sensitivity Analysis In many real-world problems,

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

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

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

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

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

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

The dual simplex method with bounds

The dual simplex method with bounds The dual simplex method with bounds Linear programming basis. Let a linear programming problem be given by min s.t. c T x Ax = b x R n, (P) where we assume A R m n to be full row rank (we will see in the

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

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

Foundations of Operations Research

Foundations of Operations Research Solved exercises for the course of Foundations of Operations Research Roberto Cordone The dual simplex method Given the following LP problem: maxz = 5x 1 +8x 2 x 1 +x 2 6 5x 1 +9x 2 45 x 1,x 2 0 1. solve

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

Ω 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

Introduction to Mathematical Programming

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

More information

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

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

IE 5531: Engineering Optimization I

IE 5531: Engineering Optimization I IE 5531: Engineering Optimization I Lecture 7: Duality and applications Prof. John Gunnar Carlsson September 29, 2010 Prof. John Gunnar Carlsson IE 5531: Engineering Optimization I September 29, 2010 1

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

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

CS 6820 Fall 2014 Lectures, October 3-20, 2014

CS 6820 Fall 2014 Lectures, October 3-20, 2014 Analysis of Algorithms Linear Programming Notes CS 6820 Fall 2014 Lectures, October 3-20, 2014 1 Linear programming The linear programming (LP) problem is the following optimization problem. We are given

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

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

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

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

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

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

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

AM 121: Intro to Optimization

AM 121: Intro to Optimization AM 121: Intro to Optimization Models and Methods Lecture 6: Phase I, degeneracy, smallest subscript rule. Yiling Chen SEAS Lesson Plan Phase 1 (initialization) Degeneracy and cycling Smallest subscript

More information

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

+ 5x 2. = x x. + x 2. Transform the original system into a system x 2 = x x 1. = x 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...................................

More information

The simplex algorithm

The simplex algorithm The simplex algorithm The simplex algorithm is the classical method for solving linear programs. Its running time is not polynomial in the worst case. It does yield insight into linear programs, however,

More information

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

ECE 307 Techniques for Engineering Decisions

ECE 307 Techniques for Engineering Decisions ECE 7 Techniques for Engineering Decisions Introduction to the Simple Algorithm George Gross Department of Electrical and Computer Engineering University of Illinois at Urbana-Champaign ECE 7 5 9 George

More information

Optimization (168) Lecture 7-8-9

Optimization (168) Lecture 7-8-9 Optimization (168) Lecture 7-8-9 Jesús De Loera UC Davis, Mathematics Wednesday, April 2, 2012 1 DEGENERACY IN THE SIMPLEX METHOD 2 DEGENERACY z =2x 1 x 2 + 8x 3 x 4 =1 2x 3 x 5 =3 2x 1 + 4x 2 6x 3 x 6

More information

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

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

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

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

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

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