betaFeedback

WorksComputer Science

Tight Approximations for Fixed-Order Vehicle Routing with Stochastic Demands

Abstract

We study the vehicle routing problem (VRP) with stochastic demands, where each client has an independent demand with a known distribution, and its realized demand is observed only on the first visit. We consider a priori and restocking policies that fix the client order before observing demands and serve each client's entire demand before first visiting the next. Gupta, Nagarajan, and Ravi (Oper. Res., 2012) developed randomized a priori (α+1)(α+1)-approximation and (α+2)(α+2)-approximation algorithms for splittable and unsplittable deliveries, respectively, where αα is the approximation ratio of a metric traveling salesman problem (TSP) algorithm. We improve these approximation ratios to 22 and 33 by using their replenishment rules with a TSP tour constructed via matroid parity. We also obtain deterministic a priori (2+ε)(2+\varepsilon)-approximation and (3+ε)(3+\varepsilon)-approximation algorithms by compressing the distributions of cumulative demands to select an initial stock in polynomial time. All guarantees are relative to the general adaptive optimum. We then establish matching lower bounds of 22 and 33 that hold even for the more general class of randomized restocking policies. Finally, we apply our matroid-parity construction to improve approximation ratios for several VRP variants with deterministic demands.

Introduction

In vehicle routing problems (VRPs), the goal is to serve clients at minimum cost. In the classical capacitated VRP (CVRP), demands are known before routes are constructed. In applications such as fuel delivery, waste collection, and vending-machine replenishment, demands may be uncertain when a vehicle leaves the depot ([17, 10]). The VRP with stochastic demands (VRPSD) models this uncertainty: the vehicle observes each client’s demand on its first visit ([25, 11]). The vehicle must decide which client to visit next and when to return to the depot for replenishment.

For the VRPSD, the input consists of a metric space on a depot rr and a set VV of nn clients, together with a vehicle of capacity Q∈Z>0Q \in\mathbb{Z}_{>0}. Each client vv has an independent demand Dv∈{0,1,…,Q}D_v \in\{0, 1, \ldots, Q\}, whose distribution is specified by its support values and probabilities. The realized demand is observed only when the vehicle first visits the client. The vehicle starts and ends at the depot, may replenish there any number of times, and must serve all demands while minimizing expected travel cost. In the splittable variant, a client’s demand may be served in several deliveries. In the unsplittable variant, it must be served in one delivery.

The literature distinguishes a priori, restocking, and reoptimization approaches ([16]). An a priori policy fixes the client order before observing demands and uses a prescribed shortage-response rule. A restocking policy also fixes the order but may also choose preventive replenishments. After fully serving a client, it chooses whether to visit the next client directly or replenish first, using the remaining stock and demand distributions. A reoptimization policy allows the remaining order to change as demands are observed.

We study a priori and restocking policies, and compare their expected costs with the general adaptive optimum, which may change the client order or defer service after observing a demand. For randomized policies, the expectation includes both demands and the algorithm’s random choices.

Gupta et al. [20], hereafter GNR, developed randomized a priori (α+1)(\alpha+ 1)-approximation and (α+2)(\alpha+ 2)-approximation algorithms for splittable and unsplittable deliveries, respectively, where α\alpha is the approximation ratio of the metric traveling salesman problem (TSP) algorithm used to construct the order. Their algorithms construct the order and use a random initial stock with a prescribed shortage response. These bounds hold for every fixed demand vector, with expectation taken over the initial stock. Zhao and Xiao [34] later obtained a randomized (α+1.75)(\alpha+ 1.75)-approximation for the unsplittable VRPSD using deferred service, which allows a broader class of policies.

Related Work

We refer to [17, 16, 10] for surveys of stochastic vehicle routing.

A priori routing and restocking. Heuristics for a priori routing and preventive replenishments have been studied by [4] and [32], respectively. For a fixed client order, optimal restocking decisions can be computed by stochastic dynamic programming, following the classical approach of [33]. See also [12]. Florio et al. [12] jointly optimized the client order and restocking decisions for a single vehicle, using a mixed-integer formulation and a heuristic. Bertazzi and Secomandi [3] bounded the worst-case benefit of restocking over a priori recourse.

Exact algorithms. Laporte et al. [25] developed an integer L-shaped algorithm with corrective roundtrips. Christiansen and Lysgaard [7] proposed a branch-and-price algorithm using set partitioning and dynamic programming for pricing. For preventive replenishments, Louveaux and Salazar-González [27] developed a branch-and-cut algorithm based on the integer L-shaped method, and Florio et al. [11] proposed a branch-price-and-cut algorithm under optimal restocking. Florio et al. [10] strengthened the latter approach by pricing elementary routes and developed a Bayesian model for replenishment under correlated demands. Parada et al. [28] proposed a disaggregated integer L-shaped method for routing with detour-to-depot recourse. These methods use different fleet, demand, and service assumptions. We study polynomial-time approximation for a single vehicle.

Reoptimization. Secomandi [29] developed a rollout policy that evaluates routing decisions using their expected future costs. Secomandi and Margot [30] studied partial reoptimization using a finite-horizon Markov decision process. Goodson et al. [18] later developed rollout policies for multiple vehicles with route-duration limits. Goodson et al. [19] incorporated fixed-route restocking values into rollout policies to evaluate routing decisions. Florio et al. [9] considered limited reoptimization by allowing switches between adjacent clients.

Approximation algorithms for the CVRP. Haimovich and Rinnooy Kan [21] introduced iterated tour partitioning, starting from a TSP tour and dividing it into capacity-feasible depot tours. Given an α\alpha-approximate TSP tour, Altinkemer and Gavish [2] obtained an (α+1)(\alpha+1)-approximation for the splittable CVRP, and Altinkemer and Gavish [1] obtained an (α+2)(\alpha+ 2)-approximation for the unsplittable CVRP. Later, Blauth et al. [5] improved the ratios to α+1−εα\alpha+ 1 - \varepsilon_\alpha for splittable deliveries and α+2−2εα\alpha+ 2 - 2\varepsilon_\alpha for unsplittable deliveries, where εα>0\varepsilon_\alpha> 0 depends only on α\alpha. For the unsplittable CVRP, Friggstad et al. [14] proposed an (α+1+ln⁡2+ε)(\alpha+ 1 + \ln2 + \varepsilon)-approximation algorithm using linear programming (LP). They also combined their algorithm with the method of Blauth et al. [5] to improve the ratio by a small positive constant. Zhao and Xiao [36] later obtained approximation ratios of 3.1759 for general capacity and 3.0897 for fixed capacity. Ebert and Weismantel [8] further improved the approximation ratio for general capacity to 3.159.

Our Results

For the VRPSD, we first obtain randomized a priori 2-approximation and 3-approximation algorithms for splittable and unsplittable deliveries, respectively. These improve the previous randomized a priori guarantees of α+1\alpha+ 1 and α+2\alpha+ 2 (Gupta et al., [20]). Our algorithms build on GNR’s replenishment rules but replace the α\alpha-approximate TSP tour with one obtained via the weighted graphic matroid parity problem (WGMP) (Iwata and Kobayashi, [23]).

We then obtain deterministic a priori (2+ε)(2+\varepsilon)-approximation and (3+ε)(3+\varepsilon)-approximation algorithms for splittable and unsplittable deliveries, respectively. We retain the shortage-response rules of the randomized a priori algorithms. Using the same TSP tour, a direct dynamic program selects an optimal initial stock for the splittable policy, yielding approximation ratios of 2 and 3 for the two variants, but its running time is pseudopolynomial in QQ. To obtain polynomial running time, we compress the distributions of cumulative demand and select the initial stock using the approximate expected costs.

We also establish matching lower bounds of 2 and 3 for a priori and restocking policies. For every ε>0\varepsilon> 0, there exists an instance with two-point demands on which every randomized a priori or restocking policy has an approximation ratio greater than 2−ε2 - \varepsilon for splittable deliveries and 3−ε3 - \varepsilon for unsplittable deliveries. These lower bounds hold even if all demands are revealed after the client order is fixed. Thus, even the more general restocking policies cannot achieve approximation ratios below 2 and 3 for splittable and unsplittable deliveries, respectively.

Finally, we show that our matroid-parity construction also improves approximation ratios for several VRP variants with deterministic demands.

Overview of the techniques. Let cc denote the metric cost function. For any demand vector q∈{0,1,…,Q}V\boldsymbol{q} \in\{0,1,\ldots,Q\}^{V}, let πsp∗(q)\pi^*_{\mathrm{sp}}(\boldsymbol{q}) be the minimum cost of a splittable routing when q\boldsymbol{q} is known in advance and all clients in VV must be visited. Let ℓ(q)=(2/Q)∑v∈Vc(r,v)qv\ell(\boldsymbol{q}) = (2/Q) \sum_{v\in V} c(r,v)q_v be the radial lower bound. Our algorithm uses only the metric to construct a TSP tour TT satisfying c(T)≤2πsp∗(q)−ℓ(q)c(T) \leq2\pi^*_{\mathrm{sp}}(\boldsymbol{q}) - \ell(\boldsymbol{q}) for every q\boldsymbol{q}. To construct TT, we first build an instance of the WGMP and compute a minimum-weight parity basis using the algorithm of Iwata and Kobayashi [23]. From this basis, we obtain a TSP tour by keeping certain cycles through the depot once, doubling the remaining edges, and shortcutting. To bound its cost, we use bipartite matching to assign some clients to distinct depot tours of a splittable routing, and assign the remaining clients to tours that visit them. These assignments yield a partition of the clients such that twice the sum of the maximum depot distances in its parts is at least ℓ(q)\ell(\boldsymbol{q}). We then use the depot tours of this partition to construct a parity basis of weight at most 2πsp∗(q)−ℓ(q)2\pi^*_{\mathrm{sp}}(\boldsymbol{q}) - \ell(\boldsymbol{q}). Combining this tour bound with the expected cost bounds c(T)+ℓ(q)c(T) + \ell(\boldsymbol{q}) and c(T)+2ℓ(q)c(T) + 2\ell(\boldsymbol{q}) for the a priori policies (Gupta et al., [20]), we obtain our approximation ratios.

For deterministic a priori algorithms, we first use dynamic programming to choose the initial stock. The direct implementation considers all QQ possible stock levels and is pseudopolynomial in QQ. To obtain polynomial running time, we express the expected extra cost using the distributions of cumulative demand modulo QQ. We then compress these distributions by rounding their cumulative probabilities, retaining only O(n/ε)O(n/\varepsilon) support values each. The resulting cost estimates have small errors for every initial stock and the same average as the true expected costs. Thus, choosing a stock with the minimum approximate cost incurs only a small additional expected cost. Combining this bound with our TSP tour bound yields the desired approximation ratios.

Preliminaries

The Model and the Policy Class

