Production, Manufacturing and Logistics
Competitive analysis of the online inventory problem

https://doi.org/10.1016/j.ejor.2010.05.019Get rights and content

Abstract

We consider a real-time version of the inventory problem with deterministic demand in which decisions as to when to replenish and how much to buy must be made in an online fashion without knowledge of future prices. We suggest online algorithms for each of four models for the problem and use competitive analysis to obtain algorithmic upper and lower bounds on the worst-case performance of the algorithms compared to an optimal offline algorithm. These bounds are closely related to the tight M/m-bound obtained for the simplest of the models, where M and m are the upper and lower bounds on the price fluctuation.

Introduction

We consider an inventory problem where the procurement price of a commodity is uncertain. In particular, we consider a set-up where the price fluctuates on a day to day basis, and decisions as to when and how much to buy have to be made in an online fashion, i.e., without any knowledge of future prices. Such problems often arise in dealing with raw materials. Our goal is to construct online algorithms to make decisions in such an environment and to prove bounds on their worst-case performance. We compare our algorithms to an optimal offline algorithm using competitive analysis. In this way, we get a measure of the cost obtained by an algorithm compared to the optimal cost that could have been obtained if we had known all future prices in advance. This can be thought of as measuring the value of the information of future prices.

Deterministic inventory models and models with stochastic demand or stochastic lead time have been extensively studied in the literature; see [26], [32] for an overview. Models that takes into account the uncertainty of the various cost parameters are more rare. We give examples of such models below.

Ben-Daya and Hariga [3], Chaudhuri and Ray [9], and Horowitz [20] take inflation into account. Akőz et al. [1] and Petrović et al. [27], among others, use fuzzy sets to model uncertainty of various cost parameters. Chaouch [8], Gurnani [18], and Moinzadeh [25] study models with two prices, where the lower price occurs at random points of time. Gurnani and Tang [19] consider a nested news vendor model with price uncertainty. Goel and Gutierrez [14] use Brownian motions to model two stochastic price streams based on different markets, such as spot markets and future contracts.

A number of papers study the problem of stochastic procurement price. Golabi [16] and Berling [4] study the problem where the price is drawn from a known distribution function. Wang [30] studies a set-up where prices are stochastically decreasing over time and demand is stochastic. Kingsman [23] studies the problem when demand is known and Kalymon [21] studies the problem with price dependency on previous prices where also demand is uncertain. Kouvelis and Li [24] analyze supply contracts in a model with stochastic prices.

In the next section, we introduce four inventory management models. Then we discuss the analytic methods we are using and present our results. In the following four sections, we treat the different models, after which we conclude.

Section snippets

Inventory management models

In a deterministic setting with constant price and constant withdrawal from the inventory, it is well known that the Economic Order Quantity (EOQ) is an optimal strategy [31]. The optimal order size is obtained by balancing the inventory storage costs on one side and the costs of placing orders on the other side. Doing that, it can be verified that the optimal order size isQ=2×ordercost×demandinventorycostperitempertimeunit.

We consider models which can be seen as variations of the EOQ model. We

Analytic methods and results

The aim is to design online algorithms with the best possible worst-case guarantees. We use the well-established technique of competitive analysis [17], [22], [29] to evaluate our design. An introduction to the technique can be found in [5]. Intuitively the idea is to compare the result obtained by an online algorithm to the result that could have been obtained if one had known all future prices in advance, where the latter scenario is represented by an optimal offline algorithm.

The basic idea

Bounded Storage Model

The following algorithm is inspired by the simple reservation-price-policy from the introduction and results in a significantly better competitive ratio than obtained through the naive strategy.Bounded Storage Algorithm (BA). Let p=mM. If at time t, we have pt  p∗, order Qt = U  Lt items. Otherwise, if pt > p∗ and Lt = 0, order one item.

Thus, when the price is better than p∗, we fill up to capacity, and otherwise we buy just enough to satisfy the removal from the inventory at the current time.

Fig. 2

Bounded storage order cost model

Now, we add the order cost parameter to the previous model.

Let k=2-MmU+MmU2+4MmU+82+4MmU and b=UkMm.Bounded storage order cost algorithm (BOA). Assume that U2-1Mm. Let p=Mm. If at time t, we have pt  p∗ and Lt  U  b, order Qt = U  Lt, i.e., fill up to capacity. If pt > p∗ and Lt < 1, order up to level b.

Note that we must have b  1, such that any given order will contain at least one item in order for the algorithm to be well-defined. This is equivalent to requiring that MmU1k. We consider the following

Unbounded Storage Model

We replace the maximum inventory level by an inventory holding cost per item per time unit, h.Unbounded storage algorithm (UA). Let p=m+h2M+h2+h2 and for any time t, let Qt=2p-pth-2Lt+1 and orderQt=Qt,ifQt>0andLt+Qt1,1-Lt,ifLt+max{0,Qt}<1,0,otherwise.

The intuition behind UA is as follows. UA replenish in two situations: When the price and the inventory level is relatively low, such that the average cost of items bought are below a pre-specified threshold value, and when it is necessary

Unbounded storage order cost model

