This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

Improved Approximation Guarantees for
Joint Replenishment in Continuous Time

Danny Segev School of Mathematical Sciences and Coller School of Management, Tel Aviv University, Tel Aviv 69978, Israel. Email: [email protected]. Supported by Israel Science Foundation grant 1407/20.

The primary objective of this work is to revisit and revitalize one of the most fundamental models in deterministic inventory management, the continuous-time joint replenishment problem. Our main contribution consists of resolving several long-standing open questions in this context. For most of these questions, we obtain the first quantitative improvement over power-of-22 policies and their nearby derivatives, which have been state-of-the-art in terms of provable performance guarantees since the mid-80’s.


Keywords: Inventory management, JRP, approximation scheme, power-of-22 policies

1 Introduction

The primary objective of this paper is to revisit and revitalize one of the most fundamental models in deterministic inventory management, the continuous-time joint replenishment problem. As it turns out, our recent work along these lines (Segev, 2023) is by no means the final chapter in decades-long investigations of this classical paradigm. Rather, the current paper will present improved algorithmic ideas for cornerstone models in this context, along with new ways of analyzing their performance guarantees. Additionally, some of our findings serve as proofs of concepts, intended to open the door for fine-grained improvements in future research.

As second-year undergrad students quickly find out, and as supply-chain experts repeatedly rediscover, the joint replenishment problem has been an extremely versatile petri dish in developing the theoretical foundations of inventory management. Of no lesser importance is its role in boosting the practical appeal of this academic field across a massive body of work dating back to the mid-60’s, with indirect explorations surfacing even earlier. For an in-depth appreciation of these statements, avid readers are referred to selected book chapters dedicated to this topic (Silver and Peterson, 1985; Simchi-Levi et al., 1997; Zipkin, 2000; Muckstadt and Sapra, 2010). At a high level, even though joint replenishment settings come in a variety of flavors, they are all inherently concerned with the lot-sizing of multiple commodities over a given planning horizon, where our objective is to minimize long-run average operating costs. However, such settings routinely lead to challenging algorithmic questions about how numerous Economic Order Quantity (EOQ) models can be efficiently synchronized, as well as to long-standing analytical questions regarding their structural characterization. In a nutshell, on top of marginal ordering and inventory holding costs, what makes such synchronization particularly problematic is the interaction between different commodities through joint ordering costs, incurred whenever an order is placed, regardless of its contents. To delve into the finer details of these questions and to set the stage for presenting our main contributions, we proceed by providing a formal mathematical description of the joint replenishment problem in its broadest continuous-time form.

1.1 Model formulation

The Economic Order Quantity model.

For a gradual presentation, let us begin by introducing the Economic Order Quantity (EOQ) model, which will imminently form the basic building block of joint replenishment settings. Here, we would like to identify the optimal time interval TT between successive orders of a single commodity, aiming to minimize its long-run average cost over the continuous planning horizon [0,)[0,\infty). Specifically, this commodity is assumed to be characterized by a stationary demand rate of dd, to be completely met upon occurrence; in other words, we do not allow for lost sales or back orders. In this setting, periodic policies are simply those where our ordering frequency is uniform across the planning horizon. Namely, orders will be placed at time points 0,T,2T,3T,0,T,2T,3T,\ldots, noting that the time interval TT is the sole decision variable to be optimized. To understand the fundamental tradeoff, on the one hand, each of these orders incurs a fixed cost of KK regardless of its quantity, meaning that we are motivated to place very infrequent orders. On the other hand, what pulls in the opposite direction is a linear holding cost of hh, incurred per time unit for each inventory unit in stock, implying that we wish to avoid high inventory levels via frequent orders. As such, the fundamental question is how to determine the time interval TT, with the objective of minimizing long-run average ordering and holding costs.

Based on the preceding paragraph, it is not difficult to verify that optimal policies will be placing orders only when their on-hand inventory level is completely exhausted, namely, zero inventory ordering (ZIO) policies are optimal. Therefore, we can succinctly represent the objective function of interest,

C(T)=KT+HT,C(T)~{}~{}=~{}~{}\frac{K}{T}+HT\ ,

with the convention that H=hd2H=\frac{hd}{2}. The next claim gives a synopsis of several well-known properties exhibited by this function. We mention in passing that items 1-3 follow from elementary calculus arguments and can be found in most relevant textbooks; see, e.g., (Simchi-Levi et al., 1997, Sec. 7.1) (Zipkin, 2000, Sec. 3) (Muckstadt and Sapra, 2010, Sec. 2). In contrast, item 4 hides in various forms within previous literature, and we provide its complete proof in Appendix A.1.

Claim 1.1.

The cost function C:(0,)+C:(0,\infty)\to\mathbbm{R}_{+} satisfies the following properties:

  1. 1.

    CC is strictly convex.

  2. 2.

    The unique minimizer of CC is T=K/HT^{*}=\sqrt{K/H}.

  3. 3.

    C(θT)=12(θ+1θ)C(T)C(\theta T^{*})=\frac{1}{2}\cdot(\theta+\frac{1}{\theta})\cdot C(T^{*}), for every θ>0\theta>0.

  4. 4.

    min{C(α),C(β)}12(βα+αβ)C(T)\min\{C(\alpha),C(\beta)\}\leq\frac{1}{2}\cdot(\sqrt{\frac{\beta}{\alpha}}+\sqrt{\frac{\alpha}{\beta}})\cdot C(T), for every αβ\alpha\leq\beta and T[α,β]T\in[\alpha,\beta].

The joint replenishment problem.

With these foundations in place, the essence of joint replenishment can be captured by posing the next question: How should we coordinate multiple Economic Order Quantity models, when different commodities are tied together via joint ordering costs? Specifically, we wish to synchronize the lot sizing of nn distinct commodities, where each commodity i[n]i\in[n] is coupled with its own EOQ model, parameterized by ordering and holding costs KiK_{i} and HiH_{i}, respectively. As explained above, setting a time interval of TiT_{i} between successive orders of this commodity would lead to a marginal operating cost of Ci(Ti)=KiTi+HiTiC_{i}(T_{i})=\frac{K_{i}}{T_{i}}+H_{i}T_{i}. However, the caveat is that we are concurrently facing joint ordering costs, paying K0K_{0} whenever an order is placed, regardless of its particular subset of commodities.

Given these ingredients, it is convenient to represent any joint replenishment policy through a vector T=(T1,,Tn)T=(T_{1},\ldots,T_{n}), where TiT_{i} stands for the time interval between successive orders of each commodity i[n]i\in[n]. For such policies, the first component of our objective function encapsulates the sum of marginal EOQ-based costs, i[n]Ci(Ti)\sum_{i\in[n]}C_{i}(T_{i}). The second component, which will be designated by J(T)J(T), captures long-run average joint ordering costs. Formally, this term is defined as the asymptotic density

J(T)=K0limΔN(T,Δ)Δ,J(T)~{}~{}=~{}~{}K_{0}\cdot\lim_{\Delta\to\infty}\frac{N(T,\Delta)}{\Delta}\ , (1)

where N(T,Δ)N(T,\Delta) stands for the number of joint orders occurring across [0,Δ][0,\Delta] with respect to the time intervals T1,,TnT_{1},\ldots,T_{n}. That is, letting Ti,Δ={0,Ti,2Ti,,ΔTiTi}{\cal M}_{T_{i},\Delta}=\{0,T_{i},2T_{i},\ldots,\lfloor\frac{\Delta}{T_{i}}\rfloor\cdot T_{i}\} be the integer multiples of TiT_{i} within [0,Δ][0,\Delta], we have N(T,Δ)=|i[n]Ti,Δ|N(T,\Delta)=|\bigcup_{i\in[n]}{\cal M}_{T_{i},\Delta}|. In summary, our goal is to determine a joint replenishment policy T=(T1,,Tn)T=(T_{1},\ldots,T_{n}) that minimizes long-run average operating costs, represented by

F(T)=J(T)+i[n]Ci(Ti).F(T)~{}~{}=~{}~{}J(T)+\sum_{i\in[n]}C_{i}(T_{i})\ .

The joint ordering term 𝑱(𝑻)\boldsymbol{J(T)}.

When one comes across representation (1) of the joint ordering term, it is only natural to ask why limΔN(T,Δ)Δ\lim_{\Delta\to\infty}\frac{N(T,\Delta)}{\Delta} necessarily exists for any given policy TT. To clarify this point, for any subset of commodities 𝒩[n]{\cal N}\subseteq[n], let M𝒩M_{\cal N} be the least common multiple of {Ti}i𝒩\{T_{i}\}_{i\in{\cal N}}, with the agreement that M𝒩=M_{\cal N}=\infty when these time intervals do not have common multiples. Lemma 1.2 below states a well-known observation, showing that the limit in question indeed exists and providing an explicit inclusion-exclusion-like formula; for a complete proof, we refer the reader to (Segev, 2023, Sec. 1.1). That said, since the resulting expression consists of 2n2^{n} terms, its current form does not allow us to efficiently compute the joint ordering cost of arbitrarily-structured policies, implying that our algorithmic developments would have to circumvent this obstacle.

Lemma 1.2.

limΔN(T,Δ)Δ=𝒩[n](1)|𝒩|+1M𝒩\lim_{\Delta\to\infty}\frac{N(T,\Delta)}{\Delta}=\sum_{{\cal N}\subseteq[n]}\frac{(-1)^{|{\cal N}|+1}}{M_{\cal N}}.

1.2 Known results and open questions

Given the immense body of work dedicated to studying joint replenishment problems, including rigorous methods, heuristics, experimental evidence, industrial applications, and software solutions, there is no way to exhaustively review this literature. Hence, in what follows, we will be discussing only state-of-the-art results, directly pertaining to our research questions. For an in-depth literature review, readers are referred to excellent survey articles (Aksoy and Erenguc, 1988; Goyal and Satir, 1989; Muckstadt and Roundy, 1993; Khouja and Goyal, 2008; Bastos et al., 2017) and book chapters (Silver and Peterson, 1985; Simchi-Levi et al., 1997; Zipkin, 2000; Muckstadt and Sapra, 2010), as well as to the references therein. Moreover, to learn about exciting progress with respect to joint replenishment in discrete time, one could consult selected papers along these lines (Levi et al., 2008; Bienkowski et al., 2014; Gayon et al., 2017; Bosman and Olver, 2020; Suriyanarayana et al., 2024).

The variable-base setting: Cornerstone algorithmic methods.

To the best of our knowledge, the now-classical works of Roundy (1985, 1986), Jackson et al. (1985), Maxwell and Muckstadt (1985), and Muckstadt and Roundy (1987) were the first to devise efficient and provably-good policies for the joint replenishment problem. At a high level, these papers proposed innovative ways to exploit natural convex relaxations, rounding their optimal solutions to so-called power-of-22 policies. Within the latter class, one fixes a common base, say TminT_{\min}, with each time interval TiT_{i} being of the form 2qiTmin2^{q_{i}}\cdot T_{\min}, for some integer qi0q_{i}\geq 0. Let us first examine the variable-base joint replenishment setting, where T1,,TnT_{1},\ldots,T_{n} are allowed to take arbitrary values. Quite amazingly, this mechanism for synchronizing joint orders can be employed to optimize TminT_{\min} and {qi}i[n]\{q_{i}\}_{i\in[n]}, ending up with a power-of-22 policy whose long-run average cost is within factor 12ln21.02\frac{1}{\sqrt{2}\ln 2}\approx 1.02 of optimal! Since then, these findings have become some of the most renowned breakthroughs in inventory management, due to their widespread applicability, both theoretically and in practice.

With the above-mentioned approximation guarantee standing for nearly four decades, our recent work (Segev, 2023) finally attained the long-awaited improvement, showing that optimal policies can be efficiently approximated within any degree of accuracy. Technically speaking, this paper developed a new algorithmic approach for addressing the variable-base model, termed Ψ\Psi-pairwise alignment, enabling us to determine a replenishment policy whose long-run average cost is within factor 1+ϵ1+\epsilon of optimal. For any ϵ(0,12)\epsilon\in(0,\frac{1}{2}), the running time of our algorithm is O(2O~(1/ϵ3)nO(1))O(2^{\tilde{O}(1/\epsilon^{3})}\cdot n^{O(1)}), corresponding to the notion of an efficient polynomial-time approximation scheme (EPTAS).

Unfortunately, both the design of such policies and their analysis are very involved, mostly due to utilizing an exponentially-large value for the alignment parameter, Ψ=2poly(1/ϵ)\Psi=2^{\mathrm{poly}(1/\epsilon)}. The latter choice, which seems unavoidable in light of our cost-bounding arguments, concurrently leads to an O~(1ϵ3)\tilde{O}(\frac{1}{\epsilon^{3}}) running time exponent. Consequently, the primary open questions that motivate Section 2 of the present paper can be briefly summarized as follows:

  • Can we come up with simpler arguments for analyzing Ψ\Psi-pairwise alignment?

  • Is this method sufficiently accurate with Ψ=poly(1/ϵ)\Psi=\mathrm{poly}(1/\epsilon)?

  • If doable, what are the running time implications of such improvements?

The fixed-base setting: Best known algorithmic methods.

Now, let us shift our attention to the fixed-base joint replenishment setting, where the time intervals T1,,TnT_{1},\ldots,T_{n} are restricted to being integer multiples of a prespecified time unit, Δ\Delta. As one discovers by delving into previously-mentioned surveys (Aksoy and Erenguc, 1988; Goyal and Satir, 1989; Muckstadt and Roundy, 1993; Khouja and Goyal, 2008; Bastos et al., 2017), the latter requirement is motivated by real-life applications, where for practical concerns, cycle times are expected to be days, weeks, or months; here, policies with Ti=eT_{i}=\sqrt{e} or Ti=ln7T_{i}=\ln 7, for example, cannot be reasonably implemented.

Yet another great achievement of Roundy (1985, 1986), Jackson et al. (1985), and subsequent authors resides in proposing an ingenious rounding method for efficiently identifying feasible power-of-22 policies whose long-run average cost is within factor 9/81.06\sqrt{9/8}\approx 1.06 of optimal! Here, to ensure feasibility, rather than allowing the common base TminT_{\min} to take arbitrary values, one should optimize this parameter over integer multiples of the basic unit, Δ\Delta, explaining why approaching optimal policies in this model appears to be more challenging in comparison to its variable-base counterpart. While 9/81.06\sqrt{9/8}\approx 1.06 is widely believed to be the best approximation guarantee in this context, it has actually been surpassed years ago by Teo and Bertsimas (2001, Sec. 4). Their work developed a very elegant randomized rounding method for approximating the fixed-base joint replenishment problem within a factor of roughly 1.0431.043.

Unfortunately, due to a host of technical difficulties, we still do not know whether the notion of Ψ\Psi-pairwise alignment, in any conceivable form, can be adapted to provide improved approximation guarantees for the fixed-base setting. Given this state of affairs, the fundamental questions driving Section 3 of the present work, as stated in countless papers, books, conference talks, and course materials, can be concisely recapped as follows:

  • Can we outperform the above-mentioned results, in any shape or form?

  • It is easy to see why approximation guarantees for the fixed-base model readily migrate to the variable-base case; what about the opposite direction?

Integer-ratio policies and Roundy’s conjecture.

Somewhat informally, the term “integer-ratio” has been coined by classical literature to capture families of replenishment policies (T1,,Tn)(T_{1},\ldots,T_{n}) for which there exists some T0>0T_{0}>0, such that the ratio TiT0\frac{T_{i}}{T_{0}} is either an integer or its reciprocal, for every commodity i[n]i\in[n]. To qualify the slight informality, we mention that one could ask T1T0,,TnT0\frac{T_{1}}{T_{0}},\ldots,\frac{T_{n}}{T_{0}} to reside within some proper subset RR of the positive integers and their reciprocals, in which case we arrive at RR-integer-ratio policies or at additional twists on this terminology.

Needless to say, power-of-22 policies are high-structured special cases of integer-ratio policies, since we are fixing a common base TminT_{\min} and restricting each time interval TiT_{i} to take the form 2qiTmin2^{q_{i}}\cdot T_{\min}, for some integer qi0q_{i}\geq 0. From this perspective, one could view existing 12ln2\frac{1}{\sqrt{2}\ln 2}-approximations for the variable-base joint replenishment problem as utilizing a very specific type of integer-ratio policies. Interestingly, to this day, 12ln2\frac{1}{\sqrt{2}\ln 2} constitutes the best-known factor achievable through integer-ratio policies, and it is entirely unclear whether the latter family offers strictly stronger performance guarantees. To motivate Section 4 of this paper, we take the following quote from the concluding remarks of Roundy’s seminal work (1985, Sec. 8), stating a well-known conjecture about how good could integer-ratio policies potentially be:

It is likely that by using a somewhat more general class of policies, such as allowing rn=2/3r_{n}=2/3 or rn=3/2r_{n}=3/2, or by finding an optimal integer-ratio policy, the worst-case effectiveness of the lot-sizing rules given herein could be improved”.

Incorporating resource constraints.

A common thread passing across all settings reviewed up until now is that different commodities are interacting “only” via their joint orders. Last but not least, we will be considering the resource-constrained joint replenishment problem, where the underlying commodities are further connected through the following family of constraints:

i[n]αidTiβdd[D]\sum_{i\in[n]}\frac{\alpha_{id}}{T_{i}}~{}~{}\leq~{}~{}\beta_{d}\qquad\qquad\forall\,d\in[D]

While serving a wide range of practical purposes, it is instructive to take a production-oriented view on this model, where assembling each commodity ii requires DD limited resources. In turn, deciding on a time interval of TiT_{i} between successive orders translates to consuming αidTi\frac{\alpha_{id}}{T_{i}} units of each resource d[D]d\in[D], whose overall capacity is denoted by βd\beta_{d}. For an elaborate discussion on the theoretical and practical usefulness of such constraints and their rich history, one could consult the classical work of Dobson (1987), Jackson et al. (1988), and Roundy (1989) along these lines.

Unfortunately, resource constraints appear to be rendering the joint replenishment problem significantly more difficult to handle in comparison to its unrestricted counterpart. To our knowledge, Roundy (1989) still holds the best approximation guarantee in this context, showing that sophisticated scaling arguments lead to the design of power-of-22 policies whose long-run average cost is within factor 1ln21.442\frac{1}{\ln 2}\approx 1.442 of optimal. Interestingly, subject to a single resource constraint, Roundy (1989) proved that the latter approximation guarantee can be improved to 9/81.06\sqrt{9/8}\approx 1.06, and we refer readers to the work of Teo and Bertsimas (2001) for very elegant methods to derive these results via randomized rounding. Given that the above-mentioned findings have been state-of-the-art for about 3.5 decades, the open questions that will lie at the heart of Sections 5 and 6 can be succinctly highlighted as follows:

  • For the general problem setup, can we devise improved rounding methods, perhaps deviating from power-of-22 policies?

  • For a single resource constraint, could Ψ\Psi-pairwise alignment be exploited to breach the 9/8\sqrt{9/8}-barrier?

Hardness results.

Even though our work is algorithmically driven, to better understand the overall landscape, it is worth briefly mentioning known intractability results. Along these lines, Schulz and Telha (2011) were the first to rigorously investigate how plausible it is to efficiently compute optimal replenishment policies in continuous time. Specifically, they proved that in the fixed-base setting, a polynomial time algorithm for the joint replenishment problem would imply an analogous result for integer factorization, thereby unraveling well-hidden connections between this question and fundamental problems in number theory. Subsequently, following Zhang’s extraordinary work (2014) on bounded gaps between successive primes, Cohen-Hillel and Yedidsion (2018) attained traditional complexity-based results, proving that the fixed-base setting is in fact strongly NP-hard. The latter result has been substantially simplified by Schulz and Telha (2024), showing that NP-hardness arises even in the presence of only two commodities. Finally, for the variable-base setting, Schulz and Telha (2024) extended their original findings to derive its polynomial-relatability to integer factorization. The latter result was further lifted to a strong NP-hardness proof by Tuisov and Yedidsion (2020).

1.3 Main contributions

The primary contribution of this paper resides in developing a wide range of algorithmic methods and analytical ideas — some being completely novel and some offering enhancements to well-known techniques — for resolving all open questions listed in Section 1.2. For most of these questions, our results constitute the first quantitative improvement over power-of-22 policies and their nearby derivatives, which have been state-of-the-art in terms of provable performance guarantees since the mid-80’s. In what follows, we provide a formal description of our main findings, leaving their structural characterization, algorithmic techniques, and analytical arguments to be discussed in subsequent sections. As an aside, while the next few paragraphs are titled “Main result number\langle\text{number}\rangle: …”, this order is uncorrelated with importance; rather, it simply corresponds to the logical presentation order of these results.

Main result 1: The variable-base setting.

In Section 2, we propose a new approach to streamline Ψ\Psi-pairwise alignment, simplifying the design principles of this framework and sharpening its performance guarantees. Interestingly, rather than utilizing an exponentially-large alignment parameter, our analysis will reveal that Ψ=O~(1ϵ3)\Psi=\tilde{O}(\frac{1}{\epsilon^{3}}) suffices to identify (1ϵ)(1-\epsilon)-approximate replenishment policies, while concurrently improving the running time exponent from O~(1ϵ3)\tilde{O}(\frac{1}{\epsilon^{3}}) to O~(1ϵ)\tilde{O}(\frac{1}{\epsilon}). The outcome of this analysis can be formalized as follows.

Theorem 1.3.

For any ϵ>0\epsilon>0, the variable-base joint replenishment problem can be approximated within factor 1+ϵ1+\epsilon of optimal. The running time of our algorithm is O(2O~(1/ϵ)nO(1))O(2^{\tilde{O}(1/\epsilon)}\cdot n^{O(1)}).

Main result 2: The fixed-base setting.

In Section 3, we describe a black-box reduction, showing that any approximation guarantee with respect to the variable-base convex relaxation (Roundy, 1985, 1986; Jackson et al., 1985) readily migrates to the fixed-base joint replenishment problem, while incurring negligible loss in optimality. As an immediate implication, it follows that the fixed-base model can be efficiently approximated within factor 12ln2+ϵ\frac{1}{\sqrt{2}\ln 2}+\epsilon. The specifics of this result, which surpasses the long-standing performance guarantees of 1.0431.043 due to Teo and Bertsimas (2001), can be briefly stated as follows.

Theorem 1.4.

For any ϵ>0\epsilon>0, the fixed-base joint replenishment problem can be approximated within factor 12ln2+ϵ\frac{1}{\sqrt{2}\ln 2}+\epsilon of optimal. The running time of our algorithm is O(2O(1/ϵ2)nO(1))O(2^{O(1/\epsilon^{2})}\cdot n^{O(1)}).

Main result 3: Integer-ratio policies and Roundy’s conjecture.

In Section 4, we resolve Roundy’s conjecture in the affirmative, improving on the best-known approximation factor achievable through integer-ratio policies, 12ln21.02014\frac{1}{\sqrt{2}\ln 2}\approx 1.02014. Quite surprisingly, evenly-spaced policies will be shown to offer strictly stronger performance guarantees in comparison to their power-of-22 counterparts. In the former class of policies, we decide in advance to place evenly-spaced joint orders, and subsequently set all time intervals T1,,TnT_{1},\ldots,T_{n} as integer multiples of our spacing parameter, Δ\Delta, which is a decision variable.

Theorem 1.5.

Optimal evenly-spaced policies approximate the joint replenishment problem within factor of at most 1.019151.01915.

It is important to emphasize that, for ease of presentation, we have not fully optimized the above-mentioned constant, which should primarily be viewed as a proof of concept. Possible avenues toward improvements in this context are discussed in Section 7. From a computational perspective, we will explain how to efficiently compute an evenly-spaced policy whose long-run average cost is within factor 1+ϵ1+\epsilon of the optimal such policy. From a practical standpoint, we expect evenly-spaced policies to be particularly appealing, mainly due to their simplicity and implementability.

Main result 4: Incorporating resource constraints.

In Section 5, we revisit a well-known convex relaxation of the resource-constrained joint replenishment problem, thinking about how optimal solutions can be better converted into feasible policies. By fusing together classical ideas and new structural insights, we devise a randomized rounding procedure that breaches the best-known approximation factor in this setting, 1ln21.442\frac{1}{\ln 2}\approx 1.442 (Roundy, 1989). Once again, for simplicity of presentation, we avoid making concentrated efforts to minimize the resulting constant.

Theorem 1.6.

The resource-constrained joint replenishment problem can be approximated in polynomial time within factor 1.4171.417 of optimal.

Finally, in Section 6, we study the extent to which performance guarantees can be stretched, when running times are allowed to be exponential in the number of resource constraints, DD. Along these lines, we propose an O(nO~(D3/ϵ4))O(n^{\tilde{O}(D^{3}/\epsilon^{4})})-time enumeration-based approach for developing a linear relaxation, arguing that its optimal fractional solution can be rounded into a near-optimal resource-feasible policy. The specifics of this result can be succinctly summarized as follows.

Theorem 1.7.

For any ϵ>0\epsilon>0, the resource-constrained joint replenishment problem can be approximated within factor 1+ϵ1+\epsilon of optimal. The running time of our algorithm is O(nO~(D3/ϵ4))O(n^{\tilde{O}(D^{3}/\epsilon^{4})}).

One consequence of the latter finding is that, when D=O(1)D=O(1), we actually obtain a polynomial-time approximation scheme (PTAS). In particular, by setting D=1D=1, this outcome improves on the classic 9/8\sqrt{9/8}-approximation for a single resource constraint (Roundy, 1989; Teo and Bertsimas, 2001).

2 The Variable-Base Model: Improved Approximation Scheme

This section is dedicated to establishing Theorem 1.3, arguing that the variable-base joint replenishment problem can be approximated within factor 1+ϵ1+\epsilon of optimal in O(2O~(1/ϵ)nO(1))O(2^{\tilde{O}(1/\epsilon)}\cdot n^{O(1)}) time. To this end, Sections 2.1 and 2.2 introduce the basics of Ψ\Psi-pairwise alignment and reveal its newly-discovered lower-bounding method. Sections 2.3 and 2.4 present a high-level overview of our algorithmic approach, followed by a deeper dive into its finer details. The performance guarantees of this approach are analyzed in Sections 2.5 and 2.6.

2.1 The primitives of 𝚿\boldsymbol{\Psi}-pairwise alignment

In what follows, we bring the reader up to speed, by introducing the basic ingredients of Ψ\Psi-pairwise alignment. While some of the upcoming definitions follow the overall approach of our previous work (Segev, 2023), others are fundamentally different, and their intended role will be fleshed out along the way. As a side note, all notions discussed below are only serving analytical purposes, meaning that one should not be concerned with efficient implementation or with unknown pieces of information. These algorithmic questions will be addressed in subsequent sections.

Interval classification.

Let us make use of T=(T1,,Tn)T^{*}=(T_{1}^{*},\ldots,T_{n}^{*}) to denote an optimal replenishment policy, fixed from this point on, with Tmin=mini[n]TiT_{\min}^{*}=\min_{i\in[n]}T_{i}^{*} being the minimal time interval of any commodity. Given an error parameter ϵ(0,12)\epsilon\in(0,\frac{1}{2}), we classify each interval TiT_{i}^{*} as being large when Ti>1ϵTminT_{i}^{*}>\frac{1}{\epsilon}\cdot T^{*}_{\min}. In the opposite scenario, Ti[Tmin,1ϵTmin]T_{i}^{*}\in[T^{*}_{\min},\frac{1}{\epsilon}\cdot T^{*}_{\min}], in which case this interval will be referred to as being small. For a refined treatment of the latter class, we geometrically partition [Tmin,1ϵTmin][T^{*}_{\min},\frac{1}{\epsilon}\cdot T^{*}_{\min}] by powers of 1+ϵ1+\epsilon, to obtain the sequence of segments S1,,SLS_{1}^{*},\ldots,S_{L}^{*}. Specifically,