Let G=(V∪{r},E)G = (V \cup\{r\}, E) be a complete graph, where rr is the depot and V={v1,…,vn}V = \{v_1,\ldots,v_n\} is the client set. A vehicle of capacity Q∈Z>0Q \in\mathbb{Z}_{>0} starts and ends at rr and may replenish there any number of times. Each client v∈Vv \in V has a random demand Dv∈{0,1,…,Q}D_v \in\{0,1,\ldots,Q\} with Pr⁡(Dv>0)>0\Pr(D_v > 0) > 0. The demands are mutually independent. Let D=(Dv)v∈VD = (D_v)_{v\in V} denote the random demand vector. The demand of each client is observed only when the vehicle first visits it. The input includes each client’s demand distribution, specified by its finite support supp⁡(Dv)={dv,1,…,dv,sv}⊆{0,…,Q}\operatorname{supp}(D_v) = \{d_{v,1},\ldots,d_{v,s_v}\} \subseteq\{0,\ldots,Q\} and probabilities pv,j=Pr⁡(Dv=dv,j)>0p_{v,j} = \Pr(D_v = d_{v,j}) > 0, with ∑j=1svpv,j=1\sum_{j=1}^{s_v} p_{v,j} = 1. Let S=∑v∈VsvS = \sum_{v\in V} s_v be the total support size.

Let cc be a metric cost function with c(x,x)=0c(x,x) = 0, c(x,y)=c(y,x)c(x,y) = c(y,x), and c(x,y)≤c(x,z)+c(z,y)c(x,y) \le c(x,z) + c(z,y) for all x,y,z∈V∪{r}x,y,z \in V \cup\{r\}. For each v∈V∪{r}v \in V \cup\{r\}, let ρv=c(r,v)\rho_v = c(r,v). A walk in GG is a sequence of vertices in which consecutive vertices are joined by an edge and vertices may be repeated. A walk is closed if its first and last vertices are the same. For a walk or multigraph HH, let E(H)E(H) denote its edge multiset and let c(H)=∑e∈E(H)c(e)c(H) = \sum_{e\in E(H)} c(e) denote its total edge cost, counting multiplicities. A depot tour is a closed walk from rr with no intermediate visits to rr. A TSP tour on V∪{r}V \cup\{r\} is a depot tour that visits every client in VV.

A feasible policy serves all realized demands almost surely and respects the vehicle capacity. Splittable service allows several deliveries to a client, whereas unsplittable service requires one delivery of its entire demand. A general adaptive policy may defer service after visiting a client and choose subsequent clients based on the observed history. Since Pr⁡(Dv>0)>0\Pr(D_v > 0) > 0 for every v∈Vv \in V, every feasible policy must visit every client in VV [20].

Definition 1 (A priori and restocking policies). In both classes, the first visits to clients follow an order fixed before observing any demand, and each client’s entire demand is served before the next client’s first visit. In either class, the policy may replenish at the depot between clients or while serving the current client. An a priori policy uses a prescribed shortage-response rule, whereas a restocking policy may additionally choose preventive replenishments.

Let opt⁡sp\operatorname{opt}_{\mathrm{sp}} and opt⁡un\operatorname{opt}_{\mathrm{un}} denote the optimal expected costs over feasible adaptive policies for splittable and unsplittable service, respectively. For ρ≥1\rho\ge1, a ρ\rho-approximation algorithm is a polynomial-time algorithm that produces a feasible policy with expected travel cost at most ρ\rho times the corresponding adaptive optimum on every instance. The expectation is over the demands and, if the algorithm is randomized, its random choices.

Lower Bounds on Policy Cost

We use optimal routing costs for known demands to lower bound expected policy cost. For q∈{0,1,…,Q}Vq \in\{0,1,\ldots,Q\}^{V}, let πsp∗(q)\pi_{\mathrm{sp}}^*(q) and πun∗(q)\pi_{\mathrm{un}}^*(q) be the minimum costs of splittable and unsplittable routings when the entire demand vector qq is known in advance. Both routings must visit every client in VV, including those with qv=0q_v = 0. For each ∅≠B⊆V\varnothing\ne B \subseteq V, let τ(B)\tau(B) denote the minimum cost of a TSP tour through the depot and all clients in BB. The radial lower bound is ℓ(q)=(2/Q)∑v∈Vρvqv\ell(\mathbf{q}) = (2/Q)\sum_{v\in V}\rho_vq_v. We have the following result.

Lemma 1. πsp∗(q)≤πun∗(q)\pi_{\mathrm{sp}}^*(\mathbf{q}) \le\pi_{\mathrm{un}}^*(\mathbf{q}) and, for ν∈{sp,un}\nu\in\{\mathrm{sp},\mathrm{un}\}, max⁡{τ(V),ℓ(q)}≤πν∗(q)\max\{\tau(V),\ell(\mathbf{q})\} \le\pi_\nu^*(\mathbf{q}) and E[πν∗(D)]≤opt⁡ν\mathbb{E}[\pi_\nu^*(D)] \le\operatorname{opt}_\nu.

Proof. The first inequality follows by allowing split deliveries. The second follows from the TSP and radial lower bounds of Gupta et al. [20], since every routing must visit all clients. Finally, for any feasible adaptive policy of variant ν\nu, its realized routing has cost at least πν∗(D)\pi_\nu^*(D) almost surely, so taking expectations yields the last inequality. □

Randomized A Priori Algorithms

In this section, we present randomized a priori 2-approximation and 3-approximation algorithms for splittable and unsplittable deliveries, respectively.

The A Priori Policies

For any TSP tour T=(r,v1,…,vn,r)T = (r,v_1,\ldots,v_n,r), we use the replenishment rules of Gupta et al. [20] with a shortcut in the unsplittable case. Both policies start with stock UU, sampled uniformly from {0,…,Q−1}\{0,\ldots,Q-1\}. The policies follow the fixed order and serve each demand immediately if the remaining stock suffices. For a shortage, they use the following rules, respectively.

Splittable service. Suppose the vehicle visits a client with stock ss and observes demand q>sq > s. It serves ss units of demand, makes one roundtrip to the depot to replenish to capacity QQ, and serves the remaining demand q−sq-s. Its stock is then Q+s−qQ+s-q.

Unsplittable service. If q>sq > s, the vehicle makes a roundtrip to replenish to qq and serves the whole demand. It then visits the depot to replenish to Q+s−qQ+s-q and travels directly to the next client, or ends at the depot after the last client. Its stock is again Q+s−qQ+s-q.

For the a priori policy on TT, let cost⁡ν(T,q)\operatorname{cost}_\nu(T,\mathbf{q}) denote its travel cost on demand vector q\mathbf{q}, where ν∈{sp,un}\nu\in\{\mathrm{sp},\mathrm{un}\} denotes the delivery variant. Unlike the unsplittable policy of Gupta et al. [20], which returns to the current client after the second depot visit, our policy travels directly to the next client. By the triangle inequality, this cannot increase the cost. We obtain the following bounds.

Lemma 2 (Gupta et al. [20]). For any fixed TSP tour TT and q∈{0,1,…,Q}V\mathbf{q} \in\{0,1,\ldots,Q\}^{V}, it holds that EU[cost⁡sp(T,q)]=c(T)+ℓ(q)\mathbb{E}_U[\operatorname{cost}_{\mathrm{sp}}(T,\mathbf{q})] = c(T) + \ell(\mathbf{q}) and EU[cost⁡un(T,q)]≤c(T)+2ℓ(q)\mathbb{E}_U[\operatorname{cost}_{\mathrm{un}}(T,\mathbf{q})] \le c(T) + 2\ell(\mathbf{q}).

Proof. For fixed q\mathbf{q}, the stock before visiting viv_i is (U−∑j<iqvj) mod Q(U-\sum_{j<i}q_{v_j})\bmod Q in both policies. Since UU is uniformly distributed, a shortage occurs at viv_i with probability qvi/Qq_{v_i}/Q. Moreover, each shortage incurs an extra cost of 2ρvi2\rho_{v_i} in the splittable policy and at most 4ρvi4\rho_{v_i} in the unsplittable policy, where the latter bound follows from the triangle inequality. Thus, the claimed bounds follow by linearity of expectation. □

The algorithms of Gupta et al. [20] use an α\alpha-approximate TSP tour TT satisfying c(T)≤ατ(V)c(T) \le\alpha\tau(V). By Lemmas 1 and 2, this yields randomized a priori (α+1)(\alpha+1)-approximation and (α+2)(\alpha+2)-approximation algorithms for splittable and unsplittable deliveries, respectively.

Constructing a TSP Tour via Matroid Parity

Using only the metric, we construct a TSP tour TT satisfying c(T)≤2πsp∗(q)−ℓ(q)c(T) \le2\pi_{\mathrm{sp}}^{*}(q) - \ell(q) for every q∈{0,1,…,Q}q \in\{0,1,\ldots,Q\}. Our algorithm first constructs an instance of the WGMP and computes a minimum-weight parity basis. It then uses this basis to construct cycles through the depot, keep each cycle once, and double the remaining edges. Finally, a TSP tour TT is obtained by shortcutting.

The WGMP Instance

We first review the WGMP ([23]). An instance of the WGMP consists of a multigraph whose edges are partitioned into pairs called lines, each with an assigned weight. A parity basis is a set of lines such that the union of their edges forms a spanning tree in each connected component of the multigraph. The goal is to seek a parity basis of minimum total line weight.

We start with two vertex-disjoint complete graphs G1G_1 and G2G_2 with vertex labels X∪{r1}X \cup\{r_1\} and X∪{r2}X \cup\{r_2\}, respectively, where X={v−,v+:v∈V}X = \{v^{-}, v^{+} : v \in V\} contains two distinct copies of each client. An edge rixr_i x with x∈Xx \in X is called a depot spoke. In G1G_1, we replace each depot spoke with 2n−12n-1 parallel edges, while G2G_2 remains unchanged. Thus, G1G_1 has 6n2−3n6n^2-3n edges and G2G_2 has 2n2+n2n^2+n edges.

Let θ:X→V\theta: X \to V map each copy to its client. In each graph, we assign an edge xyxy on XX the cost cX(x,y)=c(θ(x),θ(y))c_X(x,y) = c(\theta(x),\theta(y)), and each depot spoke rixr_i x the cost ρθ(x)\rho_{\theta(x)}. In particular, the edge v−v+v^{-}v^{+} has cost zero, although its endpoints are distinct. We extend the notation c(H)c(H) to these graphs. We group the edges into the following three types of lines, as illustrated in Figure 1.

The three types of lines in the constructed instance

Figure 1. The three types of lines in the constructed instance.

  1. Client lines. For each {x,y}⊆X\{x,y\} \subseteq X with x≠yx \ne y, we pair the two occurrences of the edge xyxy, one in each graph, in a line of weight 2cX(x,y)2c_X(x,y).

  1. Depot lines. For each {x,y}⊆X\{x,y\} \subseteq X with x≠yx \ne y, we pair one unused occurrence of each spoke r1xr_1x and r1yr_1y in G1G_1 in a line of weight 2ρθ(x)+2ρθ(y)2\rho_{\theta(x)} + 2\rho_{\theta(y)}.

  1. Marker lines. For each client vv, we pair the spokes r2v−,r2v+r_2v^{-},r_2v^{+} in G2G_2 in a line of weight −2ρv-2\rho_v.

