Linear & Integer programming
|
|
- Scarlett Sparks
- 5 years ago
- Views:
Transcription
1 ELL 894 Performance Evaluation on Communication Networks Standard form I Lecture 5 Linear & Integer programming subject to where b is a vector of length m c T A = b (decision variables) and c are vectors of length n A is an m n matri called the constraint matri (m < n) Any LP can be epressed as a standard form Jun B. Seo Standard form II subject to = , 4, free where free means a variable without specified lower or upper bounds For the third constraint, introducing ecess variable e 1, e 1 = 4 and e 1 Standard form III Treating the upperbound of 4 as a constraint,e subject to = e 1 = 4 4 1,, free, e 1 Introducing slack variable s 1, the second constraint becomes s 1 = 5 and s 1 The fourth constraint is also changed into 4 + s = 4 and s 5-5-4
2 Standard form IV Standard form V,s,e subject to = s 1 = e 1 = 4 + s = 4 1,, free, e 1, s 1, s Free variable is epressed as, The 1 is transformed into = 1 = 1 + 1,s,e subject to = s 1 = e 1 = 1 + s = 4 1,,,, e 1, s 1, s The constant term, 1 in the objective function can be ignored With four constraints, we have decision variables as = [ 1,,,, s 1, s, e 1 ] T Standard form VI 1,, subject to = 1,, are free Let 1 = + 1 1, + 1, 1 and 1 = Then, the above problem is cast into standard form as,y,z,s subject to s 1 = = + 1, 1, +,, +,, s 1 Fractional linear progamming c T + α d T + β subject to A b, Mostly, it holds that d T + β > for A b If we let y = t and t = 1 d T +β y,t c T y + tα subject to Ay tb d T y + βt = 1 y, t
3 Basic solution & Basic feasible solution I A point R n is called a basic solution if All equality constraints are active The columns of the constraint matri corresponding to the nonzero elements of are linearly independent For a full row rank matri A of m n, we can write ] A = [B N ] [ B N = B B + N N = b B : (nonzero) m basic variables whose constraint coefficients correspond to an invertible m m basis matri B of A m columns of B need to be linearly independent (for the inverse) If one or more elements of B are zero, LP is called degenerate Degeneracy arises when the LP has a redundant constraint Iterations of simple method can t improve the objective value 5-9 Basic solution & Basic feasible solution II N : n m nonbasic variables which are all zeros Choosing n m variables i to be zero is the same as choosing n m of the equality constraints to be active The set of basic variables is called the basis Consider an LP 1 subject to s 1 = s = 1 + s = 1,, s 1, s, s 5-1 Basic solution & Basic feasible solution III The constraint matri is 1 1 A = b = 1 1 If 1 and s are chosen as nonbasic variables (set to zero), we have the basic variables, s 1, and s as s 1 = B 1 b = 1 = 1 s 1 This is basic but not feasible since s 1 < 5- Basic solution & Basic feasible solution IV If 1 and are chosen as nonbasic variables (set to zero), we have the basic variables s 1, s 1, and s as 1 s 1 1 s = 1 = s 1 This is basic feasible solution since i and s i If we choose the basic variables 1,, and s 1 as = 1 1 = 6 s 1 1 This is also basic feasible solution since i and s i 5-1
4 Etreme point A vector P is an etreme point of P if there do not eist two vectors y, z P, both different from such that = λy + (1 λ)z for any λ (, 1) is an etreme point if = λy + (1 λ)z and λ [, 1], then either y / P or z / P, or = y, or = z Verte A vector P is a verte of P if there eists some c such that c T < c T y for all y satisfying y P and y The line at the bottom touches P at a single point and is a verte w is not an etreme point because it is a conve combination of v and u 5-1 w is not a verte because there is no hyperplane that meets P only at w 5-14 Verte etreme point Let be a verte of P. Then there eists a c such that c T < c T for all P and Then, for all y, z P and y and z, we also have c T < c T y and c T < c T z For λ [, 1], we can get c T < c T (λy + (1 λ)z) and λy + (1 λ)z: thus, is an etreme point Basic feasible solution etreme point I A point is an etreme point of the set { A = b} if and only if it is a basic feasible solution 1. Basic feasible solution Etreme point ] ] For basic feasible solution = not a etreme point. [ B N = [ B we assume that is Then, there eist two distint feasible points y and z such that for < α < 1 where y and z are epressed as ] y = = αy + (1 α)z [ yb y N and z = zb z N
5 Basic feasible solution etreme point II Note that for nonbasic variables we have y N = z N =, since N = = αy N + (1 α)z N for < α < 1 Because, y, and z are feasible, we must have B B = By B = Bz N = b Since B is invertible, we have B = y B = z B = B 1 b This implies that is an etreme point Basic feasible solution etreme point III. Not basic feasible solution not etreme point An etreme point must be feasible so that A = [B N ] = b and If the columns of B are linearly independent, then is a basic feasible solution etreme point If the columns of B are linearly dependent, is not a basic feasible solution Let B i be the i th column of B; if they are linearly dependent, then there eist real numbers d 1,..., d k, not all of which are zero, such that B 1 d 1 + B d + + B k d k = Basic feasible solution etreme point IV Define a vector d = [d 1, d,..., d k ] T. Then, B( B ± αd) = B B ± αbd = B B = b Since B >, for small positive ɛ, we will have B + ɛd > and B ɛd > Then, we can have two distinct points y and z, i.e., B + ɛd B ɛd y = and z = which are feasible and distinct Since = 1 y + 1 z, is not an etreme point. This completes the proof 5-19 Basic feasible solution verte Suppose that P is a basic feasible solution and that a T i = b i for i A and a T i < b i for i / A Define c = i A a i and take any P. For each i A a T i b i = a T i Summing these over i A, we have c T = a T i b i = a T i = c T i A i A i A with equality only if a T i = b i for i A. Since {a i i A} are linearly independent, that holds only when = Thus, c T < c T for all P,, so is a verte 5-
6 Unbounded directions P contains a half-line if there eists d for P such that + αd P for all α Equivalently, for P = { A b} we have A b and Ad Note that if P is unbounded, then P constains a half-line, or vice versa P contains a line if there eists d such that + αd P for all α Equivalently, for P = { A b} we have A b and Ad = Note that if P has no etreme points, then P constains a line, or vice versa 5-1 Consider the set Representation theorem S = { : A = b, } representing the feasible region for a LP in standard form Let V = {v 1, v,..., v k } be the set of etreme points of S If S is nonempty, then V is nonempty and every feasible point S can be epressed as k = d + α i v i where a direction of unboundedness d of S satisfies Ad =, d and k α i = 1 and α i, i = 1..., k i=1 i=1 5- Eistence of optimal points I Theorem If LP in standard form has a finite optimal solution, then it has an optimal basic feasible solution Proof Based on the representation theorem, at the optimal, the objective function has the value k f = c T = c T d + α i c T v i For LP to have a finite optimal solution, we must have c T d = If c T d <, then f is unbounded below: To see this, consider a feasible point γ for any γ > i=1 k γ = γd + α i v i i=1 Due to c T d <, c T γ will be unbounded below as γ increases 5- Proof continued Eistence of optimal points II If c T d >, then for y = k i=1 α i v i we have c T > c T y which implies that is not the optimal point. Thus, we must have c T d = such that c T = c T y Now pick up an inde j for which c T v j = min i {c T v i }. Then, for any conve combination of the v i s, we have k k c T y = α i c T v i α i c T v j i=1 i=1 k = c T v j α i = c T v j i=1 For y to be optimal, we must have c T y = c T v j, showing that there is an optimal etreme point v j (basic feasible) 5-4
7 Simple method I Simple method II Assumptions: c T subject to A = b, A has full row rank (no redundant rows), and LP is feasible All basic feasible solution (etreme points) are nondegenerate Feasible directions P and A = b and, it must be satisfied that A( + αd) = A + αad = b + αad where the feasible direction must satisfy Ad = for all α For basic feasible solution, we have ] = Ad = [B N ] [ db d N = Bd B + N d N d B = B 1 N d N Let d N = e k for k / A and e k has all zeros ecept the k th position. Then, d B is epressed as d B = B 1 a k where a k is the column of N and k / A This constructs a search direction by moving a single nonbasic variable k / A Simple method III Suppose that B = [ 4 5 ] T and N = [ 1 ] T, and 1 1 A = 1 1 and b = so that we have B = 1, B 1 = 1, N = Thus, B is 1 B = B 1 b = 1 7 = 1 Simple method IV If we let d N = [ 1 ] T, then d B is 1 1 d B = B 1 N d N = If 1 and {, 1}, the possible B is 1 B = B 1 b + αd B = α where α is a step size If either 1 or takes 1, it becomes a basic variable If an element of B is set to, it becomes nonbasic variable
8 Simple method V Which basic variable should be set to? For a basic feasible solution and f = c T, we can see that if we move along d, the objective function changes as f = c T ( + αd) = c T + αc T d = f + α c T B c T d B N = f + α(c T B d B + c T N d N ) d N = f + α(c T N c T B B 1 N )d N }{{} reduced costs,z = f + α(c T N y T N )d N where d N = e k and only the k th nonbasic variable moves y = (c T B B 1 ) T = B T c B : simple multiplier 5-9 Simple method VI Change in objective value by moving the k th nonbasic variable If c = [ 1 ] T, then f = f + αz k c c1 1 c B = c 4 = and c N = = c c 5 The reduced cost z is z = (c T N c T B B 1 N ) = [ 5 ] If d N = [1 ] T ( 1 becomes basic variable), then the objective value is reduced 5- Simple method VII For z k < we choose α > as large as possible α = ma{α + αd } Case 1: if d, then it is unbounded feasible descent direction: + αd for all α Case : if d j < for some j, then + αd only if α j /d j for every d j < Thus, choose α using ratio test: Simple method VIII c T subject to A = b, B 1 b Suppose that we have a basic feasible solution whose objective value z is B 1 b B 1 b z = c = [c B, c N ] = c B B 1 b Since A = B B + N N = b, we have B = B 1 b B 1 N N α = min j {j B d j <} d j = B 1 b j N B 1 a j j where B is the inde set of basic variables 5-1 = b j N y j j 5-
9 Simple method IX The objective function is epressed as z = c = c B B + c N N = c B B 1 b B 1 a j j + c j j j N j N = z j N(z j c j ) j where z j = c B B 1 a j for each nonbasic variable. Then, we can get z j N(z j c j ) j subject to B + j N y j j = b, Consider c = [ 1 ] T, Numerical eample I 1 1 A = 1 1 and b = iteration : B = {, 4, 5} (inde set of basic variables) N = {1, } (inde set of nonbasic variables) Note that we want Only the nonbasic variables to appear in the objective The coefficient matri for the basic variables in the equality constraints to be the identity matri Numerical eample II Numerical eample III iteration 1: B = I = B 1 B B = b B = [ 7 ] T simple multiplier y = B T c B = [ ] T reduced cost z = c T N yt N = [ 1 ] Decide which nonbasic variable becomes basic: enters basis (entering variable) due to Decide which basic variable becomes nonbasic: Find the search direction: Bd B = N d N = a d B = [ 1 ] T ratio test: arg min j B:dj < j /d j leaves basis 1 1 B = 1 and B 1 = iteration : B = {, 4, 5}, N = {1, } B B = b B = [ ] T simple multiplier y = B T c B = [ ] T reduced cost z = c T N yt N = [ 5 ] 1 enters basis (entering variable) search direction: Bd B = a 1 d B = [ 1] T ratio test: arg min j B:dj < j /d j 4 leaves basis
10 Numerical eample IV Numerical eample V 1 B = 1 and B 1 = iteration : B = {1,, 5}, N = {, 4} B B = b B = [1 4 ] T simple multiplier y = B T c B = [5/ 4/ ] T reduced cost z = c T N yt N = [ 5/ 4/] enters basis (entering variable) search direction: Bd B = a d B = [ 1 5 leaves basis ]T B = 1 and B = iteration 4: B = {1,, }, N = {4, 5} B B = b B = [ 5 ] T simple multiplier y = B T c B = [ 1 ] T reduced cost z = c T N yt N = [1 ] z : basis is optimal Using Tableau I z = 1 subject to = Construct the following initial tableau: = = 1,,, 4, 5 basic rhs z is the entering variable and is the leaving variable 5-9 Using Tableau II basic rhs z The above tableau is interpreted as basic rhs z 5 c T B B 1 b B = B 1 b Reduced cost, z = c T N ct B B 1 N = [ 5 ] T New basic variables B = B 1 b B 1 N N 5-4
11 Using Tableau III basic rhs z is the leaving variable and 5 is the entering variable basic rhs z The solution is 1 =, = 5, =, and the optimal value z = Using Tableau: Two-phase method I How can we choose an initial basis to get an initial basic feasible solution? z = 1 + subject to 1 + = Using slack and ecess variables, we have 1, z = 1 + subject to 1 + = = =19 1,,, Using Tableau: Two-phase method II By introducing artificial variables into the constraints not having a slack variable, we can have an identity matri as an initial basis z = a 1 + a subject to a 1 = a = = 19 1,,, 4, a 1, a Phase I: The objective value must be zero if the LP is feasible basic 1 4 a 1 a rhs z 1 1 a a Using Tableau: Two-phase method III Setting coefficient of a 1 and a to zero in the first row: basic 1 4 a 1 a rhs z a a Let artificial variables a 1 and a leave one by one: basic 1 4 a 1 a rhs z 8 5 a
12 Using Tableau: Two-phase method IV Deleting a completely when it becomes the leaving variable After pivoting: basic 1 4 a 1 rhs z 8 a basic 1 4 a 1 rhs z a End of phase I: Using Tableau: Two-phase method V basic 1 4 a 1 rhs z Phase II with the objective function: basic 1 4 rhs z Using Tableau: Two-phase method VI Write LP in terms of the current basis: After pivoting: basic 1 4 rhs z basic 1 4 rhs z Using Tableau: Big-M method I z = 1 + subject to 1 + = , Introducing a cost M (large positive number) z = Ma 1 +Ma subject to a 1 = a = = 19 1,,, 4, a 1, a 5-47 Make a 1 and a leave at some basic feasible solution 5-48
13 Using Tableau: Big-M method II Relation between two-phase method and Big-M method: z = c T + M i When dividing M and let M : c T ẑ = lim M M + a i = a i i i The tableaus for the phase-i problem will only differ from the big-m method tableaus in the top row basic 1 4 a 1 a rhs z M M a a a i Using Tableau: Big-M method III basic 1 4 a 1 a rhs z 5M + M + M 16M a a After pivoting and deleting a, we have basic 1 4 a 1 rhs z 8M + 7 M + 1 M a Using Tableau: Big-M method IV basic 1 4 a 1 rhs z M+6 8M 7 M+17 a is the entering variable and a 1 is the leaving variable basic 1 4 rhs z Dual simple method I Using the tableau of the primal simple method, we want to solve dual problem z = 1 + subject to , maimize The tableau of the primal simple method is w = 4y 1 + y subject to y 1 + y y 1 + y y 1, y basic 1 4 rhs z where and 4 are ecess variables, and A T = 5-5
14 Dual simple method II The objective value z of the basic feasible solution = [ B N ] corresponding to B is equal to the objective value of the (possibly infeasible) dual solution: Using y T = c T B B 1, we can see that b T y = b T B T c B = (B 1 b) T c B = T B c B + T N c N = z The simple multiplier y = B T c B is indeed the dual solution corresponding to the basis matri B We can rearrange the first row of the tableau as z T }{{} basic variables c T N c T B B 1 N }{{} non-basic variables c T B B 1 b Dual simple method III Rewrite the basic- and nonbasic variables of the first row as [ }{{} T c T N c T B B 1 ] N }{{} basic var. non-basic var. = [ c T B c T B B 1 Bc T N c T N c T B B 1 N ] = [ c T B c T N ] c T B B 1[ B N ] = [ c T T ] c T B B 1[ A I ] = [ c T T ] y T [ A I ] where in the third equality, T appears due to slack variables. Note that subject to c T A b maimize subject to b T y A T y c Dual simple method IV Multiplying 1, we can see primal infeasiblity and B = I basic 1 4 rhs z Note that we should have, 4. Make primal feasible Referring to the dual problem, maimize w = 4y 1 + y subject to y 1 + y y 1 + y y 1, y The ratio test is eamined with respect to the columns 5-55 Dual simple method V Suppose that a varaible ( B ) s is infeasible so that its right-hand side entry ˆb s < In terms of the current basis, the s th constraint is ( B ) s + â s,j j = ˆb s < j N where â s,j are the entries in row s of B 1 A If some entry â s,j < and nonbasic variable j were to replace ( B ) s in the basis, the new value of j would be ˆb s â s,j > j is the entering variable, the new reduced cost will be c l = ĉ l ĉ j â s,l â s,j For c l to be nonnegative, the ratio ĉ j /â s,j for â s,j < should be selected 5-56
15 Dual simple method VI basic 1 4 rhs 1 z Dual feasible solution is y 1 =, and y = basic 1 4 rhs 1 1 z Since all primal variables are feasible, dual optimal solution is y 1 = 1 8, and y = Dual simple method VII Step 1: construct the basis matri B and N Step : Feasibility test and choosing the leaving variable If the rightmost vector B 1 b is elementwise positive, then stop Otherwise, select the most negative entry, say j Step : Dual ratio-test and choosing an entering variable For the row selected, choose the inde i based on { c T i = arg min N c T } B B 1 N (B 1 (B 1 N ) j < N ) j Step 4: Replace j with i and go to step Dual simple method VIII A baker makes and sells two types of cakes: one simple and one elaborate The price of each type of cakes is 4 and 14 (dollars), resp. Let 1 and be the number of batches of the elaborate and simple cakes produced per day To make each cake, we need basic, fancier ingradients with labour maimize subject to z = (daily limit of basic ingradient in kg) 4y (daily limit of fancier ingradient in kg) (daily limit of labour in hours) 1, e.g., it takes two hours to produce 1 while kg of basic and 4 kg of fancier ingradients are consumed; z = 888, 1 = 16 and = Dual problem of Baker s LP is Dual simple method IX w = 1y 1 + 1y + 7y subject to y 1 + 4y + y 4 y 1 + y + y 14 y 1, y How much should the baker pay for each indgradient, if he is willing to buy some etra? y 1 = 6.4 (basic), y = 1. (fancier) and y = If some other company wants to take over the baker s shop, how much should he pay? 5-6
16 Integer programming Branch and Bound I Mied integer linear programming is in general epressed as maimize subject to c T c T A A b 1 A 1 is an (m 1, n 1 ) and A is an (m, n ) 1 R n 1 and R n, and integer Consider an integer programming: M 1 : maimize subject to ,, and integer The solution of relaed LP: ( 1, ) = (.5, 5.5) Objective value z: 95 One of the non-integer valued variables is chosen to branch on: e.g., 5 or M : maimize Branch and Bound II subject to ( 1, ) = (.75, 5) and z = 95 M : maimize , subject to , Infeasible 5-6 Branch on 1 : M 4 : maimize Branch and Bound III subject to ( 1, ) = (, 5) and z = 85 M 5 : maimize 51 1, 5, 1, subject to ( 1, ) = (1, 4.5) and z = , 5, 1, 5-64
17 Branch and Bound IV Relaed LP infeasible infeasible Branch and Bound V Maimization problem of integer programming N : the set of nodes that have not been selected z L : the current lower bound on the optimal solution of the original model F R : the feasible region of the relaed LP of the original model f : the objective function Step : Initialization. Define F = F R, N = {}, and z L = Step 1: If N, go to Step Else, the current best solution is optimal. Stop * If there is no current best solution, i.e., z L =, then the original model has no optimal solution Step : Node selection phase. Branch and Bound VI Select a node k N and N := N \{k} Step : Bounding phase. Let z U be the optimal objective value of the above node k (if k =, z U = ) If z U z L, then the model corresponding to node k cannot lead to a solution that is better than the current best solution; go to Step 1 If z U > z L, then let ma{f () F k } with F k F R be the submodel M k ; go to Step 4 Branch and Bound VII Step 4: Solution phase. Determine an optimal solution (z k, k ) of M k. Take Step 5 If M k has no optimal solution z k z L (z k is not better than the current best solution). Submodel M k can be ecluded from further consideration, because branching may only lead to nonoptimal solutions or alternative optimal z k > z L and k F (z k is better than the current best solution). Step 5: Branching phase. Partition F k into two or more new subsets, say F k1, F k,... Set N := N {k 1, k, } Backtracking or LIFO: Branch on the most recently created unselected node FIFO: Branch on the unselected node that was created earliest
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 informationECE 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 informationAM 121: Intro to Optimization Models and Methods Fall 2018
AM 121: Intro to Optimization Models and Methods Fall 2018 Lecture 5: The Simplex Method Yiling Chen Harvard SEAS Lesson Plan This lecture: Moving towards an algorithm for solving LPs Tableau. Adjacent
More information21. 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 informationSummary 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 informationExample. 1 Rows 1,..., m of the simplex tableau remain lexicographically positive
3.4 Anticycling Lexicographic order In this section we discuss two pivoting rules that are guaranteed to avoid cycling. These are the lexicographic rule and Bland s rule. Definition A vector u R n is lexicographically
More informationLecture 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 informationIE 400 Principles of Engineering Management. The Simplex Algorithm-I: Set 3
IE 4 Principles of Engineering Management The Simple Algorithm-I: Set 3 So far, we have studied how to solve two-variable LP problems graphically. However, most real life problems have more than two variables!
More informationDr. 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 informationChapter 4 The Simplex Algorithm Part II
Chapter 4 The Simple Algorithm Part II Based on Introduction to Mathematical Programming: Operations Research, Volume 4th edition, by Wayne L Winston and Munirpallam Venkataramanan Lewis Ntaimo L Ntaimo
More informationSpecial 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 informationGauss-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 information1 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 informationSimplex 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 informationPart 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 informationAM 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 informationTIM 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 informationCPS 616 ITERATIVE IMPROVEMENTS 10-1
CPS 66 ITERATIVE IMPROVEMENTS 0 - APPROACH Algorithm design technique for solving optimization problems Start with a feasible solution Repeat the following step until no improvement can be found: change
More informationThe 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 informationF 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 informationSensitivity 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 informationMATH 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 informationSlack 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 informationLinear Programming. Murti V. Salapaka Electrical Engineering Department University Of Minnesota, Twin Cities
Linear Programming Murti V Salapaka Electrical Engineering Department University Of Minnesota, Twin Cities murtis@umnedu September 4, 2012 Linear Programming 1 The standard Linear Programming (SLP) problem:
More informationSummary 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 informationIE 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 information56: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 informationCO350 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 informationLinear programs Optimization Geoff Gordon Ryan Tibshirani
Linear programs 10-725 Optimization Geoff Gordon Ryan Tibshirani Review: LPs LPs: m constraints, n vars A: R m n b: R m c: R n x: R n ineq form [min or max] c T x s.t. Ax b m n std form [min or max] c
More informationYinyu 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 information9.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Ω 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 informationSimplex method(s) for solving LPs in standard form
Simplex method: outline I The Simplex Method is a family of algorithms for solving LPs in standard form (and their duals) I Goal: identify an optimal basis, as in Definition 3.3 I Versions we will consider:
More informationOptimisation and Operations Research
Optimisation and Operations Research Lecture 9: Duality and Complementary Slackness Matthew Roughan http://www.maths.adelaide.edu.au/matthew.roughan/ Lecture_notes/OORII/
More informationMATH 4211/6211 Optimization Linear Programming
MATH 4211/6211 Optimization Linear Programming Xiaojing Ye Department of Mathematics & Statistics Georgia State University Xiaojing Ye, Math & Stat, Georgia State University 0 The standard form of a Linear
More informationLesson 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 informationIE 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 informationA = Chapter 6. Linear Programming: The Simplex Method. + 21x 3 x x 2. C = 16x 1. + x x x 1. + x 3. 16,x 2.
Chapter 6 Linear rogramming: The Simple Method Section The Dual roblem: Minimization with roblem Constraints of the Form Learning Objectives for Section 6. Dual roblem: Minimization with roblem Constraints
More informationReview 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 informationOperations Research Lecture 2: Linear Programming Simplex Method
Operations Research Lecture 2: Linear Programming Simplex Method Notes taken by Kaiquan Xu@Business School, Nanjing University Mar 10th 2016 1 Geometry of LP 1.1 Graphical Representation and Solution Example
More informationPart 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 information1. 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 informationDr. 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 informationChap6 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 informationCO 602/CM 740: Fundamentals of Optimization Problem Set 4
CO 602/CM 740: Fundamentals of Optimization Problem Set 4 H. Wolkowicz Fall 2014. Handed out: Wednesday 2014-Oct-15. Due: Wednesday 2014-Oct-22 in class before lecture starts. Contents 1 Unique Optimum
More informationOPERATIONS 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 informationSimplex 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 informationmin 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 informationORF 307: Lecture 2. Linear Programming: Chapter 2 Simplex Methods
ORF 307: Lecture 2 Linear Programming: Chapter 2 Simplex Methods Robert Vanderbei February 8, 2018 Slides last edited on February 8, 2018 http://www.princeton.edu/ rvdb Simplex Method for LP An Example.
More informationSystems 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 informationLinear 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 informationLinear 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 informationLinear programming. Starch Proteins Vitamins Cost ($/kg) G G Nutrient content and cost per kg of food.
18.310 lecture notes September 2, 2013 Linear programming Lecturer: Michel Goemans 1 Basics Linear Programming deals with the problem of optimizing a linear objective function subject to linear equality
More informationLecture 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 informationMath 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 informationLinear Programming for Planning Applications
Communication Network Planning and Performance Learning Resource Linear Programming for Planning Applications Professor Richard Harris School of Electrical and Computer Systems Engineering, RMIT Linear
More informationMAT016: 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 informationDuality 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 informationSystem Planning Lecture 7, F7: Optimization
System Planning 04 Lecture 7, F7: Optimization System Planning 04 Lecture 7, F7: Optimization Course goals Appendi A Content: Generally about optimization Formulate optimization problems Linear Programming
More informationChapter 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 informationMath 273a: Optimization The Simplex method
Math 273a: Optimization The Simplex method Instructor: Wotao Yin Department of Mathematics, UCLA Fall 2015 material taken from the textbook Chong-Zak, 4th Ed. Overview: idea and approach If a standard-form
More informationDual 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 informationOPERATIONS RESEARCH. Linear Programming Problem
OPERATIONS RESEARCH Chapter 1 Linear Programming Problem Prof. Bibhas C. Giri Department of Mathematics Jadavpur University Kolkata, India Email: bcgiri.jumath@gmail.com MODULE - 2: Simplex Method for
More informationLecture 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(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 information4.6 Linear Programming duality
4.6 Linear Programming duality To any minimization (maximization) LP we can associate a closely related maximization (minimization) LP Different spaces and objective functions but in general same optimal
More informationLinear Programming and the Simplex method
Linear Programming and the Simplex method Harald Enzinger, Michael Rath Signal Processing and Speech Communication Laboratory Jan 9, 2012 Harald Enzinger, Michael Rath Jan 9, 2012 page 1/37 Outline Introduction
More informationNote 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 informationThe 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 informationContents. 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 informationChapter 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 informationUNIT-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 informationA 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 information4. 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 informationThe 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 informationOPTIMISATION 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 informationUNIVERSITY of LIMERICK
UNIVERSITY of LIMERICK OLLSCOIL LUIMNIGH Department of Mathematics & Statistics Faculty of Science and Engineering END OF SEMESTER ASSESSMENT PAPER MODULE CODE: MS4303 SEMESTER: Spring 2018 MODULE TITLE:
More informationLecture 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 informationMATH2070 Optimisation
MATH2070 Optimisation Linear Programming Semester 2, 2012 Lecturer: I.W. Guo Lecture slides courtesy of J.R. Wishart Review The standard Linear Programming (LP) Problem Graphical method of solving LP problem
More information4. 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 informationFarkas 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(includes both Phases I & II)
(includes both Phases I & II) Dennis ricker Dept of Mechanical & Industrial Engineering The University of Iowa Revised Simplex Method 09/23/04 page 1 of 22 Minimize z=3x + 5x + 4x + 7x + 5x + 4x subject
More informationMATH 445/545 Test 1 Spring 2016
MATH 445/545 Test Spring 06 Note the problems are separated into two sections a set for all students and an additional set for those taking the course at the 545 level. Please read and follow all of these
More information4. The Dual Simplex Method
4. The Dual Simplex Method Javier Larrosa Albert Oliveras Enric Rodríguez-Carbonell Problem Solving and Constraint Programming (RPAR) Session 4 p.1/34 Basic Idea (1) Algorithm as explained so far known
More informationCSCI5654 (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 informationLP Duality: outline. Duality theory for Linear Programming. alternatives. optimization I Idea: polyhedra
LP Duality: outline I Motivation and definition of a dual LP I Weak duality I Separating hyperplane theorem and theorems of the alternatives I Strong duality and complementary slackness I Using duality
More informationCSCI 1951-G Optimization Methods in Finance Part 01: Linear Programming
CSCI 1951-G Optimization Methods in Finance Part 01: Linear Programming January 26, 2018 1 / 38 Liability/asset cash-flow matching problem Recall the formulation of the problem: max w c 1 + p 1 e 1 = 150
More informationAM 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 informationNetwork Flow Problems Luis Goddyn, Math 408
Network Flow Problems Luis Goddyn, Math 48 Let D = (V, A) be a directed graph, and let s, t V (D). For S V we write δ + (S) = {u A : u S, S} and δ (S) = {u A : u S, S} for the in-arcs and out-arcs of S
More informationOPRE 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 informationmin3x 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 informationMVE165/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 informationIntroduction 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 informationTHE 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 informationIP 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 informationAM 121: Intro to Optimization Models and Methods
AM 121: Intro to Optimization Models and Methods Fall 2017 Lecture 2: Intro to LP, Linear algebra review. Yiling Chen SEAS Lecture 2: Lesson Plan What is an LP? Graphical and algebraic correspondence Problems
More informationThe 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 informationLecture: Algorithms for LP, SOCP and SDP
1/53 Lecture: Algorithms for LP, SOCP and SDP Zaiwen Wen Beijing International Center For Mathematical Research Peking University http://bicmr.pku.edu.cn/~wenzw/bigdata2018.html wenzw@pku.edu.cn Acknowledgement:
More informationMetode Kuantitatif Bisnis. Week 4 Linear Programming Simplex Method - Minimize
Metode Kuantitatif Bisnis Week 4 Linear Programming Simplex Method - Minimize Outlines Solve Linear Programming Model Using Graphic Solution Solve Linear Programming Model Using Simplex Method (Maximize)
More informationAnswer 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