S1=[Tmin,(1+ϵ)Tmin),S2=[(1+ϵ)Tmin,(1+ϵ)2Tmin),S_{1}^{*}~{}~{}=~{}~{}[T^{*}_{\min},(1+\epsilon)\cdot T^{*}_{\min}),\quad S_{2}^{*}~{}~{}=~{}~{}[(1+\epsilon)\cdot T^{*}_{\min},(1+\epsilon)^{2}\cdot T^{*}_{\min}),\quad\ldots (2)

so on and so forth, where in general S=[(1+ϵ)1Tmin,(1+ϵ)Tmin)S_{\ell}^{*}=[(1+\epsilon)^{\ell-1}\cdot T^{*}_{\min},(1+\epsilon)^{\ell}\cdot T^{*}_{\min}). Here, LL is the minimal integer \ell for which (1+ϵ)1ϵ(1+\epsilon)^{\ell}\geq\frac{1}{\epsilon}, meaning that L=log1+ϵ(1ϵ)2ϵln1ϵL=\lceil\log_{1+\epsilon}(\frac{1}{\epsilon})\rceil\leq\frac{2}{\epsilon}\ln\frac{1}{\epsilon}.

Active segments and representatives.

We say that the segment SS_{\ell}^{*} is active when there is at least one commodity i[n]i\in[n] with TiST_{i}^{*}\in S_{\ell}^{*}, letting 𝒜[L]{\cal A}^{*}\subseteq[L] be the index set of active segments. Next, for each active segment SS_{\ell}^{*}, let RR^{*}_{\ell} be an arbitrarily picked interval TiT_{i}^{*} that belong to this segment; RR^{*}_{\ell} will be called the representative of SS_{\ell}^{*}.

We proceed by listing two useful observations regarding the set of representatives ={R}𝒜{\cal R}^{*}=\{R^{*}_{\ell}\}_{\ell\in{\cal A}^{*}}. First, Observation 2.1 informs us that, for every Δ0\Delta\geq 0, the number of joint orders across [0,Δ][0,\Delta] with respect to the time intervals {\cal R}^{*} is upper-bounded by the analogous quantity with respect to the optimal policy TT^{*}; this claim can be straightforwardly inferred by noting that {T1,,Tn}{\cal R}^{*}\subseteq\{T_{1}^{*},\ldots,T_{n}^{*}\}. Second, Observation 2.2 indirectly states that S1S_{1}^{*} must be an active segment, meaning that its representative R1R_{1}^{*} belongs to {\cal R}^{*}. To verify this claim, it suffices to note that TminS1T_{\min}^{*}\in S_{1}^{*}, by definition (2) of this segment.

Observation 2.1.

N(,Δ)N(T,Δ)N({\cal R}^{*},\Delta)\leq N(T^{*},\Delta), for every Δ0\Delta\geq 0.

Observation 2.2.

R1R_{1}^{*}\in{\cal R}^{*}.

𝚿\boldsymbol{\Psi}-pairwise alignment.

We say that a pair of active segments S1S_{\ell_{1}}^{*} and S2S_{\ell_{2}}^{*} is aligned when their representatives R1R^{*}_{\ell_{1}} and R2R^{*}_{\ell_{2}} have common integer multiples, which is equivalent to R1R2\frac{R^{*}_{\ell_{1}}}{R^{*}_{\ell_{2}}} being a rational number. Moving on to define a stronger requirement, letting M1,2M_{\ell_{1},\ell_{2}}^{*} be the least common multiple of R1R^{*}_{\ell_{1}} and R2R^{*}_{\ell_{2}}, this pair of segments is called Ψ\Psi-aligned when the corresponding multiples M1,2R1\frac{M_{\ell_{1},\ell_{2}}^{*}}{R^{*}_{\ell_{1}}} and M1,2R2\frac{M_{\ell_{1},\ell_{2}}^{*}}{R^{*}_{\ell_{2}}} both take values of at most Ψ\Psi, with the latter constant set to Ψ=2ϵ3ln2(1ϵ)\Psi=\frac{2}{\epsilon^{3}}\ln^{2}(\frac{1}{\epsilon}). In this case, we make use of α{1,2},1\alpha^{*}_{\{\ell_{1},\ell_{2}\},\ell_{1}} and α{1,2},2\alpha^{*}_{\{\ell_{1},\ell_{2}\},\ell_{2}} to denote these two multiples, respectively. It is worth pointing out that, since Ψ\Psi is chosen to be polynomial in 1ϵ\frac{1}{\epsilon}, we will have to come up with cost-bounding arguments that are significantly different from those of our recent work (Segev, 2023), which are relevant only when Ψ=2poly(1/ϵ)\Psi=2^{\mathrm{poly}(1/\epsilon)}.

The alignment graph.

Letting 𝒫Ψ{\cal P}_{\Psi}^{*} be the collection of Ψ\Psi-aligned pairs, in subsequent sections we will be exploiting the so-called alignment graph, GΨ=(𝒜,𝒫Ψ)G_{\Psi}^{*}=({\cal A}^{*},{\cal P}_{\Psi}^{*}). Namely, the vertex set of this graph is comprised of the active segments, and each pair of such segments is connected by an edge when they are Ψ\Psi-aligned. We make use of 𝒞1,,𝒞Λ{\cal C}_{1}^{*},\ldots,{\cal C}_{\Lambda}^{*} to denote the underlying connected components of GΨG_{\Psi}^{*}.

2.2 The relation between 𝑵(𝓡,𝚫)\boldsymbol{N({\cal R}^{*},\Delta)} and 𝑮𝚿\boldsymbol{G_{\Psi}^{*}}

Let us be reminded that N(,Δ)N({\cal R}^{*},\Delta) stands for the number of joint orders across [0,Δ][0,\Delta] with respect to the set of representatives ={R}𝒜{\cal R}^{*}=\{R^{*}_{\ell}\}_{\ell\in{\cal A}^{*}}. One particular crux of our revised analysis consists in arguing that, up to ϵ\epsilon-dependent terms, N(,Δ)N({\cal R}^{*},\Delta) is determined by the relationship between pairs of representatives within each connected component of GΨG_{\Psi}^{*}. Moreover, these components will be contributing toward N(,Δ)N({\cal R}^{*},\Delta) in a completely additive way.

To formalize this statement, for every active segment SS_{\ell}^{*}, let R,Δ={0,R,2R,,ΔRR}{\cal M}_{R^{*}_{\ell},\Delta}=\{0,R^{*}_{\ell},2R^{*}_{\ell},\ldots,\lfloor\frac{\Delta}{R^{*}_{\ell}}\rfloor\cdot R^{*}_{\ell}\} be the integer multiples of RR^{*}_{\ell} within [0,Δ][0,\Delta]. As such, the number of joint orders N(,Δ)N({\cal R}^{*},\Delta) can be written as

N(,Δ)=|𝒜R,Δ|=|λ[Λ]𝒞λR,Δ|,N({\cal R}^{*},\Delta)~{}~{}=~{}~{}\left|\bigcup_{\ell\in{\cal A}^{*}}{\cal M}_{R^{*}_{\ell},\Delta}\right|~{}~{}=~{}~{}\left|\bigcup_{\lambda\in[\Lambda]}\bigcup_{\ell\in{\cal C}_{\lambda}^{*}}{\cal M}_{R^{*}_{\ell},\Delta}\right|\ ,

and by the union bound, we clearly have

N(,Δ)λ[Λ]|𝒞λR,Δ|=λ[Λ]N((λ),Δ),N({\cal R}^{*},\Delta)~{}~{}\leq~{}~{}\sum_{\lambda\in[\Lambda]}\left|\bigcup_{\ell\in{\cal C}_{\lambda}^{*}}{\cal M}_{R^{*}_{\ell},\Delta}\right|~{}~{}=~{}~{}\sum_{\lambda\in[\Lambda]}N({\cal R}^{*(\lambda)},\Delta)\ ,

with the convention that (λ){\cal R}^{*(\lambda)} stands for the set of representatives belonging to component 𝒞λ{\cal C}_{\lambda}^{*}, i.e., (λ)={}𝒞λ{\cal R}^{*(\lambda)}=\{{\cal R}^{*}_{\ell}\}_{\ell\in{\cal C}_{\lambda}^{*}}. However, our crucial finding is that these terms can also be related in the opposite direction, arguing that λ[Λ]N((λ),Δ)\sum_{\lambda\in[\Lambda]}N({\cal R}^{*(\lambda)},\Delta) nearly matches N(,Δ)N({\cal R}^{*},\Delta), up to an additive error that depends only on |𝒜||{\cal A}^{*}|.

Lemma 2.3.

(1ϵ)λ[Λ]N((λ),Δ)|𝒜|2N(,Δ)λ[Λ]N((λ),Δ)(1-\epsilon)\cdot\sum_{\lambda\in[\Lambda]}N({\cal R}^{*(\lambda)},\Delta)-\left|{\cal A}^{*}\right|^{2}\leq N({\cal R}^{*},\Delta)\leq\sum_{\lambda\in[\Lambda]}N({\cal R}^{*(\lambda)},\Delta).

Proof.

To establish the desired lower bound, we make use of Bonferroni’s inequality (1936) to obtain

N(,Δ)\displaystyle N({\cal R}^{*},\Delta) =\displaystyle= |λ[Λ]𝒞λR,Δ|\displaystyle\left|\bigcup_{\lambda\in[\Lambda]}\bigcup_{\ell\in{\cal C}_{\lambda}^{*}}{\cal M}_{R^{*}_{\ell},\Delta}\right| (3)
\displaystyle\geq λ[Λ]N((λ),Δ)λ1,λ2[Λ]:λ1<λ2|(𝒞λ1R,Δ)(𝒞λ2R,Δ)|.\displaystyle\sum_{\lambda\in[\Lambda]}N({\cal R}^{*(\lambda)},\Delta)-\sum_{\genfrac{}{}{0.0pt}{}{\lambda_{1},\lambda_{2}\in[\Lambda]:}{\lambda_{1}<\lambda_{2}}}\left|\left(\bigcup_{\ell\in{\cal C}^{*}_{\lambda_{1}}}{\cal M}_{R^{*}_{\ell},\Delta}\right)\cap\left(\bigcup_{\ell\in{\cal C}_{\lambda_{2}}^{*}}{\cal M}_{R^{*}_{\ell},\Delta}\right)\right|\ .

Focusing on a single pair of components λ1λ2\lambda_{1}\neq\lambda_{2}, we proceed by examining the question of how large could their corresponding term be. For readability purposes, the proof of this claim appears immediately following the current one (see page 2.2).

Claim 2.4.

|(𝒞λ1R,Δ)(𝒞λ2R,Δ)||𝒞λ1||𝒞λ2|(N(,Δ)Ψ+1)|(\bigcup_{\ell\in{\cal C}^{*}_{\lambda_{1}}}{\cal M}_{R^{*}_{\ell},\Delta})\cap(\bigcup_{\ell\in{\cal C}_{\lambda_{2}}^{*}}{\cal M}_{R^{*}_{\ell},\Delta})|\leq|{\cal C}_{\lambda_{1}}^{*}|\cdot|{\cal C}_{\lambda_{2}}^{*}|\cdot(\frac{N({\cal R}^{*},\Delta)}{\Psi}+1).

Plugging this bound back into inequality (3), we have

N(,Δ)\displaystyle N({\cal R}^{*},\Delta) \displaystyle\geq λ[Λ]N((λ),Δ)(N(,Δ)Ψ+1)λ1,λ2[Λ]:λ1<λ2|𝒞λ1||𝒞λ2|\displaystyle\sum_{\lambda\in[\Lambda]}N({\cal R}^{*(\lambda)},\Delta)-\left(\frac{N({\cal R}^{*},\Delta)}{\Psi}+1\right)\cdot\sum_{\genfrac{}{}{0.0pt}{}{\lambda_{1},\lambda_{2}\in[\Lambda]:}{\lambda_{1}<\lambda_{2}}}|{\cal C}_{\lambda_{1}}^{*}|\cdot|{\cal C}_{\lambda_{2}}^{*}| (4)
\displaystyle\geq λ[Λ]N((λ),Δ)(N(,Δ)Ψ+1)|𝒜|22\displaystyle\sum_{\lambda\in[\Lambda]}N({\cal R}^{*(\lambda)},\Delta)-\left(\frac{N({\cal R}^{*},\Delta)}{\Psi}+1\right)\cdot\frac{\left|{\cal A}^{*}\right|^{2}}{2}
\displaystyle\geq λ[Λ]N((λ),Δ)ϵN(,Δ)|𝒜|2,\displaystyle\sum_{\lambda\in[\Lambda]}N({\cal R}^{*(\lambda)},\Delta)-\epsilon\cdot N({\cal R}^{*},\Delta)-\left|{\cal A}^{*}\right|^{2}\ , (5)

and by rearranging, it indeed follows that N(,Δ)(1ϵ)λ[Λ]N((λ),Δ)|𝒜|2N({\cal R}^{*},\Delta)\geq(1-\epsilon)\cdot\sum_{\lambda\in[\Lambda]}N({\cal R}^{*(\lambda)},\Delta)-\left|{\cal A}^{*}\right|^{2}. Here, inequality (5) holds since Ψ=2ϵ3ln2(1ϵ)\Psi=\frac{2}{\epsilon^{3}}\ln^{2}(\frac{1}{\epsilon}), as stated in Section 2.1, and since |𝒜|L2ϵln1ϵ|{\cal A}^{*}|\leq L\leq\frac{2}{\epsilon}\ln\frac{1}{\epsilon}, as argued in Section 2.1. The trickier transition is inequality (4), where we upper-bound λ1,λ2[Λ]:λ1<λ2|𝒞λ1||𝒞λ2|\sum_{\lambda_{1},\lambda_{2}\in[\Lambda]:\lambda_{1}<\lambda_{2}}|{\cal C}_{\lambda_{1}}^{*}|\cdot|{\cal C}_{\lambda_{2}}^{*}| as follows: By observing that λ[Λ]|𝒞λ|\bigcup_{\lambda\in[\Lambda]}|{\cal C}_{\lambda}^{*}| is precisely the number of active segments, |𝒜||{\cal A}^{*}|, we drive the desired bound via the next continuous relaxation:

maxλ1,λ2[Λ]:λ1<λ2xλ1xλ2s.t.x1=|𝒜|x+Λ\begin{array}[]{lll}\max&{\displaystyle\sum_{\genfrac{}{}{0.0pt}{}{\lambda_{1},\lambda_{2}\in[\Lambda]:}{\lambda_{1}<\lambda_{2}}}x_{\lambda_{1}}x_{\lambda_{2}}}\\ \text{s.t.}&\|x\|_{1}=|{\cal A}^{*}|\\ &x\in\mathbbm{R}^{\Lambda}_{+}\end{array} (P)

In Appendix A.2, we prove the following claim, implying that λ1,λ2[Λ]:λ1<λ2|𝒞λ1||𝒞λ2||𝒜|22\sum_{\lambda_{1},\lambda_{2}\in[\Lambda]:\lambda_{1}<\lambda_{2}}|{\cal C}_{\lambda_{1}}^{*}|\cdot|{\cal C}_{\lambda_{2}}^{*}|\leq\frac{|{\cal A}^{*}|^{2}}{2}.

Claim 2.5.

OPT(P)=Λ12Λ|𝒜|2\mathrm{OPT}\eqref{eqn:opt_prob_crossing}=\frac{\Lambda-1}{2\Lambda}\cdot|{\cal A}^{*}|^{2}.

Proof of Claim 2.4.

For any pair of connected components 𝒞λ1𝒞λ2{\cal C}_{\lambda_{1}}^{*}\neq{\cal C}_{\lambda_{2}}^{*}, we obtain the upper bound in question by observing that

|(𝒞λ1R,Δ)(𝒞λ2R,Δ)|\displaystyle\left|\left(\bigcup_{\ell\in{\cal C}^{*}_{\lambda_{1}}}{\cal M}_{R^{*}_{\ell},\Delta}\right)\cap\left(\bigcup_{\ell\in{\cal C}_{\lambda_{2}}^{*}}{\cal M}_{R^{*}_{\ell},\Delta}\right)\right| \displaystyle\leq 1𝒞λ12𝒞λ2|R1,ΔR2,Δ|\displaystyle\sum_{\ell_{1}\in{\cal C}_{\lambda_{1}}^{*}}\sum_{\ell_{2}\in{\cal C}_{\lambda_{2}}^{*}}\left|{\cal M}_{R^{*}_{\ell_{1}},\Delta}\cap{\cal M}_{R^{*}_{\ell_{2}},\Delta}\right| (6)
\displaystyle\leq 1𝒞λ12𝒞λ2(ΔΨmin{R1,R2}+1)\displaystyle\sum_{\ell_{1}\in{\cal C}_{\lambda_{1}}^{*}}\sum_{\ell_{2}\in{\cal C}_{\lambda_{2}}^{*}}\left(\left\lfloor\frac{\Delta}{\Psi\cdot\min\{R^{*}_{\ell_{1}},R^{*}_{\ell_{2}}\}}\right\rfloor+1\right)
\displaystyle\leq |𝒞λ1||𝒞λ2|(ΔΨTmin+1)\displaystyle|{\cal C}_{\lambda_{1}}^{*}|\cdot|{\cal C}_{\lambda_{2}}^{*}|\cdot\left(\frac{\Delta}{\Psi\cdot T^{*}_{\min}}+1\right) (7)
\displaystyle\leq |𝒞λ1||𝒞λ2|(N(,Δ)Ψ+1).\displaystyle|{\cal C}_{\lambda_{1}}^{*}|\cdot|{\cal C}_{\lambda_{2}}^{*}|\cdot\left(\frac{N({\cal R}^{*},\Delta)}{\Psi}+1\right)\ . (8)

To better understand where inequality (6) is coming from, the important observation is that, for any pair of segments 1\ell_{1} and 2\ell_{2} in different connected components of GΨG_{\Psi}^{*}, we know that R1R^{*}_{\ell_{1}} and R2R^{*}_{\ell_{2}} are not Ψ\Psi-aligned. Namely, R1R^{*}_{\ell_{1}} and R2R^{*}_{\ell_{2}} either do not have common integer multiples, or have their least common multiple being greater than Ψmin{R1,R2}\Psi\cdot\min\{R^{*}_{\ell_{1}},R^{*}_{\ell_{2}}\}. Inequality (7) holds since both R1R^{*}_{\ell_{1}} and R2R^{*}_{\ell_{2}} take values of at least TminT^{*}_{\min}. Finally, inequality (8) is obtained by noting that N(,Δ)ΔTminN({\cal R}^{*},\Delta)\geq\frac{\Delta}{T_{\min}^{*}}.

2.3 Algorithmic preliminaries

Having laid down the foundations of Ψ\Psi-pairwise alignment, we proceed with a distinction between two regimes — one very easy to handle, and the other requiring our full-blown machinery. For this purpose, we remind the reader that T=(T1,,Tn)T^{*}=(T_{1}^{*},\ldots,T_{n}^{*}) stands for an optimal replenishment policy, with Tmin=mini[n]TiT_{\min}^{*}=\min_{i\in[n]}T_{i}^{*} being the minimal time interval of any commodity. We begin by computing an over-estimate OPT~\widetilde{\mathrm{OPT}} for the optimal long-run average cost F(T)F(T^{*}), such that F(T)OPT~2F(T)F(T^{*})\leq\widetilde{\mathrm{OPT}}\leq 2\cdot F(T^{*}). One way to obtain such an estimate in polynomial time is by computing a 12ln2\frac{1}{\sqrt{2}\ln 2}-approximate power-of-22 policy, as explained in Section 1.2. To avoid cumbersome notation, we plug in an approximation guarantee of 22 rather than 12ln21.02\frac{1}{\sqrt{2}\ln 2}\approx 1.02, noting that the specific constant does not play an important role.

The cheap ordering regime: 𝑱(𝑻)ϵ𝟐𝐎𝐏𝐓~\boldsymbol{J(T^{*})\leq\epsilon^{2}\widetilde{\mathrm{OPT}}}.

Starting with the easy scenario, we argue that when the optimal joint ordering cost J(T)J(T^{*}) is sufficiently small in comparison to OPT~\widetilde{\mathrm{OPT}}, a rather straightforward replenishment policy is near-optimal. To this end, our candidate policy T~=(T~1,,T~n)\tilde{T}=(\tilde{T}_{1},\ldots,\tilde{T}_{n}) is determined as follows:

  • Placing joint orders: We place joint order at integer multiples of Δ=K0ϵOPT~\Delta=\frac{K_{0}}{\epsilon\widetilde{\mathrm{OPT}}}.

  • Placing commodity-specific orders: For each commodity i[n]i\in[n], let TiEOQT_{i}^{\mathrm{EOQ}} be the optimal solution to the standard EOQ model of this commodity (see Section 1.1). Namely, TiEOQT_{i}^{\mathrm{EOQ}} minimizes the long-run average cost Ci(Ti)=KiTi+HiTiC_{i}(T_{i})=\frac{K_{i}}{T_{i}}+H_{i}T_{i}, implying that TiEOQ=Ki/HiT_{i}^{\mathrm{EOQ}}=\sqrt{K_{i}/H_{i}} by Claim 1.1. Given these definitions, we set the time interval of commodity ii as T~i=TiEOQ(Δ)\tilde{T}_{i}=\lceil T_{i}^{\mathrm{EOQ}}\rceil^{(\Delta)}, where (Δ)\lceil\cdot\rceil^{(\Delta)} is an operator that rounds its argument up to the nearest integer multiple of Δ\Delta.

The next claim shows that, in the currently considered regime, this policy happens to be near-optimal.

Lemma 2.6.

When J(T)ϵ2OPT~{J(T^{*})\leq\epsilon^{2}\widetilde{\mathrm{OPT}}}, we have F(T~)(1+3ϵ)F(T)F(\tilde{T})\leq(1+3\epsilon)\cdot F(T^{*}).

Proof.

Recalling that F(T~)=J(T~)+i[n]Ci(T~i)F(\tilde{T})=J(\tilde{T})+\sum_{i\in[n]}C_{i}(\tilde{T}_{i}), we proceed by separately bounding these two terms, showing that J(T~)2ϵF(T)J(\tilde{T})\leq 2\epsilon\cdot F(T^{*}) and i[n]Ci(T~i)(1+ϵ)F(T)\sum_{i\in[n]}C_{i}(\tilde{T}_{i})\leq(1+\epsilon)\cdot F(T^{*}). First, for the long-run joint ordering cost, since joint orders are placed at integer multiples of Δ=K0ϵOPT~\Delta=\frac{K_{0}}{\epsilon\widetilde{\mathrm{OPT}}}, we have

J(T~)=K0Δ=ϵOPT~2ϵF(T).J(\tilde{T})~{}~{}=~{}~{}\frac{K_{0}}{\Delta}~{}~{}=~{}~{}\epsilon\widetilde{\mathrm{OPT}}~{}~{}\leq~{}~{}2\epsilon\cdot F(T^{*})\ .

Moving on to consider marginal EOQ-based costs, note that

i[n]Ci(T~i)\displaystyle\sum_{i\in[n]}C_{i}(\tilde{T}_{i}) =\displaystyle= i[n](KiT~i+HiT~i)\displaystyle\sum_{i\in[n]}\left(\frac{K_{i}}{\tilde{T}_{i}}+H_{i}\tilde{T}_{i}\right)
=\displaystyle= i[n](KiTiEOQ(Δ)+HiTiEOQ(Δ))\displaystyle\sum_{i\in[n]}\left(\frac{K_{i}}{\lceil T_{i}^{\mathrm{EOQ}}\rceil^{(\Delta)}}+H_{i}\cdot\lceil T_{i}^{\mathrm{EOQ}}\rceil^{(\Delta)}\right)
\displaystyle\leq i[n](KiTiEOQ+Hi(TiEOQ+Δ))\displaystyle\sum_{i\in[n]}\left(\frac{K_{i}}{T_{i}^{\mathrm{EOQ}}}+H_{i}\cdot\left(T_{i}^{\mathrm{EOQ}}+\Delta\right)\right)
=\displaystyle= i[n]Ci(TiEOQ)+Δi[n]Hi\displaystyle\sum_{i\in[n]}C_{i}(T_{i}^{\mathrm{EOQ}})+\Delta\cdot\sum_{i\in[n]}H_{i}
\displaystyle\leq i[n]Ci(Ti)+ϵi[n]HiTi\displaystyle\sum_{i\in[n]}C_{i}(T_{i}^{*})+\epsilon\cdot\sum_{i\in[n]}H_{i}T^{*}_{i}
\displaystyle\leq (1+ϵ)F(T).\displaystyle(1+\epsilon)\cdot F(T^{*})\ .

Here, inequality (2.3) holds since TiEOQT_{i}^{\mathrm{EOQ}} minimizes Ci()C_{i}(\cdot), implying in particular that Ci(TiEOQ)Ci(Ti)C_{i}(T_{i}^{\mathrm{EOQ}})\leq C_{i}(T_{i}^{*}). In addition, K0TminJ(T)ϵ2OPT~\frac{K_{0}}{T^{*}_{\min}}\leq J(T^{*})\leq\epsilon^{2}\widetilde{\mathrm{OPT}} by the case hypothesis, and therefore, Δ=K0ϵOPT~ϵTminϵTi\Delta=\frac{K_{0}}{\epsilon\widetilde{\mathrm{OPT}}}\leq\epsilon T^{*}_{\min}\leq\epsilon T^{*}_{i}. ∎

The expensive ordering regime: 𝑱(𝑻)>ϵ𝟐𝐎𝐏𝐓~\boldsymbol{J(T^{*})>\epsilon^{2}\widetilde{\mathrm{OPT}}}.

We have now landed at the difficult scenario, where the vast majority of algorithmic effort is required. In Sections 2.4-2.6, our objective is to efficiently construct a set of representative points ~+\tilde{\cal R}\subseteq\mathbbm{R}_{+} that “mimics” the unknown set of optimal representatives ={R}𝒜{\cal R}^{*}=\{R^{*}_{\ell}\}_{\ell\in{\cal A}^{*}}, in the sense of simultaneously being ϵ\epsilon-dense and ϵ\epsilon-assignable. To better understand these properties, it is instructive to keep in mind the following interpretation:

  1. 1.

    One-to-one correspondence: This notion means that our set of representatives can be written as ~={R~}𝒜\tilde{\cal R}=\{\tilde{R}_{\ell}\}_{\ell\in{\cal A}^{*}}. We mention in passing that, while each optimal representative RR^{*}_{\ell} resides within SS^{*}_{\ell}, its analogous R~\tilde{R}_{\ell} will be allowed to slightly exceed this segment.

  2. 2.

    ϵ\epsilon-density: The set ~\tilde{\cal R} is called ϵ\epsilon-dense when, by placing joints orders at all integer multiples of all representative points, we obtain an ordering density limΔN(~,Δ)Δ\lim_{\Delta\to\infty}\frac{N(\tilde{\cal R},\Delta)}{\Delta} that matches the analogous density limΔN(T,Δ)Δ\lim_{\Delta\to\infty}\frac{N(T^{*},\Delta)}{\Delta} with respect to the optimal policy TT^{*}, up to a factor of 1+ϵ1+\epsilon. By representation (1), this property translates to J(~)(1+ϵ)J(T)J(\tilde{\cal R})\leq(1+\epsilon)\cdot J(T^{*}), implying that our long-run joint ordering cost is near-optimal.

  3. 3.

    ϵ\epsilon-assignability: We say that ~\tilde{\cal R} is ϵ\epsilon-assignable when, for each commodity i[n]i\in[n], we can choose an integer multiple of some representative in ~\tilde{\cal R} to serve as the time interval T~i\tilde{T}_{i} of this commodity, such that its marginal operating cost Ci(T~i)C_{i}(\tilde{T}_{i}) is within factor 1+ϵ1+\epsilon of the analogous cost Ci(Ti)C_{i}(T_{i}^{*}) with respect to TT^{*}.