Each edge belongs to exactly one line. The multigraph of our WGMP instance is the disjoint union G1∪G2G_1 \cup G_2, with 4n+24n+2 vertices, 8n2−2n8n^2-2n edges, and 4n2−n4n^2-n lines. To obtain a parity basis, we can select all marker lines and the nn depot lines pairing v−v^{-} with v+v^{+}. The selected edges form a star in each graph. Since each graph has 2n+12n+1 vertices, every parity basis consists of 4n4n edges, or 2n2n lines. We compute a minimum-weight parity basis for this instance using the algorithm of Iwata and Kobayashi [23].

In the instance, the line weights may be negative. We can add 2max⁡v∈Vρv2\max_{v\in V}\rho_v to every line weight to make the weights nonnegative. Since every parity basis has 2n2n lines, this increases every basis weight by the same amount 4nmax⁡v∈Vρv4n\max_{v\in V}\rho_v and preserves a minimum-weight parity basis.

Constructing a TSP Tour from a Parity Basis

We now construct a TSP tour from the selected parity basis. Let FF be the forest with vertex set XX and the selected client edges. Let EdE_d and EmE_m be the selected depot spokes in G1G_1 and G2G_2, respectively. Let VmV_m be the set of clients whose marker lines are selected. The client edges appear in both graphs. Since the selected lines form a parity basis, F∪EdF \cup E_d and F∪EmF \cup E_m are spanning trees. The selected marker lines pair the components of FF, as shown by the following lemma.

Lemma 3. Each component of FF contains exactly one endpoint of a spoke in EdE_d and one in EmE_m. The pairs v−,v+v^{-}, v^{+} for v∈Vmv \in V_m pair distinct components of $F.

Proof. Since F∪EdF \cup E_d and F∪EmF \cup E_m are spanning trees, each component of FF has at least one spoke from each set. Two spokes from the same set in one component would form a cycle with the path between their endpoints. For each selected marker line, v−v^{-} and v+v^{+} lie in distinct components of FF. The unique EmE_m spoke in each component therefore pairs it with exactly one other component.

Lemma 4. Given a parity basis of total weight WW in the constructed instance of the WGMP, we can construct a TSP tour TT satisfying c(T)≤Wc(T) \le W.

Proof. By Lemma 3, the components of FF are paired. For each v∈Vmv \in V_m, we join its two components by the zero-cost edge v−v+v^{-}v^{+} and connect them to rr using their two EdE_d spokes, as shown in Figure 2. This creates a cycle ZvZ_v through rr and both copies of vv. These cycles share only the depot. The two paths on ZvZ_v from rr to v−v^{-} and v+v^{+} that avoid the zero-cost edge each have cost at least ρv\rho_v by the triangle inequality. Thus, c(Zv)≥2ρvc(Z_v) \ge2\rho_v.

The depot cycle $Z_v$ formed by the two components paired by the marker line for $v$

Figure 2. The depot cycle ZvZ_v formed by the two components paired by the marker line for vv. (a) The two paired components (b) Keep the cycle and double other edges

We keep each cycle once and double every edge outside the cycles. The resulting multigraph is connected, spans all copies, and has even degree at every vertex. By the line weights, it holds that W=2c(F)+2c(Ed)−2∑v∈VmρvW = 2c(F) + 2c(E_d) - 2\sum_{v\in V_m}\rho_v. Since the added edges have cost zero, the multigraph has cost

2c(F∪Ed)−∑v∈Vmc(Zv)≤2c(F∪Ed)−2∑v∈Vmρv=W.(1)2c(F \cup E_d) - \sum_{v\in V_m} c(Z_v) \le2c(F \cup E_d) - 2\sum_{v\in V_m}\rho_v = W. \tag*{(1)}

We take an Eulerian tour of this multigraph, map each copy to its client, and shortcut repeated clients and intermediate depot visits. By the triangle inequality, the resulting TSP tour TT has cost at most WW.

Analysis

For each nonempty B⊆VB \subseteq V, let ρmax⁡(B)=max⁡v∈Bρv\rho_{\max}(B) = \max_{v\in B}\rho_v, and define

πpart=min⁡P partition of V∑B∈P(2τ(B)−2ρmax⁡(B)).(2)\pi_{\mathrm{part}} = \min_{\mathcal{P}\ \mathrm{partition\ of}\ V} \sum_{B\in\mathcal{P}}\left(2\tau(B) - 2\rho_{\max}(B)\right). \tag*{(2)}

This value depends only on the metric and imposes no capacity constraints on the depot tours. We first show that πpart≤2πsp(q)−ℓ(q)\pi_{\mathrm{part}} \le2\pi_{\mathrm{sp}}(q)-\ell(q) for every demand vector qq using a partition obtained from a splittable routing. We then show that the minimum parity basis weight of our WGMP instance is at most πpart\pi_{\mathrm{part}}.

From splittable routings to a client partition. We use a matching argument to partition the clients while preserving the routing cost and the radial bound.

Lemma 5. For any q∈{0,1,…,Q}Vq \in\{0,1,\ldots,Q\}^{V} and every splittable routing of cost π\pi that serves qq and visits every client in VV, there exist a partition P\mathcal{P} of VV and, for each B∈PB \in\mathcal{P}, a depot tour TBT_B visiting exactly the clients of BB once, such that ∑B∈Pc(TB)≤π\sum_{B\in\mathcal{P}} c(T_B) \le\pi and 2∑B∈Pρmax⁡(B)≥ℓ(q)2\sum_{B\in\mathcal{P}}\rho_{\max}(B) \ge\ell(q).

Proof. Index the depot tours of the routing by jj, and let xj,vx_{j,v} be the amount of demand served at vv on tour jj. Construct a bipartite graph with the tours on one side and the clients on the other, and include an edge jvjv of weight ρv\rho_v whenever tour jj visits vv. Since ∑vxj,v≤Q\sum_v x_{j,v} \le Q and ∑jxj,v=qv≤Q\sum_j x_{j,v}=q_v\le Q, the values xj,v/Qx_{j,v}/Q define a fractional matching of weight ∑j,vρvxj,v/Q=ℓ(q)/2\sum_{j,v}\rho_vx_{j,v}/Q=\ell(q)/2. By integrality of bipartite matching, we can choose a matching of weight at least ℓ(q)/2\ell(q)/2. Note that this matching may leave clients and depot tours unmatched.

Then, assign each matched client to its matched tour and every other client to any tour visiting it, including clients with qv=0q_v=0. Shortcut each tour to its assigned clients and remove tours with no assigned clients. The assigned client sets form a partition P\mathcal{P} of VV, and the resulting tours satisfy ∑B∈Pc(TB)≤π\sum_{B\in\mathcal{P}}c(T_B)\le\pi. Since each resulting tour contains at most one matched client, we obtain 2∑B∈Pρmax⁡(B)≥2∑v matchedρv≥ℓ(q)2\sum_{B\in\mathcal{P}}\rho_{\max}(B)\ge2\sum_{v\ \mathrm{matched}}\rho_v\ge\ell(q).

For the partition and tours in Lemma 5, it holds that τ(B)≤c(TB)\tau(B)\le c(T_B) for each B∈PB\in\mathcal{P}. Hence, by (2),

πpart≤∑B∈P(2c(TB)−2ρmax⁡(B))≤2π−ℓ(q).(3)\pi_{\mathrm{part}}\le\sum_{B\in\mathcal{P}}\left(2c(T_B)-2\rho_{\max}(B)\right)\le2\pi-\ell(q). \tag*{(3)}

Constructing a parity basis from depot tours. We next construct a parity basis using depot tours on a client partition and bound the minimum parity basis weight.

Lemma 6. For every partition P\mathcal{P} of VV and depot tours TBT_B visiting exactly the clients of BB once for each B∈PB\in\mathcal{P}, the constructed instance of the WGMP has a parity basis of weight ∑B∈P(2c(TB)−2ρmax⁡(B))\sum_{B\in\mathcal{P}}(2c(T_B)-2\rho_{\max}(B)).

Proof. For each B∈PB\in\mathcal{P}, choose pB∈Bp_B\in B with ρpB=ρmax⁡(B)\rho_{p_B}=\rho_{\max}(B) and split TBT_B into two depot-to-pBp_B paths. Use pB−p_B^{-} and pB+p_B^{+} as their respective endpoints, and replace every other client vv by consecutive copies v−,v+v^{-},v^{+} joined by a zero-cost edge. Let EdE_d be their depot spokes in G1G_1, and let FF be the forest on XX formed by their remaining edges. The paths cover every copy once and share only r1r_1, so F∪EdF\cup E_d is a spanning tree of cost ∑B∈Pc(TB)\sum_{B\in\mathcal{P}}c(T_B).

Each component of FF is a path with an endpoint pB−p_B^{-} or pB+p_B^{+} for some B∈PB\in\mathcal{P}. We connect these endpoints to r2r_2 using the marker lines for pBp_B, and let EmE_m be their spokes in G2G_2. Then, F′∪EmF'\cup E_m is also a spanning tree. The client lines corresponding to FF, the depot line for each block, and the marker line for each pBp_B therefore form a parity basis. Its total weight is 2c(F)+2c(Ed)−2∑B∈PρpB=∑B∈P(2c(TB)−2ρmax⁡(B))2c(F)+2c(E_d)-2\sum_{B\in\mathcal{P}}\rho_{p_B}=\sum_{B\in\mathcal{P}}(2c(T_B)-2\rho_{\max}(B)). For a singleton block, the two paths consist of the distinct spokes to pB−p_B^{-} and pB+p_B^{+}, so the same construction applies.

The tour cost and approximation guarantees. We first analyze the performance of TT.

Lemma 7. The TSP algorithm constructs in O(n7)O(n^7) time a TSP tour TT satisfying c(T)≤πpart≤2πsp∗(q)−ℓ(q)c(T) \le\pi_{\mathrm{part}} \le2\pi_{\mathrm{sp}}^*(q)-\ell(q) for every q∈{0,1,…,Q}Vq \in\{0,1,\ldots,Q\}^V.

Proof. By Lemma 6, the minimum parity basis weight is at most πpart\pi_{\mathrm{part}}. Then, by Lemma 4, it holds that c(T)≤πpartc(T) \le\pi_{\mathrm{part}}. For any splittable routing of cost π\pi that serves qq and visits every client in VV, (3) implies πpart≤2π−ℓ(q)\pi_{\mathrm{part}} \le2\pi-\ell(q). In particular, we obtain πpart≤2πsp∗(q)−ℓ(q)\pi_{\mathrm{part}} \le2\pi_{\mathrm{sp}}^*(q)-\ell(q).

