Math 5593 Linear Programming Problem Set 4
|
|
- Rodger Cain
- 6 years ago
- Views:
Transcription
1 Math 93 Linear Programming Problem Set 4 University of Colorado Denver, Fall 20 Solutions (October 28, 20) Solution 4. (Multiperiod Production Model) [steelt.mod] set PROD; param T > 0; # products # number of weeks param rate {PROD} > 0; param inv0 {PROD} >= 0; param avail {..T} >= 0; param market {PROD,..T} >= 0; # tons per hour produced # initial inventory # hours available in week # limit on tons sold in week param prodcost {PROD} >= 0; # cost per ton produced param invcost {PROD} >= 0; # carrying cost/ton of inventory param revenue {PROD,..T} >= 0; # revenue per ton sold var Make {PROD,..T} >= 0; # tons produced var Inv {PROD,0..T} >= 0; # tons inventoried var Sell {p in PROD, t in..t} >= 0, <= market[p,t]; # tons sold maximize Total_Profit: sum {p in PROD, t in..t} (revenue[p,t]*sell[p,t] - prodcost[p]*make[p,t] - invcost[p]*inv[p,t]); # Total revenue less costs in all weeks subject to Time {t in..t}: sum {p in PROD} (/rate[p]) * Make[p,t] <= avail[t]; # Total of hours used by all products # may not exceed hours available, in each week subject to Init_Inv {p in PROD}: Inv[p,0] = inv0[p]; # Initial inventory must equal given value subject to Balance {p in PROD, t in..t}: Make[p,t] + Inv[p,t-] = Sell[p,t] + Inv[p,t]; # Tons produced and taken from inventory # must equal tons sold and put into inventory Data (Multiperiod Production Model) [steelt.dat] data; param T := 4; set PROD := bands coils;
2 Math 93 Linear Programming Problem Set 4 (Solutions), UC Denver, Fall 20 2 param avail := ; param rate := bands 200 coils 40 ; param inv0 := bands 0 coils 0 ; param prodcost := bands 0 coils ; param invcost := bands 2. coils 3 ; param revenue: := bands coils ; param market: := bands coils ; AMPL Output [model steelt.mod; data steelt.dat; solve; display Make, Inv, Sell;] Presolve eliminates 2 constraints and 2 variables. Adjusted problem: 24 variables, all linear 2 constraints, all linear; 38 nonzeros linear objective; 24 nonzeros. iterations, objective 033 display Make, Inv, Sell; : Make Inv Sell := bands bands bands bands bands coils coils coils coils coils ; Solution 4.2 (Sensitivity and Shadow Prices in AMPL) (a) In AMPL, type model steel3.mod; data steel3.dat; solve; display Time, Make.rc; 2 iterations, objective Time = 4640 Make.rc [*] := bands.8 coils plate 0 ;
3 Math 93 Linear Programming Problem Set 4 (Solutions), UC Denver, Fall 20 3 As discussed in Section.6, AMPL interprets a constraint s name by itself as reference to the associated dual values or shadow prices, that indicate by how much the optimal objective value would improve (or worsen) if the constraint were relaxed (or tightened) by a small amount. Similarly, a variable s name appended by.lb,.ub, or.rc corresponds to the dual values or shadow prices of the constraint associated with that variable s lower bound (e.g., 0 for nonnegative variables, for free variables), its upper bound (e.g., 0 for nonpositive variables, for free variables), or its reduced cost (the objective coefficient in the optimal dictionary or tableau), respectively. Hence, the above display tells us that up to some (unknown) point, additional rolling time would produce another $4640 of extra profit per hour, higher market demand in bands would yield another $.8 per ton, lower (!) commitment of coils would yield an extra $ per ton (note that the shadow price is negative!), and (small) changes to either demand or commitment of coils would not affect the current profit; changes in the opposite directions would decrease the profit correspondingly. (b) Computing the profit rates (in dollars per hour) for both the reheat and rolling stage, we get profit rate ($/hour) bands coils plate reheat roll These rates indicate that while bands remain the most resource-efficient product to roll, coils and plates are more resource-efficient to reheat. In particular, the efficiency gains of coils and plates over bands for reheating clearly exceed their efficiency losses during rolling, which results in a higher production of plates that is compensated by a lower production of bands. (c) ampl: let avail["reheat"] := 36; solve; let avail["reheat"] := 37; solve; let avail["reheat"] := 38; solve; let avail["reheat"] := 38.; solve; 0 iterations, objective # $800 more than the initial profit iterations, objective # another additional $800 in profit iterations, objective # only $7.428 increase in profit 0 iterations, objective # no additional increase in profit (d) Also shown in the above plots, the following table lists the shadow prices of Time["reheat"] and the total profit for different integer values of avail["reheat"] (the exact break points of the piecewise linear shadow-price and total-profit curves can be computed using ranging).
4 Math 93 Linear Programming Problem Set 4 (Solutions), UC Denver, Fall 20 4 avail["reheat"] Time["reheat"] Total Profit When the available reheat time drops to (or below) hours, we receive the AMPL output let avail["reheat"] := ; solve; presolve: constraint Time[ reheat ] cannot hold: body <= cannot be >=.2; difference = -0.2 This tells us that our problem has become infeasible and even hints at the reason: production of our committed minimum quantities (000 tons bands, 00 tons coils, 70 tones plates) with reheat rates of 200 tons/hour each already require 220/200 =.2 hours of reheat time. Solution 4.3 (The Parametric Self-Dual Simplex Method): We begin to introduce two slack variables x 4 and x for the two inequality constraints and thus define the problem data as 0 2 A =, b =, c = [ ] T. 2 0 Next, we choose an initial decomposition of the columns of A into B = {4, } and N = {, 2, 3}, so B = B = 0, N = 0, c 2 B = [ 0 0 ] T, and cn = [ ] T. Then setting x = x 2 = x 3 = z 4 = z = 0, we compute the current basic primal and dual variables x x4 B = = B 2 b = and zn = T z z 2 z 3 = (B N) T c B c N = [ ] T x which are infeasible in x 4 and z. Hence, we let x B = ρ (, 0) T and z N = ρ 2 (, 0, 0) T and consider x 2 + ρ µ B + µ x B = and zn + µ z N = [ 2 + ρ 2 µ 6 0 ] T. Here ρ > 0 and ρ 2 > 0 are any two positive numbers that can be chosen (i) at random so to avoid cycling in the case of degeneracy, and (ii) to satisfy ρ < ρ 2 to force an initial dual pivot on x 4 : µ = min{µ : 2 + ρ µ 0, 2 + ρ 2 µ 0} = max{2/ρ, 2/ρ 2 } = 2/ρ if ρ 2 > ρ > 0. Randomly setting (ρ, ρ 2 ) = (0.2, 0.6) (but essentially any other choice will do as well), it follows that the above solution is primal-dual feasible and thus optimal for all µ µ = 2/ρ = 2/0.2 = 0. Since further decrease of µ is prevented by x 4, we then compute its corresponding dual pivot as z N = [ z z 2 z 3 ] T = (B N) T e 4 = { z j + z j µ } k = arg min : z j > 0 = arg min j N z j [ x4 x B = = B Ne x 3 = 2 T 2 0 j {,2,3} {4, 6, 0} = 3 ] [0 0 ] T = [ = [ ] T ].
5 Math 93 Linear Programming Problem Set 4 (Solutions), UC Denver, Fall 20 It follows that x 4 leaves and x 3 enters the basis, and we can update the primal and dual variables: x 3 t = x 4 x 4 = 2 = 2 x 3 t = x 4 x 4 = 0.2 = 0.2 z 4 s = z 3 z 3 = 0 = 0 z 4 s = z 3 z 3 = 0 = 0 x x B = 4 x x 2 0 B t x B = 2 = ] [ x x B = x x B t x B = ( 0.2) = zn = [ z z2 z3 ] T z N s z N = [ ] T z N = [ z z 2 z 3 ] T zn s z N = [ ] T. Hence, the new basic primal variables are (x 3, x ) = (2, ), the new dual variables are (z, z 2, z 4 ) = ( 2, 6, 0), and for the next iteration we let B = {3, } and N = {, 2, 4}. We continue as before: B = B 0 =, N =, c 2 0 B = [ 0 0 ] T, cn = [ ] T, x x3 B = = B 2 b =, and zn = T z z 2 z 4 = (B N) T c B c N = [ ] T x which is infeasible in x and z. Using x B = ( x 3, x ) = ( 0.2, 0.2) and z N = ( z, z 2, z 4 ) = (0.6, 0, 0), x 2 0.2µ B + µ x B = and zn + µ z + 0.2µ N = [ µ 6 0 ] T is optimal for 0 µ µ = max{/0.2, 2/0.6} =. Computing the dual pivot on x with µ = z N = [ ] T T z z 2 z 4 = (B N) T 0 e = = [ 2 ] T 2 { z j + µ z } { } j 6 k = arg min : z j > 0 = arg min = 2 j N z j j {2} 2 x3 x B = = B [0 ] T Ne x 2 = 0 = 2 2 we see that x leaves and x 2 enters the basis yielding the following new primal and dual variables: x 2 t = x x = 2 = 0. x 2 t = x x = = 0. z s = z 2 z 2 = 6 2 = 3 z s = z 2 z 2 = 0 2 = 0 x x B = 3 x x 2. B t x B = 0. = 2 0 ] x x B = 3 [ x x x B t x B = ( 0.) = x zn = [ z z2 z4 ] z N s z N = [ ] T T T 3 2 = 0 3 z N = [ z z 2 z 4 ] zn s z N = [ ] T. Since all primal and dual variables are now nonnegative, the current solution (x, x 2, x 3, x 4, x ) = (0, 0.,., 0, 0) and (z, z 2, z 3, z 4, z ) = (, 0, 0, 3, 3) is optimal with B = {3, } and N = {, 2, 4}.
6 Math 93 Linear Programming Problem Set 4 (Solutions), UC Denver, Fall 20 6 Solution 4.4 (The Simplex Method with Ranges): After solving for x and x 4 by hand (using substitution) or overkill (computers), the initial dictionary with basic variables x and x 4 is u ζ = 6 + 4x 2 2x 3 + 4x 2x 7 + 3x 8 = x = 4 x 2 x 3 + x + x 6 x 7 + x 8 = 4 0 x 4 = 3 + x 2 3x 3 + 4x + x 6 2x 7 + x 8 = 3 Adopting the largest-coefficient rule to find a first primal pivot, we find a tie between x 2 and x but may observe that x can be increased to its upper bound 2 without changing the current basis u ζ = 6 + 4x 2 2x 3 + 4x 2x 7 + 3x 8 = x = 4 x 2 x 3 + x + x 6 x 7 + x 8 = 6 0 x 4 = 3 + x 2 3x 3 + 4x + x 6 2x 7 + x 8 = Then choosing x 2 as next pivot, which is currently at its lower bound, we can increase its value to { } { x x 2 u 2 min i l i ui x } { } i 6 0 : ā i2 < 0 min : ā i2 > 0 = min 6,, = 4 ā i2 ā i2 ( ) in which case x 4 attains its upper bound and therefore leaves the basis in the updated dictionary u ζ = 8 + 0x 3 + 4x 4 2x 4x 6 + 6x 7 7x 8 = x = 7 4x 3 x 4 + x + 2x 6 3x 7 + 6x 8 = x 2 = 3 + 3x 3 + x 4 4x x 6 + 2x 7 x 8 = 4 Again using the largest-coefficient rule, we repeat the above computation for a primal pivot on x 3 { } { x x 3 u 3 min i l i ui x } { i 2 0 : ā i3 < 0 min : ā i3 > 0 = min 0, ā i3 ā i3 ( 4), 6 4 } = 0. 3 in which case x is reduced to zero and therefore replaced by x 3 in both basis and the new dictionary u ζ = 0. 2.x +.x x + x 6.x 7 2x 8 = x 2 = x + 0.2x 4 0.2x + 0.x 6 0.2x 7 0.x 8 =. 0 0 x 3 =.7 0.2x 0.2x 4 +.2x + 0.x 6 0.7x 7 +.x 8 = 0. The only remaining pivot candidate is now x 6 because x 4 and x are already at their upper bounds while all other variables that remain at their lower bounds have a negative objective coefficient, so { } { x x 6 u 6 min i l i ui x } { i : ā i6 < 0 min : ā i6 > 0 = min 0, 6. } 0 0., = ā i6 ā i and x 6 is set to and enters the basis while x 2 attains its upper bound 6 and thus leaves the basis u ζ = x + 2x 2 + x 4 + x x 7 x 8 = x 3 = x + x 2 0.x 4 +.x 0.x 7 + 2x 8 = 0 0 x 6 = 4. +.x + 2x 2 0.x x + 0.x 7 + x 8 =
7 Math 93 Linear Programming Problem Set 4 (Solutions), UC Denver, Fall 20 7 Because all variables that are currently at their lower bounds have a negative objective coefficient, and analogously, because all variables that have a positive objective coefficient are already at their upper bounds, we have found an optimal solution (x, x 2, x 3, x 4, x, x 6, x 7, x 8 ) = (0, 6,,, 2,, 0, 0) with an optimal objective value ζ = 24. There is a pretty good chance that this is the largest non-trivial LP (8 original variables, 2 original equality constraints, and 8 inequality constraints, or if written with slacks, 6 variables and 0 equality constraints) that you will ever solve by hand. Alternative Pivots Choices and Intermediate Dictionaries by Evan, Jenny, and Lauren The following series of pivot choices is remarkable in cleverly avoiding any easy updates that only switch between a nonbasic variable s lower and upper bound. Respect to the three Pivoteers for not giving up and working it out only on a bag of pretzels and two granola bars! Well done. Pivoting x and x 2 u ζ = 0 4x 6x 3 + 8x + 4x 6 6x 7 + 7x 8 = x 2 = 4 x x 3 + x + x 6 x 7 + x 8 = 4 0 x 4 = 7 x 4x 3 + x + 2x 6 3x 7 + 6x 8 = 7 2. Pivoting x 2 and x 6 u ζ = 6 2x 3 + 4x + 4x 2 2x 7 + 3x 8 = x 6 = 4 + x + x 3 x + x 2 + x 7 x 8 = 2 0 x 4 = + x 2x 3 + 3x + 2x 2 x 7 + 4x 8 = 3. Pivoting x 4 and x 8 u ζ = x 2 x x + 2 x 2 4 x x 4 = x 6 = x + 2 x 3 4 x x x 7 4 x 4 = 0 3 x 8 = 4 4 x + 2 x x 2 x x x 2 = 4. Pivoting x 8 and x u ζ = x x x x x x 4 = x 6 = x + 3 x x x x 7 3 x 4 = x = 3 3 x x x x x x 4 = 2 3. Pivoting x and x 3 u ζ = x + x x 8 + 2x 2 x 7 + x 4 = x 6 = x + 2 x + x 8 + 2x x 7 2 x 4 = 0 0 x 3 = x x + 2x 8 + x 2 2 x 7 2 x 4 = Of course, it is not difficult to see that this optimal dictionary describes the same solution as before. Please let me know if you have any questions, comments, corrections, or remarks!
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 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: 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 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 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 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 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 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 informationSensitivity 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 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 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 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 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 informationWorked 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 informationMarch 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 informationDEPARTMENT 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 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 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 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 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 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 informationStandard 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 informationOptimization Methods in Management Science
Optimization Methods in Management Science MIT 15.053, Spring 2013 Problem Set 2 First Group of Students) Students with first letter of surnames A H Due: February 21, 2013 Problem Set Rules: 1. Each student
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 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 information1 Simplex and Matrices
1 Simplex and Matrices We will begin with a review of matrix multiplication. A matrix is simply an array of numbers. If a given array has m rows and n columns, then it is called an m n (or m-by-n) matrix.
More 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 informationx 4 = 40 +2x 5 +6x x 6 x 1 = 10 2x x 6 x 3 = 20 +x 5 x x 6 z = 540 3x 5 x 2 3x 6 x 4 x 5 x 6 x x
MATH 4 A Sensitivity Analysis Example from lectures The following examples have been sometimes given in lectures and so the fractions are rather unpleasant for testing purposes. Note that each question
More informationIntroduction to optimization
Introduction to optimization Geir Dahl CMA, Dept. of Mathematics and Dept. of Informatics University of Oslo 1 / 24 The plan 1. The basic concepts 2. Some useful tools (linear programming = linear optimization)
More information56: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 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 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 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 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 informationOptimization (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 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 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 informationPoints: The first problem is worth 10 points, the others are worth 15. Maximize z = x y subject to 3x y 19 x + 7y 10 x + y = 100.
Math 5 Summer Points: The first problem is worth points, the others are worth 5. Midterm # Solutions Find the dual of the following linear programming problem. Maximize z = x y x y 9 x + y x + y = x, y
More informationSELECT TWO PROBLEMS (OF A POSSIBLE FOUR) FROM PART ONE, AND FOUR PROBLEMS (OF A POSSIBLE FIVE) FROM PART TWO. PART ONE: TOTAL GRAND
1 56:270 LINEAR PROGRAMMING FINAL EXAMINATION - MAY 17, 1985 SELECT TWO PROBLEMS (OF A POSSIBLE FOUR) FROM PART ONE, AND FOUR PROBLEMS (OF A POSSIBLE FIVE) FROM PART TWO. PART ONE: 1 2 3 4 TOTAL GRAND
More informationDM559/DM545 Linear and integer programming
Department of Mathematics and Computer Science University of Southern Denmark, Odense April, 208 Marco Chiarandini DM559/DM545 Linear and integer programming Sheet 3, Spring 208 [pdf format] Included.
More informationSAMPLE QUESTIONS. b = (30, 20, 40, 10, 50) T, c = (650, 1000, 1350, 1600, 1900) T.
SAMPLE QUESTIONS. (a) We first set up some constant vectors for our constraints. Let b = (30, 0, 40, 0, 0) T, c = (60, 000, 30, 600, 900) T. Then we set up variables x ij, where i, j and i + j 6. By using
More 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 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 informationCHAPTER 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"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 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 information56: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(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 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 informationIE 5531: Engineering Optimization I
IE 5531: Engineering Optimization I Lecture 5: The Simplex method, continued Prof. John Gunnar Carlsson September 22, 2010 Prof. John Gunnar Carlsson IE 5531: Engineering Optimization I September 22, 2010
More 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 informationOverview of course. Introduction to Optimization, DIKU Monday 12 November David Pisinger
Introduction to Optimization, DIKU 007-08 Monday November David Pisinger Lecture What is OR, linear models, standard form, slack form, simplex repetition, graphical interpretation, extreme points, basic
More 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 informationWeek_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 informationEND3033 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 informationThe simplex algorithm
The simplex algorithm The simplex algorithm is the classical method for solving linear programs. Its running time is not polynomial in the worst case. It does yield insight into linear programs, however,
More 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 informationMATH 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 informationPrelude to the Simplex Algorithm. The Algebraic Approach The search for extreme point solutions.
Prelude to the Simplex Algorithm The Algebraic Approach The search for extreme point solutions. 1 Linear Programming-1 x 2 12 8 (4,8) Max z = 6x 1 + 4x 2 Subj. to: x 1 + x 2
More informationOptimisation. 3/10/2010 Tibor Illés Optimisation
Optimisation Lectures 3 & 4: Linear Programming Problem Formulation Different forms of problems, elements of the simplex algorithm and sensitivity analysis Lecturer: Tibor Illés tibor.illes@strath.ac.uk
More 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 informationOperations Research Lecture 6: Integer Programming
Operations Research Lecture 6: Integer Programming Notes taken by Kaiquan Xu@Business School, Nanjing University May 12th 2016 1 Integer programming (IP) formulations The integer programming (IP) is the
More informationSolving LP and MIP Models with Piecewise Linear Objective Functions
Solving LP and MIP Models with Piecewise Linear Obective Functions Zonghao Gu Gurobi Optimization Inc. Columbus, July 23, 2014 Overview } Introduction } Piecewise linear (PWL) function Convex and convex
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 informationIntroduction. Very efficient solution procedure: simplex method.
LINEAR PROGRAMMING Introduction Development of linear programming was among the most important scientific advances of mid 20th cent. Most common type of applications: allocate limited resources to competing
More informationLinear Programming: Simplex Method CHAPTER The Simplex Tableau; Pivoting
CHAPTER 5 Linear Programming: 5.1. The Simplex Tableau; Pivoting Simplex Method In this section we will learn how to prepare a linear programming problem in order to solve it by pivoting using a matrix
More information3. 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 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 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 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 informationExercises - Linear Programming
Chapter 38 Exercises - Linear Programming By Sariel Har-Peled, December 10, 2007 1 Version: 1.0 This chapter include problems that are related to linear programming. 38.1 Miscellaneous Exercise 38.1.1
More informationFoundations 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 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 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 informationLecture 14 Transportation Algorithm. October 9, 2009
Transportation Algorithm October 9, 2009 Outline Lecture 14 Revisit the transportation problem Simplex algorithm for the balanced problem Basic feasible solutions Selection of the initial basic feasible
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 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 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 informationA Parametric Simplex Algorithm for Linear Vector Optimization Problems
A Parametric Simplex Algorithm for Linear Vector Optimization Problems Birgit Rudloff Firdevs Ulus Robert Vanderbei July 9, 2015 Abstract In this paper, a parametric simplex algorithm for solving linear
More informationChapter 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 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 informationLinear 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 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 informationMath Models of OR: Some Definitions
Math Models of OR: Some Definitions John E. Mitchell Department of Mathematical Sciences RPI, Troy, NY 12180 USA September 2018 Mitchell Some Definitions 1 / 20 Active constraints Outline 1 Active constraints
More informationIntroduction 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 informationSection 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 informationReview Questions, Final Exam
Review Questions, Final Exam A few general questions 1. What does the Representation Theorem say (in linear programming)? 2. What is the Fundamental Theorem of Linear Programming? 3. What is the main idea
More informationCOT 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 informationChapter 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 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 informationLinear Programming. H. R. Alvarez A., Ph. D. 1
Linear Programming H. R. Alvarez A., Ph. D. 1 Introduction It is a mathematical technique that allows the selection of the best course of action defining a program of feasible actions. The objective of
More information(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 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 Duality
Summer 2011 Optimization I Lecture 8 1 Duality recap Linear Programming Duality We motivated the dual of a linear program by thinking about the best possible lower bound on the optimal value we can achieve
More 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 informationLinear 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 informationWeek 3: Simplex Method I
Week 3: Simplex Method I 1 1. Introduction The simplex method computations are particularly tedious and repetitive. It attempts to move from one corner point of the solution space to a better corner point
More informationSolution Cases: 1. Unique Optimal Solution Reddy Mikks Example Diet Problem
Solution Cases: 1. Unique Optimal Solution 2. Alternative Optimal Solutions 3. Infeasible solution Case 4. Unbounded Solution Case 5. Degenerate Optimal Solution Case 1. Unique Optimal Solution Reddy Mikks
More informationCSC Design and Analysis of Algorithms. LP Shader Electronics Example
CSC 80- Design and Analysis of Algorithms Lecture (LP) LP Shader Electronics Example The Shader Electronics Company produces two products:.eclipse, a portable touchscreen digital player; it takes hours
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 information