2.4 Constructing our replenishment policy

Step 1: Estimating 𝑻𝐦𝐢𝐧\boldsymbol{T^{*}_{\min}}.

Let us first observe that, since 1Tmin\frac{1}{T^{*}_{\min}} forms an upper bound on the ordering frequency of each commodity, we have J(T)nK0TminJ(T^{*})\leq\frac{nK_{0}}{T_{\min}^{*}}. Combining the latter inequality with our case hypothesis in the expensive ordering regime, J(T)>ϵ2OPT~J(T^{*})>\epsilon^{2}\widetilde{\mathrm{OPT}}, it follows that Tminnϵ2K0OPT~T_{\min}^{*}\leq\frac{n}{\epsilon^{2}}\cdot\frac{K_{0}}{\widetilde{\mathrm{OPT}}}. On the other hand, K0TminJ(T)<F(T)OPT~\frac{K_{0}}{T_{\min}^{*}}\leq J(T^{*})<F(T^{*})\leq\widetilde{\mathrm{OPT}}, meaning that TminK0OPT~T_{\min}^{*}\geq\frac{K_{0}}{\widetilde{\mathrm{OPT}}}. As such, we know that the minimal time interval TminT_{\min}^{*} resides within [K0OPT~,nϵ2K0OPT~)[\frac{K_{0}}{\widetilde{\mathrm{OPT}}},\frac{n}{\epsilon^{2}}\cdot\frac{K_{0}}{\widetilde{\mathrm{OPT}}}). By enumerating over O(1ϵlognϵ)O(\frac{1}{\epsilon}\log\frac{n}{\epsilon}) candidate values, this property allows us to assume that we have at our possession an under-estimate T~min\tilde{T}_{\min} of the minimal time interval TminT_{\min}^{*}, specifically, one that satisfies

(1ϵ)TminT~minTmin.(1-\epsilon)\cdot T_{\min}^{*}~{}~{}\leq~{}~{}\tilde{T}_{\min}~{}~{}\leq~{}~{}T_{\min}^{*}\ . (10)

Step 2: Guessing active segments.

Recalling that 𝒜[L]{\cal A}^{*}\subseteq[L] stands for the index set of active segments, this set is clearly unknown from an algorithmic perspective. Therefore, our next step consists of guessing the precise identity of 𝒜{\cal A}^{*}, or equivalently, whether each of the segments S1,,SLS_{1}^{*},\ldots,S_{L}^{*} is active or not. For this purpose, the overall number of guesses to consider is 2L=O(2O(1ϵlog1ϵ))2^{L}=O(2^{O(\frac{1}{\epsilon}\log\frac{1}{\epsilon})}).

Step 3: Guessing a spanning forest.

As explained in Section 2.1, the alignment graph GΨ=(𝒜,𝒫Ψ)G_{\Psi}^{*}=({\cal A}^{*},{\cal P}_{\Psi}^{*}) is a useful way to view the collection of Ψ\Psi-aligned pairs and to study their relationships. In this graph, our vertex set is comprised of the active segments 𝒜{\cal A}^{*}, which is already known following step 2. However, noting that GΨG_{\Psi}^{*} connects each pair of such segments by an edge when they are Ψ\Psi-aligned, we are still unaware of how this edge set 𝒫Ψ{\cal P}_{\Psi}^{*} is structured. Moving forward, we will not be guessing the precise identity of 𝒫Ψ{\cal P}_{\Psi}^{*}, which would require us to consider all 2Ω(|𝒜|2)2^{\Omega(|{\cal A}^{*}|^{2})} possible subsets of edges, and in turn, to exceed the O(2O~(1/ϵ)nO(1))O(2^{\tilde{O}(1/\epsilon)}\cdot n^{O(1)}) running time guarantee stated in Theorem 1.3.

Instead, let us remind the reader that the underlying connected components of GΨG_{\Psi}^{*} were designated by 𝒞1,,𝒞Λ{\cal C}_{1}^{*},\ldots,{\cal C}_{\Lambda}^{*}. Letting 𝒯λ{\cal T}^{*}_{\lambda} be an arbitrary spanning tree of each such component 𝒞λ{\cal C}_{\lambda}^{*}, we proceed by guessing the entire forest ={𝒯1,,𝒯Λ}{\cal F}^{*}=\{{\cal T}^{*}_{1},\ldots,{\cal T}^{*}_{\Lambda}\}. To this end, it suffices to enumerate across all possible forests over the set of vertices 𝒜{\cal A}^{*}, where by Cayley’s formula (see, e.g., Aigner and Ziegler (2018, pg. 235-240)), there are only |𝒜|O(|𝒜|)=O(2O(1ϵlog2(1ϵ)))|{\cal A}^{*}|^{O(|{\cal A}^{*}|)}=O(2^{O(\frac{1}{\epsilon}\log^{2}(\frac{1}{\epsilon}))}) forests to consider.

Step 4: Guessing edge multiples.

Noting that {\cal F}^{*} is a spanning forest of the alignment graph GΨG_{\Psi}^{*}, we know that for each edge (1,2)(\ell_{1},\ell_{2})\in{\cal F}^{*}, its corresponding pair (R1,R2)(R^{*}_{\ell_{1}},R^{*}_{\ell_{2}}) of optimal representatives is Ψ\Psi-aligned. In other words, letting M1,2M_{\ell_{1},\ell_{2}}^{*} be the least common multiple of R1R^{*}_{\ell_{1}} and R2R^{*}_{\ell_{2}}, the corresponding multiples α{1,2},1=M1,2R1\alpha^{*}_{\{\ell_{1},\ell_{2}\},\ell_{1}}=\frac{M_{\ell_{1},\ell_{2}}^{*}}{R^{*}_{\ell_{1}}} and α{1,2},2=M1,2R2\alpha^{*}_{\{\ell_{1},\ell_{2}\},\ell_{2}}=\frac{M_{\ell_{1},\ell_{2}}^{*}}{R^{*}_{\ell_{2}}} both take values of at most Ψ=2ϵ3ln2(1ϵ)\Psi=\frac{2}{\epsilon^{3}}\ln^{2}(\frac{1}{\epsilon}). Consequently, we can guess the latter multiples for all edges in {\cal F}^{*} by enumerating over O(ΨO(|E()|))=O(2O(1ϵlog2(1ϵ)))O(\Psi^{O(|E({\cal F}^{*})|)})=O(2^{O(\frac{1}{\epsilon}\log^{2}(\frac{1}{\epsilon}))}) options.

Step 5: Defining approximate representatives.

Given these ingredients, our revised method for defining the set of approximate representatives ~={R~}𝒜\tilde{\cal R}=\{\tilde{R}_{\ell}\}_{\ell\in{\cal A}^{*}} makes completely independent decisions for each of the trees 𝒯1,,𝒯Λ{\cal T}^{*}_{1},\ldots,{\cal T}^{*}_{\Lambda}. Specifically, focusing on a single tree 𝒯λ{\cal T}^{*}_{\lambda}, let σλ\sigma_{\lambda} be an arbitrarily picked vertex in 𝒯λ{\cal T}^{*}_{\lambda}, to which we refer as the source of this tree. Recalling that RσλR^{*}_{\sigma_{\lambda}} is the representative of Sσλ=[(1+ϵ)σλ1Tmin,(1+ϵ)σλTmin)S_{\sigma_{\lambda}}^{*}=[(1+\epsilon)^{\sigma_{\lambda}-1}\cdot T^{*}_{\min},(1+\epsilon)^{\sigma_{\lambda}}\cdot T^{*}_{\min}), we begin by setting R~σλ=(1+ϵ)σλT~min\tilde{R}_{\sigma_{\lambda}}=(1+\epsilon)^{\sigma_{\lambda}}\cdot\tilde{T}_{\min}, which corresponds to the right endpoint of this segment, with the unknown TminT^{*}_{\min} replaced by its estimate, T~min\tilde{T}_{\min}. As a side note, any choice of R~σλ\tilde{R}_{\sigma_{\lambda}} that can be (1±O(ϵ))(1\pm O(\epsilon))-scaled back into SσλS_{\sigma_{\lambda}}^{*} will be good enough for our purposes; choosing R~σλ\tilde{R}_{\sigma_{\lambda}} as a proxy for the right endpoint is mainly for notational convenience.

The important observation is that, once we fix a particular value for a single representative in 𝒯λ{\cal T}^{*}_{\lambda}, all other representatives in this tree are uniquely determined through the multiples {(α{1,2},1,α{1,2},2):(1,2)𝒯λ}\{(\alpha^{*}_{\{\ell_{1},\ell_{2}\},\ell_{1}},\alpha^{*}_{\{\ell_{1},\ell_{2}\},\ell_{2}}):(\ell_{1},\ell_{2})\in{\cal T}^{*}_{\lambda}\}. Indeed, let us consider some vertex 𝒯λ\ell\in{\cal T}^{*}_{\lambda}, with σλ=u1,,uk=\sigma_{\lambda}=u_{1},\ldots,u_{k}=\ell being the sequence of vertices along the unique σλ\sigma_{\lambda}-\ell path in 𝒯λ{\cal T}^{*}_{\lambda}. We first observe that since (u1,u2)𝒯λGΨ(u_{1},u_{2})\in{\cal T}^{*}_{\lambda}\subseteq G_{\Psi}^{*}, to instill the exact same Ψ\Psi-alignment between R~u1\tilde{R}_{u_{1}} and R~u2\tilde{R}_{u_{2}}, one should enforce α{u1,u2},u1R~u1=α{u1,u2},u2R~u2\alpha^{*}_{\{u_{1},u_{2}\},u_{1}}\cdot\tilde{R}_{u_{1}}=\alpha^{*}_{\{u_{1},u_{2}\},u_{2}}\cdot\tilde{R}_{u_{2}} for this particular pair. Similarly, since (u2,u3)(u_{2},u_{3}) is an edge of GΨG_{\Psi}^{*}, this constraint sets α{u2,u3},u2R~u2=α{u2,u3},u3R~u3\alpha^{*}_{\{u_{2},u_{3}\},u_{2}}\cdot\tilde{R}_{u_{2}}=\alpha^{*}_{\{u_{2},u_{3}\},u_{3}}\cdot\tilde{R}_{u_{3}}. Letting this relation propagate throughout the entire σλ\sigma_{\lambda}-\ell path, its resulting sequence of equations can be aggregated to obtain a unique value for the representative R~\tilde{R}_{\ell}, given by:

R~=R~uk=(κ[k1]α{uκ,uκ+1},uκα{uκ,uκ+1},uκ+1)R~u1=(κ[k1]α{uκ,uκ+1},uκα{uκ,uκ+1},uκ+1)R~σλ.\tilde{R}_{\ell}~{}~{}=~{}~{}\tilde{R}_{u_{k}}~{}~{}=~{}~{}\left(\prod_{\kappa\in[k-1]}\frac{\alpha^{*}_{\{u_{\kappa},u_{\kappa+1}\},u_{\kappa}}}{\alpha^{*}_{\{u_{\kappa},u_{\kappa+1}\},u_{\kappa+1}}}\right)\cdot\tilde{R}_{u_{1}}~{}~{}=~{}~{}\left(\prod_{\kappa\in[k-1]}\frac{\alpha^{*}_{\{u_{\kappa},u_{\kappa+1}\},u_{\kappa}}}{\alpha^{*}_{\{u_{\kappa},u_{\kappa+1}\},u_{\kappa+1}}}\right)\cdot\tilde{R}_{\sigma_{\lambda}}\ .

Observation: Approximate representatives vs. optimal ones.

An important consequence of the preceding discussion is that our explanation of how a single representative determines its entire component applies to the collection of optimal representatives {R}𝒜\{R_{\ell}^{*}\}_{\ell\in{\cal A}^{*}} as well. In particular, for every tree 𝒯λ{\cal T}^{*}_{\lambda} and for every vertex 𝒯λ\ell\in{\cal T}^{*}_{\lambda}, we know that

R=(κ[k1]α{uκ,uκ+1},uκα{uκ,uκ+1},uκ+1)Rσλ,R^{*}_{\ell}~{}~{}=~{}~{}\left(\prod_{\kappa\in[k-1]}\frac{\alpha^{*}_{\{u_{\kappa},u_{\kappa+1}\},u_{\kappa}}}{\alpha^{*}_{\{u_{\kappa},u_{\kappa+1}\},u_{\kappa+1}}}\right)\cdot R^{*}_{\sigma_{\lambda}}\ ,

where the constant above is identical to the one that relates between R~\tilde{R}_{\ell} and R~σλ\tilde{R}_{\sigma_{\lambda}}. An immediate conclusion is that, since RσλSσλ=[(1+ϵ)σλ1Tmin,(1+ϵ)σλTmin)R^{*}_{\sigma_{\lambda}}\in S_{\sigma_{\lambda}}^{*}=[(1+\epsilon)^{\sigma_{\lambda}-1}\cdot T^{*}_{\min},(1+\epsilon)^{\sigma_{\lambda}}\cdot T^{*}_{\min}) and since R~σλ=(1+ϵ)σλT~min[(1ϵ)(1+ϵ)σλTmin,(1+ϵ)σλTmin]\tilde{R}_{\sigma_{\lambda}}=(1+\epsilon)^{\sigma_{\lambda}}\cdot\tilde{T}_{\min}\in[(1-\epsilon)\cdot(1+\epsilon)^{\sigma_{\lambda}}\cdot T^{*}_{\min},(1+\epsilon)^{\sigma_{\lambda}}\cdot T^{*}_{\min}] by equation (10), the approximate representatives {R~}𝒯λ\{\tilde{R}_{\ell}\}_{\ell\in{\cal T}^{*}_{\lambda}} are proportional to their optimal counterparts {R}𝒯λ\{R^{*}_{\ell}\}_{\ell\in{\cal T}^{*}_{\lambda}}, up to a component-dependent multiplicative factor of 1±ϵ1\pm\epsilon, as formally stated below.

Observation 2.7.

For every λ[Λ]\lambda\in[\Lambda], there exists a coefficient γλ1±ϵ\gamma_{\lambda}\in 1\pm\epsilon such that R~=γλR\tilde{R}_{\ell}=\gamma_{\lambda}\cdot R^{*}_{\ell} for every 𝒯λ\ell\in{\cal T}^{*}_{\lambda}.

Step 6: The final policy.

We are now ready to lay down the specifics of our replenishment policy, which will be denoted by T~=(T~1,,T~n)\tilde{T}=(\tilde{T}_{1},\ldots,\tilde{T}_{n}). To this end, given the set of approximate representatives ~={R~}𝒜\tilde{\cal R}=\{\tilde{R}_{\ell}\}_{\ell\in{\cal A}^{*}}, we proceed as follows:

  • Placing joint orders: Joint orders will be placed only at integer multiples of the approximate representatives {R~}𝒜\{\tilde{R}_{\ell}\}_{\ell\in{\cal A}^{*}}. In other words, with R~={0,R~,2R~,}{\cal M}_{\tilde{R}_{\ell}}=\{0,\tilde{R}_{\ell},2\tilde{R}_{\ell},\ldots\} standing for the integer multiples of R~\tilde{R}_{\ell}, we decide in advance to open a joint order at every point in 𝒜R~\bigcup_{\ell\in{\cal A}^{*}}{\cal M}_{\tilde{R}_{\ell}}, regardless of whether any given point will subsequently be utilized by some commodity or not.

  • Placing commodity-specific orders: For each commodity i[n]i\in[n], we determine its time interval T~i\tilde{T}_{i} to be the one that minimizes its marginal EOQ cost Ci()C_{i}(\cdot) out of the following options:

    • Small intervals: Any of the approximate representatives {R~}𝒜\{\tilde{R}_{\ell}\}_{\ell\in{\cal A}^{*}}.

    • Single large interval: Letting Timax=max{1ϵT~min,Ki/Hi}T^{\max}_{i}=\max\{\frac{1}{\epsilon}\cdot\tilde{T}_{\min},\sqrt{K_{i}/H_{i}}\}, the additional option is Timax(R~1)\lceil T^{\max}_{i}\rceil^{(\tilde{R}_{1})}, where (R~1)\lceil\cdot\rceil^{(\tilde{R}_{1})} is an operator that rounds its argument up to the nearest integer multiple of R~1\tilde{R}_{1}.

It is important to emphasize that, while choosing one of the “small” options as the time interval T~i\tilde{T}_{i} clearly falls within our set of joint orders, this also happens to be the case for the “large” option. Indeed, by Observation 2.2, we know that R~1~\tilde{R}_{1}\in\tilde{\cal R}, implying that ordering commodity ii according to the interval Timax(R~1)\lceil T^{\max}_{i}\rceil^{(\tilde{R}_{1})} falls on integer multiples of R~1\tilde{R}_{1}, where joint orders have already been placed.

Remark: Choosing a single policy.

It is imperative to point out that, since our algorithmic approach employs numerous guessing steps, to ultimately identify the least expensive policy out of all possible outcomes, one should be able to efficiently estimate the long-run cost function F()F(\cdot) for each resulting policy T~\tilde{T}. However, while evaluating i[n]Ci(T~i)\sum_{i\in[n]}C_{i}(\tilde{T}_{i}) is straightforward, a blind application of Lemma 1.2 would lead to an exponentially-sized formula for the joint ordering cost J(T~)J(\tilde{T}).

To bypass this obstacle, let us first recall that each of our policies T~\tilde{T} places joint orders only at integer multiples of its approximate representatives ~\tilde{\cal R}, implying that J(T~)=J(~)J(\tilde{T})=J(\tilde{\cal R}). Now, one hidden feature of Sections 2.1 and 2.2 is that their entire discussion holds for any replenishment policy, regardless of whether it is optimal or not. This observation brings us to conclude that Lemma 2.3 can be written in terms of T~\tilde{T} rather than TT^{*}, and therefore,

J(~)=K0limΔN(~,Δ)Δ(1±ϵ)K0λ[Λ]limΔN(~(λ),Δ)Δ.J(\tilde{\cal R})~{}~{}=~{}~{}K_{0}\cdot\lim_{\Delta\to\infty}\frac{N(\tilde{\cal R},\Delta)}{\Delta}~{}~{}\in~{}~{}(1\pm\epsilon)\cdot K_{0}\cdot\sum_{\lambda\in[\Lambda]}\lim_{\Delta\to\infty}\frac{N(\tilde{\cal R}^{(\lambda)},\Delta)}{\Delta}\ .

In Appendix A.3, we explain how to evaluate the latter limit via an inclusion-exclusion formula in O(2O~(1/ϵ))O(2^{\tilde{O}(1/\epsilon)}) time.

Lemma 2.8.

limΔN(~(λ),Δ)Δ\lim_{\Delta\to\infty}\frac{N(\tilde{\cal R}^{(\lambda)},\Delta)}{\Delta} can be computed in O(2O~(1/ϵ))O(2^{\tilde{O}(1/\epsilon)}) time, for every λ[Λ]\lambda\in[\Lambda].

2.5 Cost analysis: Joint orders

Following the high-level outline of Section 2.3, our analysis begins by establishing O(ϵ)O(\epsilon)-density. Recalling that the replenishment policy T~\tilde{T} places joint orders at integer multiples of the approximate representatives ~={R~}𝒜\tilde{\cal R}=\{\tilde{R}_{\ell}\}_{\ell\in{\cal A}^{*}}, we argue that the latter set is 4ϵ4\epsilon-dense. In other words, we relate the ordering density of ~\tilde{\cal R} to that of the optimal policy TT^{*}, showing that

limΔN(~,Δ)Δ(1+4ϵ)limΔN(T,Δ)Δ.\lim_{\Delta\to\infty}\frac{N(\tilde{\cal R},\Delta)}{\Delta}~{}~{}\leq~{}~{}(1+4\epsilon)\cdot\lim_{\Delta\to\infty}\frac{N(T^{*},\Delta)}{\Delta}\ . (11)

By representation (1), this property directly implies that our long-run joint ordering cost is near-optimal, in the sense that J(T~)(1+4ϵ)J(T)J(\tilde{T})\leq(1+4\epsilon)\cdot J(T^{*}). To derive inequality (11), it is worth mentioning that N(,Δ)N(T,Δ)N({\cal R}^{*},\Delta)\leq N(T^{*},\Delta) for every Δ0\Delta\geq 0, by Observation 2.1. Therefore, the desired result will be a direct consequence of the next relation between N(~,Δ)N(\tilde{\cal R},\Delta) and N(,Δ)N({\cal R}^{*},\Delta).

Lemma 2.9.

N(~,Δ)(1+4ϵ)N(,Δ)+4|𝒜|2N(\tilde{\cal R},\Delta)\leq(1+4\epsilon)\cdot N({\cal R}^{*},\Delta)+4\cdot|{\cal A}^{*}|^{2}, for every Δ0\Delta\geq 0.

Proof.

We remind the reader that N(~,Δ)N(\tilde{\cal R},\Delta) stands for the number of joint orders across [0,Δ][0,\Delta] with respect to the time intervals ~\tilde{\cal R}. Letting R~,Δ={0,R~,2R~,,ΔR~R~}{\cal M}_{\tilde{R}_{\ell},\Delta}=\{0,\tilde{R}_{\ell},2\tilde{R}_{\ell},\ldots,\lfloor\frac{\Delta}{\tilde{R}_{\ell}}\rfloor\cdot\tilde{R}_{\ell}\} be the integer multiples of R~\tilde{R}_{\ell} within [0,Δ][0,\Delta], we clearly have

N(~,Δ)\displaystyle N(\tilde{\cal R},\Delta) =\displaystyle= |𝒜R~,Δ|\displaystyle\left|\bigcup_{\ell\in{\cal A}^{*}}{\cal M}_{\tilde{R}_{\ell},\Delta}\right| (12)
=\displaystyle= |λ[Λ]𝒯λR~,Δ|\displaystyle\left|\bigcup_{\lambda\in[\Lambda]}\bigcup_{\ell\in{\cal T}^{*}_{\lambda}}{\cal M}_{\tilde{R}_{\ell},\Delta}\right|
\displaystyle\leq λ[Λ]|𝒯λR~,Δ|.\displaystyle\sum_{\lambda\in[\Lambda]}\left|\bigcup_{\ell\in{\cal T}^{*}_{\lambda}}{\cal M}_{\tilde{R}_{\ell},\Delta}\right|\ .

Here, the second equality is obtained by decomposing the set of active segments 𝒜{\cal A}^{*} according to the spanning forest 𝒯1,,𝒯Λ{\cal T}^{*}_{1},\ldots,{\cal T}^{*}_{\Lambda}, and the last inequality follows from the union bound.

The important observation is that, by Observation 2.7, for every tree 𝒯λ{\cal T}^{*}_{\lambda} there exists a coefficient γλ1±ϵ\gamma_{\lambda}\in 1\pm\epsilon, such that each of the approximate representatives {R~}𝒯λ\{\tilde{R}_{\ell}\}_{\ell\in{\cal T}^{*}_{\lambda}} is a γλ\gamma_{\lambda}-scaling of its optimal counterpart, i.e., R~=γλR\tilde{R}_{\ell}=\gamma_{\lambda}\cdot R^{*}_{\ell}. Therefore, the set of joint orders 𝒯λR~,Δ\bigcup_{\ell\in{\cal T}^{*}_{\lambda}}{\cal M}_{\tilde{R}_{\ell},\Delta} we are seeing in inequality (12) can be viewed as a γλ\gamma_{\lambda}-scaling of 𝒯λR,Δ/γλ\bigcup_{\ell\in{\cal T}^{*}_{\lambda}}{\cal M}_{R^{*}_{\ell},\Delta/\gamma_{\lambda}}. Consequently,

N(~,Δ)\displaystyle N(\tilde{\cal R},\Delta) \displaystyle\leq λ[Λ]|𝒯λR,Δ/γλ|\displaystyle\sum_{\lambda\in[\Lambda]}\left|\bigcup_{\ell\in{\cal T}^{*}_{\lambda}}{\cal M}_{R^{*}_{\ell},\Delta/\gamma_{\lambda}}\right|
\displaystyle\leq (1+ϵ)λ[Λ]|𝒯λR,Δ|\displaystyle(1+\epsilon)\cdot\sum_{\lambda\in[\Lambda]}\left|\bigcup_{\ell\in{\cal T}^{*}_{\lambda}}{\cal M}_{R^{*}_{\ell},\Delta}\right|
=\displaystyle= (1+ϵ)λ[Λ]N((λ),Δ).\displaystyle(1+\epsilon)\cdot\sum_{\lambda\in[\Lambda]}N({\cal R}^{*(\lambda)},\Delta)\ .

Combining this bound with the relation between λ[Λ]N((λ),Δ)\sum_{\lambda\in[\Lambda]}N({\cal R}^{*(\lambda)},\Delta) and N(,Δ)N({\cal R}^{*},\Delta) prescribed by Lemma 2.3, namely N(,Δ)(1ϵ)λ[Λ]N((λ),Δ)|𝒜|2N({\cal R}^{*},\Delta)\geq(1-\epsilon)\cdot\sum_{\lambda\in[\Lambda]}N({\cal R}^{*(\lambda)},\Delta)-|{\cal A}^{*}|^{2}, we conclude that N(~,Δ)(1+4ϵ)N(,Δ)+4|𝒜|2N(\tilde{\cal R},\Delta)\leq(1+4\epsilon)\cdot N({\cal R}^{*},\Delta)+4\cdot|{\cal A}^{*}|^{2}, as desired. ∎

2.6 Cost analysis: Commodity-specific orders

Our second analytical step consists of establishing O(ϵ)O(\epsilon)-assignability, specifically showing that the set of representatives {R~}𝒜\{\tilde{R}_{\ell}\}_{\ell\in{\cal A}^{*}} is 5ϵ5\epsilon-assignable. In other words, we argue that the marginal operating cost of each commodity with respect to our approximate replenishment policy T~\tilde{T} is within factor 1+5ϵ1+5\epsilon of the analogous quantity with respect to the optimal policy TT^{*}. The precise nature of the latter relation can be formalized as follows.

Lemma 2.10.

Ci(T~i)(1+5ϵ)Ci(Ti)C_{i}(\tilde{T}_{i})\leq(1+5\epsilon)\cdot C_{i}(T_{i}^{*}), for every commodity i[n]i\in[n].

Proof.

Our analysis is divided into three scenarios, depending on how the optimal solution TiEOQ=Ki/HiT_{i}^{\mathrm{EOQ}}=\sqrt{K_{i}/H_{i}} to the standard EOQ model of each commodity relates to TminT^{*}_{\min}. As mentioned in Claim 1.1, TiEOQT_{i}^{\mathrm{EOQ}} is the unique minimizer of the long-run average cost Ci(Ti)=KiTi+HiTiC_{i}(T_{i})=\frac{K_{i}}{T_{i}}+H_{i}T_{i}. Specifically, we will be considering low, medium, and high regimes, where “low” corresponds to TiEOQ<TminT_{i}^{\mathrm{EOQ}}<T^{*}_{\min}, “medium” represents TiEOQ[Tmin,1ϵTmin]T_{i}^{\mathrm{EOQ}}\in[T_{\min}^{*},\frac{1}{\epsilon}\cdot T_{\min}^{*}], and “high” examines the residual case, TiEOQ>1ϵTminT_{i}^{\mathrm{EOQ}}>\frac{1}{\epsilon}\cdot T_{\min}^{*}. For readability purposes, the low regime is discussed below, whereas the medium and high ones are deferred to Appendix A.4.

The low regime: 𝑻𝒊𝐄𝐎𝐐<𝑻𝐦𝐢𝐧\boldsymbol{T_{i}^{\mathrm{EOQ}}<T^{*}_{\min}}.