We now analyze the running time of the TSP algorithm. The constructed WGMP instance has O(n)O(n) vertices, O(n2)O(n^2) edges, and O(n2)O(n^2) lines. Constructing its graphs and lines takes O(n2)O(n^2) time. For this graphic matroid, since it can be represented over the field {0,1}\{0,1\} with arithmetic modulo 22 and each field operation takes O(1)O(1) time, the running time of the deterministic algorithm of Iwata and Kobayashi [23] is cubic in the number of edges and linear in the size of a basis. Since every basis has O(n)O(n) edges, computing a minimum-weight parity basis takes O((n2)3n)=O(n7)O((n^2)^3n)=O(n^7) time. Constructing the TSP tour from the O(n)O(n) selected edges takes O(n)O(n) time. Thus, the total running time is O(n7)O(n^7).

We then apply the a priori policies to obtain the following approximation guarantees.

Theorem 1. The VRPSD admits randomized a priori 22-approximation and 33-approximation algorithms for splittable and unsplittable deliveries, respectively.

Proof. By Lemmas 1, 2, and 7, for every demand vector qq, it holds that EU[cost⁡sp(T,q)]≤2πsp∗(q)\mathbb{E}_U[\operatorname{cost}_{\mathrm{sp}}(T,q)] \le2\pi_{\mathrm{sp}}^*(q) and EU[cost⁡un(T,q)]≤2πsp∗(q)+ℓ(q)≤3πsp∗(q)≤3πun∗(q)\mathbb{E}_U[\operatorname{cost}_{\mathrm{un}}(T,q)] \le2\pi_{\mathrm{sp}}^*(q)+\ell(q) \le3\pi_{\mathrm{sp}}^*(q) \le3\pi_{\mathrm{un}}^*(q). Taking expectations over the demands and applying Lemma 1, we obtain the claimed approximation ratios.

For the running time, both algorithms construct TT in O(n7)O(n^7) time and sample UU in expected O(log⁡Q)O(\log Q) time. Each client requires O(1)O(1) stock operations and at most two replenishments, so serving all clients takes O(n)O(n) time. Thus, the total expected running time is O(n7+log⁡Q)O(n^7+\log Q).

As noted by Gupta et al. [20], these randomized a priori algorithms require no knowledge of the demand distributions under our assumption that Pr⁡(Dv>0)>0\Pr(D_v>0)>0 for every v∈Vv \in V.

Deterministic A Priori Algorithms

In this section, we obtain deterministic a priori (2+ε)(2+\varepsilon)-approximation and (3+ε)(3+\varepsilon)-approximation algorithms for splittable and unsplittable deliveries, respectively. We retain the replenishment rules from Section 3 but choose the initial stock deterministically. We first evaluate the expected cost for every initial stock by dynamic programming, obtaining approximation ratios of 2 and 3 in pseudopolynomial time. We then compress the distributions of cumulative demand modulo QQ to obtain polynomial running time.

Fix a TSP tour T=(r=v0,v1,…,vn,vn+1=r)T=(r=v_0,v_1,\ldots,v_n,v_{n+1}=r). With initial stock u∈{0,…,Q−1}u \in\{0,\ldots,Q-1\}, both policies have the same stock upon arrival at each client, so they have the same shortages. Each shortage at viv_i incurs an extra cost of 2ρvi2\rho_{v_i} for splittable deliveries and at most 4ρvi4\rho_{v_i} for unsplittable deliveries.

Choosing the Initial Stock

For s∈{0,…,Q−1}s \in\{0,\ldots,Q-1\}, let Ri(s)R_i(s) be the expected extra cost of serving the remaining clients after serving viv_i with remaining stock ss, under the splittable a priori policy. Here, R0(s)R_0(s) is the expected extra cost before visiting the first client, and Rn(s)=0R_n(s)=0. Since the stock after serving demand qq is (s−q) mod Q(s-q)\bmod Q, for i=n,…,1i=n,\ldots,1,

Ri−1(s)=E[2ρvi1{Dvi>s}+Ri((s−Dvi) mod Q)].(4)R_{i-1}(s)=\mathbb{E}\left[2\rho_{v_i}\mathbf{1}_{\{D_{v_i}>s\}}+R_i\left((s-D_{v_i})\bmod Q\right)\right]. \tag*{(4)}

The recurrence follows from the prescribed shortage-response rule and the independence of the demands. With initial stock uu, the expected travel cost is c(T)+R0(u)c(T)+R_0(u) for splittable deliveries and at most c(T)+2R0(u)c(T)+2R_0(u) for unsplittable deliveries. Thus, we can compute the smallest initial stock u∗u^* minimizing R0(u)R_0(u).

Theorem 2. The VRPSD admits deterministic a priori algorithms with approximation ratios 2 and 3 for splittable and unsplittable deliveries, respectively, with running time O(n7+QS)O(n^7+QS).

Proof. Use the TSP tour TT from Lemma 7 and initial stock u∗u^* in both policies. By Lemma 2, it holds that R0(u∗)≤(1/Q)∑u=0Q−1R0(u)=E[ℓ(D)]R_0(u^*)\leq(1/Q)\sum_{u=0}^{Q-1}R_0(u)=\mathbb{E}[\ell(D)]. Then, by Lemma 1, we obtain c(T)+R0(u∗)≤2E[πsp∗(D)]≤2opt⁡spc(T)+R_0(u^*)\leq2\mathbb{E}[\pi_{\mathrm{sp}}^*(D)]\leq2\operatorname{opt}_{\mathrm{sp}} and c(T)+2R0(u∗)≤2E[πsp∗(D)]+E[ℓ(D)]≤3E[πun∗(D)]≤3opt⁡unc(T)+2R_0(u^*)\leq2\mathbb{E}[\pi_{\mathrm{sp}}^*(D)]+\mathbb{E}[\ell(D)]\leq3\mathbb{E}[\pi_{\mathrm{un}}^*(D)]\leq3\operatorname{opt}_{\mathrm{un}}. For the running time, at client viv_i, evaluating (4) takes O(Qsvi)O(Qs_{v_i}) time. Summing over all clients and selecting a minimizing initial stock takes O(QS)O(QS) time. Thus, including the tour construction in Lemma 7 yields the total running time O(n7+QS)O(n^7+QS).

To avoid the pseudopolynomial dependence on QQ, we next approximate R0R_0 by compressing the distributions of cumulative demands.

Compressing the Distributions

For 0≤i≤n0\leq i\leq n, let Xi=∑j=1iDvjX_i=\sum_{j=1}^{i}D_{v_j} be the total demand of the first ii clients, and let Yi=Xi mod QY_i=X_i\bmod Q. The number of shortages among these clients can be expressed using XiX_i and YiY_i. For an initial stock u∈{0,…,Q−1}u\in\{0,\ldots,Q-1\}, define hu(z)=1{z>u}−z/Qh_u(z)=\mathbf{1}_{\{z>u\}}-z/Q for z∈{0,…,Q−1}z\in\{0,\ldots,Q-1\}. For 1≤i≤n1\leq i\leq n, let bi=ρvi−ρvi+1b_i=\rho_{v_i}-\rho_{v_{i+1}}, where ρvn+1=0\rho_{v_{n+1}}=0.

Lemma 8. For every initial stock uu, it holds that R0(u)=E[ℓ(D)]+2∑i=1nbiE[hu(Yi)]R_0(u)=\mathbb{E}[\ell(D)]+2\sum_{i=1}^{n}b_i\mathbb{E}[h_u(Y_i)].

Proof. Let Ni(u)N_i(u) be the number of shortages among the first ii clients, with N0(u)=0N_0(u)=0. After serving the first ii clients, the remaining stock is u+QNi(u)−Xi∈{0,…,Q−1}u+QN_i(u)-X_i\in\{0,\ldots,Q-1\}. Consequently, Ni(u)=⌊Xi/Q⌋+1{Yi>u}=Xi/Q+hu(Yi)N_i(u)=\lfloor X_i/Q\rfloor+\mathbf{1}_{\{Y_i>u\}}=X_i/Q+h_u(Y_i). Since Ni(u)−Ni−1(u)N_i(u)-N_{i-1}(u) indicates whether a shortage occurs at viv_i, we obtain

R0(u)=2∑i=1nρviE[Ni(u)−Ni−1(u)]=2∑i=1nbiE[Ni(u)].R_0(u)=2\sum_{i=1}^{n}\rho_{v_i}\mathbb{E}[N_i(u)-N_{i-1}(u)]=2\sum_{i=1}^{n}b_i\mathbb{E}[N_i(u)].

The terms involving Xi/QX_i/Q satisfy

2Q∑i=1nbiE[Xi]=2Q∑j=1nE[Dvj]∑i=jnbi=2Q∑j=1nρvjE[Dvj]=E[ℓ(D)],\frac{2}{Q}\sum_{i=1}^{n}b_i\mathbb{E}[X_i]=\frac{2}{Q}\sum_{j=1}^{n}\mathbb{E}[D_{v_j}]\sum_{i=j}^{n}b_i=\frac{2}{Q}\sum_{j=1}^{n}\rho_{v_j}\mathbb{E}[D_{v_j}]=\mathbb{E}[\ell(D)],

where ∑i=jnbi=ρvj\sum_{i=j}^{n}b_i=\rho_{v_j}. The remaining terms are 2∑i=1nbiE[hu(Yi)]2\sum_{i=1}^{n}b_i\mathbb{E}[h_u(Y_i)], which proves the claimed equality.

Let μi(z)=Pr⁡(Yi=z)\mu_i(z)=\Pr(Y_i=z), with μ0(0)=1\mu_0(0)=1. By Lemma 8, we only need to approximate the expected values of huh_u under these distributions. However, each μi\mu_i may have up to QQ support values. We therefore compress the distributions while keeping these expected values nearly unchanged.

Lemma 9. For any distribution μ\mu on {0,…,Q−1}\{0,\ldots,Q-1\} and integer K≥1K \ge1, a distribution μ^\hat{\mu} with at most KK support values can be computed such that ∣∑z(μ(z)−μ^(z))hu(z)∣≤1/K\left|\sum_z(\mu(z)-\hat{\mu}(z))h_u(z)\right| \le1/K for every uu.

Proof. Let Γ(t)=∑z≤tμ(z)\Gamma(t)=\sum_{z\le t}\mu(z) and Γ(−1)=0\Gamma(-1)=0. At each support value zz, assign probability μ^(z)=(⌊KΓ(z)⌋−⌊KΓ(z−1)⌋)/K\hat{\mu}(z)=(\lfloor K\Gamma(z)\rfloor-\lfloor K\Gamma(z-1)\rfloor)/K, keeping only positive probabilities. These probabilities sum to 1, and each positive one is at least 1/K1/K. Thus, μ^\hat{\mu} has at most KK support values.

