Using Geometric Techniques to Improve Dynamic Programming Algorithms for the Economic Lot-Sizing Problem and Extensions

Total Page:16

File Type:pdf, Size:1020Kb

Using Geometric Techniques to Improve Dynamic Programming Algorithms for the Economic Lot-Sizing Problem and Extensions Using geometric techniques to improve dynamic programming algorithms for the economic lot-sizing problem and extensions Citation for published version (APA): Wagelmans, A. P. M., Moerman, B., & Hoesel, van, C. P. M. (1992). Using geometric techniques to improve dynamic programming algorithms for the economic lot-sizing problem and extensions. (Memorandum COSOR; Vol. 9245). Technische Universiteit Eindhoven. Document status and date: Published: 01/01/1992 Document Version: Publisher’s PDF, also known as Version of Record (includes final page, issue and volume numbers) Please check the document version of this publication: • A submitted manuscript is the version of the article upon submission and before peer-review. There can be important differences between the submitted version and the official published version of record. People interested in the research are advised to contact the author for the final version of the publication, or visit the DOI to the publisher's website. • The final author version and the galley proof are versions of the publication after peer review. • The final published version features the final layout of the paper including the volume, issue and page numbers. Link to publication General rights Copyright and moral rights for the publications made accessible in the public portal are retained by the authors and/or other copyright owners and it is a condition of accessing publications that users recognise and abide by the legal requirements associated with these rights. • Users may download and print one copy of any publication from the public portal for the purpose of private study or research. • You may not further distribute the material or use it for any profit-making activity or commercial gain • You may freely distribute the URL identifying the publication in the public portal. If the publication is distributed under the terms of Article 25fa of the Dutch Copyright Act, indicated by the “Taverne” license above, please follow below link for the End User Agreement: www.tue.nl/taverne Take down policy If you believe that this document breaches copyright please contact us at: [email protected] providing details and we will investigate your claim. Download date: 06. Oct. 2021 EINDHOVEN UNIVERSITY OF TECHNOLOGY Department of Mathematics and Computing Science Memorandum COSOR 92-45 Using geometric techniques to improve dynamic programming algorithms for the economic lot-sizing problem and extensions C.P.M. van Hoesel A.P.M. Wagelmans B. Moerman Eindhoven, November 1992 The Netherlands Eindhoven University of Technology Department of Mathematics and Computing Science Probability theory, statistics, operations research and systems theory P.O. Box 513 5600 MB Eindhoven - The Netherlands Secretariate: Dommelbuilding 0.03 Telephone: 040-47 3130 ISSN 0926 4493 USING GEOMETRIC TECHNIQUES TO IMPROVE DYNAMIC PROGRAMMING ALGORITHMS FOR THE ECONOMIC LOT-SIZING PROBLEM AND EXTENSIONS Stan Van Hoesel Department of Mathematics and Computing Science Eindhoven University of Technology PO Box 513, 5600 MB Eindhoven, The Netherlands Albert Wagelmans Bram Moerman Econometric Institute Erasmus University Rotterdam PO Box 1738, 3000 DR Rotterdam, The Netherlands Revised September 1992 Abstract: In this paper we discuss two basic geometric techniques that can be used to speed up certain types of dynamic programs. We first present the algorithms in a general form, and then we show how these techniques can be applied to the economic lot-sizing problem and extensions. Furthermore, it is illustrated that the geometric techniques can be used to give elegant and insightful proofs of structural results, like Wagner and Whitin's planning horizon theorem. Finally, we present results of computational experiments in which new algorithms for the economic lot-sizing problem are compared with each other, as well as with other algorithms from the literature. Keywords: Dynamic programming, computational analysis, lot-sizing, inventory 1. Introduction As argued by Denardo [4], the complexity of a dynamic programming based algorithm is usually proportional to the number of arcs in the underlying dynamic programming network. Only when special cost structures on the arcs of the network are incurred one might hope for a better running time. One of the first such improvements is due to Yao [23], who uses a monotonicity property to speed up the dynamic programming algorithm for finding optimal binary search trees. Aggarwal and Park [1] show that a similar monotonicity property holds for the dynamic programming formulation of the well-known economic lot-sizing problem (EIS), and they arrive at an O(TIogT) algorithm, T being the length of the planning horizon. They also show that in some interesting special cases a linear time algorithm exists. These are significant improvements over the well-known dynamic programming algorithm proposed by Wagner and Whitin [22]. Similar improvements have been independently obtained by Federgruen and Tzur [7] and Wagelmans et al [21]. In the latter article, the exposition is of a geometric nature. The aim of the current paper is threefold. First, in Section 2, we genera.lize the approaches of [7] and [21] by discussing two basic geometric techniques that can be used to speed up certain types of dynamic programs. Our discussion includes the particular data structures needed to implement the improved algorithms. In Section 3 and 4 we will show how, given the generalized algorithms, improved complexity results for several lot-sizing problems can easily be established. In particular, we discuss the forward and backward r~cursion for ELS, the model which allows backlogging, ELS with start-up costs and a generalized version of the model with learning effects in set-up costs. It suffices to show that the recursion formulas are. of the form which allows the application of the g~ometric techniques. Because we regard the resulting algorithms as special cases of the general algorithms, it will become clear that the techniques used in [7] and [21] are essentially the same. The second aim of this paper is to point out that the geometric techniques enable us to give elegant and insightful proofs of certain structural properties. This is done in Section 5 where two examples are given, one of which concerns a proof of Wagner and Whitin's planning horizon theorem. The last contribution of this paper is found in Section 6, where we present results of computational experiments in which the algorithms for EIS introduced in [1], [7] and [21] are compared with each other, as well as with 1 existing implementations of the Wagner-Whitin algorithm (cf. Evans [5], Saydam and McKnew [15]). Our experiments indicate that especially the algorithm based on the backward recursion performs very well. The paper ends with concluding remarks in Section 7. 2. Geometric solution techniques for dynamic programs A basic topic in computational geometry is the determination of the lower concave envelope of a given set of lines in the plane. A dual problem, in a sense, is the problem of determining the convex hull of a given set of points in the plane. For both problems efficient solution techniques exist. These solution techniques will be used to solve the following type of recursion formulas for dynamic programs. G(O) := 0; G(i) := Ai + mi.n.{G(j)+Bj+CiDj} (1) oS}<I Here Ai, Bj, Ci , Dj (1::; i::; n, 0::; j::; n -1) are constants that only depend on the index. In this section, these constants are supposed to be given beforehand. We proceed by showing how the dynamic programming recursion (1) can be viewed as a problem of finding the lower concave envelope of a set of lines. To calculate the minimum of the terms {G(j)+Bj+CiDjIO::;j < i} for a fixed i, these terms are considered as functions of Ci • Each term corresponds to a line or a linear function mj (O::;jd), where mj(x) =G(j) +Bj+Djx ,i.e., mj is the line with slope Dj that passes through the point (O,G(j)+Bj ). Obviously, the determination of the minimum of {G(j)+Bj+CiDjIO::;j<i} is equivalent to finding the minimum of the values mj(Ci ) over j: O::;jd. This minimum is defined as gi(Ci), where gi is the concave lower envelope of the lines mj (O::;j<i). See Figure 1 for an example with i =3. Note that gi is piecewise linear. Given gi(Cd, one can determine the dynamic programming variable G(i), which is ·simply Ai+gi(Ci). An algorithm based on this observation proceeds by calculating the variables G(i) (i =1, ..., n), iteratively, in a forward fashion. During this process the lower envelope of the lines is updated, since a new line mi is added to the set of lines in iteration i. The operations in each iteration are divided in the following two steps: STEP 1: Find the value gi(Ci ), the function value of the lower envelope of 2 the lines mj Ud) at Ci. Then G(i) is calculated by adding Ai to gi(Ci ), STEP 2: Add the line mi to the set of lines that already determine the lower concave envelope gi, where mi is defined as mi(x) = G(i) +Bi+Dix. Recalculate the lower envelope gi+l, where gi+l(x): =min{gi(x},mi(x)}, G(2)+B2 m2 G(3)-A3 Figure 1. Determination of G(3) using the lower concave envelope. For an analysis of the running time of an algorithm based on this description a suitable data structure to maintain the lower envelope gi should be chosen. ~n order to choose the right structure it is necessary to find out which elementary operations must be performed. Therefore, the two steps of the algorithm will be analyzed in some more detail. In Step 1 of the iteration where G(i) is determined, the function value of gi at x = Ci has to be calculated.
Recommended publications
  • Econometric Institute News 2013 -1
    Econometric Institute News 2013 -1 Personnel Twan Dollevoet was appointed assistant professor in the Management Science section on January 1. His office is in room H11-10; ext. 81257. Viorel Milea was appointed assistant professor in the Logistics & Informatics section on January 1. His office is in room H11-21; ext. 82588. Willem van Jaarsveld was appointed assistant professor in the Logistics section on June 1. His office is in room H11-10; ext. 81257. Gönül Karaarslan joined the Econometric Institute as assistant professor in Logistics as from June 1. Her office is in room H10-23; ext. 88756. As from September 1: room H11-05; ext. 81342. Bart van Riessen joined the Logistics section as research assistant on June 1. His office is in room H10-15; ext. 81343. Liesbeth Noordegraaf-Eelens will leave the Econometric Institute on September 1, to become Head of the Department of Humanities of Erasmus University College. Nalan Basturk’s appointment as assistant professor has been extended from October 1, 2013 till October 1, 2014. Wendun Wang will join the Marketing section as trainee assistant professor on September 1, followed by a position as assistant professor on December 1. His office is in room H10-23; ext. 88756. Wilco van den Heuvel was appointed associate professor in Management Science on July 1. Remy Spliet will be appointed assistant professor in the Management Science section on November 1. His office is in room H11-5; ext. 81342. PhD Students Sander Barendse September 1: TI PhD student on the project “Rethinking risk when finance and macro meet”, supervised by Michael McAleer and Erik Kole.
    [Show full text]
  • ON the P-COVERAGE PROBLEM on the REAL LINE Stan Van
    ON THE P-COVERAGE PROBLEM ON THE REAL LINE Stan Van Hoesel and Albert Wagelmans OR 255-91 June 1991 ON THE P-COVERAGE PROBLEM ON THE REAL LINE Stan Van Hoesel 1 Albert Wagelmans 2 June 1991 Abstract: In this paper we consider the p-coverage problem on the real line. We first give a detailed description of an algorithm to solve the coverage problem without the upper bound p on the number of open facilities. Then we analyze how the structure of the optimal solution changes if the setup costs of the facilities are all decreased by the same amount. This result is used to develop a parametric approach to the p-coverage problem which runs in O(pnlogn) time, n being the number of clients. OR/MS subject classification: Analysis of algorithms, computational complexity: parametric application of dynamic programming; Dynamic programming/optimal control, applications: parametric approach to p-coverage problem on the real line; Facilities/equipment planning, location, discrete: p-coverage problem on the real line Department of Mathematics and Computing Science, Eindhoven University of Technology, P.O. Box 513, 5600 MB Eindhoven, The Netherlands. 2 Econometric Institute, Erasmus University Rotterdam, P.O. Box 1738, 3000 DR Rotterdam, The Netherlands; currently on leave at the Operations Research Center, Massachusetts Institute of Technology, Cambridge MA; financial support of the Netherlands Organization for Scientific Research (NWO) is gratefully acknowledged. O. Introduction In Hassin and Tamir (1990) recent results in dynamic programming are used to improve the complexity bounds of several median and coverage location models on the real line.
    [Show full text]
  • Sensitivity Analysis of the Economic Lot-Sizing Problem
    SENSITIVITY ANALYSIS OF THE ECONOMIC LOT-SIZING PROBLEM Stan Van Hoesel and Albert Wagelmans OR 238-90 November 1990 SENSITIVITY ANALYSIS OF THE ECONOMIC LOT-SIZING PROBLEM Stan Van Hoesell '2 Albert Wagelmans1' 3 November 1990 Abstract In this paper we study sensitivity analysis of the uncapacitated single level economic lot-sizing problem, which was introduced by Wagner and Whitin about thirty years ago. In particular we are concerned with the computation of the maximal ranges in which the numerical problem parameters may vary individually, such that a solution already obtained remains optimal. Only recently it was discovered that faster algorithms than the Wagner-Whitin algorithm exist to solve the economic lot-sizing problem. Moreover, these algorithms reveal that the problem has more structure than was recognized so far. When performing the sensitivity analysis we exploit these newly obtained insights. Keywords: economic lot-sizing, sensitivity analysis 1) Econometric Institute, Erasmus University Rotterdam, P.O. Box 1738, 3000 DR Rotterdam, The Netherlands 2) Supported by the Netherlands Organization for Scientific Research (NWO) under grant no. 611-304-017 3) On leave at the Operations Research Center, Room E 40-164, Massachusetts Institute of Technology, Cambridge, MA 02139; financial support of the Netherlands Organization for Scientific Research (NWO) is gratefully acknowledged. 1 Introduction In 1958 Wagner and Whitin published their seminal paper on the "Dynamic Version of the Economic Lot Size Model", in which they proposed a dynamic programming algorithm that solves the problem considered in O(n2 ) time, n being the length of the planning horizon. It is well-known that the same approach also solves a slightly more general problem to which we will refer as the economic lot-sizing problem (ELS).
    [Show full text]
  • On Setup Cost Reduction in the Economic Lot-Sizing Model Without Speculative Motives
    ON SETUP COST REDUCTION IN THE ECONOMIC LOT-SIZING MODEL WITHOUT SPECULATIVE MOTIVES Stan Van Hoesel and Albert Wagelmans OR 256-91 August 1991 ON SETUP COST REDUCTION IN THE ECONOMIC LOT-SIZING MODEL WITHOUT SPECULATIVE MOTIVES Stan Van Hoesell Albert Wagelmans2 August 1991 Abstract An important special case of the economic lot-sizing problem is the one in which there are no speculative motives to hold inventory, i.e., the marginal cost of producing one unit in some period plus the cost of holding it until some future period is at least the marginal production cost in the latter period. It is already known that this special case can be solved in linear time. In this paper we study the effects of reducing all setup costs by the same amount. It turns out that the optimal solution changes in a very structured way. This fact will be used to develop faster algorithms for several problems that can be reformulated as parametric lot-sizing problems. One result, worth a sepparate mention, is an algorithm for the so-called dyna-mic lot-.sizing proble-m with learning effects in setups. This algorithm has a complexity that is of the same order as the fastest algorithm known so far, but it is valid for a more general class of models than usually considered. OR/MS subject classification: Analysis of algorithms, computational complexity: parametric economic lot-sizing problem; Dynamic programming /optimal control, applications: parametric economic lot-sizing problem; Inventory/)production, planning horizon: setup cost reduction in economic lot-sizing molel 1) Department of Mathematics and Computing Science, Eindhoven University of Technology, P.O.
    [Show full text]
  • A Dual Algorithm for the Economic Lot-Sizing Problem
    European Journal of Operational Research 52 (1991) 315-325 315 North-Holland Theory and Methodology A dual algorithm for the economic lot-sizing problem Stan van Hoesel * and Albert Wagelmans Erasmus University Rotterdam, P.O. Box 1738, 3000 DR Rotterdam, Netherlands Antoon Kolen University of Limburg, P.O. Box 616, 6200 MD Maastricht, Netherlands Received June 1989: revised December 1989 Abstract: A linear description for the economic lot-sizing problem consisting of exponentially many linear inequalities was given by Barany, Van Roy and Wolsey in 1984. Using this formulation we present a dual algorithm for the economic lot-sizing problem, which is of the same complexity as the Wagner and Whitin dynamic programming algorithm. Besides its use in sensitivity analysis the dual algorithm also provides an alternative proof of the fact that the linear description is complete. Keywords: Inventory, planning, linear programming, economic lot-sizing 1. Introduction We consider a manufacturer who needs to meet the known demands for a given product over a finite discrete planning horizon. In lot-sizing problems we have to decide when, i.e., in which time periods, and how much to produce so as to minimize total costs consisting of production and inventory costs. The inventory costs are linear in the number of items in stock at the end of each time period. The production costs decompose into two parts: a fixed set-up cost is incurred whenever a non-zero production occurs in a period in addition to a cost linear in the number of items produced. Producing in large (small) lots will decrease (increase) the set-up costs but will increase (decrease) the inventory costs.
    [Show full text]
  • Book of Abstracts Third International Workshop on Lot-Sizing IWLS 2012
    Book of Abstracts Third International Workshop on Lot-Sizing IWLS 2012 27 – 29 August 2012 Rotterdam, Netherlands Organised by Erasmus University Rotterdam Cover picture by Marc Heeman. ii Contents Organisation vi Participants vii Programme viii Foreword xi Extended Abstracts 3 1 Incorporating Consumer Purchasing Behaviour on the Production Planning of Food Goods 3 Pedro Amorim, Gon¸caloFigueira, Alysson Costa and Bernardo Almada-Lobo 2 A new heuristic for the non-stationary (s, S) policy 7 Onur A. Kılı¸cand S. Arma˘ganTarım 3 The Horizon Decomposition Approach for Capacity Constrained Lot Size Prob- lems with Setup Times 9 Ioannis Fragkos, Zeger Degraeve and Bert De Reyck 4 Extending a Math-heuristic for Capacitated Lot Sizing towards a Hierarchical Solution Approach 12 Marco Caserta and Stefan Voß 5 An iterative two-phase heuristic approach for the Production Routing Problem 16 Nabil Absi, Claudia Archetti, St´ephaneDauz`ere-P´er`esand Dominique Feillet 6 A Study of Integrated Lot Sizing and Cutting Stock Models for a Furniture Plant 20 Silvio A. de Araujo, Socorro Rangel and Matheus Vanzela 7 Integrated non-increasing capacitated lot sizing problem and preventive main- tenance 23 Fahimeh Shamsaei and Mathieu Van Vyve iii 8 Capacitated lot sizing problem with inventory bounds 25 Ayse Akbalik, Bernard Penz and Christophe Rapine 9 The Capacitated Lot-Sizing Problem with Piecewise Concave Production Costs 29 Esra Koca, Hande Yaman and M. Selim Akturk 10 Two-Period Convex Hull Closures for Big Bucket Lotsizing Problems 33 Kerem Akartunalı and Andrew J. Miller 11 Relaxations for two-level multi-item lot-sizing problem 36 Mathieu Van Vyve, Laurence A.
    [Show full text]
  • Curriculum Vitae
    Curriculum Vitae ALBERT PETER MARIE WAGELMANS Current position Professor of Management Science Erasmus University Rotterdam Date of birth: November 19, 1960 Place of birth: Rotterdam, the Netherlands Nationality: Dutch Marital status: married to Kerry M. Malone Children: Rory and Kyran Malone Address information Econometric Institute Tinbergen Building H3-11 Erasmus School of Economics Erasmus University Rotterdam PO Box 1738 3000 DR Rotterdam The Netherlands tel: +31 10 408 2576 fax: +31 10 408 9162 email: [email protected] homepage: http://www.erim.eur.nl/people/albert-wagelmans Education 1990: PhD degree, Erasmus University Rotterdam, Rotterdam, The Netherlands 1990: Diploma, European Doctoral Program in Quantitative Methods in Management 1985: Master's degree (doctoraal examen) in Econometrics (specialization in Operations Research), Erasmus School of Economics Professional experience (at Erasmus School of Economics, unless stated otherwise) 2006-2014: Director of the Econometric Institute 2005-present: Professor of Management Science 2001-2005: Professor of Operations Research, endowed chair on Applications in Transportation and Logistics 2001-2006: Director of the Bachelor-Master Program in Econometrics & Management Science; since 2005 also director of the Bachelor-Master Program in Informatics & Economics 2000-2001: Associate Professor of Operations Research 1999-2003: Associate Director of the Erasmus Research Institute of Management (ERIM) 1999-2002: Director of the Rotterdam Institute for Business Economic Studies
    [Show full text]
  • Annual Report 2003
    Annual Report 2003 Econometric Institute Annual Report 2003 Econometric Institute Erasmus University Rotterdam www.econometric-institute.com °c 2003, Econometric Institute All rights reserved. No part of this publication may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or by any information storage and retrieval system, without permission in writing from the author. A This report was prepared with LTEX2" Annual Report 2003 Econometric Institute Visit Mail Erasmus University Rotterdam Erasmus University Rotterdam Burg. Oudlaan 50 P.O. Box 1738 3062 PA Rotterdam 3000 DR Rotterdam The Netherlands The Netherlands Telephone & Fax phone: +31 10 408 1278 fax: +31 10 408 9162 Internet & E-mail www.econometric-institute.com [email protected] Preface It is often heard that the world around us is changing rapidly. New technologies, new institutions, and new policies; they all a®ect our day-to-day life. And, somewhat closer to us, new teaching methods, new academic programs (like bachelor and master), and new academic governance structures; they all a®ect our working conditions, also here at the Econometric Institute. Of course, the Econometric Institute, being on its way to its 50-th anniversary in 2006, has witnessed many turbulent developments in the last half a century. It is therefore prepared for facing many more. Indeed, its basics are solid and constant. There is a steady enrollment of ¯rst year undergraduates, a steady outflow of excellent students into graduate programs, and top-level academic research by its members, and last but not least, a comradely atmosphere.
    [Show full text]