In this case, let us circle back to Observation 2.2, stating that R1R_{1}^{*}\in{\cal R}^{*}. Put differently, S1S_{1}^{*} is necessarily an active segment, implying that the approximate set ~\tilde{\cal R} constructed in Section 2.4 includes a representative of this segment, R~1\tilde{R}_{1}. To tie between R~1\tilde{R}_{1} and R1R_{1}^{*}, let 𝒞λ{\cal C}_{\lambda}^{*} be the connected component of GΨG_{\Psi}^{*} where segment S1S_{1}^{*} resides. Then, by Observation 2.7, we know that there exists a coefficient γλ1±ϵ\gamma_{\lambda}\in 1\pm\epsilon such that R~1=γλR1\tilde{R}_{1}=\gamma_{\lambda}\cdot R^{*}_{1}. Now, as explained in step 6 of Section 2.4, R~1\tilde{R}_{1} is one of the options considered for our time interval T~i\tilde{T}_{i}. Since we pick the option that minimizes the EOQ cost Ci()C_{i}(\cdot) of this commodity,

Ci(T~i)\displaystyle C_{i}(\tilde{T}_{i}) \displaystyle\leq Ci(R~1)\displaystyle C_{i}(\tilde{R}_{1}) (13)
\displaystyle\leq (1+2ϵ)Ci(R1)\displaystyle(1+2\epsilon)\cdot C_{i}(R^{*}_{1})
\displaystyle\leq (1+5ϵ)Ci(Tmin)\displaystyle(1+5\epsilon)\cdot C_{i}(T^{*}_{\min}) (14)
\displaystyle\leq (1+5ϵ)Ci(Ti).\displaystyle(1+5\epsilon)\cdot C_{i}(T^{*}_{i})\ . (15)

Here, inequality (13) holds since R~1=γλR1\tilde{R}_{1}=\gamma_{\lambda}\cdot R^{*}_{1}, and it is easy verify that Ci(θT)max{θ,1θ}Ci(T)C_{i}(\theta T)\leq\max\{\theta,\frac{1}{\theta}\}\cdot C_{i}(T) for all θ>0\theta>0. Inequality (14) follows from a similar argument, recalling that R1S1=[Tmin,(1+ϵ)Tmin)R^{*}_{1}\in S_{1}^{*}=[T^{*}_{\min},(1+\epsilon)\cdot T^{*}_{\min}). Finally, to obtain inequality (15), note that since CiC_{i} is a strictly convex function with a unique minimizer at TiEOQT_{i}^{\mathrm{EOQ}} (see Claim 1.1), it is strictly increasing over [TiEOQ,)[T_{i}^{\mathrm{EOQ}},\infty). Therefore, we can indeed conclude that Ci(Tmin)Ci(Ti)C_{i}(T^{*}_{\min})\leq C_{i}(T^{*}_{i}) by observing that TiEOQ<TminTiT_{i}^{\mathrm{EOQ}}<T_{\min}^{*}\leq T_{i}^{*}, where the first inequality is due to the case hypothesis of this regime. ∎

3 Fixed-Base via Variable-Base: Black-Box Reduction

In what follows, we explain how any approximation guarantee with respect to the variable-base convex relaxation can essentially be migrated to the fixed-base joint replenishment problem. Consequently, as stated in Theorem 1.4, the fixed-base model will be shown to be approximable within factor 12ln2+ϵ\frac{1}{\sqrt{2}\ln 2}+\epsilon of optimal in O(2O(1/ϵ2)nO(1))O(2^{O(1/\epsilon^{2})}\cdot n^{O(1)}) time. Moving forward, Section 3.1 presents a high-level overview of our approach, leaving the finer details of its analysis to be discussed in Sections 3.2 and 3.3.

3.1 High-level overview

With respect to a given fixed base Δ\Delta, let T=(T1,,Tn)T^{*}=(T_{1}^{*},\ldots,T_{n}^{*}) be an optimal replenishment policy in this context, and let Tmin=mini[n]TiT^{*}_{\min}=\min_{i\in[n]}T_{i}^{*} be its corresponding minimal time interval. Our reduction proceeds by considering two cases, depending on the magnitude of ρ=TminΔ\rho^{*}=\frac{T^{*}_{\min}}{\Delta}. In the fixed-base model, this parameter is obviously an integer.

Case 1: 𝝆𝟏ϵ\boldsymbol{\rho^{*}\leq\frac{1}{\epsilon}}.

Let us assume without loss of generality that 1ϵ\frac{1}{\epsilon} takes an integer value. As such, we first guess the exact value of ρ\rho^{*}, for which there are only 1ϵ\frac{1}{\epsilon} options by the case hypothesis. Consequently, Tmin=ρΔT^{*}_{\min}=\rho^{*}\Delta is known as well. Next, for each of the O(TminϵΔ)O(\frac{T^{*}_{\min}}{\epsilon\Delta}) points Tmin,Tmin+Δ,Tmin+2Δ,,1ϵTminT^{*}_{\min},T^{*}_{\min}+\Delta,T^{*}_{\min}+2\Delta,\ldots,\frac{1}{\epsilon}\cdot T^{*}_{\min} we guess whether it is one of the time intervals T1,,TnT^{*}_{1},\ldots,T_{n}^{*} or not, letting {\cal R}^{*} be the resulting set. Here, the total number of guesses is 2O(TminϵΔ)=2O(ρ/ϵ)=2O(1/ϵ2)2^{O(\frac{T^{*}_{\min}}{\epsilon\Delta})}=2^{O(\rho^{*}/\epsilon)}=2^{O(1/\epsilon^{2})}. Given these guesses, our replenishment policy T~\tilde{T} is constructed as follows:

  • Placing joint orders: Joint orders will be placed only at integer multiples of {\cal R}^{*}. Clearly, since {T1,,Tn}{\cal R}^{*}\subseteq\{T_{1}^{*},\ldots,T_{n}^{*}\}, it follows that our long-run joint ordering cost is J(T~)J(T)J(\tilde{T})\leq J(T^{*}).

  • Placing commodity-specific orders: For each commodity i[n]i\in[n], we determine its time interval T~i\tilde{T}_{i} to be the one that minimizes the EOQ cost Ci()C_{i}(\cdot) out of the set {T¯i}{\cal R}^{*}\cup\{\bar{T}_{i}\}. Here, T¯i=max{1ϵTmin,Ki/Himin}\bar{T}_{i}=\max\{\frac{1}{\epsilon}\cdot T^{*}_{\min},\lceil\sqrt{K_{i}/H_{i}}\rceil^{\min}\}, where min\lceil\cdot\rceil^{\min} is an operator that rounds its argument up to the nearest integer multiple of TminT^{*}_{\min}. It is important to emphasize that, by allowing only these options for choosing T~i\tilde{T}_{i}, we are not creating new joint orders. In Section 3.2, we prove the next claim, relating our EOQ-based costs to those of the optimal policy TT^{*}.

    Lemma 3.1.

    Ci(T~i)(1+ϵ)Ci(Ti)C_{i}(\tilde{T}_{i})\leq(1+\epsilon)\cdot C_{i}(T^{*}_{i}), for every commodity i[n]i\in[n].

Case 2: 𝝆>𝟏ϵ\boldsymbol{\rho^{*}>\frac{1}{\epsilon}}.

We have now landed at the scenario where existing results for the variable-base model will be useful. Noting that the current case hypothesis is equivalent to Tmin>ΔϵT_{\min}^{*}>\frac{\Delta}{\epsilon}, we proceed by plugging this constraint into the well-known convex relaxation of the variable-base model (Roundy, 1985, 1986; Jackson et al., 1985), to obtain:

minK0Tmin+i[n](KiTi+HiTi)s.t.TiTminΔϵi[n]\begin{array}[]{lll}\min&{\displaystyle\frac{K_{0}}{T_{\min}}+\sum_{i\in[n]}\left(\frac{K_{i}}{T_{i}}+H_{i}T_{i}\right)}\\ \text{s.t.}&T_{i}\geq T_{\min}\geq\frac{\Delta}{\epsilon}&\forall\,i\in[n]\end{array} (R+\mathrm{R}^{+})

By employing deterministic power-of-22 rounding, as proposed by Teo and Bertsimas (2001, Sec. 2.2), we are guaranteed to construct a replenishment policy T^=(T^min,T^1,,T^n)\hat{T}=(\hat{T}_{\min},\hat{T}_{1},\ldots,\hat{T}_{n}) satisfying the next three properties:

  1. 1.

    Cost: F(T^)12ln2OPT(R+)12ln2F(T)F(\hat{T})\leq\frac{1}{\sqrt{2}\ln 2}\cdot\mathrm{OPT}\eqref{eqn:conv_relax_large}\leq\frac{1}{\sqrt{2}\ln 2}\cdot F(T^{*}).

  2. 2.

    Minimal time interval: T^min=min{T^1,,T^n}12Δϵ\hat{T}_{\min}=\min\{\hat{T}_{1},\ldots,\hat{T}_{n}\}\geq\frac{1}{\sqrt{2}}\cdot\frac{\Delta}{\epsilon}.

  3. 3.

    Power-of-22 structure: For every i[n]i\in[n], the time interval T^i\hat{T}_{i} can be written as 2qiT^min2^{q_{i}}\cdot\hat{T}_{\min}, for some integer qi0q_{i}\geq 0.

As a side note regarding property 2, expert readers can recall that Teo and Bertsimas (2001) scale every coordinate of an optimal solution to (R+\mathrm{R}^{+}) by at most 2\sqrt{2} in either direction. Therefore, we indeed end up with T^i12Δϵ\hat{T}_{i}\geq\frac{1}{\sqrt{2}}\cdot\frac{\Delta}{\epsilon}, due to incorporating the constraint TiTminΔϵT_{i}\geq T_{\min}\geq\frac{\Delta}{\epsilon} into this convex program.

Clearly, the fundamental issue with this policy is that T^1,,T^n\hat{T}_{1},\ldots,\hat{T}_{n} may not be integer multiples of the fixed base Δ\Delta. To bypass this obstacle, note that T^i=2qiT^min\hat{T}_{i}=2^{q_{i}}\cdot\hat{T}_{\min}, for some integer qi0q_{i}\geq 0, by property 3. As such, we define a replenishment policy T~\tilde{T} in which T~i=2qiT^min(Δ)\tilde{T}_{i}=2^{q_{i}}\cdot\lceil\hat{T}_{\min}\rceil^{(\Delta)} for every commodity i[n]i\in[n], with the convention that (Δ)\lceil\cdot\rceil^{(\Delta)} is an operator that rounds its argument up to the nearest integer multiple of Δ\Delta. In Section 3.3, we prove the next result, showing that our combined operational cost matches the optimal one up to a factor of essentially 12ln2\frac{1}{\sqrt{2}\ln 2}.

Lemma 3.2.

F(T~)(1+2ϵ)12ln2F(T)F(\tilde{T})\leq(1+\sqrt{2}\epsilon)\cdot\frac{1}{\sqrt{2}\ln 2}\cdot F(T^{*}).

3.2 Proof of Lemma 3.1

Our proof considers two cases, depending on the relation between TiT_{i}^{*} and 1ϵTmin\frac{1}{\epsilon}\cdot T^{*}_{\min}. Starting with the straightforward case, when Ti1ϵTminT_{i}^{*}\leq\frac{1}{\epsilon}\cdot T^{*}_{\min}, our guessing procedure guarantees that the time interval TiT_{i}^{*} necessarily resides within {\cal R}^{*}. As such, one of the options considered for choosing T~i\tilde{T}_{i} is TiT_{i}^{*}, and therefore Ci(T~i)Ci(Ti)C_{i}(\tilde{T}_{i})\leq C_{i}(T^{*}_{i}).

Now, when Ti>1ϵTminT_{i}^{*}>\frac{1}{\epsilon}\cdot T^{*}_{\min}, the important observation is that

Ci(Ti)min{Ci(T):T1ϵTmin}=Ci(max{1ϵTmin,KiHi}),C_{i}(T_{i}^{*})~{}~{}\geq~{}~{}\min\left\{C_{i}(T):T\geq\frac{1}{\epsilon}\cdot T^{*}_{\min}\right\}~{}~{}=~{}~{}C_{i}\left(\max\left\{\frac{1}{\epsilon}\cdot T^{*}_{\min},\sqrt{\frac{K_{i}}{H_{i}}}\right\}\right)\ , (16)

where the latter equality follows from Claim 1.1, stating in particular that CiC_{i} is a strictly convex function, with a unique minimizer at Ki/Hi\sqrt{K_{i}/H_{i}}. On the other hand, one of the options considered for choosing T~i\tilde{T}_{i} is T¯i\bar{T}_{i}, and therefore,

Ci(T~i)\displaystyle C_{i}(\tilde{T}_{i}) \displaystyle\leq Ci(T¯i)\displaystyle C_{i}(\bar{T}_{i}) (17)
=\displaystyle= Ci(max{1ϵTmin,KiHimin})\displaystyle C_{i}\left(\max\left\{\frac{1}{\epsilon}\cdot T^{*}_{\min},\left\lceil\sqrt{\frac{K_{i}}{H_{i}}}\right\rceil^{\min}\right\}\right)
\displaystyle\leq (1+ϵ)Ci(max{1ϵTmin,KiHi})\displaystyle(1+\epsilon)\cdot C_{i}\left(\max\left\{\frac{1}{\epsilon}\cdot T^{*}_{\min},\sqrt{\frac{K_{i}}{H_{i}}}\right\}\right)
\displaystyle\leq (1+ϵ)Ci(Ti).\displaystyle(1+\epsilon)\cdot C_{i}(T_{i}^{*})\ . (18)

Here, inequality (17) holds since Ki/HiminKi/Hi+Tmin\lceil\sqrt{K_{i}/H_{i}}\rceil^{\min}\leq\sqrt{K_{i}/H_{i}}+T^{*}_{\min}, implying that

max{1ϵTmin,KiHimin}(1+ϵ)max{1ϵTmin,KiHi},\max\left\{\frac{1}{\epsilon}\cdot T^{*}_{\min},\left\lceil\sqrt{\frac{K_{i}}{H_{i}}}\right\rceil^{\min}\right\}~{}~{}\leq~{}~{}(1+\epsilon)\cdot\max\left\{\frac{1}{\epsilon}\cdot T^{*}_{\min},\sqrt{\frac{K_{i}}{H_{i}}}\right\}\ ,

and one can easily verify that Ci(θT)θCi(T)C_{i}(\theta T)\leq\theta\cdot C_{i}(T) for all θ1\theta\geq 1. Inequality (18) is precisely the one obtained in (16).

3.3 Proof of Lemma 3.2

To account for the combined operational cost of T~\tilde{T}, we first observe that in terms of joint orders,

J(T~)=K0T~min=K0T^min(Δ)K0T^min=J(T^),J(\tilde{T})~{}~{}=~{}~{}\frac{K_{0}}{\tilde{T}_{\min}}~{}~{}=~{}~{}\frac{K_{0}}{\lceil\hat{T}_{\min}\rceil^{(\Delta)}}~{}~{}\leq~{}~{}\frac{K_{0}}{\hat{T}_{\min}}~{}~{}=~{}~{}J(\hat{T})\ ,

where the first and last equalities respectively hold since both T~\tilde{T} and T^\hat{T} are power-of-22 policies. Moving on to consider EOQ-based costs, we observe that T^min(Δ)T^min+Δ(1+2ϵ)T^min\lceil\hat{T}_{\min}\rceil^{(\Delta)}\leq\hat{T}_{\min}+\Delta\leq(1+\sqrt{2}\epsilon)\cdot\hat{T}_{\min}, where the last inequality holds since T^min12Δϵ\hat{T}_{\min}\geq\frac{1}{\sqrt{2}}\cdot\frac{\Delta}{\epsilon}, as mentioned in property 2. Consequently, for every commodity i[n]i\in[n],

Ci(T~i)=Ci(2qiT^min(Δ))(1+2ϵ)Ci(2qiT^min)=(1+2ϵ)Ci(T^i).C_{i}(\tilde{T}_{i})~{}~{}=~{}~{}C_{i}(2^{q_{i}}\cdot\lceil\hat{T}_{\min}\rceil^{(\Delta)})~{}~{}\leq~{}~{}(1+\sqrt{2}\epsilon)\cdot C_{i}(2^{q_{i}}\cdot\hat{T}_{\min})~{}~{}=~{}~{}(1+\sqrt{2}\epsilon)\cdot C_{i}(\hat{T}_{i})\ .

All in all, it follows that the long-run average cost of our policy is

F(T~)\displaystyle F(\tilde{T}) =\displaystyle= J(T~)+i[n]Ci(T~i)\displaystyle J(\tilde{T})+\sum_{i\in[n]}C_{i}(\tilde{T}_{i})
\displaystyle\leq J(T^)+(1+2ϵ)i[n]Ci(T^i)\displaystyle J(\hat{T})+(1+\sqrt{2}\epsilon)\cdot\sum_{i\in[n]}C_{i}(\hat{T}_{i})
\displaystyle\leq (1+2ϵ)F(T^)\displaystyle(1+\sqrt{2}\epsilon)\cdot F(\hat{T})
\displaystyle\leq (1+2ϵ)12ln2F(T),\displaystyle(1+\sqrt{2}\epsilon)\cdot\frac{1}{\sqrt{2}\ln 2}\cdot F(T^{*})\ ,

where the last inequality holds since F(T^)12ln2F(T)F(\hat{T})\leq\frac{1}{\sqrt{2}\ln 2}\cdot F(T^{*}), by property 1.

4 Evenly-Spaced Policies: Improved Guarantees for Integer-Ratio Policies

The main result of this section resides in constructively resolving Roundy’s conjecture. As stated in Theorem 1.5, we prove that optimal evenly-spaced policies approximate the variable-base joint replenishment problem within factor of at most 1.019151.01915, thereby improving on the best-known guarantees achievable via integer-ratio policies. Toward this objective, Section 4.1 describes the main ideas of our proof, leaving most technical claims to be established in Sections 4.2 and 4.3. It is important to emphasize that these contents form an existence proof, which is not algorithmic in nature. To address this issue, Section 4.4 explains how to efficiently compute an evenly-spaced policy whose long-run average cost is within factor 1+ϵ1+\epsilon of the optimal such policy.

4.1 High-level overview

Let T=(T1,,Tn)T^{*}=(T_{1}^{*},\ldots,T_{n}^{*}) be an optimal replenishment policy, and let Tmin=mini[n]TiT^{*}_{\min}=\min_{i\in[n]}T_{i}^{*} be its corresponding minimal time interval. We say that commodity ii is TT^{*}-fractional when TiT_{i}^{*} is not an integer multiple of TminT^{*}_{\min}. Clearly, when there are no TT^{*}-fractional commodities, TT^{*} is already an evenly-spaced policy. In the opposite case, we make use of ff to denote the TT^{*}-fractional commodity whose time interval is minimal. Our proof proceeds by considering two cases, depending on the relation between TfT_{f}^{*} and TminT^{*}_{\min}.

Case 1: 𝑻𝒇>𝟑𝑻𝐦𝐢𝐧\boldsymbol{T_{f}^{*}>3T^{*}_{\min}}.

Starting with the easier scenario, we define an evenly-spaced policy T~\tilde{T} as follows:

  • Placing joint orders: Joint orders will be placed at integer multiples of TminT^{*}_{\min}. As a result, T~\tilde{T} is guaranteed to be an evenly-spaced policy, with a long-run ordering cost of J(T~)J(T)J(\tilde{T})\leq J(T^{*}).

  • Placing commodity-specific orders: To determine the time interval T~i\tilde{T}_{i} of every commodity i[n]i\in[n], our decision depends on how TiT_{i}^{*} and TminT^{*}_{\min} are related.

    • When Ti3TminT_{i}^{*}\leq 3T^{*}_{\min}: By the hypothesis of case 1, any such commodity is necessarily an integer multiple of TminT^{*}_{\min}, and we simply define T~i=Ti\tilde{T}_{i}=T^{*}_{i}. Clearly, in terms of EOQ cost, Ci(T~i)=Ci(Ti)C_{i}(\tilde{T}_{i})=C_{i}(T^{*}_{i}).

    • When Ti>3TminT_{i}^{*}>3T^{*}_{\min}: For any such commodity, we have Ti[κi,κi+1]TminT_{i}^{*}\in[\kappa_{i},\kappa_{i}+1]\cdot T^{*}_{\min}, for some integer κi3\kappa_{i}\geq 3. Here, we set T~i\tilde{T}_{i} to be the better option out of κiTmin\kappa_{i}\cdot T^{*}_{\min} and (κi+1)Tmin(\kappa_{i}+1)\cdot T^{*}_{\min} in terms of minimizing the marginal cost Ci()C_{i}(\cdot). Consequently,

      Ci(T~i)\displaystyle C_{i}(\tilde{T}_{i}) =\displaystyle= min{Ci(κiTmin),Ci((κi+1)Tmin)}\displaystyle\min\left\{C_{i}(\kappa_{i}\cdot T^{*}_{\min}),C_{i}((\kappa_{i}+1)\cdot T^{*}_{\min})\right\}
      \displaystyle\leq 12(κi+1κi+κiκi+1)Ci(Ti)\displaystyle\frac{1}{2}\cdot\left(\sqrt{\frac{\kappa_{i}+1}{\kappa_{i}}}+\sqrt{\frac{\kappa_{i}}{\kappa_{i}+1}}\right)\cdot C_{i}(T^{*}_{i})
      \displaystyle\leq 12(43+34)Ci(Ti)\displaystyle\frac{1}{2}\cdot\left(\sqrt{\frac{4}{3}}+\sqrt{\frac{3}{4}}\right)\cdot C_{i}(T^{*}_{i})
      \displaystyle\leq 1.01037Ci(Ti),\displaystyle 1.01037\cdot C_{i}(T^{*}_{i})\ ,

      where the first inequality follows from Claim 1.1(4), and the second inequality holds since the function xx+1x+xx+1x\mapsto\sqrt{\frac{x+1}{x}}+\sqrt{\frac{x}{x+1}} is decreasing over (0,)(0,\infty).

Case 2: 𝑻𝒇<𝟑𝑻𝐦𝐢𝐧\boldsymbol{T_{f}^{*}<3T^{*}_{\min}}.

In this scenario, the crux of our argument would be to employ power-of-22 rounding directly on the optimal policy TT^{*}, rather than with respect to an optimal solution to some convex relaxation. The first step in this direction consists of showing that, under the hypothesis of case 2, there is a meaningful gap between the optimal long-run joint ordering cost J(T)J(T^{*}) and our long-run payment K0Tmin\frac{K_{0}}{T_{\min}^{*}} for orders containing the most frequent commodity. The next claim formalizes this connection, whose proof is deferred to Section 4.3.

Claim 4.1.

When Tf<3TminT_{f}^{*}<3T^{*}_{\min}, we have J(T)65K0TminJ(T^{*})\geq\frac{6}{5}\cdot\frac{K_{0}}{T_{\min}^{*}}.

Motivated by this result, we devise in Section 4.2 two different ways of rounding TT^{*} into an evenly-spaced policy. In a nutshell, our first policy T~A\tilde{T}^{A} will make use of randomization to be particularly attractive when the joint ordering term J(T)J(T^{*}) forms a large fraction of the optimal cost. Specifically, its expected joint ordering cost and EOQ-based cost will be designed to satisfy

𝔼TB01[J(T~A)]12ln256J(T)and𝔼TB01[i[n]Ci(T~iA)]=12ln2i[n]Ci(Ti).\mathbbm{E}_{\mathrm{TB01}}\left[J(\tilde{T}^{A})\right]~{}~{}\leq~{}~{}\frac{1}{\sqrt{2}\ln 2}\cdot\frac{5}{6}\cdot J(T^{*})\quad\text{and}\quad\mathbbm{E}_{\mathrm{TB01}}\left[\sum_{i\in[n]}C_{i}(\tilde{T}^{A}_{i})\right]~{}~{}=~{}~{}\frac{1}{\sqrt{2}\ln 2}\cdot\sum_{i\in[n]}C_{i}(T_{i}^{*})\ . (19)

The second policy, T~B\tilde{T}^{B}, will be appealing in the complementary scenario, when the EOQ-based cost i[n]Ci(Ti)\sum_{i\in[n]}C_{i}(T_{i}^{*}) constitutes a large fraction. Here, we show how to end up with

J(T~B)52J(T)andi[n]Ci(T~iB)12(43+34)i[n]Ci(Ti).J(\tilde{T}^{B})~{}~{}\leq~{}~{}\frac{5}{2}\cdot J(T^{*})\qquad\text{and}\qquad\sum_{i\in[n]}C_{i}(\tilde{T}^{B}_{i})~{}~{}\leq~{}~{}\frac{1}{2}\cdot\left(\sqrt{\frac{4}{3}}+\sqrt{\frac{3}{4}}\right)\cdot\sum_{i\in[n]}C_{i}(T^{*}_{i})\ . (20)

We proceed by arguing that a random selection between these policies guarantees a 1.019151.01915-approximation. To this end, our final policy T~\tilde{T} picks T~A\tilde{T}^{A} with probability θ=0.89755\theta=0.89755 and T~B\tilde{T}^{B} with probability 1θ1-\theta. As a result,

𝔼θ,TB01[F(T~)]\displaystyle\mathbbm{E}_{\theta,\mathrm{TB01}}\left[F(\tilde{T})\right] =\displaystyle= θ𝔼TB01[F(T~A)]+(1θ)F(T~B)\displaystyle\theta\cdot\mathbbm{E}_{\mathrm{TB01}}\left[F(\tilde{T}^{A})\right]+(1-\theta)\cdot F(\tilde{T}^{B})
=\displaystyle= θ𝔼TB01[J(T~A)]+(1θ)J(T~B)\displaystyle\theta\cdot\mathbbm{E}_{\mathrm{TB01}}\left[J(\tilde{T}^{A})\right]+(1-\theta)\cdot J(\tilde{T}^{B})
+θ𝔼TB01[i[n]Ci(T~iA)]+(1θ)i[n]Ci(T~iB)\displaystyle\mbox{}+\theta\cdot\mathbbm{E}_{\mathrm{TB01}}\left[\sum_{i\in[n]}C_{i}(\tilde{T}^{A}_{i})\right]+(1-\theta)\cdot\sum_{i\in[n]}C_{i}(\tilde{T}^{B}_{i})
\displaystyle\leq (θ2ln256+(1θ)52)J(T)\displaystyle\left(\frac{\theta}{\sqrt{2}\ln 2}\cdot\frac{5}{6}+(1-\theta)\cdot\frac{5}{2}\right)\cdot J(T^{*})
+(θ2ln2+(1θ)12(43+34))C(T)\displaystyle\mbox{}+\left(\frac{\theta}{\sqrt{2}\ln 2}+(1-\theta)\cdot\frac{1}{2}\cdot\left(\sqrt{\frac{4}{3}}+\sqrt{\frac{3}{4}}\right)\right)\cdot C(T^{*})
\displaystyle\leq 1.01915(J(T)+C(T))\displaystyle 1.01915\cdot(J(T^{*})+C(T^{*}))
=\displaystyle= 1.01915F(T),\displaystyle 1.01915\cdot F(T^{*})\ ,

where the first inequality is obtained by plugging inequalities (19) and (20).

4.2 Policy design

The policy 𝑻~𝑨\boldsymbol{\tilde{T}^{A}}.