Let Γ^(t)=∑z≤tμ^(z)\hat{\Gamma}(t)=\sum_{z\le t}\hat{\mu}(z). Then, Γ^(t)=⌊KΓ(t)⌋/K\hat{\Gamma}(t)=\lfloor K\Gamma(t)\rfloor/K, so 0≤Γ(t)−Γ^(t)<1/K0\le\Gamma(t)-\hat{\Gamma}(t)<1/K. Note that ∑zzμ(z)=∑t=0Q−1(1−Γ(t))\sum_z z\mu(z)=\sum_{t=0}^{Q-1}(1-\Gamma(t)). Then, ∑zμ(z)hu(z)=(1/Q)∑t=0Q−1Γ(t)−Γ(u)\sum_z\mu(z)h_u(z)=(1/Q)\sum_{t=0}^{Q-1}\Gamma(t)-\Gamma(u), and the same equality holds for μ^\hat{\mu} and Γ^\hat{\Gamma}. Hence,

∑z(μ(z)−μ^(z))hu(z)=1Q∑t=0Q−1(Γ(t)−Γ^(t))−(Γ(u)−Γ^(u)),\sum_z(\mu(z)-\hat{\mu}(z))h_u(z)=\frac{1}{Q}\sum_{t=0}^{Q-1}(\Gamma(t)-\hat{\Gamma}(t))-(\Gamma(u)-\hat{\Gamma}(u)),

where both the average and Γ(u)−Γ^(u)\Gamma(u)-\hat{\Gamma}(u) lie in [0,1/K][0,1/K], so their difference has absolute value at most 1/K1/K.

We next compute a compressed distribution μ^i\hat{\mu}_i for each YiY_i. Fix an integer K≥1K\ge1 and start from μ^0=μ0\hat{\mu}_0=\mu_0. At client viv_i, we first compute an approximate distribution of Yi=(Yi−1+Dvi) mod QY_i=(Y_{i-1}+D_{v_i})\bmod Q using μ^i−1\hat{\mu}_{i-1}:

μ~i(z)=∑j=1svipvi,jμ^i−1((z−dvi,j) mod Q).(5)\tilde{\mu}_i(z)=\sum_{j=1}^{s_{v_i}}p_{v_i,j}\hat{\mu}_{i-1}((z-d_{v_i,j})\bmod Q). \tag*{(5)}

Since μ~\tilde{\mu} has at most KsviKs_{v_i} support values, we further compress it using Lemma 9 to obtain μ^i\hat{\mu}_i with at most KK support values. Using these compressed distributions, we approximate the expected extra cost by

R^0(u)=E[ℓ(D)]+2∑i=1nbi∑zμ^i(z)hu(z).(6)\hat{R}_0(u)=\mathbb{E}[\ell(D)]+2\sum_{i=1}^{n}b_i\sum_z\hat{\mu}_i(z)h_u(z). \tag*{(6)}

Lemma 10. For every integer K≥1K\ge1 and initial stock uu, the compressed distributions satisfy ∣∑z(μi(z)−μ^i(z))hu(z)∣≤i/K\left|\sum_z(\mu_i(z)-\hat{\mu}_i(z))h_u(z)\right|\le i/K for 0≤i≤n0\le i\le n. Moreover, ∣R0(u)−R^0(u)∣≤2nc(T)/K\left|R_0(u)-\hat{R}_0(u)\right|\le2nc(T)/K.

Proof. Let ei(u)=∑z(μi(z)−μ^i(z))hu(z)e_i(u)=\sum_z(\mu_i(z)-\hat{\mu}_i(z))h_u(z), with e0(u)=0e_0(u)=0. By inserting μ~i\tilde{\mu}_i, we obtain

ei(u)=∑z(μi(z)−μ~i(z))hu(z)+∑z(μ~i(z)−μ^i(z))hu(z).e_i(u)=\sum_z(\mu_i(z)-\tilde{\mu}_i(z))h_u(z)+\sum_z(\tilde{\mu}_i(z)-\hat{\mu}_i(z))h_u(z).

The second error term is the compression error, whose absolute value is at most 1/K1/K by Lemma 9. To bound the first error term, let f(z)=(z−dvi,j) mod Qf(z)=(z-d_{v_i,j})\bmod Q for each fixed jj. By independence and (5),

∑z(μi(z)−μ~i(z))hu(z)=∑j=1svipvi,j∑z(μi−1(f(z))−μ^i−1(f(z)))hu(z).\sum_z(\mu_i(z)-\tilde{\mu}_i(z))h_u(z)=\sum_{j=1}^{s_{v_i}}p_{v_i,j}\sum_z(\mu_{i-1}(f(z))-\hat{\mu}_{i-1}(f(z)))h_u(z).

By the definition of huh_u, we have hu(z)=h(u−dvi,j) mod Q(f(z))+hu(dvi,j mod Q)h_u(z)=h_{(u-d_{v_i,j})\bmod Q}(f(z))+h_u(d_{v_i,j}\bmod Q). Note that ∑zμi−1(f(z))=∑zμ^i−1(f(z))=1\sum_z\mu_{i-1}(f(z))=\sum_z\hat{\mu}_{i-1}(f(z))=1. Thus, the first error term equals ∑jpvi,jei−1((u−dvi,j) mod Q)\sum_jp_{v_i,j}e_{i-1}((u-d_{v_i,j})\bmod Q), and its absolute value is at most max⁡u∣ei−1(u)∣\max_u|e_{i-1}(u)|. Therefore, max⁡u∣ei(u)∣≤max⁡u∣ei−1(u)∣+1/K\max_u|e_i(u)|\le\max_u|e_{i-1}(u)|+1/K, which is at most i/Ki/K since e0=0e_0=0.

Finally, by Lemma 8 and (6), we obtain

∣R0(u)−R^0(u)∣≤2∑i=1n∣bi∣∣ei(u)∣≤2K∑i=1ni∣bi∣≤2nKc(T),|R_0(u)-\hat{R}_0(u)|\le2\sum_{i=1}^{n}|b_i||e_i(u)|\le\frac{2}{K}\sum_{i=1}^{n}i|b_i|\le\frac{2n}{K}c(T),

where the last inequality follows from ∣bi∣≤c(vi,vi+1)|b_i|\le c(v_i,v_{i+1}) and ∑i∣bi∣≤c(T)\sum_i|b_i|\le c(T) by the triangle inequality.

Selecting the Initial Stock

We now minimize R^0\widehat{R}_0 instead of R0R_0. For fixed z>0z > 0, the function hu(z)h_u(z) decreases by 1 when uu increases from z−1z - 1 to zz and is otherwise constant. Thus, by (6), R^0\widehat{R}_0 changes only at positive support values of μ^i\widehat{\mu}_i. We select the smallest stock uKu_K that minimizes R^0\widehat{R}_0 over {0}∪⋃i=1nsupp⁡(μ^i)\{0\} \cup\bigcup_{i=1}^n \operatorname{supp}(\widehat{\mu}_i), which contains at most nK+1nK + 1 candidates.

Lemma 11. For every integer K≥1K \ge1, the selected initial stock satisfies R0(uK)≤E[ℓ(D)]+2nc(T)/KR_0(u_K) \le\mathbb{E}[\ell(D)] + 2nc(T)/K.

Proof. For each z∈{0,…,Q−1}z \in\{0, \ldots, Q - 1\}, exactly zz initial stocks satisfy z>uz > u, so ∑u=0Q−1hu(z)=0\sum_{u=0}^{Q-1} h_u(z) = 0 by definition. Taking the average in (6) yields (1/Q)∑u=0Q−1R^0(u)=E[ℓ(D)](1/Q) \sum_{u=0}^{Q-1} \widehat{R}_0(u) = \mathbb{E}[\ell(D)]. Since uKu_K minimizes R^0\widehat{R}_0, we obtain R^0(uK)≤E[ℓ(D)]\widehat{R}_0(u_K) \le\mathbb{E}[\ell(D)]. Moreover, by Lemma 10, R0(uK)≤R^0(uK)+2nc(T)/KR_0(u_K) \le\widehat{R}_0(u_K) + 2nc(T)/K, which proves the lemma.

We now combine the selected initial stock with the TSP tour from Lemma 7.

Theorem 3. For any 0<ε≤10 < \varepsilon\le1, the VRPSD admits deterministic a priori (2+ε)(2 + \varepsilon)-approximation and (3+ε)(3 + \varepsilon)-approximation algorithms for splittable and unsplittable deliveries, respectively, with running time O(n7+(Sn/ε)log⁡(Sn/ε))O(n^7 + (S n/\varepsilon)\log(S n/\varepsilon)).

Proof. Set K=⌈4n/ε⌉K = \lceil4n/\varepsilon\rceil, and use the tour TT from Lemma 7 and the selected stock uKu_K in both a priori policies. By Lemma 11, R0(uK)≤E[ℓ(D)]+(ε/2)c(T)R_0(u_K) \le\mathbb{E}[\ell(D)] + (\varepsilon/2)c(T). Thus, their expected travel costs are at most (1+ε/2)c(T)+E[ℓ(D)](1 + \varepsilon/2)c(T) + \mathbb{E}[\ell(D)] and (1+ε)c(T)+2E[ℓ(D)](1 + \varepsilon)c(T) + 2\mathbb{E}[\ell(D)], respectively. By Lemmas 1 and 7, (1+ε/2)c(T)+E[ℓ(D)]≤(2+ε)E[πsp∗(D)]≤(2+ε)opt⁡sp(1 + \varepsilon/2)c(T) + \mathbb{E}[\ell(D)] \le(2 + \varepsilon)\mathbb{E}[\pi^*_{\mathrm{sp}}(D)] \le(2 + \varepsilon)\operatorname{opt}_{\mathrm{sp}} and (1+ε)c(T)+2E[ℓ(D)]≤(2+2ε)E[πsp∗(D)]+(1−ε)E[ℓ(D)]≤(3+ε)E[πun∗(D)]≤(3+ε)opt⁡un(1 + \varepsilon)c(T) + 2\mathbb{E}[\ell(D)] \le(2 + 2\varepsilon)\mathbb{E}[\pi^*_{\mathrm{sp}}(D)] + (1 - \varepsilon)\mathbb{E}[\ell(D)] \le(3 + \varepsilon)\mathbb{E}[\pi^*_{\mathrm{un}}(D)] \le(3 + \varepsilon)\operatorname{opt}_{\mathrm{un}}. Thus, we obtain the claimed approximation ratios.

Next, we analyze the running time. At client viv_i, we compute at most KsviK s_{v_i} values (z+dvi,j) mod Q(z + d_{v_i,j}) \bmod Q, each with probability μ^i−1(z)pvi,j\widehat{\mu}_{i-1}(z)p_{v_i,j}. Sorting these values and combining equal values computes μ~i\widetilde{\mu}_i, and then one scan computes μ^i\widehat{\mu}_i. Summing over all clients takes O(KSlog⁡(KS))O(KS\log(KS)) time.

