The Dual Simplex Algorithm

Size: px
Start display at page:

Download "The Dual Simplex Algorithm"

Transcription

1 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 programming: the use of the primal and the dual simplex methods, examples

2 p. 2 Recall: Linear Programming Duality Consider the (primal) linear program: z = max c T x s.t. Ax = b x 0 where A is an m n matrix, b is a column m-vector, x is a column n-vector, and c T is a row n-vector By the Karush-Kuhn-Tucker Conditions, x is optimal if and only if there is (v T,w T ) so that Ax = b, x 0 (P) c T w T A+v T = 0, v T 0 (D) v T x = 0 (CS)

3 p. 3 Recall: Linear Programming Duality Let x be a basic feasible solution and let B denote the corresponding basis matrix z x B x N RHS z 1 0 c B T B 1 N c N T c B T B 1 b 0. sor x B 0 I m B 1 N B 1 b 1..m sorok Choose the dual variables as follows: w T = c B T B 1, v T = [ 0 }{{} basic c T B B 1 T N c N ] } {{ } nonbasic (P) holds since x is feasible (CS) holds identically since v T x = 0x B +(c B T B 1 N c N T )0 0

4 p. 4 Recall: Linear Programming Duality One of the constraints of (D), namely c T w T A+v T = 0 also holds identically Separating to basic and nonbasic components: c T w T A+v T = (c B T,c N T ) Component-wise: w T (B,N)+(0,c B T B 1 N c N T ) c B T w T B +0 = c B T c B T B 1 B 0 (basic) c N T w T N +(c B T B 1 N c N T ) = c B T B 1 N +c B T B 1 N 0 (nonbasic) The other part of (D), v T 0, only holds if B is optimal

5 p. 5 The Dual Simplex Method Correspondingly, the primal simplex method develops a basis that satisfies the (P), (D), and (CS) conditions simultaneously In each iteration it satisfies the primal conditions (P), the complementary slackness conditions (CS), and the dual conditions (D) partially We have optimality when (D) is fully satisfied The dual simplex method is the dual of the primal simplex: it converges through a series of dual feasible bases into a dual optimal (primal feasible) basis in every iteration it fulfills (D), (CS) and (P) partially optimality when (P) is fully satisfied Useful when it is easy to find a dual feasible (primal optimal) initial basis

6 p. 6 The Dual Simplex Method Consider the standard form linear program: max c T x s.t. Ax = b x 0 where A is an m n matrix, b is a column m-vector, x is a column n-vector, and c T is a row n-vector Let B be a basis that satisfies the primal optimality conditions (i.e., dual feasible) c B T B 1 N c N T 0 but is not primal feasible (i.e., not dual optimal) B 1 b 0

7 p. 7 The Dual Simplex Method The simplex tableau for basis B (dual) feasible if j N : z j 0 (dual) optimal, if i {1,...,m} : b i 0 The goal is to obtain a simplex tableau that is dual optimal, maintaining dual feasibility along the way In terms of the tableau, this means that in row 0 we always have nonnegative elements (dual feasibility) but the RHS column may contain negative elements (not dual optimal) Eventually, the RHS column will also become nonnegative This is attained through a sequence of (dual) pivots For brevity, we merely state the method without proofs

8 p. 8 The Dual Simplex Method Choose the leaving variable x r first as the basic variable with the smallest value in the current basis: r = argmin bi i {1,...,m} Lemma: after the pivot we obtain a primal optimal basic feasible solution (row 0 is nonnegative), if the entering variable x k is chosen according to: k = argmin j N { z j y rj : y rj < 0 Lemma: if j N : y rj 0, then the dual is unbounded and the primal is infeasible Pivot on row r and column k }

9 The Dual Simplex Method: Example Consider the linear program min 2x 1 + 3x 2 + 4x 3 s.t. x 1 + 2x 2 + x 3 3 2x 1 x 2 + 3x 3 4 x 1, x 2, x 3 0 Bringing to standard form and converting to maximization (note the eventual inversion!): max 2x 1 3x 2 4x 3 s.t. x 1 + 2x 2 + x 3 x 4 = 3 2x 1 x 2 + 3x 3 x 5 = 4 x 1, x 2, x 3, x 4, x 5 0 Cannot use the primal simplex since the initial basis formed by the slack variables is not (primal) feasible p. 9

10 p. 10 The Dual Simplex Method: Example Let us use the dual simplex (after inverting the constraints): max 2x 1 3x 2 4x 3 s.t. x 1 2x 2 x 3 + x 4 = 3 2x 1 + x 2 3x 3 + x 5 = 4 x 1, x 2, x 3, x 4, x 5 0 We can do this since the slack variables for a primal optimal (dual feasible) initial basis c T B B 1 N c T N = 0 [ 2 3 4] 0 [ ] [ ] 3 3 Not dual optimal: B 1 b = I 2 = 0 4 4

11 p. 11 The Dual Simplex Method: Example The initial simplex tableau: z x 1 x 2 x 3 x 4 x 5 RHS z x x The most negative basic variable leaves the basis: x 5 The entering variable is x 1 as z 1 y 51 = min{ z j y 5j : y 5j < 0} Divide the j-the element of row 0 with the j-th element of the r-th row if that is negative and invert, and take the minimum If we choose the leaving and entering variable this way, we get a dual feasible basis after the pivot

12 The Dual Simplex Method: Example z x 1 x 2 x 3 x 4 x 5 RHS z x x z x 1 x 2 x 3 x 4 x 5 RHS z x x z x 1 x 2 x 3 x 4 x 5 RHS z x x p. 12

13 p. 13 The Dual Simplex Method After the pivot the RHS element of the pivot row is always nonnegative, since first we divided the row of x r by y rk < 0 and so we invert all elements, this way b r < 0 as well If the basis is not dual degenerate (z k > 0), then after the pivot the objective function value decreases In fact, the current basis satisfies the (primal) optimality conditions but it lies outside the feasible region of the primal Making it feasible is possible only at the price of decreasing the primal objective It is not the primal maximization problem that we are solving now but rather the dual minimization problem We do not need to rewrite the problem into the dual to apply the dual simplex method, it can run directly on the (primal) simplex tableau

14 p. 14 The Dual Simplex Method: Example The new basis is dual feasible (primal optimal) but still not dual optimal, as x 4 = 1 < 0 x 4 leaves the basis and x 2 = argmin{ z j : y y 4j < 0} 4j enters x 1 x 2 x 3 x 4 x 5 RHS 9 z x x The resultant basis is both dual optimal and dual feasible The optimum for the maximization problem is z = 28 5, attained at the point x = [ ] T

15 p. 15 The Dual Simplex Method: Example Observe that the objective function value for the maximization problem has decreased in each iteration max 2x 1 3x 2 4x 3 : Of course, this is because we have in fact solved the dual minimization problem min{w T b : w T A c T } Choosing w T = c B B 1 the dual objective function w T b = c B B 1 b can be read from the simplex tableau in each step (row zero, RHS column) minw T b : Originally we had a minimization problem (invert!), whose optimum is thus z = 28 5

16 p. 16 The Dual Simplex Method: Example Solve the below linear program: min 2x 1 + 3x 2 + 5x 3 + 6x 4 s.t. x 1 + 2x 2 + 3x 3 + x 4 2 2x 1 + x 2 x 3 + 3x 4 3 x 1, x 2, x 3, x 4 0 Standard form, as a maximization (note: invert!) max 2x 1 3x 2 5x 3 6x 4 s.t. x 1 + 2x 2 + 3x 3 + x 4 x 5 = 2 2x 1 + x 2 x 3 + 3x 4 + x 6 = 3 x 1, x 2, x 3, x 4, x 5, x 6 0 Multiplying the first constraint by (-1) we obtain a primal optimal initial basis

17 p. 17 The Dual Simplex Method: Example In general, slack variables constitute a primal feasible basis if b 0, and a dual feasible basis if c T 0 We can use the dual simplex now z x 1 x 2 x 3 x 4 x 5 x 6 RHS z x x z x 1 x 2 x 3 x 4 x 5 x 6 RHS z x x

18 The Dual Simplex Method: Example z x 1 x 2 x 3 x 4 x 5 x 6 RHS 8 1 z x x The minimum is 19 5 the point x = [ 8 5, attained by the minimization problem at ] T The dual of the original minimization problem: 8 5 max 2w 1 3w 2 s.t. w 1 2w 2 2 2w 1 + w 2 3 3w 1 w 2 5 w 1 + 3w 2 6 w 1 0 w 2, 0 p. 18

19 p. 19 The Dual Simplex Method: Example w 2 is odd since w 2 0 (the simplex requires nonnegativity) Let w 2 = w 2 0 max 2w 1 + 3w 2 s.t. w 1 + 2w 2 2 2w 1 w 2 3 3w 1 + w 2 5 w 1 3w 2 6 w 1, w 2 0 The slack variables supply a primal feasible initial basis in the dual, since the RHS is nonnegatove and all constraints are of the type Solving by the primal simplex: the optimum is 19 5 and w 1 = 8 5, w 2 = w 2 = 1 5

20 p. 20 Optimal Employee Work Schedule At a railway station, the distribution of work is such that the number of staff needed is 3 persons between 0 and 4 o clock, 8 persons between 4 and 8 o clock, 10 persons between 8 and 12 o clock, 8 persons between 12 and 16 o clock, 14 persons between 16 and 20 o clock, 5 persons between 20 and 24 o clock Shifts start every day at 0, 4, 8, 12, 16, and 20 o clock and keep 8 hours Task: obtain an optimal schedule that requires the smallest staff (fewest persons during the day working in total)

21 p. 21 Optimal Employee Work Schedule Indicate the number of workers starting in each shift by x 1, x 2, x 3, x 4, x 5, and x 6 Then, the task is to minimize the objective function x 1 +x 2 +x 3 +x 4 +x 5 +x 6 From 0 until 4 o clock, the 20-o clock and 0-o-clock shifts are in work, at least 3 persons x 1 +x 6 3 From 4 until 8 o clock at least 8 persons are needed x 1 +x 2 8 Similarly for the rest of the shifts Of course, all variables are nonnegative

22 For now, we merely hope that what we obtain eventually will be integer-valued p. 22 Optimal Employee Work Schedule The linear program min x 1 + x 2 + x 3 + x 4 + x 5 + x 6 s.t. x 1 + x 2 8 x 2 + x 3 10 x 3 + x 4 8 x 4 + x 5 14 x 5 + x 6 5 x 1 + x 6 3 x 1, x 2, x 3, x 4, x 5, x 6 0 Variables are continuous, even though we cannot schedule employees partially Should pose this as an integer linear program, by requiring variables to be integer-valued: NP-hard problem

23 p. 23 Optimal Employee Work Schedule Introduce slack variables s 1, s 2,... to convert the constraints x i +x j b to the form x i +x j s = b,z 0 Writing as a maximization problem (note to ourselves: invert result at the end) and ignoring the column of z for now x 1 x 2 x 3 x 4 x 5 x 6 s 1 s 2 s 3 s 4 s 5 s 6 RHS z s s s s s s

24 p. 24 Optimal Employee Work Schedule Slack variables form a trivial initial basis (it is worth inverting all rows) Primal optimal basis but not primal feasible: use the dual simplex! s 4 leaves the basis and x 4 enters x 1 x 2 x 3 x 4 x 5 x 6 s 1 s 2 s 3 s 4 s 5 s 6 RHS z s s s s s s

25 p. 25 Optimal Employee Work Schedule x 1 x 2 x 3 x 4 x 5 x 6 s 1 s 2 s 3 s 4 s 5 s 6 RHS z s s s x s s s 2 leaves the basis and x 2 enters

26 p. 26 Optimal Employee Work Schedule x 1 x 2 x 3 x 4 x 5 x 6 s 1 s 2 s 3 s 4 s 5 s 6 RHS z s x s x s s s 5 leaves, x 5 enters Dual degenerate pivot

27 p. 27 Optimal Employee Work Schedule x 1 x 2 x 3 x 4 x 5 x 6 s 1 s 2 s 3 s 4 s 5 s 6 RHS z s x s x x s s 6 leaves, x 1 enters

28 Optimal Employee Work Schedule x 1 x 2 x 3 x 4 x 5 x 6 s 1 s 2 s 3 s 4 s 5 s 6 RHS z s x s x x x Optimal tableau: primal optimal and now also primal feasible 27 persons employed in total: 3 in the 0 o clock shift, 10 in the 4 o clock shift, 9 in the 12 o clock shift, and 5 in the 16 o clock shift, and no one works in the rest of the shifts Observe that there is surplus staff from 4 until 8 (s 1 = 5) and from 12 until 16 (s 3 = 1)! p. 28

29 p. 29 Optimal Production Planning The four-month prognosis for an item in a store is as follows: 1st month 2nd month 3rd month 4th month Business Plan [t] Purchase cost [musd/t] Storage capacity [t] Storage costs [musd/t] At the beginning and end of the period the stock in the storage is zero The stock changes uniformly during a month and the storage cost per month is based on the average quantity in stock Task: fulfill the business plan in each month, taking into account the storage capacities, with the lowest purchase and storage costs

30 p. 30 Optimal Production Planning Denote the quantity of the items purchased in each month by x 1, x 2, x 3, and x 4 [tonnes] Denote the stock at the end of each month by r 1, r 2, and r 3 [tonnes] (no stock at the end of the period) From the quantity purchased in the first month, 5 tonnes must be sold according to the business plan and the rest goes into stock x 1 = 5+r 1 In the rest of the months, the stock at the beginning plus the purchased quantity covers the monthly business plan and the stock at the end of the month r 1 +x 2 = 6+r 2 r 2 +x 3 = 8+r 3 r 3 +x 4 = 6

31 p. 31 Optimal Production Planning As the stock changes uniformly during the month, the average stock in each month is r 1 2, r 1 +r 2, 2 r 2 +r 3 2, r 3 2 The storage cost for the entire period [million USD]: 1.5 ( r1 2 + r 1 +r r 2 +r r 3 2 ) = 1.5r r r 3 The purchase cost: 4x 1 +3x 2 +2x 3 +5x 4 [million USD] Finally, the stock cannot exceed the storage capacity: r 1,r 2,r 3 10 Evidently, all variables are nonnegative

32 p. 32 Optimal Production Planning The linear program: min 4x 1 +3x 2 +2x 3 +5x r r r 3 s.t. x 1 r 1 = 5 x 2 +r 1 r 2 = 6 x 3 +r 2 r 3 = 8 x 4 +r 3 = 6 r 1 10 r 2 10 r 3 10 x 1, x 2, x 3, x 4, r 1, r 2, r 3 0 The objective function in maximization form: max 4x 1 3x 2 2x 3 5x 4 1.5r 1 1.5r 2 1.5r 3 Must be inverted when written into the simplex tableau!

33 p. 33 Optimal Production Planning We still need to find an initial basis the slacks for the storage constraints (s 1, s 2, s 3 ) are OK x 1, x 2, x 3, and x 4 would also work, but we first need to zero out the corresponding objective function coefficients to obtain a valid simplex tableau z x 1 x 2 x 3 x 4 r 1 r 2 r 3 s 1 s 2 s 3 RHS z x x x x s s s

34 p. 34 Optimal Production Planning Subtract four times the row of x 1 from row 0, this way eliminating the reduced cost for x 1 : z x 1 x 2 x 3 x 4 r 1 r 2 r 3 s 1 s 2 s 3 RHS z x x x x s s s Note how the objective function value has changed!

35 p. 35 Optimal Production Planning Similarly, cancel the reduced cost for x 2, x 3, and x 4 by elementary row operations z x 1 x 2 x 3 x 4 r 1 r 2 r 3 s 1 s 2 s 3 RHS z x x x x s s s Primal feasible tableau, solve with the primal simplex Note the nonzero objective function in the initial tableau!

36 p. 36 Optimal Production Planning z x 1 x 2 x 3 x 4 r 1 r 2 r 3 s 1 s 2 s 3 RHS z x x x r s s s The quantity of items to be purchased in each month is 5, 6, and 14 tonnes, no purchase in the last month Stock is created only in the 3rd month, 6 tonnes The total cost is 75 million USD

37 Network Routing A subscriber wishes to transfer 2-2 units of traffic between points A-B and C-D in a telecommunications network The network service provider establishes a path P 1 between A-B and paths P 2 and P 3 between C-D The A-B link capacity is 3 units, and 2 units for C-D Pricing is progressive: the first 1 unit of traffic through a link costs 1 unit, every additional unit costs 3 units Task: find the minimal cost assignment of traffic demands to paths p. 37

38 p. 38 Network Routing Denote the quantity of traffic routed to paths P 1, P 2, and P 3 by f 1, f 2, and f 3 The demand is 2 units of flow between A-B and 2 units between C-D f 1 2, f 2 +f 3 2 Denote the total load at each link by l 1 and l 2, these must satisfy the capacity constraints l 1 = f 1 +f 2 3, l 2 = f 3 2 Let the price of traffic routed to each link be c 1 and c 2 { li if l c i = i 1 i {1,2} 1+3(l i 1) if l i > 1 Task is to minimize c 1 +c 2 : nonlinear objective function!

39 p. 39 Network Routing Trick: linearize the objective function Piecewise linear objective function Approximate piecewise minc i c i l i c i 3l i 2 The smallest possible cost by minimization The piecewise objective is convex: we can use linear programming

40 p. 40 Network Routing The linear program: min c 1 +c 2 s.t. f 1 +f 2 3 f 3 2 f 1 +f 2 c 1 0 3f 1 +3f 2 c 1 2 f 3 c 2 0 3f 3 c 2 2 f 1 2 f 2 +f 3 2 f 1,f 2,f 3,c 1,c 2, 0

41 p. 41 Network Routing Standard form: slack variables constitute an initial basis Converting to maximization and inverting the last two constraints we get a dual feasible initial basis Use the dual simplex! z f 1 f 2 f 3 c 1 c 2 s 1 s 2 s 3 s 4 s 5 s 6 s 7 s 8 RHS z s s s s s s s s

42 p. 42 Network Routing The optimal tableau: z f 1 f 2 f 3 c 1 c 2 s 1 s 2 s 3 s 4 s 5 s 6 s 7 s 8 RHS z s s s c c f f f Route 2 unit to path P 1 and route 1 unit to each of the paths P 2 and P 3 The total cost is 8 units

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

"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

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

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

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

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

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

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

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

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

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

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

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

Distributed Real-Time Control Systems. Lecture Distributed Control Linear Programming

Distributed Real-Time Control Systems. Lecture Distributed Control Linear Programming Distributed Real-Time Control Systems Lecture 13-14 Distributed Control Linear Programming 1 Linear Programs Optimize a linear function subject to a set of linear (affine) constraints. Many problems can

More information

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

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

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

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

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

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

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

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

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

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

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

More information

Linear Programming: Simplex

Linear Programming: Simplex Linear Programming: Simplex Stephen J. Wright 1 2 Computer Sciences Department, University of Wisconsin-Madison. IMA, August 2016 Stephen Wright (UW-Madison) Linear Programming: Simplex IMA, August 2016

More information

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

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

More information

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

MATH 373 Section A1. Final Exam. Dr. J. Bowman 17 December :00 17:00

MATH 373 Section A1. Final Exam. Dr. J. Bowman 17 December :00 17:00 MATH 373 Section A1 Final Exam Dr. J. Bowman 17 December 2018 14:00 17:00 Name (Last, First): Student ID: Email: @ualberta.ca Scrap paper is supplied. No notes or books are permitted. All electronic equipment,

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

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

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

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

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

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

Lecture 5 Simplex Method. September 2, 2009

Lecture 5 Simplex Method. September 2, 2009 Simplex Method September 2, 2009 Outline: Lecture 5 Re-cap blind search Simplex method in steps Simplex tableau Operations Research Methods 1 Determining an optimal solution by exhaustive search Lecture

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

9.5 THE SIMPLEX METHOD: MIXED CONSTRAINTS

9.5 THE SIMPLEX METHOD: MIXED CONSTRAINTS SECTION 9.5 THE SIMPLEX METHOD: MIXED CONSTRAINTS 557 9.5 THE SIMPLEX METHOD: MIXED CONSTRAINTS In Sections 9. and 9., you looked at linear programming problems that occurred in standard form. The constraints

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

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

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

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

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

CO 250 Final Exam Guide

CO 250 Final Exam Guide Spring 2017 CO 250 Final Exam Guide TABLE OF CONTENTS richardwu.ca CO 250 Final Exam Guide Introduction to Optimization Kanstantsin Pashkovich Spring 2017 University of Waterloo Last Revision: March 4,

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

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

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

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

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

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

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

MS-E2140. Lecture 1. (course book chapters )

MS-E2140. Lecture 1. (course book chapters ) Linear Programming MS-E2140 Motivations and background Lecture 1 (course book chapters 1.1-1.4) Linear programming problems and examples Problem manipulations and standard form problems Graphical representation

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

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

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

Relation of Pure Minimum Cost Flow Model to Linear Programming

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

More information

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

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

COT 6936: Topics in Algorithms! Giri Narasimhan. ECS 254A / EC 2443; Phone: x3748

COT 6936: Topics in Algorithms! Giri Narasimhan. ECS 254A / EC 2443; Phone: x3748 COT 6936: Topics in Algorithms! Giri Narasimhan ECS 254A / EC 2443; Phone: x3748 giri@cs.fiu.edu https://moodle.cis.fiu.edu/v2.1/course/view.php?id=612 Gaussian Elimination! Solving a system of simultaneous

More information

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

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

More information

DEPARTMENT OF STATISTICS AND OPERATIONS RESEARCH OPERATIONS RESEARCH DETERMINISTIC QUALIFYING EXAMINATION. Part I: Short Questions

DEPARTMENT OF STATISTICS AND OPERATIONS RESEARCH OPERATIONS RESEARCH DETERMINISTIC QUALIFYING EXAMINATION. Part I: Short Questions DEPARTMENT OF STATISTICS AND OPERATIONS RESEARCH OPERATIONS RESEARCH DETERMINISTIC QUALIFYING EXAMINATION Part I: Short Questions August 12, 2008 9:00 am - 12 pm General Instructions This examination is

More information

Lectures 6, 7 and part of 8

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

More information

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

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

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

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

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

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

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

CHAPTER 2. The Simplex Method

CHAPTER 2. The Simplex Method CHAPTER 2 The Simplex Method In this chapter we present the simplex method as it applies to linear programming problems in standard form. 1. An Example We first illustrate how the simplex method works

More information

Advanced Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras

Advanced Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras Advanced Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras Lecture - 3 Simplex Method for Bounded Variables We discuss the simplex algorithm

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

IP Cut Homework from J and B Chapter 9: 14, 15, 16, 23, 24, You wish to solve the IP below with a cutting plane technique.

IP Cut Homework from J and B Chapter 9: 14, 15, 16, 23, 24, You wish to solve the IP below with a cutting plane technique. IP Cut Homework from J and B Chapter 9: 14, 15, 16, 23, 24, 31 14. You wish to solve the IP below with a cutting plane technique. Maximize 4x 1 + 2x 2 + x 3 subject to 14x 1 + 10x 2 + 11x 3 32 10x 1 +

More information

Another max flow application: baseball

Another max flow application: baseball CS124 Lecture 16 Spring 2018 Another max flow application: baseball Suppose there are n baseball teams, and team 1 is our favorite. It is the middle of baseball season, and some games have been played

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

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

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

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

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

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

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

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

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

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

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

Advanced Linear Programming: The Exercises

Advanced Linear Programming: The Exercises Advanced Linear Programming: The Exercises The answers are sometimes not written out completely. 1.5 a) min c T x + d T y Ax + By b y = x (1) First reformulation, using z smallest number satisfying x z

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

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

CO350 Linear Programming Chapter 6: The Simplex Method

CO350 Linear Programming Chapter 6: The Simplex Method CO350 Linear Programming Chapter 6: The Simplex Method 8th June 2005 Chapter 6: The Simplex Method 1 Minimization Problem ( 6.5) We can solve minimization problems by transforming it into a maximization

More information

Section Notes 9. IP: Cutting Planes. Applied Math 121. Week of April 12, 2010

Section Notes 9. IP: Cutting Planes. Applied Math 121. Week of April 12, 2010 Section Notes 9 IP: Cutting Planes Applied Math 121 Week of April 12, 2010 Goals for the week understand what a strong formulations is. be familiar with the cutting planes algorithm and the types of cuts

More information

2.098/6.255/ Optimization Methods Practice True/False Questions

2.098/6.255/ Optimization Methods Practice True/False Questions 2.098/6.255/15.093 Optimization Methods Practice True/False Questions December 11, 2009 Part I For each one of the statements below, state whether it is true or false. Include a 1-3 line supporting sentence

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

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

TRANSPORTATION PROBLEMS

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

More information

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

min3x 1 + 4x 2 + 5x 3 2x 1 + 2x 2 + x 3 6 x 1 + 2x 2 + 3x 3 5 x 1, x 2, x 3 0.

min3x 1 + 4x 2 + 5x 3 2x 1 + 2x 2 + x 3 6 x 1 + 2x 2 + 3x 3 5 x 1, x 2, x 3 0. ex-.-. Foundations of Operations Research Prof. E. Amaldi. Dual simplex algorithm Given the linear program minx + x + x x + x + x 6 x + x + x x, x, x. solve it via the dual simplex algorithm. Describe

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

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