Our first policy T~A\tilde{T}^{A} is obtained by employing power-of-22 rounding with respect to TT^{*}, specifically by following the randomized approach of Teo and Bertsimas (2001, Sec. 2.2). Here, we are guaranteed to end up with a random replenishment policy T~A=(T~1A,,T~nA)\tilde{T}^{A}=(\tilde{T}_{1}^{A},\ldots,\tilde{T}_{n}^{A}) satisfying the next three properties:

  1. 1.

    Expectation: 𝔼TB01[T~iA]=12ln2Ti\mathbbm{E}_{\mathrm{TB01}}[\tilde{T}^{A}_{i}]=\frac{1}{\sqrt{2}\ln 2}\cdot T_{i}^{*} and 𝔼TB01[1T~iA]=12ln21Ti\mathbbm{E}_{\mathrm{TB01}}[\frac{1}{\tilde{T}^{A}_{i}}]=\frac{1}{\sqrt{2}\ln 2}\cdot\frac{1}{T_{i}^{*}}, for every i[n]i\in[n].

  2. 2.

    Relative order: T~i1AT~i2A\tilde{T}^{A}_{i_{1}}\leq\tilde{T}^{A}_{i_{2}} if and only if Ti1Ti2T^{*}_{i_{1}}\leq T^{*}_{i_{2}}, for every pair i1i2i_{1}\neq i_{2}.

  3. 3.

    Power-of-22 structure: For every i[n]i\in[n], the time interval T~i\tilde{T}_{i} can be written as 2qiT~minA2^{q_{i}}\cdot\tilde{T}_{\min}^{A}, for some integer qi0q_{i}\geq 0, where T~minA=min{T~1A,,T~nA}\tilde{T}_{\min}^{A}=\min\{\tilde{T}_{1}^{A},\ldots,\tilde{T}_{n}^{A}\}.

As a result, our expected joint ordering cost is

𝔼TB01[J(T~A)]\displaystyle\mathbbm{E}_{\mathrm{TB01}}\left[J(\tilde{T}^{A})\right] =\displaystyle= 𝔼TB01[K0T~minA]\displaystyle\mathbbm{E}_{\mathrm{TB01}}\left[\frac{K_{0}}{\tilde{T}_{\min}^{A}}\right] (21)
=\displaystyle= 12ln2K0Tmin\displaystyle\frac{1}{\sqrt{2}\ln 2}\cdot\frac{K_{0}}{T^{*}_{\min}} (22)
\displaystyle\leq 12ln256J(T).\displaystyle\frac{1}{\sqrt{2}\ln 2}\cdot\frac{5}{6}\cdot J(T^{*})\ . (23)

Here, equality (21) holds since, by property 3, all time intervals are integer multiples of T~minA\tilde{T}_{\min}^{A}. Inequality (22) follows by combining properties 1 and 2. Finally, inequality (23) is obtained by plugging K0Tmin56J(T)\frac{K_{0}}{T_{\min}^{*}}\leq\frac{5}{6}\cdot J(T^{*}), as stated in Claim 4.1. Moving on to examine the EOQ-based cost of our policy, we observe that

𝔼TB01[i[n]Ci(T~iA)]\displaystyle\mathbbm{E}_{\mathrm{TB01}}\left[\sum_{i\in[n]}C_{i}(\tilde{T}^{A}_{i})\right] =\displaystyle= i[n](𝔼TB01[KiT~iA]+𝔼TB01[HiT~iA])\displaystyle\sum_{i\in[n]}\left(\mathbbm{E}_{\mathrm{TB01}}\left[\frac{K_{i}}{\tilde{T}^{A}_{i}}\right]+\mathbbm{E}_{\mathrm{TB01}}\left[H_{i}\tilde{T}^{A}_{i}\right]\right) (24)
=\displaystyle= 12ln2i[n](KiTi+HiTi)\displaystyle\frac{1}{\sqrt{2}\ln 2}\cdot\sum_{i\in[n]}\left(\frac{K_{i}}{T^{*}_{i}}+H_{i}T^{*}_{i}\right)
=\displaystyle= 12ln2i[n]Ci(Ti),\displaystyle\frac{1}{\sqrt{2}\ln 2}\cdot\sum_{i\in[n]}C_{i}(T_{i}^{*})\ ,

where the second equality follows from property 1.

The policy 𝑻~𝑩\boldsymbol{\tilde{T}^{B}}.

The second policy we propose is deterministic, baring certain similarities to our approach in case 1 (see page 4.1), albeit with an appropriate scaling of the ordering frequency. Specifically, the policy T~B\tilde{T}^{B} is structured as follows.

  • Placing joint orders: Joint orders will be placed at integer multiples of Δ=Tmin3\Delta=\frac{T^{*}_{\min}}{3}. As such, T~B\tilde{T}^{B} is an evenly-spaced policy, with a long-run ordering cost of

    J(T~B)=3K0Tmin52J(T),J(\tilde{T}^{B})~{}~{}=~{}~{}3\cdot\frac{K_{0}}{T^{*}_{\min}}~{}~{}\leq~{}~{}\frac{5}{2}\cdot J(T^{*})\ , (25)

    where the last inequality follows from Claim 4.1.

  • Placing commodity-specific orders: Noting that TiTmin=3ΔT^{*}_{i}\geq T^{*}_{\min}=3\Delta for every commodity i[n]i\in[n], we have Ti[κi,κi+1]ΔT^{*}_{i}\in[\kappa_{i},\kappa_{i}+1]\cdot\Delta, for some integer κi3\kappa_{i}\geq 3. This observation motives us to set T~iB\tilde{T}_{i}^{B} as the better option out of κiΔ\kappa_{i}\cdot\Delta and (κi+1)Δ(\kappa_{i}+1)\cdot\Delta in terms of minimizing the marginal cost Ci()C_{i}(\cdot). By Claim 1.1(4), it follows that

    Ci(T~iB)\displaystyle C_{i}(\tilde{T}^{B}_{i}) =\displaystyle= min{Ci(κiΔ),Ci((κi+1)Δ)}\displaystyle\min\left\{C_{i}(\kappa_{i}\cdot\Delta),C_{i}((\kappa_{i}+1)\cdot\Delta)\right\} (26)
    \displaystyle\leq 12(κi+1κi+κiκi+1)Ci(Ti)\displaystyle\frac{1}{2}\cdot\left(\sqrt{\frac{\kappa_{i}+1}{\kappa_{i}}}+\sqrt{\frac{\kappa_{i}}{\kappa_{i}+1}}\right)\cdot C_{i}(T^{*}_{i})
    \displaystyle\leq 12(43+34)Ci(Ti).\displaystyle\frac{1}{2}\cdot\left(\sqrt{\frac{4}{3}}+\sqrt{\frac{3}{4}}\right)\cdot C_{i}(T^{*}_{i})\ .

4.3 Proof of Claim 4.1

To derive the desired bound, J(T)65K0TminJ(T^{*})\geq\frac{6}{5}\cdot\frac{K_{0}}{T_{\min}^{*}}, it suffices to argue that limΔN({Tmin,Tf},Δ)Δ651Tmin\lim_{\Delta\to\infty}\frac{N(\{T^{*}_{\min},T_{f}^{*}\},\Delta)}{\Delta}\geq\frac{6}{5}\cdot\frac{1}{T^{*}_{\min}}, since N(T,Δ)N({Tmin,Tf},Δ)N(T^{*},\Delta)\geq N(\{T^{*}_{\min},T_{f}^{*}\},\Delta) for any Δ0\Delta\geq 0. For this purpose, according to the inclusion-exclusion formula in Lemma 1.2, we have

limΔN({Tmin,Tf},Δ)Δ=1Tmin+1Tf1LCM(Tmin,Tf),\lim_{\Delta\to\infty}\frac{N(\{T^{*}_{\min},T_{f}^{*}\},\Delta)}{\Delta}~{}~{}=~{}~{}\frac{1}{T^{*}_{\min}}+\frac{1}{T_{f}^{*}}-\frac{1}{\mathrm{LCM}(T^{*}_{\min},T_{f}^{*})}\ ,

where LCM(Tmin,Tf)\mathrm{LCM}(T^{*}_{\min},T_{f}^{*}) stands for the least common multiple of TminT^{*}_{\min} and TfT_{f}^{*}. Our proof proceeds by considering two cases, depending on the value of LCM(Tmin,Tf)\mathrm{LCM}(T^{*}_{\min},T_{f}^{*}). The latter quantity is either equal to 2Tf2T_{f}^{*} or at least 3Tf3T_{f}^{*}, since ff is a TT^{*}-fractional commodity.

  • When LCM(Tmin,Tf)=2Tf\mathrm{LCM}(T^{*}_{\min},T_{f}^{*})=2T_{f}^{*}: Since Tf<3TminT_{f}^{*}<3T^{*}_{\min}, we must have either Tf=32TminT_{f}^{*}=\frac{3}{2}\cdot T^{*}_{\min} or Tf=52TminT_{f}^{*}=\frac{5}{2}\cdot T^{*}_{\min}. As a result,

    1Tmin+1Tf1LCM(Tmin,Tf)=1Tmin+12Tf651Tmin.\frac{1}{T^{*}_{\min}}+\frac{1}{T_{f}^{*}}-\frac{1}{\mathrm{LCM}(T^{*}_{\min},T_{f}^{*})}~{}~{}=~{}~{}\frac{1}{T^{*}_{\min}}+\frac{1}{2T_{f}^{*}}~{}~{}\geq~{}~{}\frac{6}{5}\cdot\frac{1}{T^{*}_{\min}}\ .
  • When LCM(Tmin,Tf)3Tf\mathrm{LCM}(T^{*}_{\min},T_{f}^{*})\geq 3T_{f}^{*}: Here,

    1Tmin+1Tf1LCM(Tmin,Tf)1Tmin+23Tf1191Tmin,\frac{1}{T^{*}_{\min}}+\frac{1}{T_{f}^{*}}-\frac{1}{\mathrm{LCM}(T^{*}_{\min},T_{f}^{*})}~{}~{}\geq~{}~{}\frac{1}{T^{*}_{\min}}+\frac{2}{3T_{f}^{*}}~{}~{}\geq~{}~{}\frac{11}{9}\cdot\frac{1}{T^{*}_{\min}}\ ,

    where the last inequality holds once again since Tf<3TminT_{f}^{*}<3T^{*}_{\min}.

4.4 Approximating evenly-spaced policies

In what follows, we describe the main ideas behind deriving an algorithmic version of Theorem 1.5, showing how to efficiently compute an evenly-spaced policy whose long-run average cost is within factor 1+ϵ1+\epsilon of the optimal such policy. To avoid repetitive contents in relation to earlier sections, these ideas will only be sketched.

Step 1: Enumerating over 𝚫\boldsymbol{\Delta}.

Let T=(T1,,Tn)T^{*}=(T_{1}^{*},\ldots,T_{n}^{*}) be an optimal evenly-spaced replenishment policy, and let Δ\Delta^{*} be its spacing parameter. Along the lines of Section 2.3, we begin by computing an over-estimate OPT~\widetilde{\mathrm{OPT}} for the optimal long-run average cost F(T)F(T^{*}), such that F(T)OPT~2F(T)F(T^{*})\leq\widetilde{\mathrm{OPT}}\leq 2\cdot F(T^{*}). The important observation is that there exists a (1+4ϵ)(1+4\epsilon)-approximate evenly-spaced policy, T^\hat{T}, whose spacing parameter Δ^\hat{\Delta} resides within [K0OPT~,1ϵK0OPT~][\frac{K_{0}}{\widetilde{\mathrm{OPT}}},\frac{1}{\epsilon}\cdot\frac{K_{0}}{\widetilde{\mathrm{OPT}}}]. Indeed, when Δ\Delta^{*} satisfies this property, TT^{*} is one such policy. Otherwise, since ΔK0F(T)K0OPT~\Delta^{*}\geq\frac{K_{0}}{F(T^{*})}\geq\frac{K_{0}}{\widetilde{\mathrm{OPT}}}, the desired property may only be violated by having Δ>1ϵK0OPT~\Delta^{*}>\frac{1}{\epsilon}\cdot\frac{K_{0}}{\widetilde{\mathrm{OPT}}}. In this case, we can keep the time intervals T1,,TnT_{1}^{*},\ldots,T_{n}^{*} unchanged, and simply scale down Δ\Delta^{*} by a factor of ϵΔOPT~K0\lceil\epsilon\Delta^{*}\cdot\frac{\widetilde{\mathrm{OPT}}}{K_{0}}\rceil. With the latter modification, our joint ordering cost is still negligible, since

K0ΔϵΔOPT~K02ϵOPT~4ϵF(T).\frac{K_{0}}{\Delta^{*}}\cdot\left\lceil\epsilon\Delta^{*}\cdot\frac{\widetilde{\mathrm{OPT}}}{K_{0}}\right\rceil~{}~{}\leq~{}~{}2\epsilon\cdot\widetilde{\mathrm{OPT}}~{}~{}\leq~{}~{}4\epsilon\cdot F(T^{*})\ .

As a result, by enumerating over O(1ϵlog1ϵ)O(\frac{1}{\epsilon}\log\frac{1}{\epsilon}) candidate values, we can assume to have at our possession an over-estimate Δ~\tilde{\Delta} of the spacing parameter Δ^\hat{\Delta}, such that Δ^Δ~(1+ϵ)Δ^\hat{\Delta}\leq\tilde{\Delta}\leq(1+\epsilon)\cdot\hat{\Delta}.

Step 2: Placing commodity-specific orders.

We proceed by explaining why, once the spacing parameter Δ\Delta of an evenly-spaced policy has been fixed, optimally choosing its time intervals is a straightforward task. To this end, for each commodity i[n]i\in[n], let us recall that TiEOQT_{i}^{\mathrm{EOQ}} denotes the optimal solution to the standard EOQ model of this commodity (see Section 1.1). Namely, TiEOQT_{i}^{\mathrm{EOQ}} minimizes the long-run average cost Ci(Ti)=KiTi+HiTiC_{i}(T_{i})=\frac{K_{i}}{T_{i}}+H_{i}T_{i}, implying that TiEOQ=Ki/HiT_{i}^{\mathrm{EOQ}}=\sqrt{K_{i}/H_{i}} by Claim 1.1. In parallel, the latter claim informs us that CiC_{i} is strictly convex, meaning that when we are restricted to integer multiples of Δ\Delta, the optimal choice for TiT_{i} must be either TiEOQ(Δ)\lfloor T_{i}^{\mathrm{EOQ}}\rfloor^{(\Delta)} or TiEOQ(Δ)\lceil T_{i}^{\mathrm{EOQ}}\rceil^{(\Delta)}, i.e., the nearest multiples of Δ\Delta from below and above, respectively. Consequently, we determine each time interval T~i\tilde{T}_{i} by choosing the CiC_{i}-cheaper option out of TiEOQ(Δ~)\lfloor T_{i}^{\mathrm{EOQ}}\rfloor^{(\tilde{\Delta})} and TiEOQ(Δ~)\lceil T_{i}^{\mathrm{EOQ}}\rceil^{(\tilde{\Delta})}. It is not difficult to verify that, since Δ^Δ~(1+ϵ)Δ^\hat{\Delta}\leq\tilde{\Delta}\leq(1+\epsilon)\cdot\hat{\Delta}, we are exceeding the long-run average cost of T^\hat{T} by a factor of at most 1+ϵ1+\epsilon.

5 Resource-Constrained JRP: The General Setting

In what follows, we prove that the resource-constrained joint replenishment problem can be efficiently approximated within factor 1.4171.417 of optimal, thereby establishing Theorem 1.6. For this purpose, Section 5.1 focuses on presenting the high-level ideas of our approach, whose specifics are provided in Sections 5.2 and 5.3.

5.1 Algorithmic overview

Convex relaxation.

Toward deriving Theorem 1.6, our starting point is similar to that of earlier papers (Roundy, 1989; Teo and Bertsimas, 2001). Namely, we begin by computing an optimal solution T=(Tmin,T1,,Tn)T^{*}=(T_{\min}^{*},T_{1}^{*},\ldots,T_{n}^{*}) to the following convex relaxation:

minK0Tmin+i[n](KiTi+HiTi)s.t.TiTmini[n]i[n]αidTiβdd[D]\begin{array}[]{lll}\min&{\displaystyle\frac{K_{0}}{T_{\min}}+\sum_{i\in[n]}\left(\frac{K_{i}}{T_{i}}+H_{i}T_{i}\right)}\\ \text{s.t.}&T_{i}\geq T_{\min}&\forall\,i\in[n]\\ &{\displaystyle\sum_{i\in[n]}\frac{\alpha_{id}}{T_{i}}\leq\beta_{d}}&\forall\,d\in[D]\end{array} (RC)

Classifying commodities.

With respect to TT^{*}, we say that commodity i[n]i\in[n] is small when Ti87TminT_{i}^{*}\leq\frac{8}{7}\cdot T_{\min}^{*}; otherwise, this commodity is large. The sets of such commodities will be denoted by 𝒮{\cal S}^{*} and {\cal L}^{*}, respectively, with the convention that their contributions toward the EOQ-based component of OPT(RC)\mathrm{OPT}\eqref{eqn:conv_relax_RCJRP} are designated by

C(𝒮)=i𝒮Ci(Ti)andC()=iCi(Ti).C({\cal S}^{*})~{}~{}=~{}~{}\sum_{i\in{\cal S}^{*}}C_{i}(T_{i}^{*})\qquad\text{and}\qquad C({\cal L}^{*})~{}~{}=~{}~{}\sum_{i\in{\cal L}^{*}}C_{i}(T_{i}^{*})\ .

Two rounding procedures.

In Section 5.2, we describe a deterministic rounding procedure for computing a replenishment policy T~A\tilde{T}^{A}, being particularly appealing when K0Tmin\frac{K_{0}}{T_{\min}^{*}} and C(𝒮)C({\cal S}^{*}) constitute a large chunk of OPT(RC)\mathrm{OPT}\eqref{eqn:conv_relax_RCJRP}. Specifically, the operational cost of this policy will be

F(T~A)78K0Tmin+87C(𝒮)+2C().F(\tilde{T}^{A})~{}~{}\leq~{}~{}\frac{7}{8}\cdot\frac{K_{0}}{T_{\min}^{*}}+\frac{8}{7}\cdot C({\cal S}^{*})+2\cdot C({\cal L}^{*})\ . (27)

Then, in Section 5.3, we devise a randomized rounding procedure for computing a replenishment policy T~B\tilde{T}^{B}, that will be useful when C()C({\cal L}^{*}) forms a large fraction of OPT(RC)\mathrm{OPT}\eqref{eqn:conv_relax_RCJRP}. Here, we will show that the expected operational cost of this policy is

𝔼[F(T~B)]1ln2K0Tmin+1ln2C(𝒮)+(1+14ln2)C().\mathbbm{E}\left[F(\tilde{T}^{B})\right]~{}~{}\leq~{}~{}\frac{1}{\ln 2}\cdot\frac{K_{0}}{T_{\min}^{*}}+\frac{1}{\ln 2}\cdot C({\cal S}^{*})+\left(1+\frac{1}{4\ln 2}\right)\cdot C({\cal L}^{*})\ . (28)

Approximation guarantee.

By picking the cheaper of these two policies, it follows that our expected cost is

𝔼[min{F(T~A),F(T~B)}]\displaystyle\mathbbm{E}\left[\min\left\{F(\tilde{T}^{A}),F(\tilde{T}^{B})\right\}\right]
min{F(T~A),𝔼[F(T~B)]}\displaystyle\qquad\leq~{}~{}\min\left\{F(\tilde{T}^{A}),\mathbbm{E}\left[F(\tilde{T}^{B})\right]\right\} (29)
0.087(78K0Tmin+87C(𝒮)+2C())\displaystyle\qquad\leq~{}~{}0.087\cdot\left(\frac{7}{8}\cdot\frac{K_{0}}{T_{\min}^{*}}+\frac{8}{7}\cdot C({\cal S}^{*})+2\cdot C({\cal L}^{*})\right)
+(10.087)(1ln2K0Tmin+1ln2C(𝒮)+(1+14ln2)C())\displaystyle\qquad\qquad\mbox{}+(1-0.087)\cdot\left(\frac{1}{\ln 2}\cdot\frac{K_{0}}{T_{\min}^{*}}+\frac{1}{\ln 2}\cdot C({\cal S}^{*})+\left(1+\frac{1}{4\ln 2}\right)\cdot C({\cal L}^{*})\right) (30)
1.394K0Tmin+1.417C(𝒮)+1.417C()\displaystyle\qquad\leq~{}~{}1.394\cdot\frac{K_{0}}{T_{\min}^{*}}+1.417\cdot C({\cal S}^{*})+1.417\cdot C({\cal L}^{*})
1.417OPT(RC).\displaystyle\qquad\leq~{}~{}1.417\cdot\mathrm{OPT}\eqref{eqn:conv_relax_RCJRP}\ .

Here, inequality (29) follows from Jensen’s inequality, noting that the function xmin{c,x}x\mapsto\min\{c,x\} is concave for any fixed cc\in\mathbbm{R}. Inequality (30) is obtained by substituting (27) and (28).

5.2 The right-shift procedure

Our first policy, T~A\tilde{T}^{A}, is designed to take advantage of the scenario where a large fraction of the relaxed optimum OPT(RC)\mathrm{OPT}\eqref{eqn:conv_relax_RCJRP} is coming from the joint ordering term K0Tmin\frac{K_{0}}{T_{\min}^{*}} or from the EOQ-based component C(𝒮)C({\cal S}^{*}) of small commodities. This policy ensures that both ingredients will incur appropriately-bounded rounding errors by right-shifting the time intervals of small commodities to the threshold point 87Tmin\frac{8}{7}\cdot T_{\min}^{*} along the following lines:

  • Placing joint orders: Joint orders will be placed at integer multiples of Δ=87Tmin\Delta=\frac{8}{7}\cdot T_{\min}^{*}. As such, we ensure that T~A\tilde{T}^{A} has a long-run ordering cost of

    J(T~A)=K0Δ=78K0Tmin.J(\tilde{T}^{A})~{}~{}=~{}~{}\frac{K_{0}}{\Delta}~{}~{}=~{}~{}\frac{7}{8}\cdot\frac{K_{0}}{T_{\min}^{*}}\ .
  • Placing commodity-specific orders: For every commodity i[n]i\in[n], we set its time interval T~iA\tilde{T}^{A}_{i} by rounding TiT_{i}^{*} up to the nearest integer multiple of Δ\Delta, meaning that T~iA=Ti(Δ)\tilde{T}^{A}_{i}=\lceil T_{i}^{*}\rceil^{(\Delta)}. Consequently, since Ti87Tmin=ΔT_{i}^{*}\leq\frac{8}{7}\cdot T_{\min}^{*}=\Delta for every small commodity i𝒮i\in{\cal S}^{*}, we have T~iA=Δ\tilde{T}^{A}_{i}=\Delta, implying in turn that the EOQ-based cost of this commodity is

    Ci(T~iA)=KiΔ+HiΔKiTi+87HiTi87Ci(Ti).C_{i}(\tilde{T}^{A}_{i})~{}~{}=~{}~{}\frac{K_{i}}{\Delta}+H_{i}\Delta~{}~{}\leq~{}~{}\frac{K_{i}}{T_{i}^{*}}+\frac{8}{7}\cdot H_{i}T_{i}^{*}~{}~{}\leq~{}~{}\frac{8}{7}\cdot C_{i}(T_{i}^{*})\ .

    On the other hand, for every large commodity ii\in{\cal L}^{*},

    Ci(T~iA)=KiTi(Δ)+HiTi(Δ)KiTi+Hi(Ti+Δ)KiTi+2HiTi2Ci(Ti),C_{i}(\tilde{T}^{A}_{i})~{}~{}=~{}~{}\frac{K_{i}}{\lceil T_{i}^{*}\rceil^{(\Delta)}}+H_{i}\lceil T_{i}^{*}\rceil^{(\Delta)}~{}~{}\leq~{}~{}\frac{K_{i}}{T_{i}^{*}}+H_{i}\cdot(T_{i}^{*}+\Delta)~{}~{}\leq~{}~{}\frac{K_{i}}{T_{i}^{*}}+2H_{i}T_{i}^{*}~{}~{}\leq~{}~{}2\cdot C_{i}(T_{i}^{*})\ ,

    where the next-to-last inequality holds since Ti>87Tmin=ΔT_{i}^{*}>\frac{8}{7}\cdot T_{\min}^{*}=\Delta.

By combining these observations, it follows that the long-run operational cost of our policy is

F(T~A)78K0Tmin+87C(𝒮)+2C(),F(\tilde{T}^{A})~{}~{}\leq~{}~{}\frac{7}{8}\cdot\frac{K_{0}}{T_{\min}^{*}}+\frac{8}{7}\cdot C({\cal S}^{*})+2\cdot C({\cal L}^{*})\ ,

which is precisely the bound stated in (27). Moreover, it is important to emphasize that any replenishment policy T~\tilde{T} with T~T\tilde{T}\geq T^{*} is necessarily resource-feasible. Indeed, for every d[D]d\in[D], we have i[n]αidT~ii[n]αidTiβd\sum_{i\in[n]}\frac{\alpha_{id}}{\tilde{T}_{i}}\leq\sum_{i\in[n]}\frac{\alpha_{id}}{T_{i}^{*}}\leq\beta_{d}, where the latter inequality holds since TT^{*} forms a feasible solution to (RC).

5.3 The randomized-shift procedure

Here, we consider the complementary scenario, where a large fraction of OPT(RC)\mathrm{OPT}\eqref{eqn:conv_relax_RCJRP} is coming from the EOQ-based component of large commodities, C()C({\cal L}^{*}). In particular, we examine the natural idea of constructing an evenly-spaced policy, whose spacing parameter is obtained via the randomized rounding approach of Teo and Bertsimas (2001). While this procedure may scale up the contribution of small commodities by 1ln21.442\frac{1}{\ln 2}\approx 1.442, the crux of our refined analysis would be to prove that large commodities are scaled by at most 1+14ln21.361+\frac{1}{4\ln 2}\approx 1.36. To this end, our current policy T~B\tilde{T}^{B} will be defined as follows:

  • Placing joint orders: Joint orders will be placed at integer multiples of the random base ΔU=TmineU\Delta_{U}=\frac{T_{\min}^{*}}{e^{U}}, where UU(0,ln2)U\sim U(0,\ln 2).

  • Placing commodity-specific orders: For every commodity i[n]i\in[n], we set its time interval T~iB\tilde{T}^{B}_{i} by rounding TiT_{i}^{*} up to the nearest integer multiple of ΔU\Delta_{U}, meaning that T~iB=Ti(ΔU)\tilde{T}^{B}_{i}=\lceil T_{i}^{*}\rceil^{(\Delta_{U})}.

We mention in passing that T~B\tilde{T}^{B} is a resource-feasible policy, for any realization of UU. Similarly to Section 5.2, this claim follows by noting that T~BT\tilde{T}^{B}\geq T^{*}.

Analysis.

To analyze the performance guarantee of our policy, we begin by listing a number of auxiliary observations.

Claim 5.1.

𝔼U[eU]=1ln2\mathbbm{E}_{U}[e^{U}]=\frac{1}{\ln 2} and 𝔼U[eU]=12ln2\mathbbm{E}_{U}[e^{-U}]=\frac{1}{2\ln 2}.

Claim 5.2.

When Ti[Tmin,32Tmin]T_{i}^{*}\in[T_{\min}^{*},\frac{3}{2}\cdot T_{\min}^{*}], we have 𝔼U[T~iBTi]=12ln2(1+TminTi)\mathbbm{E}_{U}[\frac{\tilde{T}^{B}_{i}}{T_{i}^{*}}]=\frac{1}{2\ln 2}\cdot(1+\frac{T_{\min}^{*}}{T_{i}^{*}}).

Claim 5.3.

When Ti(32Tmin,2Tmin]T_{i}^{*}\in(\frac{3}{2}\cdot T_{\min}^{*},2T_{\min}^{*}], we have 𝔼U[T~iBTi]=56ln2\mathbbm{E}_{U}[\frac{\tilde{T}^{B}_{i}}{T_{i}^{*}}]=\frac{5}{6\ln 2}.

Claim 5.1 follows from one-line calculations, and we omit its straightforward proof. Claims 5.2 and 5.3 require finer arguments, and we provide their proofs in Appendices B.1 and B.2, respectively. Given these observations, we are now ready to establish the upper bound (28) on the long-run operational cost of our policy.