To select uKu_K, we first compute R^0(0)\widehat{R}_0(0) in O(S+nK)O(S + nK) time. By (6), sorting the at most nKnK support values and updating R^0\widehat{R}_0 at these values finds the smallest stock with the minimum value in O(nKlog⁡(nK))O(nK\log(nK)) time. Since S≥nS \ge n and K=O(n/ε)K = O(n/\varepsilon), including the tour construction in Lemma 7 yields the stated running time.

Lower Bounds on Approximation Ratios

In this section, we show that no a priori or restocking policy can guarantee an approximation factor below 2 for splittable deliveries or below 3 for unsplittable deliveries. We use the same instance for both variants.

The Stochastic Instance

Fix an integer m≥2m \ge2, and set N=m4N = m^4, p=m−3p = m^{-3}, Q=2m8Q = 2m^8, and η=m−8\eta= m^{-8}. Consider the graph in Figure 3(a), with a depot rr, bridge clients x1,…,x2mx_1,\ldots,x_{2m}, peak clients y1,…,yNy_1,\ldots,y_N, and a non-client vertex zz. The edges rxjrx_j and zxjzx_j have cost 1/21/2, and each edge zyizy_i has cost η/2\eta/2. The metric is defined by minimum-cost paths. For instance, the cost between distinct bridges is 1 and between distinct peaks is η\eta, and it holds that c(r,yi)=1+η/2c(r,y_i) = 1 + \eta/2 and c(xj,yi)=1/2+η/2c(x_j,y_i) = 1/2 + \eta/2. Moreover, every bridge has demand 1, and each peak has demand

The bridge–peak metric and an adaptive delivery route

Figure 3. The stochastic instance and an adaptive depot tour. (a) The graph defining the metric, with demand 1 at each bridge and demand Q−2Q-2 or 4 at each peak. (b) A tour serving one large peak and two bridges, with total demand QQ and cost 2+η2+\eta.

