arXiv:2608.26337cs.DSAug 2026

Manuscript Offprint

arXiv:2608.26337

Buy-at-Bulk Facility Location on Trees

Shamisa Nematollahi, Daniel Vaz

Abstract

We consider the buy-at-bulk facility location problem (BBFL), a problem combining the classic facility location problem with buy-at-bulk network design, which finds motivation in telecommunication networks. In it, we are given a graph with edge lengths, opening costs and demands for each vertex, and a monotone and subadditive capacity-cost function, and our task is to open facilities on a subset of the vertices and route the demand from each vertex to these facilities. The cost of a solution (which we want to minimize) is given by the opening costs of the chosen facilities, plus the cost on each edge, which is given by its length times the cost of providing enough capacity for the demands through the edge, given by the capacity-cost function. A common variant of the problem, the k-cable facility location problem (kCFL), considers the case where capacity is provided by buying copies of given cable types, each with a certain capacity and cost.

We study BBFL on tree instances and show, for the unit-demand and splittable variants, that the problem admits a PTAS (a (1+ε)(1+\varepsilon)-approximation for any ε>0\varepsilon > 0). We also consider kCFL in the new setting of cable-unsplittable demands, where the demand of a vertex cannot be split among multiple cables. We show that the problem is NP-hard to approximate to a factor better than 3/2 on stars, and then provide an algorithm for tree instances that outputs a solution with optimal cost, but which exceeds the capacity on each cable by a factor of 1+ε1 + \varepsilon. As a consequence, we show that the problem has a 2-approximation algorithm on trees.

2012 ACM Subject Classification Theory of computation → Facility location and clustering; Theory of computation → Routing and network design problems

Keywords and phrases buy-at-bulk, facility location, PTAS, approximation algorithms

Related Version Conference version published at WAOA 2025, doi:10.1007/978-3-032-06706-7_12

Funding Shamisa Nematollahi: This work was funded by ANR project ANR-21-CE48-0016 (COM-COPT). Daniel Vaz: This work was supported by ANR project ANR-21-CE48-0022 (S-EX-AP-PEAL)

1 Introduction

The facility location problem is a classic in operations research, which concerns the placement of facilities to distribute goods or services so that the costs of delivery and installation of the facilities remain low. However, in cases such as telecommunication networks, the structure of the distribution network matters as much as the actual distances, as using common distribution trunks can vastly reduce the cost of distribution. This has led to connection costs being considered from a network design perspective, giving rise to a problem formulation that more closely considers its applications.

We consider one such formulation, the buy-at-bulk facility location (BBFL) problem, which combines the facility location and buy-at-bulk network design problems. In it, we have demands on the vertices of a graph, and we want to serve these demands using facilities. For this purpose, we must choose some vertices of the graph on which to open facilities and further install a network with enough capacity to support connecting all of the demands to an open facility. The buy-at-bulk name comes from the fact that the network has subadditive

Buy-at-Bulk Facility Location on Trees

costs: the installation cost is a unit-length cost of supporting a certain amount of demand, which is a monotone, sub-additive function of the total demand on the edge. For each edge, the cost is then given by the installation cost times the length of the edge.

Our goal in the buy-at-bulk facility location is to, given a graph with edge lengths, facility costs, vertex demands and an installation cost function, determine which facilities to open, and how to direct the demand of each vertex to an open facility, such that the total cost of open facilities and edges is minimized.

The most common version of the problem uses discrete cables to provide capacity, thus replacing the sub-additive installation cost function by the minimum cost of a configuration of cables that has capacity at least equal to the demand. To distinguish this setting from the general subadditive case, we call this version k-cable facility location (kCFL). The difference is formalized by adding k cable types to the input, each with a capacity μi\mu_i and a cost cic_i. When computing the solution, for each edge with a total demand of λ\lambda, we must choose how many copies of each cable to buy, such that the total capacity is at least λ\lambda; the installation cost is then the sum of the costs of each cable multiplied by the number of copies purchased.