Lemma 5.4.

𝔼U[F(T~B)]1ln2K0Tmin+1ln2C(𝒮)+(1+14ln2)C()\mathbbm{E}_{U}[F(\tilde{T}^{B})]\leq\frac{1}{\ln 2}\cdot\frac{K_{0}}{T_{\min}^{*}}+\frac{1}{\ln 2}\cdot C({\cal S}^{*})+(1+\frac{1}{4\ln 2})\cdot C({\cal L}^{*}).

Proof.

To derive the desired bound on the expected operational cost of T~B\tilde{T}^{B}, we first observe that in terms of joint orders,

𝔼U[J(T~B)]=𝔼U[K0ΔU]=𝔼U[eU]K0Tmin=1ln2K0Tmin,\mathbbm{E}_{U}\left[J(\tilde{T}^{B})\right]~{}~{}=~{}~{}\mathbbm{E}_{U}\left[\frac{K_{0}}{\Delta_{U}}\right]~{}~{}=~{}~{}\mathbbm{E}_{U}\left[e^{U}\right]\cdot\frac{K_{0}}{T_{\min}^{*}}~{}~{}=~{}~{}\frac{1}{\ln 2}\cdot\frac{K_{0}}{T_{\min}^{*}}\ ,

where the last equality follows from Claim 5.1.

Moving on to consider EOQ-based costs, we remind the reader that Ti[Tmin,87Tmin]T_{i}^{*}\in[T_{\min}^{*},\frac{8}{7}\cdot T_{\min}^{*}] for every small commodity i𝒮i\in{\cal S}^{*}. Therefore, this time interval satisfies the condition of Claim 5.2, implying that 𝔼U[T~iBTi]=12ln2(1+TminTi)1ln2\mathbbm{E}_{U}[\frac{\tilde{T}^{B}_{i}}{T_{i}^{*}}]=\frac{1}{2\ln 2}\cdot(1+\frac{T_{\min}^{*}}{T_{i}^{*}})\leq\frac{1}{\ln 2}. Consequently,

𝔼U[Ci(T~iB)]\displaystyle\mathbbm{E}_{U}\left[C_{i}(\tilde{T}^{B}_{i})\right] =\displaystyle= 𝔼U[KiT~iB+HiT~iB]\displaystyle\mathbbm{E}_{U}\left[\frac{K_{i}}{\tilde{T}^{B}_{i}}+H_{i}\tilde{T}^{B}_{i}\right]
\displaystyle\leq KiTi+HiTi𝔼U[T~iBTi]\displaystyle\frac{K_{i}}{T_{i}^{*}}+H_{i}T^{*}_{i}\cdot\mathbbm{E}_{U}\left[\frac{\tilde{T}^{B}_{i}}{T_{i}^{*}}\right]
\displaystyle\leq KiTi+1ln2HiTi\displaystyle\frac{K_{i}}{T_{i}^{*}}+\frac{1}{\ln 2}\cdot H_{i}T_{i}^{*}
\displaystyle\leq 1ln2Ci(Ti).\displaystyle\frac{1}{\ln 2}\cdot C_{i}(T_{i}^{*})\ .

Now, focusing on a single large commodity ii\in{\cal L}^{*}, let us write Ti=θiTminT_{i}^{*}=\theta_{i}T_{\min}^{*} for convenience of notation. Clearly, θi87\theta_{i}\geq\frac{8}{7}, and we proceed to consider the next few cases, depending on the magnitude of this parameter.

  1. 1.

    When θi[87,32]\theta_{i}\in[\frac{8}{7},\frac{3}{2}]: Here, we fall into the regime of Claim 5.2, and thus 𝔼U[T~iBTi]=12ln2(1+1θi)1516ln2\mathbbm{E}_{U}[\frac{\tilde{T}^{B}_{i}}{T_{i}^{*}}]=\frac{1}{2\ln 2}\cdot(1+\frac{1}{\theta_{i}})\leq\frac{15}{16\ln 2}. Consequently,

    𝔼U[Ci(T~iB)]KiTi+HiTi𝔼U[T~iBTi]KiTi+1516ln2HiTi1516ln2Ci(Ti).\mathbbm{E}_{U}\left[C_{i}(\tilde{T}^{B}_{i})\right]~{}~{}\leq~{}~{}\frac{K_{i}}{T_{i}^{*}}+H_{i}T^{*}_{i}\cdot\mathbbm{E}_{U}\left[\frac{\tilde{T}^{B}_{i}}{T_{i}^{*}}\right]~{}~{}\leq~{}~{}\frac{K_{i}}{T_{i}^{*}}+\frac{15}{16\ln 2}\cdot H_{i}T_{i}^{*}~{}~{}\leq~{}~{}\frac{15}{16\ln 2}\cdot C_{i}(T_{i}^{*})\ .
  2. 2.

    When θi(32,2]\theta_{i}\in(\frac{3}{2},2]: In this case, we are within the regime of Claim 5.3, implying that 𝔼U[T~iBTi]=56ln2\mathbbm{E}_{U}[\frac{\tilde{T}^{B}_{i}}{T_{i}^{*}}]=\frac{5}{6\ln 2}. Therefore, following the same logic as in item 1 above, 𝔼U[Ci(T~iB)]56ln2Ci(Ti)\mathbbm{E}_{U}[C_{i}(\tilde{T}^{B}_{i})]\leq\frac{5}{6\ln 2}\cdot C_{i}(T_{i}^{*}).

  3. 3.

    When θi>2\theta_{i}>2: Here, since T~iB=Ti(ΔU)\tilde{T}^{B}_{i}=\lceil T_{i}^{*}\rceil^{(\Delta_{U})}, we have

    𝔼U[T~iB]𝔼U[Ti+ΔU]=Ti+Tmin𝔼U[eU]<(1+14ln2)Ti,\mathbbm{E}_{U}\left[\tilde{T}^{B}_{i}\right]~{}~{}\leq~{}~{}\mathbbm{E}_{U}\left[T_{i}^{*}+\Delta_{U}\right]~{}~{}=~{}~{}T_{i}^{*}+T_{\min}^{*}\cdot\mathbbm{E}_{U}\left[e^{-U}\right]~{}~{}<~{}~{}\left(1+\frac{1}{4\ln 2}\right)\cdot T_{i}^{*}\ ,

    where the second inequality is obtained by combining Claim 5.1 with our case hypothesis of θi>2\theta_{i}>2. Consequently,

    𝔼U[Ci(T~iB)]KiTi+(1+14ln2)HiTi(1+14ln2)Ci(Ti).\mathbbm{E}_{U}\left[C_{i}(\tilde{T}^{B}_{i})\right]~{}~{}\leq~{}~{}\frac{K_{i}}{T_{i}^{*}}+\left(1+\frac{1}{4\ln 2}\right)\cdot H_{i}T_{i}^{*}~{}~{}\leq~{}~{}\left(1+\frac{1}{4\ln 2}\right)\cdot C_{i}(T_{i}^{*})\ .

In summary, we infer that the expected EOQ-based cost of our policy is

𝔼U[i[n]Ci(T~iB)]\displaystyle\mathbbm{E}_{U}\left[\sum_{i\in[n]}C_{i}(\tilde{T}^{B}_{i})\right] \displaystyle\leq 1ln2C(𝒮)+max{1516ln2,56ln2,1+14ln2}C()\displaystyle\frac{1}{\ln 2}\cdot C({\cal S}^{*})+\max\left\{\frac{15}{16\ln 2},\frac{5}{6\ln 2},1+\frac{1}{4\ln 2}\right\}\cdot C({\cal L}^{*})
=\displaystyle= 1ln2C(𝒮)+(1+14ln2)C().\displaystyle\frac{1}{\ln 2}\cdot C({\cal S}^{*})+\left(1+\frac{1}{4\ln 2}\right)\cdot C({\cal L}^{*})\ .

6 Resource-Constrained JRP: 𝑶(𝟏)\boldsymbol{O(1)} Constraints

In this section, we look into the type of performance guarantees that can be attained, when running times are allowed to be exponential in the number of resource constraints, DD. Theorem 1.7 summarizes our main result in this direction, arguing that the resource-constrained joint replenishment problem can be approximated within factor 1+ϵ1+\epsilon in O(nO~(D3/ϵ4))O(n^{\tilde{O}(D^{3}/\epsilon^{4})}) time. Toward this objective, Section 6.1 explains how one could go about discretizing the seemingly-continuous decision space of replenishment policies, thereby arriving at an integer programming formulation. Section 6.2 proposes an enumeration-based method to strengthened the resulting linear relaxation. Finally, Section 6.3 presents our randomized rounding procedure, showing that with constant probability, we indeed compute a near-optimal policy.

6.1 Discretization

In what follows, we sketch the main ideas behind our construction of efficient discretization sets for the resource-constrained joint replenishment problem. In particular, rather than allowing the time intervals T1,,TnT_{1},\ldots,T_{n} of a given policy to take arbitrary non-negative values, we convert our decision to be combinatorial, by restricting these intervals to a respective collection of finite sets, 𝒯1,,𝒯n{\cal T}_{1},\ldots,{\cal T}_{n}.

Construction.

In the absence of resource constraints, our method for placing commodity-specific orders within Ψ\Psi-pairwise alignment (see Section 2.4) can retrospectively be viewed as creating a discrete set 𝒯i{\cal T}_{i} for each commodity ii. The latter set consists of the approximate representatives {R~}𝒜\{\tilde{R}_{\ell}\}_{\ell\in{\cal A}^{*}}, along with a single “large” interval, Timax(R~1)\lceil T^{\max}_{i}\rceil^{(\tilde{R}_{1})}, where Timax=max{1ϵT~min,Ki/Hi}T^{\max}_{i}=\max\{\frac{1}{\epsilon}\cdot\tilde{T}_{\min},\sqrt{K_{i}/H_{i}}\}. Similarly, when resource constraints are present, the representatives {R~}𝒜\{\tilde{R}_{\ell}\}_{\ell\in{\cal A}^{*}} can be defined precisely as in Section 2.4. However, adding only Timax(R~1)\lceil T^{\max}_{i}\rceil^{(\tilde{R}_{1})} will not be sufficient for our purposes, and we therefore augment 𝒯i{\cal T}_{i} with O(1ϵlognϵ)O(\frac{1}{\epsilon}\log\frac{n}{\epsilon}) extra options.

Specifically, let us first observe that each constraint i[n]αidTiβd\sum_{i\in[n]}\frac{\alpha_{id}}{T_{i}}\leq\beta_{d} implies in particular that TiαidβdT_{i}\geq\frac{\alpha_{id}}{\beta_{d}}. Consequently, any resource-feasible policy is operating under a lower bound of the form TiTiLB=maxd[D]αidβdT_{i}\geq T^{\mathrm{LB}}_{i}=\max_{d\in[D]}\frac{\alpha_{id}}{\beta_{d}}. Yet another important remark is that, whenever we pick TinϵTiLBT_{i}\geq\frac{n}{\epsilon}\cdot T^{\mathrm{LB}}_{i}, this commodity has a tiny contribution toward each constraint, in the sense that αidTiϵnβd\frac{\alpha_{id}}{T_{i}}\leq\frac{\epsilon}{n}\cdot\beta_{d}. Motivated by these observations, let Ti(1),,Ti(P)T_{i}^{(1)},\ldots,T_{i}^{(P)} be the sequence of points that partition the segment [TiLB,nϵTiLB][T^{\mathrm{LB}}_{i},\frac{n}{\epsilon}\cdot T^{\mathrm{LB}}_{i}] by powers of 1+ϵ1+\epsilon. Namely,

Ti(1)=TiLB,Ti(2)=(1+ϵ)TiLB,T_{i}^{(1)}~{}~{}=~{}~{}T^{\mathrm{LB}}_{i},\quad T_{i}^{(2)}~{}~{}=~{}~{}(1+\epsilon)\cdot T^{\mathrm{LB}}_{i},\quad\ldots

so on and so forth, where in general Ti(p)=(1+ϵ)p1TiLBT_{i}^{(p)}=(1+\epsilon)^{p-1}\cdot T^{\mathrm{LB}}_{i}. Here, PP is the minimal integer pp for which (1+ϵ)p1nϵ(1+\epsilon)^{p-1}\geq\frac{n}{\epsilon}, meaning that P=O(1ϵlognϵ)P=O(\frac{1}{\epsilon}\log\frac{n}{\epsilon}). Now, for every p[P]p\in[P] with Ti(p)1ϵT~minT_{i}^{(p)}\geq\frac{1}{\epsilon}\cdot\tilde{T}_{\min}, we augment 𝒯i{\cal T}_{i} with the time interval Ti(p)(R~1)\lceil T_{i}^{(p)}\rceil^{(\tilde{R}_{1})}.

Guaranteed properties.

We proceed by listing the main structural properties of the discretization sets 𝒯1,,𝒯n{\cal T}_{1},\ldots,{\cal T}_{n}, which will be instrumental in subsequent sections.

  1. 1.

    Logarithmic size: By the preceding discussion, we know that each set 𝒯i{\cal T}_{i} consists of at most |𝒜|+P+1|{\cal A}^{*}|+P+1 time intervals, meaning that |𝒯i|=O(1ϵlognϵ)|{\cal T}_{i}|=O(\frac{1}{\epsilon}\log\frac{n}{\epsilon}), for every commodity i[n]i\in[n].

  2. 2.

    Joint orders are not an issue: It is important to emphasize that each of the values Timax(R~1),Ti(1)(R~1),,Ti(P)(R~1)\lceil T^{\max}_{i}\rceil^{(\tilde{R}_{1})},\lceil T_{i}^{(1)}\rceil^{(\tilde{R}_{1})},\ldots,\lceil T_{i}^{(P)}\rceil^{(\tilde{R}_{1})} falls on an integer multiple of R~1\tilde{R}_{1}, meaning that we cannot be creating joint order beyond those of the approximate representatives {R~}𝒜\{\tilde{R}_{\ell}\}_{\ell\in{\cal A}^{*}}. As a result, any policy T=(T1,,Tn)𝒯1××𝒯nT=(T_{1},\ldots,T_{n})\in{\cal T}_{1}\times\cdots\times{\cal T}_{n} has a long-run joint ordering cost of J(T)J(~)(1+ϵ)J(T)J(T)\leq J(\tilde{\cal R})\leq(1+\epsilon)\cdot J(T^{*}).

  3. 3.

    Good EOQ-costs are achievable: Our construction ensures that there exists a (1+ϵ)(1+\epsilon)-feasible policy T=(T1,,Tn)𝒯1××𝒯nT=(T_{1},\ldots,T_{n})\in{\cal T}_{1}\times\cdots\times{\cal T}_{n} whose combined EOQ-based cost is i[n]Ci(Ti)(1+ϵ)i[n]Ci(Ti)\sum_{i\in[n]}C_{i}(T_{i})\leq(1+\epsilon)\cdot\sum_{i\in[n]}C_{i}(T_{i}^{*}). Here, (1+ϵ)(1+\epsilon)-feasibility means that each resource constraint is exceeded by a factor of at most 1+ϵ1+\epsilon, i.e., i[n]αidTi(1+ϵ)βd\sum_{i\in[n]}\frac{\alpha_{id}}{T_{i}}\leq(1+\epsilon)\cdot\beta_{d}. The arguments in this context have a flavor very similar to those presented in Section 2.6, and are therefore not repeated here. In essence, when Ti1ϵT~minT_{i}^{*}\leq\frac{1}{\epsilon}\cdot\tilde{T}_{\min}, this time interval will be replaced by the appropriate representative in {R~}𝒜\{\tilde{R}_{\ell}\}_{\ell\in{\cal A}^{*}}. When Ti(1ϵT~min,nϵTLB]T_{i}^{*}\in(\frac{1}{\epsilon}\cdot\tilde{T}_{\min},\frac{n}{\epsilon}\cdot T^{\mathrm{LB}}], its replacement will be the nearest Ti(p)(R~1)\lceil T_{i}^{(p)}\rceil^{(\tilde{R}_{1})}. Finally, when Ti>nϵTLBT_{i}^{*}>\frac{n}{\epsilon}\cdot T^{\mathrm{LB}}, one of Ti(P)(R~1)\lceil T_{i}^{(P)}\rceil^{(\tilde{R}_{1})} and Timax(R~1)\lceil T^{\max}_{i}\rceil^{(\tilde{R}_{1})} is the right choice.

IP formulation.

Given property 2 above, we will not be worried about long-run joint ordering costs. Instead, our attention will be focused on picking the time intervals T1,,TnT_{1},\ldots,T_{n} out of 𝒯1,,𝒯n{\cal T}_{1},\ldots,{\cal T}_{n}, respectively, with the objective of minimizing long-run EOQ-based costs. Moving forward, it is convenient to formulate the latter question as an integer program. To this end, for every commodity i[n]i\in[n] and time interval t𝒯it\in{\cal T}_{i}, let xitx_{it} be a binary decision variable, indicating whether we set Ti=tT_{i}=t. As such, our problem of interest can be written as:

mini[n]t𝒯i(Kit+Hit)xits.t.t𝒯ixit=1i[n]i[n]αidt𝒯ixitt(1+ϵ)βdd[D]xit{0,1}i[n],t𝒯i\begin{array}[]{lll}\min&{\displaystyle\sum_{i\in[n]}\sum_{t\in{\cal T}_{i}}\left(\frac{K_{i}}{t}+H_{i}t\right)x_{it}}\\ \text{s.t.}&{\displaystyle\sum_{t\in{\cal T}_{i}}x_{it}=1}&\forall\,i\in[n]\\ &{\displaystyle\sum_{i\in[n]}\alpha_{id}\cdot\sum_{t\in{\cal T}_{i}}\frac{x_{it}}{t}\leq(1+\epsilon)\cdot\beta_{d}}&\forall\,d\in[D]\\ &x_{it}\in\{0,1\}&\forall\,i\in[n],t\in{\cal T}_{i}\end{array} (IP)

It is worth pointing out that rather than keeping each resource constraint in its original form (i.e., with βd\leq\beta_{d}), the program above allows for (1+ϵ)(1+\epsilon)-feasibility. The fundamental reason behind this feature is that property 3 argues about the existence of an inexpensive (1+ϵ)(1+\epsilon)-feasible policy. For all we know, restricting ourselves to truly feasible policies while concurrently picking from 𝒯1,,𝒯n{\cal T}_{1},\ldots,{\cal T}_{n} could be significantly more expensive. Of course, we will eventually have to compute a truly feasible policy, but for the time being, we state the next result regarding the optimal value of (IP).

Observation 6.1.

OPT(IP)(1+ϵ)i[n]Ci(Ti)\mathrm{OPT}\eqref{eqn:IP_RCJRP}\leq(1+\epsilon)\cdot\sum_{i\in[n]}C_{i}(T_{i}^{*}).

6.2 Linear relaxation

Unfortunately, it is not difficult to verify that, by replacing the integrality requirement xit{0,1}x_{it}\in\{0,1\} with non-negativity constraints and nothing more, we could create an unbounded integrality gap. To address this issue, we proceed by generating two families of valid constraints, inspired by well-known ideas related to approximation schemes for the generalized assignment problem (see, for instance, Jansen and Porkolab (2001); Jansen and Maack (2019); Kones and Levin (2019)).

Heavy pairs.

Letting δ=ϵ4D2\delta=\frac{\epsilon^{4}}{D^{2}}, for every commodity i[n]i\in[n], time interval t𝒯it\in{\cal T}_{i}, and constraint d[D]d\in[D], we say that (i,t)(i,t) is a dd-heavy pair when αidt>δβd\frac{\alpha_{id}}{t}>\delta\beta_{d}; we use d{\cal H}_{d} to denote the collection of dd-heavy pairs. Focusing on an optimal solution xx^{*} to the discrete problem (IP), let d{\cal H}^{*}_{d} be the set of dd-heavy pairs chosen by xx^{*}, i.e., d={(i,t)d:xit=1}{\cal H}^{*}_{d}=\{(i,t)\in{\cal H}_{d}:x_{it}^{*}=1\}. It is easy to verify that d<1+ϵδ2δ{\cal H}^{*}_{d}<\frac{1+\epsilon}{\delta}\leq\frac{2}{\delta}.

Expensive pairs.

Similarly, for every commodity i[n]i\in[n] and time interval t𝒯it\in{\cal T}_{i}, we say that (i,t)(i,t) is an expensive pair when Kit+Hit>ϵ4OPT(IP)\frac{K_{i}}{t}+H_{i}t>\epsilon^{4}\mathrm{OPT}\eqref{eqn:IP_RCJRP}. We use {\cal E} to denote the collection of expensive pairs, whereas {\cal E}^{*} will designate those chosen by xx^{*}, i.e., ={(i,t):xit=1}{\cal E}^{*}=\{(i,t)\in{\cal E}:x_{it}^{*}=1\}. Once again, it is easy to verify that <1ϵ4{\cal E}^{*}<\frac{1}{\epsilon^{4}}.

Guessing.

We proceed by guessing the identity of d{\cal H}^{*}_{d}, for every d[D]d\in[D], noting that there are O((nmaxi[n]|𝒯i|)O(D/δ))O((n\cdot\max_{i\in[n]}|{\cal T}_{i}|)^{O(D/\delta)}) options to enumerate over. In addition, we similarly guess all members of the set {\cal E}^{*}, for which there are O((nmaxi[n]|𝒯i|)O(1/ϵ4))O((n\cdot\max_{i\in[n]}|{\cal T}_{i}|)^{O(1/\epsilon^{4})}) possible options to consider. As mentioned in Section 6.1, we have |𝒯i|=O(1ϵlognϵ)|{\cal T}_{i}|=O(\frac{1}{\epsilon}\log\frac{n}{\epsilon}) for every commodity i[n]i\in[n], meaning that our overall number of guesses is

(nmaxi[n]|𝒯i|)O(max{D/δ,1/ϵ4})=(nϵlog(nϵ))O(D3/ϵ4)=nO~(D3/ϵ4).\left(n\cdot\max_{i\in[n]}|{\cal T}_{i}|\right)^{O(\max\{D/\delta,1/\epsilon^{4}\})}~{}~{}=~{}~{}\left(\frac{n}{\epsilon}\log\left(\frac{n}{\epsilon}\right)\right)^{O(D^{3}/\epsilon^{4})}~{}~{}=~{}~{}n^{\tilde{O}(D^{3}/\epsilon^{4})}\ .

The linear relaxation.

Given these guesses, we can infer two families of valid constraints with respect to (IP). First, for every d[D]d\in[D], the collection of dd-heavy pairs to be selected is precisely d{\cal H}^{*}_{d}, namely, xit=1x_{it}=1 for (i,t)d(i,t)\in{\cal H}^{*}_{d}, and concurrently xit=0x_{it}=0 for (i,t)dd(i,t)\in{\cal H}_{d}\setminus{\cal H}^{*}_{d}. Second, the collection of expensive pairs to be selected is {\cal E}^{*}, implying that xit=1x_{it}=1 for (i,t)(i,t)\in{\cal E}^{*}, whereas xit=0x_{it}=0 for (i,t)(i,t)\in{\cal E}\setminus{\cal E}^{*}. By plugging these equations back into (IP) and replacing our integrality requirement xit{0,1}x_{it}\in\{0,1\} with a non-negativity constraint, xit0x_{it}\geq 0, we obtain the following linear relaxation:

mini[n]t𝒯i(Kit+Hit)xits.t.t𝒯ixit=1i[n]i[n]αidt𝒯ixitt(1+ϵ)βdd[D]xit=1d[D],(i,t)dxit=0d[D],(i,t)ddxit=1(i,t)xit=0(i,t)xit0i[n],t𝒯i\begin{array}[]{lll}\min&{\displaystyle\sum_{i\in[n]}\sum_{t\in{\cal T}_{i}}\left(\frac{K_{i}}{t}+H_{i}t\right)x_{it}}\\ \text{s.t.}&{\displaystyle\sum_{t\in{\cal T}_{i}}x_{it}=1}&\forall\,i\in[n]\\ &{\displaystyle\sum_{i\in[n]}\alpha_{id}\cdot\sum_{t\in{\cal T}_{i}}\frac{x_{it}}{t}\leq(1+\epsilon)\cdot\beta_{d}}&\forall\,d\in[D]\\ &x_{it}=1&\forall\,d\in[D],(i,t)\in{\cal H}^{*}_{d}\\ &x_{it}=0&\forall\,d\in[D],(i,t)\in{\cal H}_{d}\setminus{\cal H}^{*}_{d}\\ &x_{it}=1&\forall\,(i,t)\in{\cal E}^{*}\\ &x_{it}=0&\forall\,(i,t)\in{\cal E}\setminus{\cal E}^{*}\\ &x_{it}\geq 0&\forall\,i\in[n],t\in{\cal T}_{i}\end{array} (LP)

6.3 The randomized rounding procedure

Given an optimal solution x~\tilde{x} to the linear relaxation (LP), we construct a random replenishment policy T~=(T~1,,T~n)\tilde{T}=(\tilde{T}_{1},\ldots,\tilde{T}_{n}) as follows. For every commodity i[n]i\in[n], due to having t𝒯ixit=1\sum_{t\in{\cal T}_{i}}x_{it}=1 as a constraint of (LP), we can view (x~it)t𝒯i(\tilde{x}_{it})_{t\in{\cal T}_{i}} as probabilities. As such, we choose a random time interval T~i\tilde{T}_{i} out of 𝒯i{\cal T}_{i} according to these probabilities. It is important to emphasize that T~1,,T~n\tilde{T}_{1},\ldots,\tilde{T}_{n} are independently drawn.

Cost analysis.

We first argue that, with constant probability, our policy T~\tilde{T} has a near-optimal cost. The exact statement of this claim is laid down by Lemma 6.2 below, whose proof is presented in Appendix B.3. The general intuition behind our proof is that, since T~\tilde{T} is forced to select the collection {\cal E}^{*} of expensive pairs and to avoid selecting any other expensive pair, meaningful cost deviations can only be attributed to inexpensive pairs. However, since any such pair (i,t)(i,t) has Kit+Hitϵ4OPT(IP)\frac{K_{i}}{t}+H_{i}t\leq\epsilon^{4}\mathrm{OPT}\eqref{eqn:IP_RCJRP}, an appropriate concentration inequality will show that an Ω(ϵOPT(LP))\Omega(\epsilon\mathrm{OPT}\eqref{eqn:linear_relax_RCJRP}) deviation occurs with low probability.

Lemma 6.2.

Pr[i[n](KiT~i+HiT~i)(1+ϵ)OPT(LP)]23\mathrm{Pr}[\sum_{i\in[n]}(\frac{K_{i}}{\tilde{T}_{i}}+H_{i}\tilde{T}_{i})\leq(1+\epsilon)\cdot\mathrm{OPT}\eqref{eqn:linear_relax_RCJRP}]\geq\frac{2}{3}.

Feasibility analysis.

Our next claim is that, with constant probability, the policy T~\tilde{T} is nearly feasible. To formalize this claim, we first derive an upper bound on the probability of violating any given resource constraint by a factor greater than 1+3ϵ1+3\epsilon. The latter bound can be established similarly to how we prove Lemma 6.2; for completeness, its finer details are provided in Appendix B.4.

Lemma 6.3.

Pr[i[n]αidT~i(1+3ϵ)βd]13D\mathrm{Pr}[\sum_{i\in[n]}\frac{\alpha_{id}}{\tilde{T}_{i}}\geq(1+3\epsilon)\cdot\beta_{d}]\leq\frac{1}{3D}, for every dDd\in D.

Now, by taking the union bound over all d[D]d\in[D], we conclude that T~\tilde{T} is a (1+3ϵ)(1+3\epsilon)-feasible policy with probability at least 2/32/3. Combined with Lemma 6.2, it follows that this policy is (1+ϵ)(1+\epsilon)-approximate at the same time, with probability at least 1/31/3. Finally, to ensure true resource-feasibility, we simply scale T~\tilde{T} up by a factor of 1+3ϵ1+3\epsilon, blowing its EOQ-based cost by at most 1+3ϵ1+3\epsilon as well.