Dyi={Q−2,with probability p,4,with probability 1−p.(7)D_{y_i} = \begin{cases} Q-2, & \text{with probability } p,\\ 4, & \text{with probability } 1-p. \end{cases} \tag*{(7)}

We call a peak large or small according to its realized demand. We next bound the expected cost of an adaptive policy for comparison.

An Adaptive Comparison Policy

We first visit all peaks on a depot tour of cost 2+Nη2+N\eta, serve the small peaks, and defer service to the large peaks. This is feasible since the total small demand is at most 4N<Q4N<Q.

Let KK be the number of large peaks. We then pair each of min⁡{K,m}\min\{K,m\} large peaks with two unused bridges and serve them on a depot tour r,x2j−1,y,x2j,rr,x_{2j-1},y,x_{2j},r of stock QQ and cost 2+η2+\eta, as shown in Figure 3(b). Next, we serve each remaining large peak alone on a depot tour of cost 2+η2+\eta. If K<mK<m, the 2(m−K)2(m-K) remaining bridges can be served on one depot tour of cost 2(m−K)2(m-K), since their total demand is at most 2m<Q2m<Q. Thus, the policy is feasible for both variants and has total cost

(2+Nη)+(2+η)K+2(m−K)1K<m=2+2max⁡{K,m}+(N+K)η.(8)(2+N\eta)+(2+\eta)K+2(m-K)\mathbf{1}_{K<m}=2+2\max\{K,m\}+(N+K)\eta. \tag*{(8)}

We next bound the expected cost. By definition, E[K]=Np=m\mathbb{E}[K]=Np=m and Var⁡(K)=Np(1−p)=m(1−p)\operatorname{Var}(K)=Np(1-p)=m(1-p). Then, 2E[max⁡{K−m,0}]=E[∣K−m∣]≤m(1−p)2\mathbb{E}[\max\{K-m,0\}]=\mathbb{E}[|K-m|]\le\sqrt{m(1-p)}. By (8) and max⁡{K,m}=m+max⁡{K−m,0}\max\{K,m\}=m+\max\{K-m,0\},

opt⁡ν≤2m+m(1−p)+2+(N+m)η.(9)\operatorname{opt}_{\nu}\le2m+\sqrt{m(1-p)}+2+(N+m)\eta. \tag*{(9)}

Splittable Deliveries

We first establish the lower bound for splittable a priori and restocking policies. Fix a client order σ\sigma chosen before observing any demand, and let cost⁡sp\operatorname{cost}_{\mathrm{sp}} denote the travel cost of a policy following σ\sigma.

To lower bound this cost, we expand each metric edge into a minimum-cost path, retain the original service locations, and contract the edges zyizy_i. Since every peak has positive demand, each edge zyizy_i is traversed at least twice, so the original cost is at least the contracted cost plus NηN\eta. In the contracted graph, all peaks are at zz. The cost between rr and zz is 1, from each bridge to rr or zz is 1/21/2, and between distinct bridges is 1.

We select each large peak if both neighbors are peaks and no other large peak occurs within two positions on either side. Each selected peak defines a small–large–small block, and these blocks are disjoint. Let ZspZ_{\mathrm{sp}} denote the number of selected blocks. Note that at most 4m+24m+2 peaks are either at the beginning or end of σ\sigma or adjacent to a bridge. For every remaining peak, both neighbors are peaks. Conditional on being large, it is not selected only if another large peak occurs within two positions on either side, which has probability at most 4p4p by a union bound. Since each peak is large with probability pp, by linearity of expectation,

E[Zsp∣σ]≥(N−4m−2)p(1−4p)≥Np−(4m+2)p−4Np2=m−8m2+2mN.(10)\mathbb{E}[Z_{\mathrm{sp}}\mid\sigma] \ge(N-4m-2)p(1-4p) \ge Np-(4m+2)p-4Np^2 = m-\frac{8m^2+2m}{N}. \tag*{(10)}

Lemma 12. For every demand vector, a feasible splittable routing that follows σ\sigma and serves each client before first visiting the next has cost at least 2m+2Zsp+Nη2m+2Z_{\mathrm{sp}}+N\eta.

Proof. Each selected block has total demand 4+(Q−2)+4=Q+6>Q4+(Q-2)+4=Q+6>Q. Consider the part of the walk from the first delivery at its left small peak until its right small peak is fully served. The stock at its start is at most QQ, so the vehicle must visit the depot during this interval. After contraction, this part of the walk starts and ends at zz and visits rr, so its cost is at least 22.

These parts of the walk are disjoint and contain no bridge service. Removing them leaves a closed depot walk that still visits all 2m2m bridges at their service locations. By shortcutting to these locations, its cost is at least 1/2+(2m−1)+1/2=2m1/2+(2m-1)+1/2=2m. Thus, adding the removed costs and NηN\eta proves the claimed bound.

By Lemma 12 and (10), every splittable policy following σ\sigma satisfies

E[cost⁡sp∣σ]≥4m−16m2+4mN+Nη.(11)\mathbb{E}[\operatorname{cost}_{\mathrm{sp}}\mid\sigma] \ge4m-\frac{16m^2+4m}{N}+N\eta. \tag*{(11)}

Since the bound holds for every σ\sigma, it also holds after averaging over a randomized client order.

Unsplittable Deliveries

We next establish the lower bound for unsplittable a priori and restocking policies. We use the same client order σ\sigma and the contracted graph from the previous subsection. Let cost⁡un\operatorname{cost}_{\mathrm{un}} be the travel cost of such a policy.

We call a large peak isolated if all its neighbors in σ\sigma are small peaks, including when it is at an endpoint of σ\sigma. Let ZunZ_{\mathrm{un}} be the number of isolated large peaks. At most 4m4m peaks are adjacent to bridges. Among the at most N−1N-1 pairs of consecutive peaks, each pair consists of two large peaks with probability p2p^2, preventing both from being isolated. By linearity of expectation,

E[Zun∣σ]≥(N−4m)p−2(N−1)p2≥Np−4mp−2Np2=m−6m2N.(12)\mathbb{E}[Z_{\mathrm{un}}\mid\sigma] \ge(N-4m)p-2(N-1)p^2 \ge Np-4mp-2Np^2 = m-\frac{6m^2}{N}. \tag*{(12)}

Lemma 13. For every demand vector, a feasible unsplittable routing that follows σ\sigma and serves each client before first visiting the next has cost at least 2m+4Zun−2+Nη2m+4Z_{\mathrm{un}}-2+N\eta.

Proof. We first discard depot tours that serve no client. The clients served on each remaining depot tour occupy consecutive positions in σ\sigma. If such a tour serves an isolated large peak and another client, it must also serve a neighboring small peak, whose combined demand is (Q−2)+4>Q(Q-2)+4>Q. Thus, each isolated large peak requires a depot tour serving no other client, with cost at least 22 in the contracted graph. These tours have total cost at least 2Zun2Z_{\mathrm{un}}.

Next, suppose Zun≥1Z_{\mathrm{un}}\ge1. The isolated large peaks divide the remaining clients into Zun+1Z_{\mathrm{un}}+1 segments, with possibly empty end segments. A depot tour cannot serve clients from different segments. For each segment, we join its depot tours at rr and shortcut to the service locations in their order. Each of the Zun−1Z_{\mathrm{un}} - 1 middle segments starts and ends with a small peak, so the first and last edges of its resulting tour have total cost 2. Each edge costs at least 1/21/2 times its number of bridge endpoints. Since each bridge has two incident edges, the remaining edges have total cost at least bb for a middle segment with bb bridges. Thus, its cost is at least 2+b2 + b. Similarly, each end segment has cost at least its number of bridges.

Since all 2m2m bridges lie in these segments, their total cost together with the isolated-peak tours is at least 2(Zun−1)+2m+2Zun=2m+4Zun−22(Z_{\mathrm{un}} - 1) + 2m + 2Z_{\mathrm{un}} = 2m + 4Z_{\mathrm{un}} - 2. If Zun=0Z_{\mathrm{un}} = 0, a closed depot walk visiting all bridges has cost at least 2m2m. Thus, adding NηN\eta proves the claimed bound in both cases.

By Lemma 13 and (12), every unsplittable policy following σ\sigma satisfies

E[costun∣σ]≥6m−2−24m2N+Nη.(13)\mathbb{E}[\mathrm{cost}_{\mathrm{un}} \mid\sigma] \ge6m - 2 - \frac{24m^2}{N} + N\eta. \tag*{(13)}

Since this bound holds for every σ\sigma, it also holds after averaging over a randomized client order.

We now compare both lower bounds with the adaptive upper bound.

Theorem 4. For every ε>0\varepsilon> 0, there exists an instance on which every a priori or restocking policy has an approximation ratio relative to the adaptive optimum greater than 2−ε2-\varepsilon for splittable deliveries and 3−ε3 - \varepsilon for unsplittable deliveries. This holds even with randomized ordering and replenishment, and full knowledge of demands after the order is fixed.

Proof. Since N=m4N = m^4 and η=m−8\eta= m^{-8}, the ratios of the lower bounds in (11) and (13) to the upper bound in (9) tend to 2 and 3, respectively. Both lower bounds hold for every client order and every choice of replenishments, even if all demands are known after the order is fixed. Thus, choosing mm sufficiently large proves both claims on the same instance. □

Applications

Our matroid-parity construction is independent of the demand distributions. We apply it to several VRP variants with deterministic demands. For each variant, let opt⁡\operatorname{opt} denote its optimal solution value.

Capacitated Vehicle Routing

The CVRP is a special case of the VRPSD with deterministic positive demands. Thus, we immediately obtain randomized 2-approximation and 3-approximation algorithms for splittable and unsplittable deliveries, respectively. These algorithms can be derandomized in polynomial time by considering the O(n)O(n) distinct shortage patterns induced by the initial stock UU.

For unsplittable deliveries, given a TSP tour TT, Friggstad et al. [14] proposed an LP-based algorithm that computes in nO(1/ε)n^{O(1/\varepsilon)} time a solution of cost at most c(T)+(1+ε)ℓ(q)+ln⁡2opt⁡c(T) + (1 + \varepsilon)\ell(q) + \ln2\operatorname{opt}. By Lemmas 1 and 7, our tour satisfies c(T)≤2opt⁡−ℓ(q)c(T) \le2\operatorname{opt} - \ell(q). Since ℓ(q)≤opt⁡\ell(q) \le\operatorname{opt}, we obtain an approximation ratio of 2+ln⁡2+ε2 + \ln2 + \varepsilon.

Corollary 1. For any constant ε>0\varepsilon> 0, the CVRP admits 2-approximation and (2+ln⁡2+ε)(2 + \ln2 + \varepsilon)-approximation algorithms for splittable and unsplittable deliveries, respectively.

These results improve the previous approximation ratios of about 2.5−1/30002.5 - 1/3000 (Blauth et al., [5]) and 3.1593.159 (Ebert and Weismantel, [8]), respectively.

Remark 1. The above results are direct applications of our tour construction. This construction can also be combined with more refined algorithms, such as that of Zhao and Xiao [36], to further improve the approximation ratio for the unsplittable CVRP. We do not pursue such improvements here.

Multi-Depot Capacitated Vehicle Routing

The multi-depot VRP (MD-VRP) extends the CVRP to multiple depots DD, with input graph G=(V∪D,E)G=(V\cup D,E). The objective is to find a minimum-cost set of depot tours that serve all clients, with each tour starting and ending at the same depot.

By contracting all depots into a single depot rr and taking the metric closure, we obtain a graph G/DG/D with metric cost function cDc_D. Let opt⁡D\operatorname{opt}_D denote the optimal cost of the corresponding CVRP instance on G/DG/D, and define ℓD(q)=(2/Q)∑v∈VcD(r,v)qv\ell_D(q)=(2/Q)\sum_{v\in V}c_D(r,v)q_v. It holds that ℓD(q)≤opt⁡D≤opt⁡\ell_D(q)\le\operatorname{opt}_D\le\operatorname{opt} (Li and Simchi-Levi (1990)).

Given a TSP tour TT in G/DG/D, the tour-partition algorithm of Li and Simchi-Levi (1990) computes in polynomial time a solution of cost at most 2cD(T)+ℓD(q)2c_D(T)+\ell_D(q) for splittable deliveries and 2cD(T)+2ℓD(q)2c_D(T)+2\ell_D(q) for unsplittable deliveries. The tree-partition algorithm of Harks et al. [22] computes in polynomial time a solution of cost at most 2opt⁡D+2ℓD(q)2\operatorname{opt}_D+2\ell_D(q) for both variants.

By Lemmas 1 and 7, our TSP tour in G/DG/D satisfies cD(T)≤2opt⁡D−ℓD(q)c_D(T)\le2\operatorname{opt}_D-\ell_D(q).

Splittable case. Running the two partition algorithms yields a solution of cost at most

min⁡{4opt⁡D−ℓD(q),2opt⁡D+2ℓD(q)}≤103opt⁡D.\min\{4\operatorname{opt}_D-\ell_D(q),2\operatorname{opt}_D+2\ell_D(q)\}\le\frac{10}{3}\operatorname{opt}_D.

Since opt⁡D≤opt⁡\operatorname{opt}_D\le\operatorname{opt}, we obtain a 10/310/3-approximation algorithm for the splittable MD-VRP.

Unsplittable case. By applying the LP-rounding method of Friggstad et al. [14] to the tour-partition algorithm of Li and Simchi-Levi (1990) with any fixed 0<γ≤ln⁡20<\gamma\le\ln2, Zhao and Xiao [35] implicitly proved that the resulting LP-based tour-partition algorithm has cost at most 2cD(T)+(2e−γ+ε)ℓD(q)+γopt⁡2c_D(T)+(2e^{-\gamma}+\varepsilon)\ell_D(q)+\gamma\operatorname{opt}. Combining it with the tree-partition algorithm yields a solution of cost at most

min⁡{(4+γ)opt⁡+(2e−γ−2+ε)ℓD(q),2opt⁡+2ℓD(q)}.\min\{(4+\gamma)\operatorname{opt}+(2e^{-\gamma}-2+\varepsilon)\ell_D(q),2\operatorname{opt}+2\ell_D(q)\}.

Using ℓD(q)≤opt⁡\ell_D(q)\le\operatorname{opt} and choosing γ\gamma as the positive root of 2e−γ=3+γ2e^{-\gamma}=3+\gamma, we obtain an approximation ratio of at most 3.792 for sufficiently small ε\varepsilon.

Corollary 2. The MD-VRP admits 10/310/3-approximation and 3.792-approximation algorithms for splittable and unsplittable deliveries, respectively.

These results improve the previous approximation ratios of 3.9365 (Friggstad and Mömke [13]) for unit demands, and about 4−1/15004-1/1500 and 4−1/500004-1/50000 for splittable and unsplittable deliveries, respectively (Zhao and Xiao [35]).

Regret-Bounded Vehicle Routing and School Bus Problem

The (additive) regret-bounded VRP (RVRP) is defined on the same metric graph as the CVRP. Given R≥0R\ge0, the objective is to find a minimum number of paths starting at rr and covering all clients, such that the travel cost from rr to each client vv along its path is at most ρv+R\rho_v+R. For a path PP ending at tt, its regret is c(P)−ρtc(P)-\rho_t. By the triangle inequality, regret is nondecreasing along the path, so bounding the regret of PP by RR ensures the constraint for every client. If each route is additionally required to serve at most QQ clients, the problem is known as the school bus problem (SBP) [6].

For R=0R=0, the RVRP can be solved in polynomial time [15]. For R>0R>0, we modify the WGMP instance from § 3.2 by assigning each marker line for client vv weight 2R−4ρv2R-4\rho_v. We compute a minimum-weight parity basis of weight WW. As in Lemma 3, each component of the forest formed by the selected client lines has one depot spoke in G1G_1 and one marker endpoint. We keep the path from rr to this endpoint once and double the remaining edges. If pp marker lines are selected, then shortcutting yields m≤2pm\leq2p paths covering VV, without increasing their total regret. Let Δreg\Delta_{\mathrm{reg}} denote the total regret of these paths. Since each path from rr to its marker endpoint vv has cost at least ρv\rho_v by the triangle inequality, we obtain

Δreg≤2c(F∪Ed)−4∑v∈Vmρv=W−2pR⟹mR+Δreg≤W.\Delta_{\mathrm{reg}}\leq2c(F\cup E_d)-4\sum_{v\in V_m}\rho_v=W-2pR \quad\Longrightarrow\quad mR+\Delta_{\mathrm{reg}}\leq W.

To bound WW, consider an optimal RVRP solution with opt⁡\operatorname{opt} paths. We may assume that each client appears on exactly one path by shortcutting repeated clients. For each path PP ending at tt, we construct the corresponding lines using PP and the direct edge rtrt, as in Lemma 6. Their total weight is

2(c(P)+ρt)+2R−4ρt=2(c(P)−ρt)+2R≤4R.2(c(P)+\rho_t)+2R-4\rho_t=2(c(P)-\rho_t)+2R\leq4R.

Thus, W≤4Ropt⁡W\leq4R\operatorname{opt} and mR+Δreg≤4Ropt⁡mR+\Delta_{\mathrm{reg}}\leq4R\operatorname{opt}. Friggstad and Swamy (2014, Lemma 2.2) showed that these paths can be split into at most m+Δreg/R≤4opt⁡m+\Delta_{\mathrm{reg}}/R\leq4\operatorname{opt} paths, each with regret at most RR. Thus, we obtain a 4-approximation algorithm for the RVRP. Moreover, Bock et al. (2013, Lemma 1) showed that a ρ\rho-approximation algorithm for the RVRP yields a (ρ+1)(\rho+1)-approximation algorithm for the SBP.

Corollary 3. The RVRP and SBP admit 4-approximation and 5-approximation algorithms, respectively.

These results improve the previous approximation ratios of 10 and 11 for the RVRP and SBP, respectively [5].

Capacitated Arc Routing

The capacitated arc routing problem (CARP) is defined on a complete graph G=(V∪{r},E)G=(V\cup\{r\},E) with required edges E+E^+, where each e∈E+e\in E^+ has demand qe∈{1,…,Q}q_e\in\{1,\ldots,Q\}. The objective is to find a minimum-cost set of depot tours serving all required-edge demands, with each tour serving total demand at most QQ. Each required edge must be traversed and its entire demand served by one tour. In the unit-demand variant, qe=1q_e=1 for every e∈E+e\in E^+. We assume metric edge costs, since van Bevern et al. [31] showed that any approximation ratio for the metric CARP also holds for the general CARP. By taking separate copies of required-edge endpoints and removing vertices not incident to any required edge, we may assume that E+E^+ is a perfect matching on VV. We also let n=∣V∣n=|V|. Then, ∣E+∣=n/2|E^+|=n/2.

Let q=(qe)e∈E+\mathbf{q}=(q_e)_{e\in E^+} and ρv=c(r,v)\rho_v=c(r,v). For each e=uve=uv, define ηe=(ρu+c(e)+ρv)/2\eta_e=(\rho_u+c(e)+\rho_v)/2 and ℓE(q)=(2/Q)∑e∈E+qeηe\ell_E(\mathbf{q})=(2/Q)\sum_{e\in E^+}q_e\eta_e. It holds that ℓE(q)≤opt⁡\ell_E(\mathbf{q})\leq\operatorname{opt} [24].

We modify the WGMP instance from § 3.2, using two vertex-disjoint complete graphs G1,G2G_1,G_2 with vertex labels V∪{r1}V\cup\{r_1\} and V∪{r2}V\cup\{r_2\}, respectively. Each depot spoke in G1G_1 has n−1n-1 parallel copies. Client lines pair the corresponding edges xyxy in the two graphs, with weight 2c(x,y)2c(x,y). Depot lines pair the spokes r1x,r1yr_{1x}, r_{1y} in G1G_1, with weight 2ρx+2ρy2\rho_x + 2\rho_y. For each e=uv∈E+e = uv \in E^{+}, its marker line pairs r2u,r2vr_{2u}, r_{2v} and has weight 2c(e)−2ηe2c(e) - 2\eta_e.

The client line for ee and its marker line cannot both be selected, since their edges form a cycle in G2G_2. On the other hand, selecting all marker lines and the depot lines pairing required-edge endpoints forms a parity basis. We seek a minimum-weight parity basis that selects exactly one of the client line and marker line for each required edge. This can be achieved by reducing the weights of these two lines for each required edge by the same constant, larger than the sum of the absolute values of all original line weights. The weight reduction first maximizes the number of selected lines corresponding to required edges and then minimizes the original total weight. Since at most one line can be selected for each required edge and a parity basis selecting all marker lines exists, the resulting parity basis selects exactly one of these lines for each required edge and minimizes the original total weight among all such bases. Let WW denote its original total weight.

Let FF be the forest formed by the selected client lines, and let EdE_d be the selected depot spokes in G1G_1. As in Lemmas 3 and 4, for each required edge e=uve = uv whose marker line is selected, we add ee between its two forest components to form a depot cycle ZeZ_e. We keep each cycle once and double the remaining edges. Since c(Ze)≥ρu+c(e)+ρv=2ηec(Z_e) \ge\rho_u + c(e) + \rho_v = 2\eta_e by the triangle inequality, the resulting multigraph has cost at most WW. Every required edge is included, either in the forest or on an added cycle. Taking an Eulerian tour and shortcutting while retaining each required edge yields an rural postman problem (RPP) tour TT with c(T)≤Wc(T) \le W.

To bound WW, we apply the matching argument of Lemma 5, with required edges in place of clients and weights ηe\eta_e. This gives a partition PP of E+E^{+} and depot tours TBT_B traversing each assigned edge once. For each B∈PB \in P, choose eB∈Be_B \in B maximizing ηe\eta_e. Then,

∑B∈Pc(TB)≤opt⁡,2∑B∈PηeB≥ℓE(q).\sum_{B \in P} c(T_B) \le\operatorname{opt}, \qquad2\sum_{B \in P} \eta_{e_B} \ge\ell_E(q).

For each block BB, removing eBe_B from TBT_B leaves two depot-rooted paths. As in Lemma 6, their client and depot lines, together with the marker line for eBe_B, form a parity basis. This basis also selects exactly one of the client line and marker line for each required edge, so both bases have the same weight reduction. Hence,

c(T)≤W≤∑B∈P(2c(TB)−2ηeB)≤2opt⁡−ℓE(q).c(T) \le W \le\sum_{B \in P} \left(2c(T_B) - 2\eta_{e_B}\right) \le2\operatorname{opt} - \ell_E(q).

Given a RPP tour TT, the tour-partition algorithm of Jansen [24] computes in polynomial time a solution of cost at most c(T)+ℓE(q)c(T) + \ell_E(q) for the unit-demand variant and c(T)+2ℓE(q)c(T) + 2\ell_E(q) for the unsplittable variant.

Since our tour satisfies c(T)≤2opt⁡−ℓE(q)c(T) \le2\operatorname{opt} - \ell_E(q) and ℓE(q)≤opt⁡\ell_E(q) \le\operatorname{opt}, we obtain the following result.

Corollary 4. The CARP admits 2-approximation and 3-approximation algorithms for the unit-demand and unsplittable variants, respectively.

These results improve the previous approximation ratios of 2.5 and 3.5 for the unit-demand and unsplittable variants, respectively [24]. For unsplittable deliveries, we further apply the LP-rounding method of Friggstad et al. [14] to the tour-partition algorithm of Jansen [24]. We claim that this yields a solution of cost at most c(T)+(1+ε)ℓE(q)+ln⁡2⋅opt⁡c(T) + (1 + \varepsilon)\ell_E(q) + \ln2 \cdot\operatorname{opt}, improving the approximation ratio to 2+ln⁡2+ε2 + \ln2 + \varepsilon.

References

  1. [1]Altinkemer, K. and Gavish, B. (1987). Heuristics for unequal weight delivery problems with a fixed error guarantee. Oper. Res. Lett., 6(4):149–158.DOI
  2. [2]Altinkemer, K. and Gavish, B. (1990). Technical Note - Heuristics for delivery problems with constant error guarantees. Transp. Sci., 24(4):294–297.
  3. [3]Bertazzi, L. and Secomandi, N. (2020). Technical note—worst-case benefit of restocking for the vehicle routing problem with stochastic demands. Oper. Res., 68(3):671–675.DOI
  4. [4]Bertsimas, D. J. (1992). A vehicle routing problem with stochastic demand. Oper. Res., 40(3):574– 585.DOI
  5. [5]Blauth, J., Traub, V., and Vygen, J. (2023). Improving the approximation ratio for capacitated vehicle routing. Math. Program., 197(2):451–497.
  6. [6]Bock, A., Grant, E., Könemann, J., and Sanit̀a, L. (2013). The school bus problem on trees. Algorithmica, 67(1):49–64.
  7. [7]Christiansen, C. H. and Lysgaard, J. (2007). A branch-and-price algorithm for the capacitated vehicle routing problem with stochastic demands. Oper. Res. Lett., 35(6):773–781.DOI
  8. [8]Ebert, D. and Weismantel, L. (2026). Improved approximation for unsplittable cvrp via a greedy approach. arXiv Preprint.arxiv.org/abs/2609.16910
  9. [9]Florio, A. M., Feillet, D., Poggi, M., and Vidal, T. (2022). Vehicle routing with stochastic demands and partial reoptimization. Transp. Sci., 56(5):1393–1408.DOI
  10. [10]Florio, A. M., Gendreau, M., Hartl, R. F., Minner, S., and Vidal, T. (2023). Recent advances in vehicle routing with stochastic demands: Bayesian learning for correlated demands and elementary branch-price-and-cut. Eur. J. Oper. Res., 306(3):1081–1093.DOI
  11. [11]Florio, A. M., Hartl, R. F., and Minner, S. (2020a). New exact algorithm for the vehicle routing problem with stochastic demands. Transp. Sci., 54(4):1073–1090.DOI
  12. [12]Florio, A. M., Hartl, R. F., and Minner, S. (2020b). Optimal a priori tour and restocking policy for the single-vehicle routing problem with stochastic demands. Eur. J. Oper. Res., 285(1):172–182.
  13. [13]Friggstad, Z. and Mø mke, T. (2026). Approximating multiple-depot capacitated vehicle routing via LP rounding. In Proc. Conf. Integer Program. Comb. Optim. (IPCO), pages 112–127.
  14. [14]Friggstad, Z., Mousavi, R., Rahghoshay, M., and Salavatipour, M. R. (2025). Improved approximations for a CVRP with unsplittable demands. Math. Oper. Res.
  15. [15]Friggstad, Z. and Swamy, C. (2014). Approximation algorithms for regret-bounded vehicle routing and applications to distance-constrained vehicle routing. In Proc. ACM Symp. Theory Comput. (STOC), pages 744–753.
  16. [16]Gendreau, M., Jabali, O., and Rei, W. (2016). 50th anniversary invited article—future research directions in stochastic vehicle routing. Transp. Sci., 50(4):1163–1173.DOI
  17. [17]Gendreau, M., Laporte, G., and Séguin, R. (1996). Stochastic vehicle routing. Eur. J. Oper. Res., 88(1):3–12.DOI
  18. [18]Goodson, J. C., Ohlmann, J. W., and Thomas, B. W. (2013). Rollout policies for dynamic solutions to the multivehicle routing problem with stochastic demand and duration limits. Oper. Res., 61(1):138–154.DOI
  19. [19]Goodson, J. C., Thomas, B. W., and Ohlmann, J. W. (2016). Restocking-based rollout policies for the vehicle routing problem with stochastic demand and duration limits. Transp. Sci., 50(2):591–607.DOI
  20. [20]Gupta, A., Nagarajan, V., and Ravi, R. (2012). Technical Note - Approximation algorithms for VRP with stochastic demands. Oper. Res., 60(1):123–127.DOI
  21. [21]Haimovich, M. and Rinnooy Kan, A. H. G. (1985). Bounds and heuristics for capacitated routing problems. Math. Oper. Res., 10(4):527–542.DOI
  22. [22]Harks, T., König, F. G., and Matuschke, J. (2013). Approximation algorithms for capacitated location routing. Transp. Sci., 47(1):3–22.DOI
  23. [23]Iwata, S. and Kobayashi, Y. (2022). A weighted linear matroid parity algorithm. SIAM J. Comput., 51(2):STOC17–238–STOC17–280.
  24. [24]Jansen, K. (1993). Bounds for the general capacitated routing problem. Networks, 23(3):165–173.DOI
  25. [25]Laporte, G., Louveaux, F. V., and van Hamme, L. (2002). An integer L-shaped algorithm for the capacitated vehicle routing problem with stochastic demands. Oper. Res., 50(3):415–423.DOI
  26. [27]Louveaux, F. V. and Salazar-González, J.-J. (2018). Exact approach for the vehicle routing problem with stochastic demands and preventive returns. Transp. Sci., 52(6):1463–1478.DOI
  27. [28]Parada, L., Legault, R., Côté, J.-F., and Gendreau, M. (2024). A disaggregated integer L-shaped method for stochastic vehicle routing problems with monotonic recourse. Eur. J. Oper. Res., 318(2):520–533.DOI
  28. [29]Secomandi, N. (2001). A rollout policy for the vehicle routing problem with stochastic demands. Oper. Res., 49(5):796–802.DOI
  29. [30]Secomandi, N. and Margot, F. (2009). Reoptimization approaches for the vehicle-routing problem with stochastic demands. Oper. Res., 57(1):214–230.DOI
  30. [31]van Bevern, R., Hartung, S., Nichterlein, A., and Sorge, M. (2014). Constant-factor approximations for capacitated arc routing without triangle inequality. Oper. Res. Lett., 42(4):290–292.DOI
  31. [32]Yang, W.-H., Mathur, K., and Ballou, R. H. (2000). Stochastic vehicle routing problem with restocking. Transp. Sci., 34(1):99–112.DOI
  32. [33]Yee, J. R. and Golden, B. L. (1980). A note on determining operating strategies for probabilistic vehicle routing. Naval Res. Logist. Q., 27(1):159–163.DOI
  33. [34]Zhao, J. and Xiao, M. (2024). Approximation algorithms for cumulative vehicle routing with stochastic demands. In Proc. Int. Symp. Algorithms Comput. (ISAAC), pages 59:1–59:18.DOI
  34. [35]Zhao, J. and Xiao, M. (2025). Multidepot capacitated vehicle routing with improved approximation guarantees. Theor. Comput. Sci., 1043:115265.arxiv.org/abs/2308.14131
  35. [36]Zhao, J. and Xiao, M. (2026). Improved approximations for the unsplittable capacitated vehicle routing problem. arXiv Preprint, abs/2601.21660.

Paper details

vlnc:W_w27u6dyt
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 3

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents