arXiv:2610.41187cs.DSOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.41187

Multiple Swap Local Search Approximations for Uniform-Cost Capacitated Facility Location with Extensions to Outliers

Zachary Friggstad, Pengfei Wu

Abstract

We study CAPACITATED FACILITY LOCATION, a fundamental clustering problem, in the setting of uniform opening costs and non-uniform capacities. We give a polynomial-time (3+ε)(3+\varepsilon)-approximation for this problem. Our algorithm is a multiple-swap generalization of the local search algorithm by Dabas, Garg, and Gupta (2024), who obtained a 3.732-approximation. The main technical contribution is the analysis of this natural multiple-swap local-search method: variants of this approach have been analyzed previously, but allowing larger swaps requires new grouping and counting arguments. We also show that a multiple-swap local search algorithm provides a (3+ε)(3+\varepsilon)-approximation for CAPACITATED FACILITY LOCATION WITH OUTLIERS, again in the same setting of uniform opening costs and non-uniform capacities. This is an improvement over the 6.372-approximation, again by Dabas, Garg, and Gupta. Finally, we show that the factor 3 is tight for our local-search framework, and that the same multiple-swap idea does not improve the known locality gap for the non-uniform opening-cost setting.

1 Introduction

Facility location problems are among the most extensively studied models in operations research and clustering. At a high level, the goal is to place service providers and connect clients to these service providers while minimizing costs. In this paper, we focus on the case where each facility can only serve a limited number of clients. Specifically, in the CAPACITATED FACILITY LOCATION PROBLEM (CFL), we are given a finite collection of nn points VV that is partitioned into subsets VC⊆VV_C \subseteq V (the clients) and VF⊆VV_F \subseteq V (the facilities) along with metric distances d(i,j),i,j∈Vd(i,j), i,j \in V. Each i∈VFi \in V_F has an associated opening cost fi≥0f_i \geq 0 and capacity ui≥0u_i \geq 0.

The goal is to select some facilities S⊆VFS \subseteq V_F and an assignment σ:VC→S\sigma: V_C \to S satisfying ∣σ−1(i)∣≤ui|\sigma^{-1}(i)| \leq u_i for each i∈Si \in S while minimizing ∑i∈Sfi+∑j∈VCd(j,σ(j))\sum_{i \in S} f_i + \sum_{j \in V_C} d(j, \sigma(j)). That is, we want to minimize the cost of opening all facilities plus the cost of connecting clients to their prescribed facilities. We emphasize that we are only allowed to open each facility once, i.e. we consider the hard-capacitated setting.

For a given S⊆VFS \subseteq V_F, finding the cheapest assignment σ:VC→S\sigma: V_C \to S can be done in polynomial time by solving a minimum-cost transportation problem: throughout this paper we let σS\sigma_S denote any one particular minimum-cost assignment for SS. For brevity, for any S⊆FS \subseteq F we define

cost(S):={∑i∈Sfi+∑j∈VCd(j,σS(j))if ∑i∈Sui≥∣VC∣∞otherwise\mathrm{cost}(S):=\left\{\begin{array}{cc}\sum_{i \in S} f_i + \sum_{j \in V_C} d(j, \sigma_S(j)) & \text{if } \sum_{i \in S} u_i \geq |V_C| \\ \infty & \text{otherwise}\end{array}\right.

So, compactly, the goal is to find S⊆VFS \subseteq V_F minimizing cost(SS). Following a series of work on this problem (see Section 1.2), Bansal, Garg, and Gupta [4] gave the current-best approximation for CFL with an approximation guarantee of 5.

In this paper, we focus on the special case of CFL where all facilities have the same opening cost. That is, in CAPACITATED FACILITY LOCATION PROBLEM WITH UNIFORM OPENING COSTS (U-CFL) there is a single value ff such that fi=ff_i = f for each i∈VFi \in V_F. Prior to our work on this problem, the best approximation algorithm was a 3.732-approximation by Dabas, Garg, and Gupta [5] using a local search algorithm. We still consider non-uniform capacities, it is just the opening costs that are identical.

Finally, we also consider on the case where not all clients need to be connected in a solution. In the CAPACITATED FACILITY LOCATION WITH OUTLIERS problem, we are additionally given a value z≥0z \geq 0 indicating the number of outliers permitted by a solution. In a solution, we only need to connect ∣VC∣−z|V_C| - z clients to open facilities, the remaining clients are discarded at no cost. Note that given S⊆VFS \subseteq V_F, we can find cheapest assignment that assigns at least ∣VC∣−z|V_C| - z clients to SS in a capacity-respecting fashion in polynomial time, again by solving a minimum-cost transportation problem where we include a dummy node that can accept up to zz units of demand with no cost. Let ZS⊆VCZ_S \subseteq V_C be the clients that are discarded and σS:VC−ZS→S\sigma_S: V_C - Z_S \to S the assignment satisfying ∣σ−1(i)∣≤ui|\sigma^{-1}(i)| \leq u_i in the best solution for SS.

Again, we let cost(SS) denote the cost of the cheapest assignment that discards at most zz clients, it will be clear from the context when we are referring to the version of CFL with outliers and when we are not. Let U-CFL-O denote the variant of CFL with uniform opening costs and outliers. The best approximation for U-CFL-O prior to our work is a 6.372-approximation based on local search [5].