7 Concluding Remarks

We believe that our work introduces a wide array of topics to be investigated in future research. The next few paragraphs are dedicated to highlighting some of these prospective directions, ranging from seemingly doable to highly non-trivial.

Fine-grained approximations?

As mentioned in Section 1.3, to communicate our main ideas in a digestible way, we have not made concentrated efforts to push the envelope of constant-factor approximations. In essence, the performance guarantees stated in Theorems 1.4, 1.5, and 1.6 should be viewed more of as proof-of-concepts rather than as genuine attempts to arrive at the best-possible approximations. As part of future research, it would be interesting to examine whether highly refined analysis, possibly combined with additional ideas, could perhaps lead to improved guarantees for the fixed-base joint replenishment problem, for the performance of evenly-spaced policies, and for resource-constrained models. At present time, we only know of subtle improvements along these lines, all coming at the cost of lengthy and involved arguments.

The fixed-base setting: Approximation scheme?

As expert readers have surely observed, Theorem 1.4 allows us to readily migrate performance guarantees for the variable-base model to its fixed-base counterpart, conditional on going through the convex relaxation route (Roundy, 1985, 1986; Jackson et al., 1985). That said, our previous work in this context (Segev, 2023), along with Section 2 of the current paper, reopens this gap via an approximation scheme for the variable-base setting versus a (12ln2+ϵ)(\frac{1}{\sqrt{2}\ln 2}+\epsilon)-approximation for the fixed-base setting. Toward further progress, one fundamental question is whether the algorithmic ideas behind Ψ\Psi-pairwise alignment can be leveraged to deal with the fixed-based restriction. Among other technical issues, it is still unclear how one should go about efficiently defining the approximate representatives ~={R~}𝒜\tilde{\cal R}=\{\tilde{R}_{\ell}\}_{\ell\in{\cal A}^{*}}, as in step 5 of Section 2.4, while limiting their values to integer multiples of the prespecified base Δ\Delta.

Additional long-standing open questions.

Given our improved understanding of various joint replenishment models, a particularly challenging direction for future research would be to make analogous progress with respect to additional lot sizing problems. From this perspective, two cornerstone problems that appear to be natural candidates are:

  • Dynamic replenishment policies for single-resource multi-item inventory systems.

  • Staggering policies for multi-cycle multi-item inventory systems.

Even though both settings have attracted a great deal of attention for decades, in terms of provably-good performance guarantees, our progress has plateaued upon landing at 22-approximate SOSI-policies, emerging from the ingenious work of Anily (1991) and Gallego et al. (1996). To learn more about the rich history of these problems and about some of their analytical obstacles, we refer avid readers to the book chapter of Simchi-Levi et al. (1997, Sec. 9.2) on this topic.

References

  • Aigner and Ziegler (2018) Martin Aigner and Günter M. Ziegler. Proofs from THE BOOK. Springer, sixth edition, 2018.
  • Aksoy and Erenguc (1988) Yasemin Aksoy and S. Selcuk Erenguc. Multi-item inventory models with co-ordinated replenishments: A survey. International Journal of Operations & Production Management, 8(1):63–73, 1988.
  • Anily (1991) Shoshana Anily. Multi-item replenishment and storage problem (MIRSP): Heuristics and bounds. Operations Research, 39(2):233–243, 1991.
  • Bastos et al. (2017) Leonardo dos Santos Lourenço Bastos, Matheus Lopes Mendes, Denilson Ricardo de Lucena Nunes, André Cristiano Silva Melo, and Mariana Pereira Carneiro. A systematic literature review on the joint replenishment problem solutions: 2006-2015. Production, 27:e20162229, 2017.
  • Bienkowski et al. (2014) Marcin Bienkowski, Jaroslaw Byrka, Marek Chrobak, Lukasz Jez, Dorian Nogneng, and Jirí Sgall. Better approximation bounds for the joint replenishment problem. In Proceedings of the 25th Annual ACM-SIAM Symposium on Discrete Algorithms, pages 42–54, 2014.
  • Bonferroni (1936) Carlo Bonferroni. Teoria statistica delle classi e calcolo delle probabilita. Pubblicazioni del R Istituto Superiore di Scienze Economiche e Commericiali di Firenze, 8:3–62, 1936.
  • Bosman and Olver (2020) Thomas Bosman and Neil Olver. Improved approximation algorithms for inventory problems. In Proceedings of the 21st International Conference on Integer Programming and Combinatorial Optimization, pages 91–103, 2020.
  • Cohen-Hillel and Yedidsion (2018) Tamar Cohen-Hillel and Liron Yedidsion. The periodic joint replenishment problem is strongly NP-hard. Mathematics of Operations Research, 43(4):1269–1289, 2018.
  • Dobson (1987) Gregory Dobson. The economic lot-scheduling problem: Achieving feasibility using time-varying lot sizes. Operations Research, 35(5):764–771, 1987.
  • Dubhashi and Panconesi (2009) Devdatt P. Dubhashi and Alessandro Panconesi. Concentration of Measure for the Analysis of Randomized Algorithms. Cambridge University Press, 2009.
  • Gallego et al. (1996) Guillermo Gallego, Maurice Queyranne, and David Simchi-Levi. Single resource multi-item inventory systems. Operations Research, 44(4):580–595, 1996.
  • Gayon et al. (2017) Jean-Philippe Gayon, Guillaume Massonnet, Christophe Rapine, and Gautier Stauffer. Fast approximation algorithms for the one-warehouse multi-retailer problem under general cost structures and capacity constraints. Mathematics of Operations Research, 42(3):854–875, 2017.
  • Goyal and Satir (1989) Suresh K. Goyal and Ahmet T. Satir. Joint replenishment inventory control: Deterministic and stochastic models. European Journal of Operational Research, 38(1):2–13, 1989.
  • Jackson et al. (1985) Peter Jackson, William Maxwell, and John Muckstadt. The joint replenishment problem with a powers-of-two restriction. IIE Transactions, 17(1):25–32, 1985.
  • Jackson et al. (1988) Peter Jackson, William Maxwell, and John Muckstadt. Determining optimal reorder intervals in capacitated production-distribution systems. Management Science, 34(8):938–958, 1988.
  • Jansen and Maack (2019) Klaus Jansen and Marten Maack. An EPTAS for scheduling on unrelated machines of few different types. Algorithmica, 81(10):4134–4164, 2019.
  • Jansen and Porkolab (2001) Klaus Jansen and Lorant Porkolab. Improved approximation schemes for scheduling unrelated parallel machines. Mathematics of Operations Research, 26(2):324–338, 2001.
  • Khouja and Goyal (2008) Moutaz Khouja and Suresh Goyal. A review of the joint replenishment problem literature: 1989–2005. European Journal of Operational Research, 186(1):1–16, 2008.
  • Kones and Levin (2019) Ishai Kones and Asaf Levin. A unified framework for designing EPTAS for load balancing on parallel machines. Algorithmica, 81(7):3025–3046, 2019.
  • Levi et al. (2008) Retsef Levi, Robin Roundy, David B. Shmoys, and Maxim Sviridenko. A constant approximation algorithm for the one-warehouse multiretailer problem. Management Science, 54(4):763–776, 2008.
  • Maxwell and Muckstadt (1985) William L. Maxwell and John A. Muckstadt. Establishing consistent and realistic reorder intervals in production-distribution systems. Operations Research, 33(6):1316–1341, 1985.
  • Muckstadt and Roundy (1987) John A. Muckstadt and Robin O. Roundy. Multi-item, one-warehouse, multi-retailer distribution systems. Management Science, 33(12):1613–1621, 1987.
  • Muckstadt and Roundy (1993) John A. Muckstadt and Robin O. Roundy. Analysis of multistage production systems. In Stephen C. Graves, Alexander H. G. Rinnooy Kan, and Paul H. Zipkin, editors, Handbooks in Operations Research and Management Science, volume 4, chapter 2, pages 59–131. Elsevier, 1993.
  • Muckstadt and Sapra (2010) John A. Muckstadt and Amar Sapra. Principles of Inventory Management: When You Are Down to Four, Order More. Springer Science & Business Media, 2010.
  • Roundy (1985) Robin Roundy. 98%-effective integer-ratio lot-sizing for one-warehouse multi-retailer systems. Management Science, 31(11):1416–1430, 1985.
  • Roundy (1986) Robin Roundy. A 98%-effective lot-sizing rule for a multi-product, multi-stage production/inventory system. Mathematics of Operations Research, 11(4):699–727, 1986.
  • Roundy (1989) Robin Roundy. Rounding off to powers of two in continuous relaxations of capacitated lot sizing problems. Management Science, 35(12):1433–1442, 1989.
  • Schulz and Telha (2011) Andreas S. Schulz and Claudio Telha. Approximation algorithms and hardness results for the joint replenishment problem with constant demands. In Proceedings of the 19th Annual European Symposium on Algorithms, pages 628–639, 2011.
  • Schulz and Telha (2024) Andreas S. Schulz and Claudio Telha. Integer factorization: Why two-item joint replenishment is hard. Operations Research, 72(3):1192–1202, 2024.
  • Segev (2023) Danny Segev. The continuous-time joint replenishment problem: ϵ\epsilon-optimal policies via pairwise alignment, 2023. Management Science (forthcoming). Available online as arXiv preprint arXiv:2302.09941.
  • Silver and Peterson (1985) Edward A. Silver and Rein Peterson. Decision Systems for Inventory Management and Production Planning. Wiley, 1985.
  • Simchi-Levi et al. (1997) David Simchi-Levi, Xin Chen, and Julien Bramel. The Logic of Logistics: Theory, Algorithms, and Applications for Logistics Management. Springer Science & Business Media, 1997.
  • Suriyanarayana et al. (2024) Varun Suriyanarayana, Varun Sivashankar, Siddharth Gollapudi, and David B. Shmoys. Improved approximation algorithms for the joint replenishment problem with outliers, and with fairness constraints. In Proceedings of the 2024 ACM-SIAM Symposium on Discrete Algorithms, pages 2793–2828, 2024.
  • Teo and Bertsimas (2001) Chung-Piaw Teo and Dimitris Bertsimas. Multistage lot sizing problems via randomized rounding. Operations Research, 49(4):599–608, 2001.
  • Tuisov and Yedidsion (2020) Alexander Tuisov and Liron Yedidsion. The continuous joint replenishment problem is strongly NP-hard, 2020. Technical report, arXiv:2006.05310.
  • Zhang (2014) Yitang Zhang. Bounded gaps between primes. Annals of Mathematics, 179(3):1121–1174, 2014.
  • Zipkin (2000) Paul Herbert Zipkin. Foundations of Inventory Management. McGraw-Hill, 2000.

Appendix A Additional Proofs from Sections 1-2

A.1 Proof of Claim 1.1(4)

Let us first observe that C(α)=TαKT+αTHTC(\alpha)=\frac{T}{\alpha}\cdot\frac{K}{T}+\frac{\alpha}{T}\cdot HT and C(β)=TβKT+βTHTC(\beta)=\frac{T}{\beta}\cdot\frac{K}{T}+\frac{\beta}{T}\cdot HT. Consequently, for every θ[0,1]\theta\in[0,1], we have

min{C(α),C(β)}(θTα+(1θ)Tβ)KT+(θαT+(1θ)βT)HT.\min\{C(\alpha),C(\beta)\}~{}~{}\leq~{}~{}\left(\theta\cdot\frac{T}{\alpha}+(1-\theta)\cdot\frac{T}{\beta}\right)\cdot\frac{K}{T}+\left(\theta\cdot\frac{\alpha}{T}+(1-\theta)\cdot\frac{\beta}{T}\right)\cdot HT\ .

By plugging in θ=βTTββTTβ+TααT[0,1]\theta=\frac{\frac{\beta}{T}-\frac{T}{\beta}}{\frac{\beta}{T}-\frac{T}{\beta}+\frac{T}{\alpha}-\frac{\alpha}{T}}\in[0,1] and simplifying the bound attained, it follows that

min{C(α),C(β)}α+βαβT+TC(T)12(βα+αβ)C(T).\min\{C(\alpha),C(\beta)\}~{}~{}\leq~{}~{}\frac{\alpha+\beta}{\frac{\alpha\beta}{T}+T}\cdot C(T)~{}~{}\leq~{}~{}\frac{1}{2}\cdot\left(\sqrt{\frac{\beta}{\alpha}}+\sqrt{\frac{\alpha}{\beta}}\right)\cdot C(T)\ .

To verify the last inequality, one can show by elementary calculus that max{αβαβT+T:T[α,β]}\max\{\frac{\alpha\beta}{\frac{\alpha\beta}{T}+T}:T\in[\alpha,\beta]\} is attained at T=αβT^{*}=\sqrt{\alpha\beta}.

A.2 Proof of Claim 2.5

To show that OPT(P)=Λ12Λ|𝒜|2\mathrm{OPT}\eqref{eqn:opt_prob_crossing}=\frac{\Lambda-1}{2\Lambda}\cdot|{\cal A}^{*}|^{2}, it suffices to argue that we obtain an optimal solution to (P) by uniformly setting xλ=|𝒜|Λx_{\lambda}^{*}=\frac{|{\cal A}^{*}|}{\Lambda} for every λ[Λ]\lambda\in[\Lambda], since

λ1,λ2[Λ]:λ1<λ2xλ1xλ2=(Λ2)|𝒜|2Λ2=Λ12Λ|𝒜|2.\sum_{\genfrac{}{}{0.0pt}{}{\lambda_{1},\lambda_{2}\in[\Lambda]:}{\lambda_{1}<\lambda_{2}}}x^{*}_{\lambda_{1}}x^{*}_{\lambda_{2}}~{}~{}=~{}~{}\binom{\Lambda}{2}\cdot\frac{|{\cal A}^{*}|^{2}}{\Lambda^{2}}~{}~{}=~{}~{}\frac{\Lambda-1}{2\Lambda}\cdot|{\cal A}^{*}|^{2}\ .

For this purpose, let xx^{*} be an optimal solution to (P), and suppose that not all coordinates of xx^{*} are |𝒜|Λ\frac{|{\cal A}^{*}|}{\Lambda}-valued. In this case, since x1=|𝒜|\|x^{*}\|_{1}=|{\cal A}^{*}|, there exists at least one pair of coordinates, say 11 and 22, such that x1<|𝒜|Λx^{*}_{1}<\frac{|{\cal A}^{*}|}{\Lambda} and x2>|𝒜|Λx^{*}_{2}>\frac{|{\cal A}^{*}|}{\Lambda}. Letting δ=min{x2|𝒜|Λ,|𝒜|Λx1}>0\delta=\min\{x^{*}_{2}-\frac{|{\cal A}^{*}|}{\Lambda},\frac{|{\cal A}^{*}|}{\Lambda}-x^{*}_{1}\}>0, we construct a new vector x^+Λ\hat{x}\in\mathbbm{R}^{\Lambda}_{+}, where x^1=x1+δ\hat{x}_{1}=x_{1}^{*}+\delta, x^2=x2δ\hat{x}_{2}=x_{2}^{*}-\delta, and x^λ=xλ\hat{x}_{\lambda}=x^{*}_{\lambda} for all λΛ{1,2}\lambda\in\Lambda\setminus\{1,2\}. It is easy to verify that x^\hat{x} is also a feasible solution to (P). However, we have just arrived at a contradiction to the optimality of xx^{*}, since

λ1,λ2[Λ]:λ1<λ2x^λ1x^λ2=λ1,λ2[Λ]:λ1<λ2xλ1xλ2+δ(x2x1δ)>λ1,λ2[Λ]:λ1<λ2xλ1xλ2,\sum_{\genfrac{}{}{0.0pt}{}{\lambda_{1},\lambda_{2}\in[\Lambda]:}{\lambda_{1}<\lambda_{2}}}\hat{x}_{\lambda_{1}}\hat{x}_{\lambda_{2}}~{}~{}=~{}~{}\sum_{\genfrac{}{}{0.0pt}{}{\lambda_{1},\lambda_{2}\in[\Lambda]:}{\lambda_{1}<\lambda_{2}}}x^{*}_{\lambda_{1}}x^{*}_{\lambda_{2}}+\delta\cdot(x_{2}^{*}-x_{1}^{*}-\delta)~{}~{}>~{}~{}\sum_{\genfrac{}{}{0.0pt}{}{\lambda_{1},\lambda_{2}\in[\Lambda]:}{\lambda_{1}<\lambda_{2}}}x^{*}_{\lambda_{1}}x^{*}_{\lambda_{2}}\ ,

where the latter inequality holds since x2x12δx_{2}^{*}-x_{1}^{*}\geq 2\delta and δ>0\delta>0.

A.3 Proof of Lemma 2.8

According to Lemma 1.2, we have limΔN(~(λ),Δ)Δ=𝒩𝒞~λ(1)|𝒩|+1M𝒩\lim_{\Delta\to\infty}\frac{N(\tilde{\cal R}^{(\lambda)},\Delta)}{\Delta}=\sum_{{\cal N}\subseteq\tilde{\cal C}_{\lambda}}\frac{(-1)^{|{\cal N}|+1}}{M_{\cal N}}, where M𝒩M_{\cal N} designates the least common multiple of {~}𝒩\{\tilde{\cal R}_{\ell}\}_{\ell\in{\cal N}}. Noting that the latter summation consists of 2|𝒞~λ|=O(2O~(1/ϵ))2^{|\tilde{\cal C}_{\lambda}|}=O(2^{\tilde{O}(1/\epsilon)}) terms, we proceed by explaining how to evaluate each common multiple M𝒩M_{\cal N} in O(2O~(1/ϵ))O(2^{\tilde{O}(1/\epsilon)}) time. For this purpose, let us circle back to step 5 of our construction (see Section 2.4). Focusing on the tree 𝒯~λ\tilde{\cal T}_{\lambda} that spans the connected component 𝒞~λ\tilde{\cal C}_{\lambda}, we remind the reader that σλ\sigma_{\lambda} stands for the source vertex of this tree. We argue that the least common multiple of {~}𝒞~λ\{\tilde{\cal R}_{\ell}\}_{\ell\in\tilde{\cal C}_{\lambda}} is one of R~σλ,2R~σλ,,Ψ|𝒞~λ|1R~σλ\tilde{R}_{\sigma_{\lambda}},2\cdot\tilde{R}_{\sigma_{\lambda}},\ldots,\Psi^{|\tilde{\cal C}_{\lambda}|-1}\cdot\tilde{R}_{\sigma_{\lambda}}, implying in particular that for any subset 𝒩𝒞~λ{\cal N}\subseteq\tilde{\cal C}_{\lambda}, we can determine its corresponding multiple M𝒩M_{\cal N} by testing each of these values, which would require only O(Ψ|𝒞~λ|)=O(2O~(1/ϵ))O(\Psi^{|\tilde{\cal C}_{\lambda}|})=O(2^{\tilde{O}(1/\epsilon)}) time.

To better understand how the least common multiple of {~}𝒞~λ\{\tilde{\cal R}_{\ell}\}_{\ell\in\tilde{\cal C}_{\lambda}} is structured, let u1,,u|𝒞~λ|u_{1},\ldots,u_{|\tilde{\cal C}_{\lambda}|} be a permutation of the vertices in 𝒯~λ\tilde{\cal T}_{\lambda}, obtained by rooting this tree at u1=σλu_{1}=\sigma_{\lambda} and then listing vertices in weakly-increasing order of their depth. We prove by induction that, for every k|𝒞~λ|k\leq|\tilde{\cal C}_{\lambda}|, the least common multiple of {~}[k]\{\tilde{\cal R}_{\ell}\}_{\ell\in[k]} is one of R~σλ,2R~σλ,,Ψk1R~σλ\tilde{R}_{\sigma_{\lambda}},2\cdot\tilde{R}_{\sigma_{\lambda}},\ldots,\Psi^{k-1}\cdot\tilde{R}_{\sigma_{\lambda}}. The base case of k=1k=1 is trivial, since u1=σλu_{1}=\sigma_{\lambda}. For the general case of k2k\geq 2, our induction hypothesis states that the least common multiple of {~}[k1]\{\tilde{\cal R}_{\ell}\}_{\ell\in[k-1]} is one of R~σλ,2R~σλ,,Ψk2R~σλ\tilde{R}_{\sigma_{\lambda}},2\cdot\tilde{R}_{\sigma_{\lambda}},\ldots,\Psi^{k-2}\cdot\tilde{R}_{\sigma_{\lambda}}. The important observation is that, by definition of the permutation u1,,u|𝒞~λ|u_{1},\ldots,u_{|\tilde{\cal C}_{\lambda}|}, we know that uku_{k} is connected by a tree edge to some vertex uu_{\ell}, with <k\ell<k. As such, the approximate representatives of these vertices are Ψ\Psi-aligned, namely, α{uk,u},ukR~uk=α{uk,u},uR~u\alpha_{\{u_{k},u_{\ell}\},u_{k}}\cdot\tilde{R}_{u_{k}}=\alpha_{\{u_{k},u_{\ell}\},u_{\ell}}\cdot\tilde{R}_{u_{\ell}}, and therefore, the least common multiple of R~uk\tilde{R}_{u_{k}} and R~u\tilde{R}_{u_{\ell}} is upper-bounded by α{uk,u},uR~uΨR~u\alpha_{\{u_{k},u_{\ell}\},u_{\ell}}\cdot\tilde{R}_{u_{\ell}}\leq\Psi\cdot\tilde{R}_{u_{\ell}}. Combined with the induction hypothesis, it follows that the least common multiple of {~}[k]\{\tilde{\cal R}_{\ell}\}_{\ell\in[k]} is one of R~σλ,2R~σλ,,Ψk1R~σλ\tilde{R}_{\sigma_{\lambda}},2\cdot\tilde{R}_{\sigma_{\lambda}},\ldots,\Psi^{k-1}\cdot\tilde{R}_{\sigma_{\lambda}}.

A.4 Proof of Lemma 2.10 (continued)

The medium regime: 𝑻𝒊𝐄𝐎𝐐[𝑻𝐦𝐢𝐧,𝟏ϵ𝑻𝐦𝐢𝐧]\boldsymbol{T_{i}^{\mathrm{EOQ}}\in[T_{\min}^{*},\frac{1}{\epsilon}\cdot T_{\min}^{*}]}.

Here, the important observation is that we must have Ti[Tmin,1ϵTmin]T_{i}^{*}\in[T_{\min}^{*},\frac{1}{\epsilon}\cdot T_{\min}^{*}] as well. To this end, while TiTminT_{i}^{*}\geq T_{\min}^{*} is obvious, suppose on the contrary that Ti>1ϵTminT_{i}^{*}>\frac{1}{\epsilon}\cdot T_{\min}^{*}. Our claim is that the latter inequality leads to contradicting the optimality of TT^{*}. Indeed, one possible way of altering TT^{*} is simply to reset the time interval of commodity ii, replacing TiT_{i}^{*} by 1ϵTmin\frac{1}{\epsilon}\cdot T_{\min}^{*}. Since this term is an integer multiple of TminT_{\min}^{*}, we are clearly preserving the long-run joint ordering cost of TT^{*}. However, in terms of EOQ-based cost, we have Ci(1ϵTmin)<Ci(Ti)C_{i}(\frac{1}{\epsilon}\cdot T_{\min}^{*})<C_{i}(T_{i}^{*}). This inequality follows from an argument similar to that of the low regime, noting that CiC_{i} is a strictly convex function with a unique minimizer at TiEOQT_{i}^{\mathrm{EOQ}}, and that TiEOQ1ϵTmin<TiT_{i}^{\mathrm{EOQ}}\leq\frac{1}{\epsilon}\cdot T_{\min}^{*}<T_{i}^{*}.

Now, given that the segments S1,,SLS_{1}^{*},\ldots,S_{L}^{*} form a partition of [Tmin,1ϵTmin][T_{\min}^{*},\frac{1}{\epsilon}\cdot T_{\min}^{*}], there exists an index [L]\ell\in[L] for which TiST_{i}^{*}\in S_{\ell}^{*}, meaning in particular that this segment is active. In turn, it follows that the approximate set ~\tilde{\cal R} includes a representative of this segment, R~\tilde{R}_{\ell}. Once again, letting 𝒞λ{\cal C}_{\lambda}^{*} be the connected component of GΨG_{\Psi}^{*} where segment SS_{\ell}^{*} resides, we know that there exists a coefficient γλ1±ϵ\gamma_{\lambda}\in 1\pm\epsilon such that R~=γλR\tilde{R}_{\ell}=\gamma_{\lambda}\cdot R^{*}_{\ell}. As explained in step 6 of Section 2.4, R~\tilde{R}_{\ell} is one of the options considered for our time interval T~i\tilde{T}_{i}, and due to picking the option that minimizes Ci()C_{i}(\cdot), we have

Ci(T~i)\displaystyle C_{i}(\tilde{T}_{i}) \displaystyle\leq Ci(R~)\displaystyle C_{i}(\tilde{R}_{\ell})
\displaystyle\leq (1+2ϵ)Ci(R)\displaystyle(1+2\epsilon)\cdot C_{i}(R^{*}_{\ell})
\displaystyle\leq (1+2ϵ)(1+ϵ)Ci(Ti)\displaystyle(1+2\epsilon)\cdot(1+\epsilon)\cdot C_{i}(T^{*}_{i})
\displaystyle\leq (1+5ϵ)Ci(Ti),\displaystyle(1+5\epsilon)\cdot C_{i}(T^{*}_{i})\ ,

where inequality (A.4) is obtained by recalling that both TiT_{i}^{*} and RR_{\ell}^{*} reside within the segment SS_{\ell}^{*}, implying that they differ by a factor of at most 1+ϵ1+\epsilon.

The high regime 𝑻𝒊𝐄𝐎𝐐>𝟏ϵ𝑻𝐦𝐢𝐧\boldsymbol{T_{i}^{\mathrm{EOQ}}>\frac{1}{\epsilon}\cdot T_{\min}^{*}}.

As explained in step 6 of Section 2.4, one of the options considered for our time interval T~i\tilde{T}_{i} is Timax(R~1)\lceil T^{\max}_{i}\rceil^{(\tilde{R}_{1})}. However, by definition,

Timax=max{1ϵT~min,KiHi}=max{1ϵT~min,TiEOQ}=TiEOQ,T^{\max}_{i}~{}~{}=~{}~{}\max\left\{\frac{1}{\epsilon}\cdot\tilde{T}_{\min},\sqrt{\frac{K_{i}}{H_{i}}}\right\}~{}~{}=~{}~{}\max\left\{\frac{1}{\epsilon}\cdot\tilde{T}_{\min},T_{i}^{\mathrm{EOQ}}\right\}~{}~{}=~{}~{}T_{i}^{\mathrm{EOQ}}\ ,

where the last equality holds since 1ϵT~min1ϵTmin<TiEOQ\frac{1}{\epsilon}\cdot\tilde{T}_{\min}\leq\frac{1}{\epsilon}\cdot T_{\min}^{*}<T_{i}^{\mathrm{EOQ}}, by equation (10) and the case hypothesis of this regime. Since T~i\tilde{T}_{i} is picked as the option that minimizes the EOQ cost Ci()C_{i}(\cdot) of this commodity,

Ci(T~i)\displaystyle C_{i}(\tilde{T}_{i}) \displaystyle\leq Ci(Timax(R~1))\displaystyle C_{i}(\lceil T^{\max}_{i}\rceil^{(\tilde{R}_{1})})
=\displaystyle= Ci(TiEOQ(R~1))\displaystyle C_{i}(\lceil T^{\mathrm{EOQ}}_{i}\rceil^{(\tilde{R}_{1})})
\displaystyle\leq (1+4ϵ)Ci(TiEOQ)\displaystyle(1+4\epsilon)\cdot C_{i}(T^{\mathrm{EOQ}}_{i})
\displaystyle\leq (1+4ϵ)Ci(Ti),\displaystyle(1+4\epsilon)\cdot C_{i}(T^{*}_{i})\ ,