The buy-at-bulk facility location problem was initially introduced by Meyerson et al. [30]. They established that BBFL is a specific instance of the more general Cost-Distance problem, and thus an O(log⁡n)O(\log n)-approximation algorithm follows (for unsplittable demands). For kCFL, Ravi and Sinha [32] improved the approximation factor to O(k)O(k). In the special case of a single cable type (k=1)(k = 1), which they call the capacitated-cable facility location problem, they show an approximation factor of ρUFL+ρST\rho_{\text{UFL}} + \rho_{\text{ST}} in the uniform-demand version of the problem, and 2ρUFL+ρST2\rho_{\text{UFL}} + \rho_{\text{ST}} for non-uniform unsplittable demands, where ρUFL=1.488\rho_{\text{UFL}} = 1.488 [27] and ρST=1.39\rho_{\text{ST}} = 1.39 [10] denote the best-known approximation ratios for the uncapacitated facility location and Steiner tree problems respectively. kCFL (for general kk) and BBFL are known to be NP-hard even on a single edge, as kCFL models the knapsack problem [28].

We focus on studying the approximability of the problem from the ground up, starting with simple instances. For this reason, this work focuses on tree graphs, and on optimizing the approximation ratio under different problem variants. Trees are simple graphs, where techniques can first be studied to obtain near-optimal approximation algorithms (PTAS), and often provide techniques that generalize to other settings. In particular, many network design and operations research problems are NP-hard on trees, with some having PTAS or good approximations, while others are hard to approximate even on trees.

We consider the BBFL problem in the splittable demand setting, in which the demand of each vertex can be split into parts that head to different facilities, and give a PTAS for the problem, which similarly implies a PTAS for kCFL.

▶ Theorem 1.1. There is a PTAS for the BBFL problem on trees with splittable demands that runs in time f(ε)⋅poly(n)f(\varepsilon) \cdot \text{poly}(n).

▶ Corollary 1.2. There is a PTAS for the kCFL problem on trees with splittable demands that runs in time f(ε)⋅poly(n,k)f(\varepsilon) \cdot \text{poly}(n, k).

We then move on to studying kCFL under a setting that is, as far as we know, novel: using the formulation of the problem as buying cables, we consider the cable-unsplittable setting, where the demands passing through an edge must be partitioned into the cables that are installed on that edge, that is, each demand must be assigned to a single cable on each edge, and cannot be split into multiple cables. This is a natural setting when we consider that the “cables” in the problem can represent trucks or other discrete containers, and a demand, which can represent a package, is indivisible and thus confined to a single container. In these scenarios, repacking or splitting demands at intermediate nodes is either operationally expensive, technologically infeasible, or not allowed by design.

We show that this problem is APX-hard, as it cannot be approximated to a factor better than 3/2, even when the input graph is a star.

▶ Theorem 1.3. kCFL is APX-hard when the input graph is a star and k=1k = 1. In particular, it is NP-hard to approximate the problem to a factor of 3/2−ε3/2 - \varepsilon for any ε>0\varepsilon > 0.

We then show that, by allowing our solution to slightly overload the cables (exceeding the capacity by a factor of 1+ε1 + \varepsilon), we can compute a solution with optimum cost:

▶ Theorem 1.4. For any ε>0\varepsilon > 0, there is an algorithm for the kCFL problem on trees with cable-unsplittable demands that computes a solution with optimum cost but exceeds cable capacities by a factor of at most 1+ε1 + \varepsilon; the algorithm runs in time nk⋅f(ε)n^{k \cdot f(\varepsilon)}.

As a consequence, we show that we can obtain a 2-approximation for the problem:

▶ Theorem 1.5. There is a 2-approximation algorithm for the kCFL problem on trees with cable-unsplittable demands that runs in time nO(k)n^{O(k)}.

We start by presenting the formal problem definitions, as well as the connection between BBFL and kCFL in Section 2. We then present the results for the splittable demand setting in Section 3, starting with a warm-up on paths to better explain the ideas of the algorithm (Section 3.1). Finally, we present the results for the cable-unsplittable setting of kCFL in Section 4, which for simplicity we consider in the single-cable setting (Section 4.1); then we give the details on multiple cable types in Section 4.2.

We present a short technical overview at the beginning of each section, in particular Sections 3 and 3.1 for the first setting and Sections 4 and 4.1 for the second. We defer technical proofs to Section 5, though we try to give a sketch of the arguments when important.

References (32)