We add an order cost parameter to the model of the previous section.Unbounded storage order cost algorithm (UOA). Let b=ShMm+1,p=Mm+hShMm+1, and for any time t, let Qt=2p-pth-2Lt+1 and orderQt=Qt,ifQtb,b-Lt,ifQt<bandLt<1,0,otherwise.

The algorithm is illustrated in Fig. 7. In the algorithm there are two situations: In Situation 1, we replenish because it is attractive to do so due to the current price and inventory level. In Situation 2, we replenish because we are forced to do so due to

Concluding remarks

This is a first attempt at establishing results for an online version of the inventory problem. We have obtained tight results on the competitive ratio of online algorithms for the simpler model whereas the gap between the established upper and lower bounds of the algorithms grows with the complexity of the models.

In analyzing the algorithms involving order cost, because of the complexity of the calculations, we are bounding the competitive ratios for order and item costs separately and then

Acknowledgments

The authors thank the anonymous referees for many insightful and constructive comments which have improved the presentation of the results. This online inventory problem was first brought up at the 4th NOGAPS, and we would like to thank the participants in that meeting for interesting initial discussions.

References (32)

  • B.A. Chaouch

    Inventory control and periodic price discounting campaigns

    Naval Research Logistics

    (2006)
  • K.S. Chaudhuri et al.

    An EOQ model with stock-dependent demand, shortage, inflation and time discounting

    International Journal of Production Economics

    (1997)
  • R. El-Yaniv

    Competitive solutions for online financial problems

    ACM Computing Surveys

    (1998)
  • R. El-Yaniv, A. Fiat, R.M. Karp, G. Turpin, Competitive analysis of financial games, in: IEEE Symposium on Foundations...
  • R. El-Yaniv et al.

    Optimal search and one-way trading online algorithms

    Algorithmica

    (2001)
  • L. Epstein et al.

    Online scheduling of splittable tasks in peer-to-peer networks

    ACM Transactions on Algorithms

    (2006)
  • Cited by (23)

    • An online algorithm for the inventory retrieval problem with an uncertain selling duration, uncertain prices, and price-dependent demands

      2022, Computers and Operations Research
      Citation Excerpt :

      To overcome such shortcomings, solution methods to deal with prices with unknown or uncertain distributions have been applied, such as the fuzzy set concept (Taleizadeh et al., 2010) and the robust worst-case analysis (Larsen and Wøhlk, 2010). For example, researchers have applied the latter approach to tackle the inventory problem with an uncertain distribution for the procurement price (or unit replenishment cost), but with known bounds, to minimize the cost (Larsen and Wøhlk, 2010; Mohr, 2017). Based on their studies, we consider in this article the multi-period inventory retrieval problem with non-distribution sale prices within known bounds to maximize the revenue.

    • Robust one-way trading with limited number of transactions and heuristics for fixed transaction costs

      2022, International Journal of Production Economics
      Citation Excerpt :

      An exchange rate is disclosed at the start of each trading period, after which the trader has to determine the volume to trade in this period without knowledge of the exchange rates in the future periods. Although one-way trading is a basic problem in finance, it also finds applications in operations management, such as inventory replenishment in a volatile market (Larsen and Wøhlk, 2010; Dai et al., 2016, and Mohr 2017). For example, a lot of firms choose to purchase commodities like crude oil, iron ore or electricity on spot markets in order to maintain flexibility.

    • Optimal replenishment under price uncertainty

      2017, European Journal of Operational Research
    • Competitive difference analysis of the one-way trading problem with limited information

      2016, European Journal of Operational Research
      Citation Excerpt :

      Larsen and Wohlk (2010) apply the competitive analysis techniques to the online inventory control problem with inventory holding costs and possible order costs. Dai, Jiang, and Feng (2016) improve the upper bound of the CR given by Larsen and Wohlk (2010) in the case with order costs and bounded storage capacity. Although CR analysis is frequently applied to search and one-way trading problems in the literature, it is often criticized for being too conservative.

    • Competitive analysis of the online financial lease problem

      2016, European Journal of Operational Research
      Citation Excerpt :

      Thus, the competitive analysis aims is to design an online strategy with the best possible worst-case guarantees. Competitive analysis has been used to study many problems within the fields of finance (El-Yaniv, 1998), operations research (Chen & Wang, 2015; Liu, Chu, Xu, & Zheng, 2010; Zheng, Cheng, Xu, & Liu, 2013) and management science (Larsen & Wøhlk, 2010). Karp first formulated the classic “leasing problem” (a.k.a. the Ski-rental problem) using the following online model and competitive analysis method (Karp, 1992): assume the decision maker has two options, to lease or purchase the equipment.

    • A note: An improved upper bound for the online inventory problem with bounded storage and order costs

      2016, European Journal of Operational Research
      Citation Excerpt :

      Larsen and Wøhlk (2010) considered an online inventory problem with deterministic demand where the price of the commodity is uncertain, and decisions as to when and how much to buy have to be made in an online fashion, i.e., without any knowledge of future prices.

    View all citing articles on Scopus
    1

    Supported in part by the Danish Natural Science Research Council. Part of this work was carried out while this author was visiting the University of California, Irvine.

    View full text