where the last inequality holds since TiEOQT^{\mathrm{EOQ}}_{i} minimizes Ci()C_{i}(\cdot), as shown in Claim 1.1. To better understand inequality (A.4), we observe that TiEOQ(R~1)[TiEOQ,(1+4ϵ)TiEOQ]\lceil T^{\mathrm{EOQ}}_{i}\rceil^{(\tilde{R}_{1})}\in[T^{\mathrm{EOQ}}_{i},(1+4\epsilon)\cdot T^{\mathrm{EOQ}}_{i}]. Indeed, TiEOQ(R~1)TiEOQ\lceil T^{\mathrm{EOQ}}_{i}\rceil^{(\tilde{R}_{1})}\geq T^{\mathrm{EOQ}}_{i}, simply due to rounding up. In the opposite direction, we have

TiEOQ(R~1)\displaystyle\lceil T^{\mathrm{EOQ}}_{i}\rceil^{(\tilde{R}_{1})} \displaystyle\leq TiEOQ+R~1\displaystyle T^{\mathrm{EOQ}}_{i}+\tilde{R}_{1} (33)
\displaystyle\leq TiEOQ+(1+ϵ)R1\displaystyle T^{\mathrm{EOQ}}_{i}+(1+\epsilon)\cdot R^{*}_{1}
\displaystyle\leq TiEOQ+(1+ϵ)2Tmin\displaystyle T^{\mathrm{EOQ}}_{i}+(1+\epsilon)^{2}\cdot T^{*}_{\min} (34)
\displaystyle\leq (1+4ϵ)TiEOQ.\displaystyle(1+4\epsilon)\cdot T^{\mathrm{EOQ}}_{i}\ . (35)

Here, inequality (33) holds since R~1(1±ϵ)R1\tilde{R}_{1}\in(1\pm\epsilon)\cdot R_{1}^{*}, as argued in our proof for the low regime. Inequality (34) follows by recalling that R1S1=[Tmin,(1+ϵ)Tmin)R^{*}_{1}\in S_{1}^{*}=[T^{*}_{\min},(1+\epsilon)\cdot T^{*}_{\min}). Finally, inequality (35) is obtained by noting that Tmin<ϵTiEOQT_{\min}^{*}<\epsilon T_{i}^{\mathrm{EOQ}}, due to the case hypothesis of this regime.

Appendix B Additional Proofs from Sections 5-6

B.1 Proof of Claim 5.2

Let us write Ti=θTminT_{i}^{*}=\theta T_{\min}^{*}, for some θ[1,32]\theta\in[1,\frac{3}{2}]. With this notation, it is easy to verify that

T~iB={2ΔU,if U[0,ln(2/θ)]3ΔU,if U(ln(2/θ),2]\tilde{T}^{B}_{i}~{}~{}=~{}~{}\begin{cases}2\Delta_{U},&\text{if }U\in[0,\ln(2/\theta)]\\ 3\Delta_{U},&\text{if }U\in(\ln(2/\theta),2]\end{cases}

Therefore, recalling that ΔU=TmineU=TiθeU\Delta_{U}=\frac{T_{\min}^{*}}{e^{U}}=\frac{T_{i}^{*}}{\theta e^{U}}, we have

𝔼U[T~iBTi]\displaystyle\mathbbm{E}_{U}\left[\frac{\tilde{T}^{B}_{i}}{T_{i}^{*}}\right] =\displaystyle= 0ln(2/θ)2θeuln2du+ln(2/θ)ln23θeuln2du\displaystyle\int_{0}^{\ln(2/\theta)}\frac{2}{\theta e^{u}\ln 2}\mathrm{d}u+\int_{\ln(2/\theta)}^{\ln 2}\frac{3}{\theta e^{u}\ln 2}\mathrm{d}u
=\displaystyle= 2θln2eu]0ln(2/θ)3θln2eu]ln(2/θ)ln2\displaystyle\left.-\frac{2}{\theta\ln 2}\cdot e^{-u}\right]_{0}^{\ln(2/\theta)}\left.-\frac{3}{\theta\ln 2}\cdot e^{-u}\right]_{\ln(2/\theta)}^{\ln 2}
=\displaystyle= 1θln2(2(1θ2)+3(θ212))\displaystyle\frac{1}{\theta\ln 2}\cdot\left(2\cdot\left(1-\frac{\theta}{2}\right)+3\cdot\left(\frac{\theta}{2}-\frac{1}{2}\right)\right)
=\displaystyle= 12ln2(1+1θ)\displaystyle\frac{1}{2\ln 2}\cdot\left(1+\frac{1}{\theta}\right)
=\displaystyle= 12ln2(1+TminTi).\displaystyle\frac{1}{2\ln 2}\cdot\left(1+\frac{T_{\min}^{*}}{T_{i}^{*}}\right)\ .

B.2 Proof of Claim 5.3

Following the logic of Appendix B.1, let us again write Ti=θTminT_{i}^{*}=\theta T_{\min}^{*}, for some θ(32,2]\theta\in(\frac{3}{2},2]. In this case,

T~iB={2ΔU,if U[0,ln(2/θ)]3ΔU,if U(ln(2/θ),ln(3/θ)]4ΔU,if U(ln(3/θ),2]\tilde{T}^{B}_{i}~{}~{}=~{}~{}\begin{cases}2\Delta_{U},&\text{if }U\in[0,\ln(2/\theta)]\\ 3\Delta_{U},&\text{if }U\in(\ln(2/\theta),\ln(3/\theta)]\\ 4\Delta_{U},&\text{if }U\in(\ln(3/\theta),2]\end{cases}

Therefore,

𝔼U[T~iBTi]\displaystyle\mathbbm{E}_{U}\left[\frac{\tilde{T}^{B}_{i}}{T_{i}^{*}}\right] =\displaystyle= 0ln(2/θ)2θeuln2du+ln(2/θ)ln(3/θ)3θeuln2du+ln(3/θ)ln24θeuln2du\displaystyle\int_{0}^{\ln(2/\theta)}\frac{2}{\theta e^{u}\ln 2}\mathrm{d}u+\int_{\ln(2/\theta)}^{\ln(3/\theta)}\frac{3}{\theta e^{u}\ln 2}\mathrm{d}u+\int_{\ln(3/\theta)}^{\ln 2}\frac{4}{\theta e^{u}\ln 2}\mathrm{d}u
=\displaystyle= 2θln2eu]0ln(2/θ)3θln2eu]ln(2/θ)ln(3/θ)4θln2eu]ln(3/θ)ln2\displaystyle\left.-\frac{2}{\theta\ln 2}\cdot e^{-u}\right]_{0}^{\ln(2/\theta)}-\left.\frac{3}{\theta\ln 2}\cdot e^{-u}\right]_{\ln(2/\theta)}^{\ln(3/\theta)}\left.-\frac{4}{\theta\ln 2}\cdot e^{-u}\right]_{\ln(3/\theta)}^{\ln 2}
=\displaystyle= 1θln2(2(1θ2)+3(θ2θ3)+4(θ312))\displaystyle\frac{1}{\theta\ln 2}\cdot\left(2\cdot\left(1-\frac{\theta}{2}\right)+3\cdot\left(\frac{\theta}{2}-\frac{\theta}{3}\right)+4\cdot\left(\frac{\theta}{3}-\frac{1}{2}\right)\right)
=\displaystyle= 56ln2.\displaystyle\frac{5}{6\ln 2}\ .

B.3 Proof of Lemma 6.2

Cost decomposition.

Clearly, for every commodity i[n]i\in[n], there is at most one time interval t𝒯it\in{\cal T}_{i} for which (i,t)(i,t) is an expensive pair chosen by xx^{*}, namely, (i,t)(i,t)\in{\cal E}^{*}; we denote the latter by tit_{i}. In addition, let 𝒩{\cal N} be the set of commodities with such an interval, and let 𝒩¯=[n]𝒩\bar{\cal N}=[n]\setminus{\cal N}. Using this notation, the random EOQ cost of our policy is

i[n](KiT~i+HiT~i)\displaystyle\sum_{i\in[n]}\left(\frac{K_{i}}{\tilde{T}_{i}}+H_{i}\tilde{T}_{i}\right) =\displaystyle= i𝒩(Kiti+Hiti)+i𝒩¯(KiT~i+HiT~i)\displaystyle\sum_{i\in{\cal N}}\left(\frac{K_{i}}{t_{i}}+H_{i}t_{i}\right)+\sum_{i\in\bar{\cal N}}\left(\frac{K_{i}}{\tilde{T}_{i}}+H_{i}\tilde{T}_{i}\right)
=\displaystyle= i𝒩t𝒯i(Kit+Hit)x~it+i𝒩¯(KiT~i+HiT~i)\displaystyle\sum_{i\in{\cal N}}\sum_{t\in{\cal T}_{i}}\left(\frac{K_{i}}{t}+H_{i}t\right)\tilde{x}_{it}+\sum_{i\in\bar{\cal N}}\left(\frac{K_{i}}{\tilde{T}_{i}}+H_{i}\tilde{T}_{i}\right)
=\displaystyle= OPT(LP)i𝒩¯t𝒯i(Kit+Hit)x~it+i𝒩¯(KiT~i+HiT~i),\displaystyle\mathrm{OPT}\eqref{eqn:linear_relax_RCJRP}-\sum_{i\in\bar{\cal N}}\sum_{t\in{\cal T}_{i}}\left(\frac{K_{i}}{t}+H_{i}t\right)\tilde{x}_{it}+\sum_{i\in\bar{\cal N}}\left(\frac{K_{i}}{\tilde{T}_{i}}+H_{i}\tilde{T}_{i}\right)\ ,

where the first two equalities hold since (LP) includes the constraint xit=1{x}_{it}=1 for every (i,t)(i,t)\in{\cal E}^{*}. Therefore, letting Zi=KiT~i+HiT~iZ_{i}=\frac{K_{i}}{\tilde{T}_{i}}+H_{i}\tilde{T}_{i}, we will conclude the desired claim, Pr[i[n](KiT~i+HiT~i)(1+ϵ)OPT(LP)]23\mathrm{Pr}[\sum_{i\in[n]}(\frac{K_{i}}{\tilde{T}_{i}}+H_{i}\tilde{T}_{i})\leq(1+\epsilon)\cdot\mathrm{OPT}\eqref{eqn:linear_relax_RCJRP}]\geq\frac{2}{3}, by showing that

Pr[i𝒩¯Zii𝒩¯t𝒯i(Kit+Hit)x~it+ϵOPT(LP)]13.\mathrm{Pr}\left[\sum_{i\in\bar{\cal N}}Z_{i}\geq\sum_{i\in\bar{\cal N}}\sum_{t\in{\cal T}_{i}}\left(\frac{K_{i}}{t}+H_{i}t\right)\tilde{x}_{it}+\epsilon\mathrm{OPT}\eqref{eqn:linear_relax_RCJRP}\right]~{}~{}\leq~{}~{}\frac{1}{3}\ . (36)

Proving inequality (36).

To this end, the important observation is that {Zi}i𝒩¯\{Z_{i}\}_{i\in\bar{\cal N}} are mutually independent, with an expected value of

𝔼[Zi]=𝔼[KiT~i+HiT~i]=t𝒯i(Kit+Hit)x~itϵ4OPT(LP).\mathbbm{E}\left[Z_{i}\right]~{}~{}=~{}~{}\mathbbm{E}\left[\frac{K_{i}}{\tilde{T}_{i}}+H_{i}\tilde{T}_{i}\right]~{}~{}=~{}~{}\sum_{t\in{\cal T}_{i}}\left(\frac{K_{i}}{t}+H_{i}t\right)\tilde{x}_{it}~{}~{}\leq~{}~{}\epsilon^{4}\mathrm{OPT}\eqref{eqn:linear_relax_RCJRP}\ .

To better understand the last inequality, note that for every commodity i𝒩¯i\in\bar{\cal N}, we could have x~it>0\tilde{x}_{it}>0 only for pairs (i,t)(i,t)\notin{\cal E}, in which case Kit+Hitϵ4OPT(LP)\frac{K_{i}}{t}+H_{i}t\leq\epsilon^{4}\mathrm{OPT}\eqref{eqn:linear_relax_RCJRP}. In fact, this observation implies that each such ZiZ_{i} is upper-bounded by ϵ4OPT(LP)\epsilon^{4}\mathrm{OPT}\eqref{eqn:linear_relax_RCJRP} almost surely. Consequently,

Pr[i𝒩¯Zii𝒩¯t𝒯i(Kit+Hit)x~it+ϵOPT(LP)]\displaystyle\mathrm{Pr}\left[\sum_{i\in\bar{\cal N}}Z_{i}\geq\sum_{i\in\bar{\cal N}}\sum_{t\in{\cal T}_{i}}\left(\frac{K_{i}}{t}+H_{i}t\right)\tilde{x}_{it}+\epsilon\mathrm{OPT}\eqref{eqn:linear_relax_RCJRP}\right]
=Pr[i𝒩¯Zi𝔼[i𝒩¯Zi]+ϵOPT(LP)],\displaystyle\qquad\qquad\qquad\qquad\qquad=~{}~{}\mathrm{Pr}\left[\sum_{i\in\bar{\cal N}}Z_{i}\geq\mathbbm{E}\left[\sum_{i\in\bar{\cal N}}Z_{i}\right]+\epsilon\mathrm{OPT}\eqref{eqn:linear_relax_RCJRP}\right]\ ,

and we proceed by considering two cases, depending on the relation between 𝔼[i𝒩¯Zi]\mathbbm{E}[\sum_{i\in\bar{\cal N}}Z_{i}] and OPT(LP)\mathrm{OPT}\eqref{eqn:linear_relax_RCJRP}.

  • When 𝔼[i𝒩¯Zi]ϵ3OPT(LP)\mathbbm{E}[\sum_{i\in\bar{\cal N}}Z_{i}]\leq\frac{\epsilon}{3}\cdot\mathrm{OPT}\eqref{eqn:linear_relax_RCJRP}: In this case,

    Pr[i𝒩¯Zi𝔼[i𝒩¯Zi]+ϵOPT(LP)]\displaystyle\mathrm{Pr}\left[\sum_{i\in\bar{\cal N}}Z_{i}\geq\mathbbm{E}\left[\sum_{i\in\bar{\cal N}}Z_{i}\right]+\epsilon\mathrm{OPT}\eqref{eqn:linear_relax_RCJRP}\right] \displaystyle\leq Pr[i𝒩¯ZiϵOPT(LP)]\displaystyle\mathrm{Pr}\left[\sum_{i\in\bar{\cal N}}Z_{i}\geq\epsilon\mathrm{OPT}\eqref{eqn:linear_relax_RCJRP}\right]
    \displaystyle\leq 𝔼[i𝒩¯Zi]ϵOPT(LP)\displaystyle\frac{\mathbbm{E}[\sum_{i\in\bar{\cal N}}Z_{i}]}{\epsilon\mathrm{OPT}\eqref{eqn:linear_relax_RCJRP}}
    \displaystyle\leq 13,\displaystyle\frac{1}{3}\ ,

    where the second inequality is obtained by employing Markov’s inequality, and the third inequality follows from our case hypothesis.

  • When 𝔼[i𝒩¯Zi]>ϵ3OPT(LP)\mathbbm{E}[\sum_{i\in\bar{\cal N}}Z_{i}]>\frac{\epsilon}{3}\cdot\mathrm{OPT}\eqref{eqn:linear_relax_RCJRP}: In this case, since 𝔼[i𝒩¯Zi]OPT(LP)\mathbbm{E}[\sum_{i\in\bar{\cal N}}Z_{i}]\leq\mathrm{OPT}\eqref{eqn:linear_relax_RCJRP}, we observe that

    Pr[i𝒩¯Zi𝔼[i𝒩¯Zi]+ϵOPT(LP)]\displaystyle\mathrm{Pr}\left[\sum_{i\in\bar{\cal N}}Z_{i}\geq\mathbbm{E}\left[\sum_{i\in\bar{\cal N}}Z_{i}\right]+\epsilon\mathrm{OPT}\eqref{eqn:linear_relax_RCJRP}\right]
    Pr[i𝒩¯Zi(1+ϵ)𝔼[i𝒩¯Zi]]\displaystyle\qquad\leq~{}~{}\mathrm{Pr}\left[\sum_{i\in\bar{\cal N}}Z_{i}\geq(1+\epsilon)\cdot\mathbbm{E}\left[\sum_{i\in\bar{\cal N}}Z_{i}\right]\right]
    =Pr[i𝒩¯Ziϵ4OPT(LP)(1+ϵ)𝔼[i𝒩¯Ziϵ4OPT(LP)]]\displaystyle\qquad=~{}~{}\mathrm{Pr}\left[\sum_{i\in\bar{\cal N}}\frac{Z_{i}}{\epsilon^{4}\mathrm{OPT}\eqref{eqn:linear_relax_RCJRP}}\geq(1+\epsilon)\cdot\mathbbm{E}\left[\sum_{i\in\bar{\cal N}}\frac{Z_{i}}{\epsilon^{4}\mathrm{OPT}\eqref{eqn:linear_relax_RCJRP}}\right]\right]
    exp{ϵ23𝔼[1ϵ4OPT(LP)i𝒩¯Zi]}\displaystyle\qquad\leq~{}~{}\exp\left\{-\frac{\epsilon^{2}}{3}\cdot\mathbbm{E}\left[\frac{1}{\epsilon^{4}\mathrm{OPT}\eqref{eqn:linear_relax_RCJRP}}\cdot\sum_{i\in\bar{\cal N}}Z_{i}\right]\right\} (37)
    exp{19ϵ}\displaystyle\qquad\leq~{}~{}\exp\left\{-\frac{1}{9\epsilon}\right\} (38)
    13.\displaystyle\qquad\leq~{}~{}\frac{1}{3}\ . (39)

    Here, to derive inequality (37), we utilize the Chernoff-Hoeffding bound stated by Dubhashi and Panconesi (2009, Thm. 1.1), noting that {Ziϵ4OPT(LP)}i𝒩¯\{\frac{Z_{i}}{\epsilon^{4}\mathrm{OPT}\eqref{eqn:linear_relax_RCJRP}}\}_{i\in\bar{\cal N}} are independent and [0,1][0,1]-bounded random variables. Inequality (38) follows from the case hypothesis. Finally, inequality (39) holds since e19x13e^{-\frac{1}{9x}}\leq\frac{1}{3} for all x(0,110]x\in(0,\frac{1}{10}].

B.4 Proof of Lemma 6.3

Constraint decomposition.

Let us focus on a single constraint d[D]d\in[D]. Clearly, for every commodity i[n]i\in[n], there is at most one time interval t𝒯it\in{\cal T}_{i} for which (i,t)(i,t) is a dd-heavy pair chosen by xx^{*}, namely, (i,t)d(i,t)\in{\cal H}^{*}_{d}; we denote the latter by tit_{i}. In addition, let 𝒩{\cal N} be the set of commodities with such an interval, and let 𝒩¯=[n]𝒩\bar{\cal N}=[n]\setminus{\cal N}. Using this notation, the random resource consumption of our policy with respect to the constraint in question is

i[n]αidT~i\displaystyle\sum_{i\in[n]}\frac{\alpha_{id}}{\tilde{T}_{i}} =\displaystyle= i𝒩αidti+i𝒩¯αidT~i\displaystyle\sum_{i\in{\cal N}}\frac{\alpha_{id}}{t_{i}}+\sum_{i\in\bar{\cal N}}\frac{\alpha_{id}}{\tilde{T}_{i}}
=\displaystyle= i𝒩αidt𝒯ix~itt+i𝒩¯αidT~i\displaystyle\sum_{i\in{\cal N}}\alpha_{id}\cdot\sum_{t\in{\cal T}_{i}}\frac{\tilde{x}_{it}}{t}+\sum_{i\in\bar{\cal N}}\frac{\alpha_{id}}{\tilde{T}_{i}}
\displaystyle\leq (1+ϵ)βdi𝒩¯αidt𝒯ix~itt+i𝒩¯αidT~i,\displaystyle(1+\epsilon)\cdot\beta_{d}-\sum_{i\in\bar{\cal N}}\alpha_{id}\cdot\sum_{t\in{\cal T}_{i}}\frac{\tilde{x}_{it}}{t}+\sum_{i\in\bar{\cal N}}\frac{\alpha_{id}}{\tilde{T}_{i}}\ ,

with both equalities above holding since (LP) includes the constraint xit=1{x}_{it}=1 for every d[D]d\in[D] and (i,t)d(i,t)\in{\cal H}^{*}_{d}. Therefore, letting Zi=αidT~iZ_{i}=\frac{\alpha_{id}}{\tilde{T}_{i}}, we will conclude the desired claim, Pr[i[n]αidT~i(1+3ϵ)βd]13D\mathrm{Pr}[\sum_{i\in[n]}\frac{\alpha_{id}}{\tilde{T}_{i}}\geq(1+3\epsilon)\cdot\beta_{d}]\leq\frac{1}{3D}, by showing that

Pr[i𝒩¯Zii𝒩¯αidt𝒯ix~itt+2ϵβd]13D.\mathrm{Pr}\left[\sum_{i\in\bar{\cal N}}Z_{i}\geq\sum_{i\in\bar{\cal N}}\alpha_{id}\cdot\sum_{t\in{\cal T}_{i}}\frac{\tilde{x}_{it}}{t}+2\epsilon\beta_{d}\right]~{}~{}\leq~{}~{}\frac{1}{3D}\ . (40)

Proving inequality (40).

To this end, the important observation is that {Zi}i𝒩¯\{Z_{i}\}_{i\in\bar{\cal N}} are mutually independent, with

𝔼[Zi]=𝔼[αidT~i]=t𝒯iαidtx~itδβd.\mathbbm{E}\left[Z_{i}\right]~{}~{}=~{}~{}\mathbbm{E}\left[\frac{\alpha_{id}}{\tilde{T}_{i}}\right]~{}~{}=~{}~{}\sum_{t\in{\cal T}_{i}}\frac{\alpha_{id}}{t}\cdot\tilde{x}_{it}~{}~{}\leq~{}~{}\delta\beta_{d}\ .

To better understand the last inequality, note that for every commodity i𝒩¯i\in\bar{\cal N}, we could have x~it>0\tilde{x}_{it}>0 only for pairs (i,t)d(i,t)\notin{\cal H}_{d}, in which case αidtδβd\frac{\alpha_{id}}{t}\leq\delta\beta_{d}. In fact, this observation implies that each such ZiZ_{i} is upper-bounded by δβd\delta\beta_{d} almost surely. Consequently,

Pr[i𝒩¯Zii𝒩¯αidt𝒯ix~itt+2ϵβd]=Pr[i𝒩¯Zi𝔼[i𝒩¯Zi]+2ϵβd],\mathrm{Pr}\left[\sum_{i\in\bar{\cal N}}Z_{i}\geq\sum_{i\in\bar{\cal N}}\alpha_{id}\cdot\sum_{t\in{\cal T}_{i}}\frac{\tilde{x}_{it}}{t}+2\epsilon\beta_{d}\right]~{}~{}=~{}~{}\mathrm{Pr}\left[\sum_{i\in\bar{\cal N}}Z_{i}\geq\mathbbm{E}\left[\sum_{i\in\bar{\cal N}}Z_{i}\right]+2\epsilon\beta_{d}\right]\ ,

and we proceed by considering two cases, depending on the relation between 𝔼[i𝒩¯Zi]\mathbbm{E}[\sum_{i\in\bar{\cal N}}Z_{i}] and βd\beta_{d}:

  • When 𝔼[i𝒩¯Zi]ϵ3Dβd\mathbbm{E}[\sum_{i\in\bar{\cal N}}Z_{i}]\leq\frac{\epsilon}{3D}\cdot\beta_{d}: In this case,

    Pr[i𝒩¯Zi𝔼[i𝒩¯Zi]+2ϵβd]\displaystyle\mathrm{Pr}\left[\sum_{i\in\bar{\cal N}}Z_{i}\geq\mathbbm{E}\left[\sum_{i\in\bar{\cal N}}Z_{i}\right]+2\epsilon\beta_{d}\right] \displaystyle\leq Pr[i𝒩¯Zi2ϵβd]\displaystyle\mathrm{Pr}\left[\sum_{i\in\bar{\cal N}}Z_{i}\geq 2\epsilon\beta_{d}\right]
    \displaystyle\leq 𝔼[i𝒩¯Zi]2ϵβd\displaystyle\frac{\mathbbm{E}[\sum_{i\in\bar{\cal N}}Z_{i}]}{2\epsilon\beta_{d}}
    \displaystyle\leq 16D,\displaystyle\frac{1}{6D}\ ,

    where the second inequality is obtained by employing Markov’s inequality, and the third inequality follows from our case hypothesis.

  • When 𝔼[i𝒩¯Zi]>ϵ3Dβd\mathbbm{E}[\sum_{i\in\bar{\cal N}}Z_{i}]>\frac{\epsilon}{3D}\cdot\beta_{d}: In this case, since 𝔼[i𝒩¯Zi](1+ϵ)βd\mathbbm{E}[\sum_{i\in\bar{\cal N}}Z_{i}]\leq(1+\epsilon)\cdot\beta_{d}, we observe that

    Pr[i𝒩¯Zi𝔼[i𝒩¯Zi]+2ϵβd]\displaystyle\mathrm{Pr}\left[\sum_{i\in\bar{\cal N}}Z_{i}\geq\mathbbm{E}\left[\sum_{i\in\bar{\cal N}}Z_{i}\right]+2\epsilon\beta_{d}\right] \displaystyle\leq Pr[i𝒩¯Zi(1+ϵ)𝔼[i𝒩¯Zi]]\displaystyle\mathrm{Pr}\left[\sum_{i\in\bar{\cal N}}Z_{i}\geq(1+\epsilon)\cdot\mathbbm{E}\left[\sum_{i\in\bar{\cal N}}Z_{i}\right]\right] (41)
    =\displaystyle= Pr[i𝒩¯Ziδβd(1+ϵ)𝔼[i𝒩¯Ziδβd]]\displaystyle\mathrm{Pr}\left[\sum_{i\in\bar{\cal N}}\frac{Z_{i}}{\delta\beta_{d}}\geq(1+\epsilon)\cdot\mathbbm{E}\left[\sum_{i\in\bar{\cal N}}\frac{Z_{i}}{\delta\beta_{d}}\right]\right]
    \displaystyle\leq exp{ϵ23𝔼[1δβdi𝒩¯Zi]}\displaystyle\exp\left\{-\frac{\epsilon^{2}}{3}\cdot\mathbbm{E}\left[\frac{1}{\delta\beta_{d}}\cdot\sum_{i\in\bar{\cal N}}Z_{i}\right]\right\}
    \displaystyle\leq exp{D9ϵ}\displaystyle\exp\left\{-\frac{D}{9\epsilon}\right\} (42)
    \displaystyle\leq ϵ3D.\displaystyle\frac{\epsilon}{3D}\ . (43)

    Here, to derive inequality (41), we utilize the Chernoff-Hoeffding bound stated by Dubhashi and Panconesi (2009, Thm. 1.1), noting that {Ziδβd}i𝒩¯\{\frac{Z_{i}}{\delta\beta_{d}}\}_{i\in\bar{\cal N}} are independent and [0,1][0,1]-bounded random variables. Recalling that δ=ϵ4D2\delta=\frac{\epsilon^{4}}{D^{2}}, inequality (42) follows from the case hypothesis. Finally, inequality (43) holds since e19xx3e^{-\frac{1}{9x}}\leq\frac{x}{3} for all x(0,150]x\in(0,\frac{1}{50}].