Contents

On Tight FPT Time Approximation Algorithms for k-Clustering Problems

The project

Showcase

All papers

Han Dai, Shi Li and Sijin Peng

ICALP 2026 (LIPIcs, vol. 374)DOI 10.4230/LIPIcs.ICALP.2026.72Theoretical computer science: Algorithms, complexity and games

  • article
  • fullpage
  • multicol
  • enumerate
  • setspace

CC BY 4.0, published at drops.dagstuhl.de. “On Tight FPT Time Approximation Algorithms for k-Clustering Problems” by Han Dai, Shi Li, Sijin Peng, arXiv:2512.04614v2 (published in ICALP 2026, LIPIcs vol. 374, 10.4230/LIPIcs.ICALP.2026.72). Licensed under CC BY 4.0. Typeset here by reflowtex from the authors' source.

On Tight FPT Time Approximation Algorithms for k-Clustering Problems

Han Dai ∗ School of Computer Science, Nanjing University, Nanjing, Jiangsu Province, China. handai@smail.nju.edu.cn Shi Li ∗ School of Computer Science, Nanjing University, Nanjing, Jiangsu Province, China. shili@nju.edu.cn Sijin Peng CSAIL, Massachusetts Institute of Technology, Cambridge, MA, United States. sijinp@mit.edu

Abstract

Following recent advances in combining approximation algorithms with fixed-parameter tractability (FPT), we study FPT-time approximation algorithms for minimum-norm k-clustering problems, parameterized by the number k of open facilities.

For the capacitated setting, we give a tight (3 + ϵ)-approximation for the general-norm capacitated k-clustering problem in FPT-time parameterized by k and ϵ. Prior to our work, such a result was only known for the capacitated k-median problem [31]. As a special case, our result yields an FPT-time 3-approximation for capacitated k-center. The problem has not been studied in the FPT-time setting, with the previous best known polynomial-time approximation ratio being 9 [6].

In the uncapacitated setting, we consider the top-cn norm k-clustering problem, where the goal of the problem is to minimize the top-cn norm of the connection distance vector. Our main result is a tight 1 + 2 ec + ϵ-approximation algorithm for the problem with c ∈ 1 e , 1. (For the case c ≤ 1 e , there is a simple tight (3 + ϵ)-approximation.) Our framework can be easily extended to give a tight 3, 1 + 2 e + ϵ-bicriteria approximation for the (k-center, k-median) problem in FPT time, improving the previous best polynomial-time (4, 8) guarantee [5].

All results are based on a unified framework: computing a (1 + ϵ)-approximate solution using O k log n ϵ facilities S via LP rounding, sampling a few client representatives R based on the solution S, guessing a few pivots from S ∪ R and some radius information on the pivots, and solving the problem using the guesses. We believe this framework can lead to further results on k-clustering problems.

1 Introduction

In the supplier setting of clustering problems, we are given a set F of facilities, a set C of n clients, a metric d over F ∪ C, and a non-negative integer k. The objective is to open a set S ⊆ F of k facilities and assign each client to an open facility, so as to minimize some function on the connection distances. Chakrabarty and Swamy [18] introduced the minimum-norm k-clustering problem, where the goal is to minimize a monotone symmetric norm f : RC≥0 → R≥0 applied to the connection distances. Specifically, the objective is to find a set S ⊆ F of k facilities so as to minimize f((d(j, S))j∈C), where d(j, S) := mini∈S d(j, i).

When the norm f is L∞, L1 or L2 norm, the problem respectively corresponds to the well-known k-supplier-center, k-median and metric k-means1 problems. These problems have been extensively studied in the literature [4, 21, 15, 46, 41, 27, 36, 34, 49, 26, 37, 40, 53]. The best known approximation ratios for the three problems are respectively 3 [60], 2 + ϵ [28] and 6.357 [4], while the known hardness of approximation bounds are 3, 1 + 2 e and 1 + 8 e [47, 44].

1The objective of the metric k-means problem is to minimize the sum of squared distances, which is equivalent to minimize the L2 norm.

Two other important classes of monotone symmetric norms studied in the literature are the top-ℓ norms and ordered norms. For any ℓ ∈ [n], the top-ℓ norm of v ∈ Rn≥0 is the sum of ℓ largest coordinates of v. An ordered norm is a non-negative linear combination of several top-ℓ norms. The clustering problem with this objective is called the ordered k-median problem. Independently, Byrka, Sornat, and Spoerhase [17] and Chakrabarty and Swamy [18] gave the first constant-factor approximation algorithms for ordered k-median. The approximation ratio was subsequently improved by Chakrabarty and Swamy [19] to 5 + ϵ.

Another aspect that naturally arises in clustering problems is the presence of facility capacities. In the supplier setting, a facility may not be able to serve too many clients. In clustering applications, there may be upper bounds on the sizes of clusters. In the minimum-norm capacitated k-clustering problem, each facility i ∈ F is additionally given a capacity ui ∈ Z>0. In a feasible solution, every facility i ∈ S can serve at most ui clients. Formally, we need to output a set S ⊆ F of k facilities and an assignment vector σ ∈ SC such that |σ−1(i)| ≤ ui for every i ∈ S, so as to minimize f(d(j, σj)j∈C).

The main problems that have been studied in the capacitated setting are the capacitated k-center and capacitated k-median problems. For capacitated k-center, the current best approximation ratio is 9, due to [6], which improves upon the earlier O(1)-approximation of Cygan, Hajiaghayi and Khuller [32]. When capacities are uniform, a better approximation ratio of 6 is known [10, 52]. In contrast, the approximation status of the capacitated k-median problem is less satisfactory. Many O(1) bicriteria approximation algorithms are known, which either violate the limit k on the number of open facilities [1] or the capacity constraints [25, 54, 13]. In both settings, the violation factor can be reduced to 1 + ϵ [56, 55, 16, 33]. For true approximation algorithms, the folklore result of O(log n)-distortion embedding of any n-point metric into a distribution of HST metrics [35] leads to an O(log n)-approximation for the problem. This ratio was improved to O(log k) by Adamczyk, Byrka, Marcinkowski, Meesum and Wlodarczyk [3], who applied the HST embedding technique, but on a k-point metric obtained by considering the k-center objective. This remains the current best approximation ratio for the capacitated k-median problem, and obtaining a true O(1)-approximation for this problem—without any violation—remains a notorious open question.

Recently, combining paradigms of approximation algorithms and Fixed-Parameter-Tractability (FPT) has led to exciting new results, especially for problems where the improvement on polynomial time approximation algorithms has stalled, including many clustering problems. In many clustering applications, k is a small number, allowing us to have a running time of the form g(k) · nO(1), where g is a function only of k. Such a running time is called FPT time, parameterized by k.

Cohen-Addad, Gupta, Kumar, Lee and Li [30] studied the k-median and metric k-means problems in FPT time, obtaining approximation factors of 1 + 2 e + ϵ and 1 + 8 e + ϵ respectively. On the negative side, these approximation factors are tight in FPT time under the assumption FPT = W[1] [30]. For the capacitated k-median problem, Cohen-Addad and Li [31] developed a tight 3-approximation in FPT time. More recently, Abbasi, Banerjee, Byrka, Chalermsook, Gadekar, Khodamoradi, Marx, Sharma, and Spoerhase [2] proposed an Efficient Parameterized Approximation Scheme (EPAS) for the minimum-norm k-clustering problem on metrics with bounded ϵ-scatter dimension, which include Euclidean metrics, metrics of bounded doubling dimension and planar metrics. This scheme achieves a (1 + ϵ)-approximation in g(k, ϵ) · poly(n) time, for some function g on k and ϵ.

Goyal and Jaiswal [42] studied FPT time approximation algorithms for a family of constrained clustering problems, with the objective of minimizing the z-th power of the maximum connection distance for any z > 0. A main constraint they consider is the cluster-size constraint: we are given k size bounds r1, r2, · · · , rk ≥ 0, and the partition (O1, O2, · · · , Ok) of clients must satisfy |O1| ≤ r1, |O2| ≤ r2, · · · , |Ok| ≤ rk (the partition can be arbitrarily permuted). They also considered many other constraints such as lower bounds on cluster sizes, color constraints, and fault-tolerant requirements. They developed a general FPT-time framework for these problems that achieve an approximation ratio of 2z for k-center-type problems (where facilities can be put anywhere in the metric), and 3z for k-supplier-type problems (where facilities can only be put at specified locations). Both ratios were shown to be tight under GAP-ETH.

In particular, the problem most closely related to the capacitated k-center problem we study is the r-capacity k-supplier problem. The goal is to find a clustering of clients satisfying the cluster-size constraint and choose a facility for each cluster, so as to minimize the maximum connection distance. When all size bounds r1, r2, · · · , rk are the same, the problem reduces to the soft and uniform capacitated k-center problem where each facility i has capacity ui = r1. However, as noted in [42], for general (non-uniform) size bounds, there is no easy reduction between the two problems, since one imposes capacities on clusters whereas the other imposes capacities on facilities.

1.1 Our Results

Following this line of research, we study approximation algorithms for k-clustering problems in FPT time, with k being the parameter.

Our first result is a (3 + ϵ)-approximation algorithm for the minimum-norm capacitated k-clustering problem in FPT time parameterized by k and ϵ.

Theorem 1.1. For any ϵ > 0, there is a (3 + ϵ)-approximation algorithm for the minimum-norm capacitated k-clustering problem, that runs in time g(k, ϵ) · poly(n), where g is a computable function depending on k and ϵ.

In particular, this implies

Corollary 1.2. There is a 3-approximation algorithm for the capacitated k-center problem, that runs in time g(k) · poly(n), where g is a computable function depending on k. 2

2For the k-center objective, 3 + ϵ can be reduced to 3. By guessing and scaling distances, we can assume the optimum value is 1. Changing the distance d(i, j) to ⌈d(i, j)⌉ does not change the optimum solution of the instance. For such an instance, a (3 + ϵ)-approximation is a 3-approximation if ϵ < 1.

To the best of our knowledge, the result was previously only known for capacitated k-median [31]. In particular, it was not known even for the capacitated k-center problem with general capacities. The best known approximation ratio for the problem remains 9, achieved by a polynomial time algorithm due to [6]. Our result gives a 3-approximation in FPT time. This is tight under the assumption that FPT = W[1], even for the (uncapacitated) k-supplier center problem.

We then turn to the uncapacitated setting. Our main focus is the top-cn norm for a constant c ∈ (0, 1]. (The problem can be refered to as the cn-centrum problem in the literature.) On the negative side, the problem is hard to approximate within a factor better than min{3, 1 + 2 ec} in FPT time, assuming FPT = W[1] [59]. We complement this with a matching positive result:

Theorem 1.3. For any ϵ > 0, there is a min 3, 1 + 2 ec + ϵ-approximation algorithm for the top-cn norm k-clustering problem with running time k ϵ O(k) · nO(1).

The theorem suggests that considering the top-ℓ norm for ℓ = cn is appropriate, as the approximation ratio is a function of ℓ n. The negative result implies that if ℓ n < 1 e + ϵ, then the problem is hard to approximate within a factor better than 3 even in FPT time, assuming FPT = W[1]. On the other hand, achieving a (3 + ϵ)-approximation for minimum-norm k-clustering in FPT time is easy (See Corollary 2.10).

Finally, we show that the framework can be easily extended to give a (3, 1 + 2 e + ϵ)-bi-criteria approximation for the clustering problem with both k-center and k-median objectives. This was introduced by Alamdari and Shmoys [5], who gave a polynomial-time (4, 8)-approximation. We improve the bi-criteria approximation factors to (3, 1 + 2 e + ϵ), albeit with FPT time. Indeed, our result works for the more general top-cn norm. See Section E for formal definitions used in the theorem:

Theorem 1.4. For a constant ϵ > 0, there is a 3, min 3, 1 + 2 ec + ϵ-bi-criteria approximation algorithm for the (L∞, top-cn)-norms k-clustering problem, with running time k ϵ O(k) · poly(n).

1.2 Our Techniques

Overview of FPT Time (3 + ϵ)-Approximation for Minimum-Norm Capacitated k-Clustering In the overview, we mainly focus on the top-ℓ norm capacitated k-clustering problem, as it already captures the essence of our algorithm. The problem generalizes both capacitated k-center (with ℓ = 1) and capacitated k-median (with ℓ = n). Letting ℓ go from 1 to n gives a smooth transition from the k-center to the k-median objective. Therefore, we need to achieve (3 + ϵ)-approximation algorithms for both extreme cases while unifying their key ideas to handle the general ℓ case.

Our FPT time 3-approximation for capacitated k-center is new, and we sketch the intuition. For simplicity, we first focus on the soft-capacitated setting, where facilities may be opened multiple times. (The total number of open facilities, counting multiplicities, remains k.)

By guessing the optimum value, scaling and rounding distances, we can assume all distances are integers and the optimum value is 1. We construct a solution S with cost 1 and O(k log n) open facilities that respect the capacity constraints; this can be easiliy obtained via LP rounding. For each facility in S, we sample O (log n) clients connected to it.

For an optimum cluster (i∗, J), i∗ is the open facility and J is the assigned clients. If every j ∈ J is connected to a facility i with ui ≤ |J| in the solution S, then with high probability, some client in J will be sampled. This sampled client j can then serve as a pivot for the cluster: we open the facility with the largest capacity within distance at most 1 of j.

On the other hand, if some j ∈ J is connected to a facility i ∈ S with capacity ui > |J|, then we can directly use i as a replacement for i∗. In either case, by guessing, we can identify a facility i ∈ S with ui ≥ |J| and d(i, i∗) ≤ 2, which leads to a 3-approximation.

The hard-capacitated case can be addressed using the coloring idea [31], along with additional care. By guessing a coloring function, we can ensure with reasonable probability that the optimum facilities have distinct colors, which can be used to guide our selection of facilities. We have a stricter condition for the second case above: We require that i ∈ S has capacity ui ≥ k|J| so that i have enough capacity to serve k clusters in the optimum solution. We also need to take care of the case where an optimum facility also appears in S.

Our algorithm for the top-ℓ norm needs to capture an FPT time (3 + ϵ)-approximation for capacitated k-median. Such an algorithm was known [31]. It relies on the coreset technique, which has been extensively studied in the literature [12, 11, 48, 23, 24, 38]. However, the technique is based on sampling and only works well when ℓ = Ω(n). This makes the algorithm hard to combine with the k-center objective. Instead, we use an alternative (3 + ϵ)-approximation for capacitated k-median that avoids coresets.

We obtain a (1 + ϵ)-approximation for the problem using O(k log n ϵ ) facilities S. We sample a few clients from each cluster in solution S. Additionally, we sample a few clients in C, with probabilities proportional to their costs in S. If for an optimum cluster (i∗, J), the total cost of J in the solution S is large, we likely sampled a “good” client in J, which can serve as a pivot. Otherwise, the total cost of J in the solution S can be essentially ignored, and some facility with large enough capacity in S can be used to replace i. Again, extra-care is needed to handle hard capacities.

To unify the approaches for both the capacitated k-center and k-median problems, we guess the ℓ-th largest connection distance t in the optimum solution. The top-ℓ norm of the optimum distance vector v ∈ RC≥0 is ℓt + j∈C(vj − t)+. At a very high level, we treat the ℓt term as the k-center component, and the j∈C(vj − t)+ term as the k-median component. Our algorithm combines the techniques to handle these two parts effectively.

To extend the idea to a general monotone symmetric norm f, we apply the above idea for all distances t that is an integer power of 1 + ϵ. This will bound the top-ℓ norm cost of the solution, for every ℓ ∈ [0, n]. Every symmetric norm is the maximum of many order norms, which in turn is a non-negative linear combination of top-ℓ norms [18]. Therefore, a bound on the top-ℓ norms leads to a bound on the f-norm. This proves Theorem 1.1. This technique has been used in the literature for many other problems [61, 7].

Overview of 1 + 2 ce + ϵ-Approximation for Top-cn Norm (Uncapacitated) k-Clustering Problem for c ∈ (1 e , 1] To describe our algorithm, we first give an overview of the (1 + 2 e )-approximation for k-median in FPT time by [30]. By using the coreset technique, one can assume that the set of clients is located in only Ok log n ϵ positions. Given a cluster (i∗, J) in the optimum clustering C, a leader of the cluster is defined as the client in J that is nearest to i∗.

The algorithm proceeds by guessing the k leaders and the approximate distances of the leaders to their respective centers. With this information, a (1 + 2 e )-approximation can be obtained via submodular maximization. Roughly speaking, we consider a ball centered at each leader, with the radius equal to the guessed distance to its center. Ensuring that every ball contains one facility yields a cost of 3 · opt. Choosing the optimum facilities within these balls improves the cost by 2 · opt. The goal then becomes maximizing this improvement, which can be cast as a submodular maximization problem under a partition matroid constraint. The standard (1 − 1 e )-approximation ratio for submodular maximization translates into an approximation ratio of 3 − 2(1 − 1 e ) = 1 + 2 e for k-median.

To generalize this approach to the top-cn setting, we modify the algorithm in two ways. First, one would need to construct a coreset for the top-cn objective. We believe this is possible for any constant c ∈ (0, 1); however, we instead adopt an alternative approach that is similar to our algorithm in the capacitated setting and avoids the use of coresets. We obtain a bi-criteria (1 + ϵ)-approximation for the problem by opening Ok log n ϵ facilities S. We sample a few clients R with probability proportional to their costs in S, and then guess a set of k pivots from R ∪ S. Pivots play a role similar to leaders but can be any points in the metric space, not necessarily the clients in the respective optimum clusters. With reasonable probability, when the guesses are correct, the pivots have the desired property that leaders have.

The second modification is essential. With the top-cn cost, the improvement function is no longer submodular. Instead, we use an LP-based approach to construct the set of centers. A useful notion here is the occurrence time vector of a cost vector: in such a vector δ, δt represents the number of times distance t occurs in the cost vector. We naturally allow occurrence times to be fractional. We then formulate an LP relaxation that uses the pivot and radius information, with the objective of minimizing the top-cn cost of the occurrence time vector δ.

We design a randomized rounding algorithm such that, in expectation, the occurrence time vector of the integral solution is no worse than (1 − 1 e )δ + 1 e (δ ⊗ 3), where δ ⊗ 3 denotes the vector obtained from δ by scaling all distances by a factor of 3. We bound the ratio of the top-cn cost of the vector to that of δ. The worst-case scenario arises when the cost vector is the all-one vector, i.e., when the occurrence time vector has distance 1 appearing n times and all other distances appearing zero times. This yields a bound of 1 + 2 ec. Finally, using the occurrence time representation, the top-cn function is concave, leading to an overall approximation ratio of 1 + 2 ec + ϵ. This proves Theorem 1.3.

A simple modification to the algorithm can handle the L∞ norm, and simultaneously provide a 3-approximation for it, proving Theorem 1.4.

1.3 Other Related Work

For the k-supplier-center problem, the special case where F = C has been studied more in the literature and is simply known as the k-center problem. Simple greedy algorithms achieve 2 and 3-approximations for the k-center and k-supplier-center problems respectively [46, 60]. They are the best possible for the two problems assuming P = NP.

Charikar, Guha, Tardos, and Shmoys [22] gave the first constant factor approximation algorithms for the k-median problem, which is a 623-approximation based on LP rounding. Since then, there has been a long line of work aiming at improving the approximation ratio [8, 14, 21, 29]. In a recent milestone result, Cohen-Addad, Grandoni, Lee, Schwiegelshohn and Svensson [28], using the Lagrangian Multiplier Preserving (LMP) 2-approximation for the uncapacitated facility location problem due to Jain and Vazirani [50], together with a novel framework for converting this algorithm into one for k-median with only a loss of 1 + ϵ in the approximation ratio.

For the metric k-means problem, Gupta and Tangwongsan [45] provided the first O(1)-approximation, which is a 16-approximation based on local search. This factor was later improved by [4] to 9 + ϵ. Recently, Charikar, Cohen-Addad, Gao, Grandoni, Lee and Wijland [20] gave a 3 + √2 + ϵ-approximation algorithm, improving previous work. A more commonly used variant in unsupervised machine learning, which is simply referred to as the k-means problem, considers the case where C ⊆ F = Rℓ and d is the Euclidean metric. A widely used heuristic for the problem is Lloyd’s algorithm [58]. For k-means, [51] gave a (9 + ϵ)-approximation algorithm, which was improved to 6.357 by [4].

For the capacitated k-median problem, there is a line of work that provides polynomial time bi-criteria approximation algorithms, which either violate the number k of open facilities [1], or the capacity constraints [25, 54, 13]. These algorithms are based on the natural LP relaxation for the problem. There are gap instances showing that, in order to obtain an O(1)-approximation, the violation factors for the number of open facilities and the capacities constraints must be at least 2. This barrier was overcome by Li [56], who gave an O(1)-approximation for the problem with uniform capacities by opening (1 + ϵ)k facilities, using a stronger LP relaxation. This result has since been generalized to the non-uniform setting [55]. For O(1)-approximations with capacity violations, the violation factor has also been reduced to (1 + ϵ) in both the uniform-capacitated [16] and non-uniform capacitated [33] versions of the problem.

Adamczyk, Byrka, Marcinkowski, Meesum and Wlodarczyk [3] gave a (7 + ϵ)-approximation for the capacitated k-median problem in FPT time, which is the first O(1)-approximation for the problem in the FPT setting. This approximation factor was later improved to 3 + ϵ by [31], who also provided a (1 + ϵ)-approximation for the problem in Euclidean spaces of arbitrary dimensions. Both algorithms run in FPT time. [62] presented an FPT-time (69 + ϵ)-approximation algorithm for the hard-capacitated k-means problem in Euclidean spaces. Some other variants of k-clustering problems in the FPT-time region were also studied [43, 39, 9]. Recently, Liu, Chen and Xu [57] studied the uniform capacitated k-supplier problem in FPT time and obtained a 5-approximation algorithm.

Organization In Section 2, we give some preliminaries. In Section 3, we give the (3 + ϵ)-approximation for the minimum-norm capacitated k-clustering problem in FPT time, proving Theorem 1.1. In Section 4, we give the tight min 1 + 2 ec, 3 + ϵ-approximation algorithm for the top-cn norm k-clustering problem, proving Theorem 1.3. All missing proofs can be found in the appendix; in particular, we defer the proof of Theorem 1.4 to Appendix E.

2 Preliminaries

For any a ∈ R, we let (a)+ = max{a, 0}. For every real-valued vector y over some domain U and any S ⊆ U, we let y(S) := i∈S yi, unless otherwise defined.

Given a metric space (V, d), v ∈ V and S ⊆ V, we define d(v, S) := mini∈S d(v, i) to be the distance from v to the set S. For any subset U ⊆ V, v ∈ V and r ≥ 0, we define ballU(v, r) := {u ∈ U : d(u, v) ≤ r} to be the set of points in U with distance at most r to v.

2.1 Norms

Definition 2.1 (Norms). A function f : Rn≥0 → R≥0 is a norm, if it satisfies the following 3 properties:

(2.1a) f(x) = 0 iff x = 0 (non-negativity).

(2.1b) For any x ∈ Rn≥0, λ ∈ R≥0, we have f(λx) = λf(x) (homogeneity).

(2.1c) For any x, y ∈ Rn≥0, we have f(x + y) ≤ f(x) + f(y) (subadditivity).

For a norm f, we shall also use |x|f to denote f(x), the f-norm of the vector x.

Definition 2.2 (Monotone and Symmetric Norms). A norm f : Rn≥0 → R≥0 is said to be monotone, if for any x, y ∈ Rn≥0 satisfying x ≤ y, we have f(x) ≤ f(y). It is said to be symmetric, if for any x ∈ Rn≥0, and any permutation matrix A ∈ {0, 1}n×n, we have f(x) = f(Ax).

Here are some common monotone symmetric norms studied in the literature:

• Lp norms, p ≥ 1: Lp(x) := nj=1 xpj1/p , ∀x ∈ Rn≥0. We also use |x|p for Lp(x).

• L∞ norm: L∞(x) := maxj∈[n] xj, ∀x ∈ Rn≥0. We also use |x|∞ for L∞(x).

• Top-ℓ norm, ℓ ∈ [0, n] is a real: |x|top-ℓ for any x ∈ Rn≥0 is the maximum of αTx over all α ∈ [0, 1]n satisfying |α|1 = ℓ. When ℓ is an integer, xtop-ℓ is the sum of the ℓ largest coordinates in x. In this paper, we shall allow ℓ to take fractional values. Notice that top-1 ≡ L∞ and top-n ≡ L1.

• Ordered norms: This is a non-negative linear combination of top-ℓ norms, for different values of ℓ. See the following definition.

Definition 2.3 (Ordered norms). Given a non-negative and non-increasing weight vector w = (w1, . . . , wn). The w-ordered norm of any vector x ∈ Rn≥0, denoted as |x|w-ordered, is defined as follows:

|x|w-ordered := n i=1 wix↓i,

where x↓i is the i-th largest value in {x1, x2, · · · , xn} (counting multiplicities).

The following folklore lemma is useful when analyzing top-ℓ norms:

Lemma 2.4. For any x ∈ Rn≥0, we have |x|top-ℓ = mint≥0 nj=1(xj − t)+ + ℓt. Moreover, the minimum is achieved when t is the ℓ-th largest coordinate in x.

The following observation is easy to see:

Observation 2.5. Given a non-negative and non-increasing weight vector w = (w1, . . . , wn). Let wn+1 = 0. Then for any x ∈ Rn≥0, we have |x|w-ordered = nℓ=1(wℓ − wℓ+1) · |x|top-ℓ.

Any monotone symmetric norm can be expressed as the maximum of ordered norms [18]:

Lemma 2.6 ([18]). Let f : Rn≥0 → R≥0 be a monotone symmetric norm. There exists a closed set W of non-increasing vectors in Rn≥0, such that for any x ∈ Rn≥0, we have

|x|f = max w∈W |x|w-ordered = max w∈W n ℓ=1 (wℓ − wℓ+1)|x|top-ℓ.

2.2 Definitions of Problems

Definition 2.7 (Minimum-Norm k-Clustering). Let f : Rn≥0 → R≥0 be a monotone symmetric norm. In the Minimum-Norm k-Clustering problem under f-norm, we are given a set F of facilities, a set C of n clients, a positive integer k ≤ |F|, and a metric space (F ⊎ C, d) over F ⊎ C. The goal of the problem is to find a set S ⊆ F with |S| = k so as to minimize f(d(j, S))j∈C.

When f are the L∞, L1 and L2 norms, the problem becomes k-supplier-center, k-median and metric k-means problems respectively.

Definition 2.8 (Minimum-Norm Capacitated k-Clustering). Let f : Rn≥0 → R≥0 be a monotone symmetric norm. In the Minimum-Norm Capacitated k-Clustering problem under f-norm, we are given F, C, n, k and d as in Definition 2.7. Additionally, we are given a capacity ui ∈ Z≥0 for every i ∈ F. The goal of the problem is to find a set S ⊆ F with |S| = k, and an assignment vector σ ∈ SC such that |σ−1(i)| ≤ ui for every i ∈ S, so as to minimize f(d(j, σj))j∈C.

When f are the L∞ and L1 norms, the problem becomes capacitated k-center3 and capacitated k-median respectively.

3In the literature, capacitated k-center refers to the problem where F and C can be unrelated, instead of the problem where F = C.

Throughout the paper, we assume we are given an efficient oracle for the norm f. We can assume distances are either ∞ or integers in [0, poly(n)], by losing a factor of 1 + ϵ in the approximation ratio. See Appendix A. As is typical, we do sampling and make guesses during our algorithms. When analyzing the algorithm, we define the conditions for the sampling steps being successful, and the correct answers for all the guesses. In the actual algorithm, we have to enumerate all possibilities for the guesses. It suffices for our algorithm to succeed with 1 g(k,ϵ)poly(n) probability, as we can repeat it many times and output the best solution generated, to increase the probability to 1 − 1/poly(n). For the guessing and repetition to be feasible, it is required that we can compute the cost of the constructed solutions. For most natural norms, the optimal assignment σ, and thus the minimum cost, can be computed efficiently given the set S of open facilities. For general norms f, the cost can be approximated within a factor of 1 + ϵ.

2.3 (1 + ϵ)-Approximation for Capacitated k-Clustering with O(k log n ϵ ) Facilities

It is useful to run an LP rounding algorithm to obtain a (1 + ϵ)-approximate solution for capacitated k-clustering with O(k log n ϵ ) facilities S. With FPT time allowed, we can afford to guess poly(k, 1 ϵ ) facilities in S.

We are given F, C, n, d, k and capacities (ui)i∈F as in a capacitated k-clustering problem. Instead of a monotone symmetric norm f, we are given a convex monotone function h : RC≥0 → R≥0 (which is not necessarily symmetric or a norm). The goal is the same as that of the minimum-norm capacitated k-clustering problem, except that we are minimizing the h function of the connection distance vector. Let opt′ be the value of the instance.

For some i ∈ F and J ⊆ C, we say (i, J) is valid star if |J| ≤ ui. The following theorem summarizes the (1 + ϵ)-approximation, whose proof is deferred to Appendix B.

Theorem 2.9. Let ϵ > 0 be a constant. We can efficiently find a set S of O k ln n ϵ valid stars such that

• (i,J)∈S J = C.

• Let b ∈ RC≥0 be the connection distance vector induced by S: For every j ∈ C, we have bj = d(i, j) for the unique star (i, J) with j ∈ J. Then h ((1 − ϵ)b) ≤ opt′.

The algorithm succeeds with high probability.

The following corollary is an immediate consequence of our analysis, and we were unable to find an explicit statement of the result in the literature. As we discussed, it was implied by [42] when all facilities have uniform capacities. However, extending their result to the general capacitated setting seems non-trivial. For the top-cn norm k-clustering problem, we need to use the corollary to handle the case c ≤ 1 e . We defer the proof to Appendix B.

Corollary 2.10. Consider the minimum-norm k-clustering problem under a monotone norm f (which is not necessarily symmetric). There is a (3 + ϵ)-approximation algorithm for the problem in FPT time with parameters k and ϵ.

2.4 Finding (1 + ϵ)-Approximate Assignment for Minimum-Norm Capacitated k-Clustering with Open Facilities

Consider an instance of the Minimum-Norm Capacitated k-Clustering problem. For many natural norms such as Lp and top-ℓ norms, when given the set S of k open facilities, the optimum assignment of C to S can be found easily. However, this is not trivial for general monontone symmetric norms f. Instead, we present an FPT-time algorithm to find a (1 + ϵ)-approximate assignment. The proof of the following theorem is described in Appendix C.

Theorem 2.11. Consider a minimum-norm capacitated k-clustering instance defined by F, C, n, d, u and k, under a symmetric monotone norm f. Assume |F| = k and ϵ > 0 is a constant. We can find a (1 + ϵ)-approximate assignment σ ∈ FC for the instance in time g(k, ϵ) · poly(n), for a computable function g depending on k and ϵ.

3 FPT Time (3 + ϵ)-Approximation for Minimum-Norm Capacitated k-Clustering

In this section, we give the FPT time (3 + ϵ)-approximation algorithm for the minimum-norm capacitated k-clustering problem, proving Theorem 1.1. Recall that we say (i ∈ F, J ⊆ C) is a valid star if |J| ≤ ui. We fix an optimum solution S∗ of k valid stars that is unknown to the algorithm. S∗ cover all clients in C, and all facilities are distinct. Let S∗ be the set of facilities in S∗. So, we have |S∗| = |S∗| = k. Let opt be the f-norm cost of S∗.

Algorithm 1 (3 + ϵ)-Approximation for Minimum-Norm Capacitated k-Clustering

1: define set T of non-negative reals with |T| ≤ O log n ϵ , as described in text

2: for every t ∈ T do

3: with objective h(v) := j∈C(vj − t)+ for every v ∈ RC≥0, use Theorem 2.9 to obtain a set St of O k ln n ϵ valid stars

4: St ← {i ∈ F : ∃J, (i, J) ∈ St}

5: randomly choose a color function color : F → [k]

6: guess the types of each color c ∈ [k] ▷ each color is of type-1, 2 or 3

7: for every t ∈ T do Rt ← MNCkC-choose-R(t) ▷ clients in Rt are called representatives

8: S ← t∈T St, R ← t∈T Rt

9: guess a pivot pc for each type-1 or 2 color c ∈ [k], and i∗c for each type-3 color c ∈ [k] such that

▷ pc’s for type-1 and 2 colors c, i∗c’s for all colors c ∈ [k] are defined in text

• pc ∈ R if c is of type-1, pc ∈ S if c is of type-2, and

• i∗c ∈ S has color c for a type-3 color c.

10: guess a (1 + ϵ)-approximate overestimation rc for d(i∗c, pc) for every type-1 or 2 color c

11: return MNCkC-clustering-with-pivots() ▷ See Algorithm 3 for its definition

The algorithm is stated in Algorithm 1. In Step 1, we define a set T of distances depending on the problem, as follows:

• If the norm to minimize is the top-ℓ norm, then let T = {t}, with t being the ℓ-th largest connection distance in the optimum solution S∗. There are n|F| possibilities for t, so it is affordable to guess its correct value.

• If the norm is a general monotone symmetric norm, then T = (1 + ϵ)log1+ϵ d(i,j) : i ∈ F, j ∈ C. Notice that |T| = O(log n ϵ ) as we assumed that distances that are not ∞ are integers bounded by poly(n).

Readers seeking for a more efficient understanding of the core ideas can focus on the top-ℓ norm case, where we have only one t in T.

For every t ∈ T, in Step 3, we obtain a set St of O k ln n ϵ valid stars covering C using Theorem 2.9, and define St to be the set of facilities used in St in Step 4. We let itj be the center of the star in St containing j for every j ∈ C, and let btj = d(j, itj) be the connection distance of j in St. The conditions of the Theorem 2.9 hold with high probability. We assume they are satisfied:

(P) For every t ∈ T, we have j∈C((1 − ϵ)btj − t)+ ≤ (i∗,J)∈S∗,j∈J(d(i∗, j) − t)+.

We describe the remaining steps in more detail.

3.1 Steps 5 and 6 of Algorithm 1: Guessing Colors and Types

In Step 5 of Algorithm 1, we randomly choose a function color : F → [k]. With probability k! kk, the k facilities in S∗ have distinct colors. We assume this happens. For every color c ∈ [k], let (i∗c, J∗c) be the star in S∗ such that i∗c is of color c. We define ¯J∗c to be the ⌈ϵ|J∗c|⌉ clients in J∗c closest to i∗c. Let ˜J∗t,c be the |¯J∗c| 2 clients in ¯J∗c with smallest btj values for every t ∈ T. Notice that the i∗c’s, J∗c’s, ¯J∗c’s and ˜J∗t,c’s are not known to our algorithm after the steps.

We define a type for each color c ∈ [k] as follows:

• If i∗c / ∈ S, then

– if ∃t ∈ T, ∀j ∈ ˜J∗t,c, uitj < k|J∗c|, then c is of type-1a, otherwise,

– if ∃t ∈ T, j∈¯J∗c((1 − ϵ)btj − t)+ ≥ ϵ2 k · j∈C((1 − ϵ)btj − t)+, then c is of type-1b, and otherwise,

– c is of type-2.

• If i∗c ∈ S, then c is of type-3.

Notice that for the type-1a colors, we consider the set ˜J∗t,c, but for type-1b colors, we consider the set ¯J∗c. We say c is of type-1 if it is of type-1a or type-1b. Notice the types 1, 2 and 3 partition the set [k] of colors. We guess the types in Step 6 of Algorithm 1. Again, we assume our guesses are correct.

3.2 Step 7 of Algorithm 1: Constructing Representatives Rt

In Step 7 of Algorithm 1, for every t ∈ T, we construct a representative set Rt through the process MNCkC-choose-R(t), described in Algorithm 2.

Algorithm 2 MNCkC-choose-R(t)

1: for every (i, J) ∈ St, uniformly sample min(|J|, 2k ϵ ln(kn)) clients from J, without replacement; they constitute set Rt1

2: sample O k ln n ϵ2 clients from C, for a sufficiently large hidden constant, each client j being chosen from C with probabilities proportional to ((1 − ϵ)btj − t)+, with replacement; they constitute set Rt2

3: return Rt = Rt1 ∪ Rt2

As |St| = O k ln n ϵ , we have |Rt| = O k2 ln2 n ϵ2 for every t ∈ T.

In Step 8, we merge all sets St into S and Rt into R. Therefore, |S| = O k log2 n ϵ2 and |R| = O k2 log3 n ϵ3 .

Lemma 3.1. With probability at least 1 − 1 n, the following event happens: for every color c ∈ [k] of type-1, we have ¯J∗c ∩ R = ∅.

Proof. Fix a type-1a color c. Focus on the t ∈ T that makes it of type-1a. So, ∀j ∈ ˜J∗t,c, we have uitj < k|J∗c|. As (i, J) ∈ S satisfies |J| ≤ ui, we have Pr[j ∈ Rt1] ≥ min 1, 2k ln(kn) ϵ·uitj for every j ∈ ˜J∗t,c.

If for some j ∈ ˜J∗t,c we have Pr[j ∈ Rt1] = 1, then Pr[˜J∗t,c ∩ Rt1 = ∅] = 1. So, we assume for every j ∈ ˜J∗t,c, we have Pr[j ∈ Rt1] ≥ 2k ln(kn) ϵ·uitj ≥ 2 ln(kn) ϵ·|J∗c| ≥ ln(kn) |˜J∗t,c| . The first inequality holds as uitj < k|J∗c|, and the second inequality follows from that |˜J∗t,c| ≥ 12 · |¯J∗c| ≥ ϵ 2 · |J∗c|.

Notice that the events that j ∈ R for all j ∈ ˜J∗t,c are non-positively correlated. So,

Pr[¯J∗c ∩ Rt1 = ∅] ≤ Pr[˜J∗t,c ∩ Rt1 = ∅] ≤ 1 − ln(kn) |˜J∗t,c| |˜J∗t,c| ≤ e− ln(kn) = 1 kn.

Now fix some c ∈ [k] of type-1b. By the definition of type-1b colors, we have for some t ∈ T j∈¯J∗c (1 − ϵ)btj − t+ ≥ ϵ2 k · j∈C (1 − ϵ)btj − t+. By the way we sample Rt2 in Step 2 of Algorithm 2, we have Pr[¯J∗c ∩ Rt2 = ∅] ≤ 1 n2 if the hidden constant is large enough. The lemma follows from the union bound over the at most k type-1 colors.

3.3 Step 9 and 10 of Algorithm 1: Guessing Pivots, Optimum Facilities and Radius

In Step 9 of Algorithm 1, we guess the pivot pc for type-1 or 2 colors c, which is defined as follows.

• If c is of type-1, then pc is defined as any client in ¯J∗c ∩ R. pc ∈ R ⊆ C in this case.

• If c is of type-2, then pc is defined as the itj for some t ∈ T and j ∈ ˜J∗t,c satisfying uitj ≥ k|J∗c| with the smallest btj value. Then pc ∈ S ⊆ F. Such a (t, j) pair exists, since otherwise c would be of type-1a.

We also guess i∗c for each type-3 color c. By definition, we have i∗c ∈ S and thus we can afford this.

In Step 10, we guess d(i∗c, pc) for every type-1 or type-2 color c. We can afford to guess a (1 + ϵ)-approximation of d(i∗c, pc): rc is the smallest (1 + ϵ)z that is at least d(i∗c, pc) for an integer z.

So, after the guessing, we know the pc’s for type-1 and 2 colors c, and i∗c’s for type-3 colors c. However, we do not know i∗c’s for type-1 and 2 colors c.

3.4 Step 11 of Algorithm 1: Finding Clusters Using Pivots and Radius

With all the guessed information, we can construct a feasible clustering. This is done in Step 11 of Algorithm 1, which calls MNCkC-clustering-with-pivots() as described in Algorithm 3.

Algorithm 3 MNCkC-clustering-with-pivots()

1: T ← ∅

2: for every color c ∈ [k] of type-1 do

3: qc ← arg max ui : i ∈ ballF\S(pc, rc) ∩ color−1(c); T ← T ∪ {qc}

4: for every color c ∈ [k] of type-3 do

5: T ← T ∪ {i∗c}

6: for every color c ∈ [k] of type-2 do

7: if pc = i∗c′ for every type-3 color c′ then T ← T ∪ {pc}

8: else gc ← arg max ui : i ∈ ballF\S(pc, rc) ∩ color−1(c); T ← T ∪ {gc}

9: return T and the feasible assignment σ ∈ TC respecting the capacity constraints, either directly (if f is the top-ℓ norm) or using Theorem 2.11 (if f is general)

Notice that for a type-2 color c, pc is not always of color c, so Step 8 in Algorithm 3 is not redundant. Further, we treat T as a set, instead of a multi-set, so |T| ≤ k and it may happen that |T| < k.

3.5 Analysis of Cost

To analyze the cost of the solution, we explicitly construct an assignment for T with small cost. We build a bipartite graph H = ([k], T, EH) as follows; it is instructive to correlate the construction with Algorithm 3.

• For every c of type-1, we add (c, qc) to EH.

• For every c′ of type-3 (which implies i∗c′ ∈ T), we add (c′, i∗c′) to EH.

• For every c of type-2, we add (c, pc) to EH. If additionally pc = i∗c′ for some type-3 color c′, then we add (c′, gc) to EH.

We construct a solution in the following way: Initially, all clients are moved to their corresponding facilities in S∗, with moving cost precisely opt. After that, i∗c contains |J∗c| ≤ ui∗c clients for any color c. Then, we move the clients from S∗ to T according to a “transportation” function φ ∈ ZEH≥0: φc,i clients will be moved from i∗c to i. In order for φ to be a solution, φ must satisfy the following properties:

• ∀c ∈ [k], (c,i)∈EH φc,i = |J∗c|;

• ∀i ∈ T, (c,i)∈EH φc,i ≤ ui.

In the following, we construct φ. Connected components in H are only of the following three possibilities, and we construct φ for each of them (See Figure 1 for an illustration):

(1) Some type-1 color c connected to qc ∈ T. Then qc has degree 1 and {c, qc} is maximally connected. We set φc,qc = |J∗c|. We have uqc ≥ ui∗c ≥ |J∗c|.

(2) Several type-2 colors and no type-3 color connect to facility i ∈ T. Let D := {c : pc = i}, then D ∪ {i} is maximally connected. Set φc,i = |J∗c| for every c ∈ D. We have c∈D |J∗c| ≤ c∈D ui k ≤ ui as all colors in D are of type-2.

(3) Facility i = i∗c′ ∈ T ∩ S∗ is connected to one type-3 color c′. Some type-2 colors may also connect to i. Let D := {c : pc = i, c is of type-2}; D may be empty. {c′, i} ∪ D ∪ {gc | c ∈ D} is one connected component in H. Similar to (ii), c∈D |J∗c| ≤ ui. We define φc,i = |J∗c| for every c ∈ D. We then define φc′,i = min{|J∗c′|, ui − c∈D |J∗c|}. If ui − c∈D |J∗c| < |J∗c′|, then we define φc′,gc values for all c ∈ D so that φc′,gc ≤ |J∗c| for every c ∈ D, and c∈D φc′,gc = |J∗c′| − φc′,i. This is feasible since c∈D |J∗c| = ui − φc′,i ≥ |J∗c′| − φc′,i. As for c ∈ D, i∗c is a candidate for gc, ugc ≥ ui∗c ≥ |J∗c|, so φ does not violate the capacity constraint for gc.

In summary, the two properties needed for the transportation function φ are satisfied, which implies the assignment of C to T respects all capacity constraints.

Figure 1: 3 types of connected components of H. In the first type, a type-1 color c is connected to qc. Notice that qc is defined via a representative client pc ∈ R ∩ ¯J∗c. In the second type, we have many type-2 colors c ∈ D connected to their common pc. pc for a type-2 color c is defined via a client j. In the third type, we have many type-2 colors c ∈ D (D′ in the figure to avoid confusion) connected to their common pc, which is i∗c′ for a type-3 color c′. Then we have edges (c′, i∗c′) and (c′, gc) for every c ∈ D in the component. Solid squares in T are in S, and empty squares in T are not in S.

We then bound the f-norm cost of moving clients from S∗ to T using the transportation function φ. For each client j, let βj be the moving distance of this step, and b∗j be the connection distance of j in the optimum solution S∗. The main lemma we prove is the following:

Lemma 3.2. For every t ∈ T, we have

j∈C (βj − (2 + O(ϵ))t)+ ≤ (2 + O(ϵ)) j∈C(b∗j − t)+.

Proof. Throughout the proof, we fix a t ∈ T. We distinguish different color types to prove the inequality.

For a type-1 color c, J∗c will be moved from i∗c to qc.

d(i∗c, qc) ≤ d(i∗c, pc) + d(pc, qc) ≤ (2 + ϵ)d(i∗c, pc) ≤ 2 + ϵ1 − ϵ · 1 |J∗c| j∈J∗c d(i∗c, j) = 2 + ϵ1 − ϵ · 1 |J∗c| j∈J∗c b∗j.

The second inequality is by that rc ≤ (1 + ϵ)d(i∗c, pc) and qc ∈ ballF\S(pc, rc). The third inequality is by that pc ∈ ¯J∗c and ¯J∗c are the ⌈ϵ|J∗c|⌉ clients j in J∗c with the smallest d(i∗c, j) values. So,

j∈J∗c βj − 2 + ϵ1 − ϵ · t+ = |J∗c| · d(i∗c, qc) − 2 + ϵ1 − ϵ · t+ = |J∗c| · d(i∗c, qc) − 2 + ϵ1 − ϵ · |J∗c| · t+

We consider type-2 and type-3 colors together. For the case (ii) above, we moved |J∗c| clients from i∗c to i for every c ∈ D. For the case (iii), we did the same; additionally, for every c ∈ D, we moved at most |J∗c| clients from i∗c′ = pc to gc. Notice that by the definition of gc for every c ∈ D, we have d(i∗c′, gc) = d(pc, gc) ≤ rc ≤ (1 + ϵ)d(pc, i∗c). Some clients in i∗c′ stayed at i = i∗c′. Therefore, we have

c type-2 or 3,j∈J∗c βj − (1 + ϵ)(2 − ϵ) 1 − ϵ · t+ ≤ 2 c type-2 |J∗c| · (1 + ϵ) · d(i∗c, pc) − (1 + ϵ)(2 − ϵ) 1 − ϵ · t+

Now, we focus on each type-2 color c. By the definition of pc, we have pc = itj′ for some j′ ∈ ˜J∗t,c. As c is not of type 1, j∈¯J∗c((1 − ϵ)btj − t)+ < ϵ2 k · j∈C((1 − ϵ)btj − t)+. We have

d(j′, pc) − 1 1 − ϵ · t+ = btj′ − 1 1 − ϵ · t+ ≤ 2 |¯J∗| j∈¯J∗c btj − 1 1 − ϵ · t+

The first inequality used that j′ ∈ ˜J∗t,c and ˜J∗t,c contains the |¯J∗c| 2 clients in ¯J∗c with the smallest btj values. The third inequality used that |¯J∗c| ≥ ϵ|J∗c|.

As j′ ∈ ˜J∗t,c ⊆ ¯J∗c, we have

(d(i∗c, j′) − t)+ ≤ 1 1 − ϵ · 1 |J∗c| j∈J∗c(d(i∗c, j) − t)+ = 1 + O(ϵ) |J∗c| j∈J∗c(b∗j − t)+.

Combining the above two inequalities, we have

|J∗c| · d(i∗c, pc) − 2 − ϵ1 − ϵ · t+ ≤ |J∗c| · d(i∗c, j′) − t+ + |J∗c| · d(j′, pc) − 1 1 − ϵ · t+

Applying the upper bound to (2), we get

c type-2 or 3,j∈J∗c βj − (1 + ϵ)(2 − ϵ) 1 − ϵ · t+

Summing up contribution for colors all the 3 types, by adding (1) and (3), we get

j∈C (βj − (2 + O(ϵ))t)+ = c∈[k] j∈J∗c(βj − (2 + O(ϵ))t)+

The last inequality used j∈C((1 − ϵ)btj − t)+ ≤ j∈C(b∗j − t)+, which is from Property (P).

Recall that in our constructed solution, we moved clients from C to T in two steps. We first moved C to S∗ according to S∗, which incur a cost of opt. Then we moved clients from S∗ to T, with moving distance vector β.

Now we describe the f ≡ top-ℓ and general f case separately. For the case f ≡ top-ℓ, Lemma 3.2 holds for the ℓ-th largest coordinate of b∗. By Lemma 2.4, the moving cost of the second step is

|β|top-ℓ ≤ ℓ · (2 + O(ϵ))t + j∈C(βj − (2 + O(ϵ))t)+ ≤ (2 + O(ϵ))ℓt + (2 + O(ϵ)) j∈C(b∗j − t)+

This implies that top-ℓ cost of our constructed solution is at most (3 + O(ϵ)) · opt.

Now consider a general monotone symmetric norm f. We show that for every integer ℓ ∈ [n], we have |β|top-ℓ ≤ (2 + O(ϵ))|b∗|top-ℓ. By Lemma 2.6, this implies |β|f ≤ (2 + O(ϵ))|b∗|f = (2 + O(ϵ))opt. Focus on any ℓ ∈ [n] and let t be the ℓ-th largest coordinate in b∗. Then, we have t′ = (1 + ϵ)log1+ϵ t ∈ T. Applying Lemma 3.2 with t being this t′ will prove |β|top-ℓ ≤ (2 + O(ϵ))|b∗|top-ℓ. Therefore, the f-norm cost our constructed solution is at most (3 + O(ϵ)) · opt. In both cases, scaling ϵ at the beginning gives us a (3 + ϵ)-approximation.

3.6 Analysis of Runtime

Now we analyze the running time of our algorithm. When all guesses are correct, the coloring satisfies our requirement, and the events mentioned in Lemma 3.1 happen, the algorithm returns a solution with value at most (3 + O(ϵ))opt.

For the runtime, all steps except coloring and guessing are polynomial. With probability k! kk, the color function in Step 5 satisfies our requirement, so we need to run the algorithm O(kk ln n) times to boost the success probability to 1 − 1 n. For the guessing part, Step 6 has 3k possible choices for the types, Step 9 has (|R| + |S|)k = (k ln n ϵ )O(k) choices for pivots, and finally, as we can always assume d(c, f) = poly(n) for all c ∈ C and f ∈ F, Step 10 has (log1+ϵ poly(n))k = ln n ϵ O(k) choices for the radius. In total, the running time is (k ln n ϵ )O(k)nO(1), which can be bounded by (k ϵ )O(k)nO(1). 4

4We need to bound (ln n)O(k). If k ≤ √log n, then this is upper bounded by nO(1). Otherwise, it is upper bounded by kO(k).

4 FPT Time (1 + 2 ec + ϵ)-Approximation for Top-cn Norm k-Clustering

In this section, we give the tight (1 + 2 ec + ϵ)-approximation algorithm for the top-cn norm k-clustering problem for c ∈ (1 e , 1], proving Theorem 1.3. Notice that the case c ≤ 1 e has an approximation ratio of 3 + ϵ, as stated in Corollary 2.10.

4.1 Useful Tools for Top-ℓ Norms

In this section, we describe some useful tools. We assume the distances in the metric d are non-negative integers. It will be convenient to use the occurrence-times vectors to represent distance vectors: for each a ∈ Z≥0, we have a coordinate indicating the number of times a appear in the distance vector; that is, how many clients have distance a to their nearest facility. With this in mind, we define the set of occurrence-times vectors to be

Sn := {δ ∈ RZ≥0≥0 : |δ|1 = n and δ has a finite support}.

For a δ ∈ Sn and a ∈ Z≥0, we can think of δa as the number of times a appears in the distance vector. It is convenient to allow fractional occurrence times.

For any vector φ ∈ RZ≥0≥0 with finite support, we define L1(φ) = ∞a=0 φa · a. (Throughout, we shall typically use f to denote a norm function f using the occurrence-times vector representation: for an occurrence-time vector δ ∈ Sn, ¯f(δ) is the value of f on the corresponding multiset of distances.)

Definition 4.1. For every δ ∈ Sn and real ℓ ∈ [0, n], we define top-ℓ(δ) to be the value of the following linear program with variables α ∈ RZ≥0≥0: maximize L1(α) subject to 0 ≤ α ≤ δ and |α|1 = ℓ.

To get some intuition about the definition, consider the case where d is a distance vector of dimension n and δ is its correspondent occurrence-times vector. Then top-ℓ(δ) = |d|top-ℓ. We extended the definition to real vectors δ.

Lemma 4.2. For every real ℓ ∈ [0, n], we have that top-ℓ(·) is concave on Sn.

This is in contrast to the top-ℓ norm function using the normal representation of vectors, which is convex.

Definition 4.3. We say a vector δ ∈ Sn dominates a vector δ′ ∈ Sn with a factor of γ for some real γ ≥ 0, denoted as δ′ ⪯γ δ, if top-ℓ(δ′) ≤ γ · top-ℓ(δ) for every real ℓ ∈ [0, n]. We use ⪯ for ⪯1.

Lemma 4.4. Assume δ1, δ2, · · · , δH, δ′1, δ′2, · · · , δ′H are 2H vectors in Sn, γ ∈ R>0, and δ′h ⪯γ δh for every h ∈ [H]. Let β1, β2, · · · , βH ∈ [0, 1] satisfy Hh=1 βh = 1. Then

H h=1 βhδ′h ⪯γ H h=1 βhδh.

Corollary 4.5. Let δ ∈ Sn, and δ = Hh=0 θh where H ∈ Z≥0 and θ0, θ1, · · · , θH ≥ 0. Let γ ≥ 1. For every h ∈ [H], let bh ∈ Z≥0 satisfy bh ≤ γ · L1(θh) |θh|1 . Let δ′ = θ0 + Hh=1 |θh|1 · ebh, where eb for any b ∈ Z≥0 is the vector in RZ≥0≥0 with (eb)b = 1 and (eb)b′ = 0 if b′ = b.

Then δ′ ⪯γ δ.

We treat δ as n fractional values. Each θh contains a disjoint portion of δ. For every h ∈ H, we replace θh with |θh|1 fractional values equaling to bh. The lemma says that the resulting occurrence-times vector is dominated by the original one with a factor of γ.

Definition 4.6. For any two vectors δ, δ′ ∈ Sn, we say some φ ∈ Sn can be obtained by adding δ and δ′ if there exists some z ∈ RZ≥0×Z≥0≥0 such that

• a′ za,a′ = δa for every a ∈ Z≥0,

• a za,a′ = δ′a′ for every a′ ∈ Z≥0, and

• φt = a+a′=t za,a′ for every t ∈ Z≥0.

z gives a matching between the vectors δ and δ′. Then the occurrence-time vector φ is obtained by adding the distance vectors for δ and δ′, using the matching z.

Definition 4.7. Let δ, δ′ ∈ Sn, and z ∈ RZ≥0×Z≥0≥0 be the unique vector satisfying the first two conditions in Definition 4.6 and the following condition:

• There are no integers a < a′, b > b′ such that za,b > 0 and za′,b′ > 0.

Then, we use δ ⊕ δ′ to denote the vector φ ∈ Sn satisfying the third condition of Definition 4.6. We use δ ⊗ 2 to denote δ ⊕ δ.

Lemma 4.8. Let δ, δ′ ∈ Sn, φ = δ ⊕ δ′, φ′ ∈ Sn be obtained by adding δ and δ′. Then φ′ ⪯ φ.

Theorem 4.9. Let δ, δ′ ∈ Sn such that δ′ ⪯γ δ for some γ > 0. Let c ∈ (1 e , 1] and α ∈ [0, c]. Then we have

top-cn(1 − α)δ + α · (δ ⊕ δ′ ⊗ 2) ≤ 1 + 2αγ c top-cn(δ).

We only apply the theorem for α = 1 e and γ = 1 + O(ϵ).

4.2 The Algorithm

Throughout this and the next section, given any set S ⊆ F (it is possible that |S| = k), we shall use d(S) to denote the vector (d(j, S))j∈C of n distances; we call it the distance vector for S. So the goal of the top-cn norm k-clustering problem is to minimize |d(S)|top-cn subject to S ⊆ F, |S| = k.

Let S∗ be the unknown set of k facilities in the optimum solution. We let opt = |d(S∗)|top-cn. For every i∗ ∈ S∗, and the set J ⊆ C of clients connected to i∗ in the optimum solution, we refer to (i∗, J) as an optimum cluster.

Definition 4.10 (Per-Client Costs and Cores). For every optimum cluster (i∗, J), we define its per-client cost to be 1 |J| j∈J d(i∗, j). We define its core to be the set of the ⌈ϵ|J|⌉ clients in J with the smallest d(i∗, j) values.

Algorithm 4 Top-cn Norm k-Clustering

1: obtain a set S of valid stars using Theorem 2.9 with h ≡ top-cn and ui = ∞, ∀i ∈ F

2: S ← {i ∈ F : ∃J, (i, J) ∈ S}

3: R ← TpcnC-choose-R() ▷ Clients in R are called representatives

4: guess a multi-set P ⊆ S ∪ R of size k ▷ Points in P are called pivots

5: guess a vector (rp)p∈P where each rp is 0 or an integer power of (1 + ϵ) in [1, ∆] 5

5Let ∆ := max{d(u, v) : u, v ∈ F ∪ C, d(u, v) < ∞}. Recall that after the standard discretization, all finite distances are integers in [0, ∆], with ∆ = poly(n).

6: return TpcnC-clustering-with-pivots()

The pseudo-code for the algorithm is given in Algorithm 4. In Step 2, we apply Theorem 2.9 to obtain a solution S and let S be the set of open facilities. As there are no capacities, we simply use S to denote the solution and discard the notion S. We have |S| ≤ O(k log n) ϵ . Moreover, |d(S)|top-cn ≤ opt 1−ϵ.

We describe the remaining steps of the algorithm in more detail.

4.3 Step 3 of Algorithm 4: Choosing Representatives

Algorithm 5 TpcnC-choose-R()

1: R ← ∅

2: repeat k times:

3: randomly choose a client j ∈ C, with probabilities proportional to d(j, S)

4: R ← R ∪ {j}

5: return R

In this step, we call the procedure TpcnC-choose-R(), described in Algorithm 5. Before analyzing the properties of the representative set R, we make some definitions and partition the optimum clusters into 3 types: Given an optimum cluster (i∗, J) with core J′, we say (i∗, J) is of

• type-1 if j∈J′ d(j, S) ≥ ϵ3 k · |d(S)|1,

• type-2 if j∈J′ d(j, S) < ϵ3 k · |d(S)|1 and j∈J′ d(i∗, j) ≥ ϵ2 k · |d(S)|1, and

• type-3 if j∈J′ d(j, S) < ϵ3 k · |d(S)|1 and j∈J′ d(i∗, j) < ϵ2 k · |d(S)|1.

Notice that the three types partition all the optimum clusters.

Lemma 4.11. With probability at least ϵ3k kk , the following event happens: For every optimum cluster (i∗, J) of type-1 with core J′, we have J′ ∩ R = ∅. In other words, R intersects the core of every type-1 optimum cluster.

Proof. Focus on the process of choosing one j with probability proportional to d(j, S). For the core J′ of a type-1 optimum cluster (i∗, J), we have

Pr[j ∈ J′] = j′∈J′ d(j′, S) j′∈C d(j′, S) ≥ ϵ3 k ,

Let k′ ≤ k be the number of type-1 optimum clusters. We focus on the first k′ iterations of the repeat loop of Algorithm 5, and use j1, j2, · · · , jk′ to denote the clients chosen in the k′ iterations. Fix any permutation (i∗1, J1), (i∗2, J2), · · · , (i∗k′, Jk′) of the k′ clusters. The probability that R hits the cores of all type-1 optimum clusters is at least

Pr[∀o ∈ [k′] : jo is in core of (i∗o, Ao)] ≥ ϵ3 k k′ ≥ ϵ3 k k = ϵ3k kk .

From now on, we assume Step 3 of Algorithm 4 is successful, which means the event in Lemma 4.11 occurs.

Lemma 4.12. For every type-1 or 2 optimum cluster (i∗, J) with per-client cost ¯d, we have d(i∗, R ∪ S) ≤ ¯d 1−ϵ.

Proof. Let J′ be the core of (i∗, J). First, assume (i∗, J) is of type-1. As Step 3 is successful, we have J′ ∩ R = ∅. Let p be any client in J′ ∩ R. For any j ∈ (J \ J′) ∪ {p}, we have d(i∗, j) ≥ d(i∗, p). So

|J|¯d = j∈J d(j, i∗) ≥ j∈(J\J′)∪{p} d(j, i∗) ≥ (|J| − ⌈ϵ|J|⌉ + 1)d(i∗, p) ≥ (|J| − ϵ|J|)d(i∗, p).

Therefore, we have d(i∗, p) ≤ |J|¯d |J|−ϵ|J| = ¯d 1−ϵ.

Then, assume (i∗, J) is of type-2. By the definition of type-2, we have j∈J′ d(j, S) < ϵ j∈J′ d(i∗, j). Consider the facility p ∈ S that is closest to i∗.

j∈J′ d(i∗, p) ≤ j∈J′ d(i∗, j) + d(j, S) = j∈J′ d(i∗, j) + j∈J′ d(j, S) ≤ (1 + ϵ) j∈J′ d(i∗, j).

So,

d(i∗, p) ≤ (1 + ϵ) · j∈J′ d(i∗, j) |J′| ≤ (1 + ϵ) · j∈J d(i∗, j) |J| = (1 + ϵ)¯d ≤ ¯d 1 − ϵ.

The second inequality used that d(i∗, j) ≤ d(i∗, j′) for every j ∈ J′ and j′ ∈ J \ J′.

4.4 Steps 4 and 5 of Algorithm 4: Guessing Pivots and Radius Vector

In Steps 4 and 5 of Algorithm 4, we guess a multi-set P of k pivots from R ∪ S, and a radius rp for every p ∈ P. There is a desired pivot p for every optimum cluster (i∗, J), and the pivot p has a desired radius. Step 4 is successful if P is the set of k desired pivots for the k optimum clusters, and Step 5 is successful if rp for each p ∈ P is the desired radius for p. For every optimum cluster (i∗, J), the desired pivot p for the cluster and its desired radius are defined as follows:

• If (i∗, J) is of type-1 or 2, then d(i∗, S ∪ R) ≤ ¯d 1−ϵ by Lemma 4.12. The desired pivot p is the closest point in S ∪ R to i∗. Thus, we have d(i∗, p) ≤ ¯d 1−ϵ. The desired radius is d(i∗, p) rounded up to the nearest integer power of 1 + ϵ. Therefore, if rp is the desired radius, we have rp ≤ 1+ϵ1−ϵ¯d.

• If (i∗, J) is of type-3, then the desired pivot p is the closest facility in S to i∗, and its desired radius is 0.

Again, we assume the two steps are successful from now on. Therefore, P is the set of desired pivots for the optimum clusters and rp for each p ∈ P is the desired radius for p.

Lemma 4.13. There is a set S′∗ of k facilities, one from ballF(p, rp) for each p ∈ P, and an assignment vector σ ∈ (S′∗)C such that the following properties hold.

(4.13a) d(j, σj)j∈Ctop-cn ≤ (1 + O(ϵ)) · opt.

(4.13b) For every p ∈ P, and the facility i′∗ ∈ S′∗ in ballF(p, rp), we have

rp ≤ 1 + ϵ1 − ϵ · j∈σ−1(i′∗) d(i′∗, j) |σ−1(i′∗)| .

We remark that the balls ballF(p, rp) may overlap with each other and thus one facility in P may be in two different balls. However, we guarantee that there is precisely one facility in S′∗ that is designated to ballF(p, rp) for each p ∈ P, and the facility is inside the ball.

Proof of Lemma 4.13. We construct the solution S′∗ with the assignment σ as follows. For every optimum cluster (i∗, J) with per-client-cost ¯d, we include a facility i′∗ in S′∗. Let p be the desired pivot for this optimum cluster. If (i∗, J) is of type-1 or 2, we let i′∗ = i∗. In this type, we have i′∗ = i∗ ∈ ballF(p, rp) as rp is the desired radius for p. Otherwise, we are of type-3 and the pivot p is the nearest facility in S to i∗. We let i′∗ = p and thus i′∗ ∈ ball(p, rp = 0). In any type, we let σj = i′∗ for every j ∈ J. b holds if (i∗, J) is of type-1 or 2 as rp ≤ 1+ϵ1−ϵ¯d. of type-3, we have rp = 0 and the property holds trivially.

It remains to show a. Notice that the difference between the left side of the inequality in a and opt come from type-3 optimum clusters. Therefore, for every type-1 or 2 optimum cluster (i∗, J), we define ρj = 0 for every j ∈ J. Fix a type-3 optimum cluster (i∗, J), and its correspondent desired pivot p, we define ρj = (d(j, p) − d(j, i∗))+ for every j ∈ J.

j∈J ρj ≤ |J| · d(i∗, p) ≤ |J| · 1 |J′| ϵ3 k + ϵ2 k |d(S)|1 ≤ 1 ϵ · 2ϵ2 k |d(S)|1 = 2ϵ k |d(S)|1.

The second inequality comes from triangle inequality and the definition of type-3.

Summing up over all type-3 optimum clusters, we have |ρ|1 ≤ 2ϵ|d(S)|1. Therefore,

|ρ|top-cn ≤ |ρ|1 ≤ O(ϵ) · |d(S)|1 ≤ O(ϵ) · |d(S)|top-cn ≤ O(ϵ) · opt.

The third inequality used that c ∈ (1 e , 1].

4.5 Step 6 of Algorithm 4: Find Clustering using P and (rp)p∈P

In this final step, we try to find a clustering using the pivot set P and the radius vector (rp)p∈P as a guide, by calling TpcnC-clustering-with-pivots(P, (rp)p∈P) in Algorithm 6. The existence of a good clustering is guaranteed by Lemma 4.13.

Algorithm 6 TpcnC-clustering-with-pivots()

1: solve program (4) to obtain solution (x(p)ij)p,i,j, (y(p)i)p,i, δ ∈ Sn

2: for every p ∈ P do randomly open a facility i, with probabilities y(p)i

3: return the set of open facilities

In Step 1 of Algorithm 6, we solve the following program:

min top-cn(δ) (4)

We now focus on the correspondent integer program to program (4), whose goal is to find the set S′∗ and the assignment σ in Lemma 4.13. y(p)i indicates whether i is the open facility in ballF(p, rp), and x(p)ij indicates whether the client j is connected to facility i in ballF(p, rp). (5) indicates we open exactly one facility in ballF(p, rp), (6) indicates that a client can only be connected to an open facility, and (7) requires every client to be connected to a facility in all balls. (8) is due to b, and (9) gives the definition of δ ∈ Sn.

We then describe the objective (4), which is not a linear function of δ. By Lemma 2.4, we know that top-cn(δ) = mint∈[0,∆] (a(a − t)+δa + cnt), we can solve the program by enumerating integers t ∈ [0, ∆]. 6

6By allowing a 1 + ϵ loss, we can assume t is an integer power of 1 + ϵ, and we only need to enumerate O(log n ϵ ) different values of t.

After solving the CP(4), we obtain the solution (x(p)ij)p,i,j, (y(p)i)p,i, δ ∈ Sn. Let lp′ be the value of the solution. By Property a, we have lp′ ≤ (1 + O(ϵ))opt. Let ψ be integral occurrence-times vector of the solution given by the algorithm. That is, for every a ∈ Z≥0, ψa is the number of clients in C with connection distance a. So our goal is to upper bound E[top-cn(ψ)] in terms of lp′.

We define a vector δ′ ∈ Sn as follows: δ′a′ = p,i,j:⌊rp⌋=a′ x(p)ij for every a′ ∈ Z≥0. That is, for every p, i, j, we include x(p)ij fractional connection of distance ⌊rp⌋ in δ′. By Corollary 4.5 and (8), we have

δ′ ⪯ 1+ϵ 1−ϵ δ.

To see the inequality, we consider how δ and δ′ is constructed: For every p ∈ P and i ∈ ballF(p, rp), we include x(p)ij fraction of distance d(i, j) in δ for every j, and we include j∈C x(p)ij fraction of distance ⌊rp⌋ ≤ 1+ϵ1−ϵ j∈C d(i, j)x(p)ij j∈C x(p)ij in δ′. Thus Corollary 4.5 can be applied.

The main lemma we prove is the following:

Lemma 4.14. E[ψ] is dominated by 1 − 1 e δ + 1 e · (δ ⊕ δ′ ⊗ 2).

We show why the lemma implies the desired approximation ratio. By the concavity of the top-cn(·) function in Lemma 4.2, we have

E [top-cn(ψ)] ≤ top-cn(E[ψ]) ≤ top-cn 1 − 1 e δ + 1 e · (δ ⊕ δ′ ⊗ 2)

Proof of Lemma 4.14. We focus on a single client j ∈ C. It is optimal to connect j to the nearest open facility. But for the sake of analysis, it is convenient to connect j to a random and possibly sub-optimal facility. Also, the connection cost we impose on j could be larger than its actual cost.

Abusing notations slightly, we use a pair (p, i) to denote the copy of facility i dedicated to ballF(p, rp). The probability that one facility in {(p, i) : x(p)ij > 0} is open is at least 1 − 1 e . Using a contention resolution scheme, we can connect j to 0 or 1 open facility in the set, such that

Pr[j connected to (p, i)] = 1 − 1 e x(p)ij, ∀(p, i).

When j is connected to (p, i), we impose a connection cost of d(i, j) for j. In this type, we say j is directly connected.

With the remaining probability of 1 − 1 − 1 e i,p x(p)ij = 1 − 1 − 1 e = 1 e , we say j is indirectly connected. We then specify the connection cost in this type. For every facility (p, i) with x(p)ij > 0, we know that some facility in ballF(p, rp) must be open. Then we can impose a connection cost of d(i, j) + 2 ⌊rp⌋ on j by connecting it to the facility in the ball. We make the indirect connection randomly using x(p)ij values: conditioned on that we make an indirect connection for j, we randomly choose a pair (p, i) with probabilities x(p)ij, and we impose a connection cost of d(i, j) + 2 ⌊rp⌋ on j.

Therefore, the connection cost of j is distributed as follows:

• For every facility (p, i), j is directly connected to (p, i) (and thus incurs a cost of d(i, j)) with probability 1 − 1 e x(p)ij.

• For every facility (p, i), j is indirectly connected via the facility (p, i) (and thus incurs a cost of d(i, j) + 2 ⌊rp⌋) with probability 1 e · x(p)ij.

Now we consider all clients j ∈ C. We have that E[ψ] is dominated by 1 − 1 e δ + 1 e · φ for some φ obtained by adding δ and δ′ ⊗ 2, which is dominated by δ ⊕ δ′ ⊗ 2 by Lemma 4.8. Therefore, by Lemma 4.4, we have E[ψ] is dominated by 1 − 1 e δ + 1 e · (δ ⊕ δ′ ⊗ 2).

4.6 Wrapping up

Therefore, when all steps are successful, and all our guesses are correct, the algorithm returns a solution with expected top-cn norm being at most 1 + 2 ec + O(ϵ) opt.

There are |S ∪ R|k different choices for P in Step 4 of Algorithm 4, and O log n ϵ k different choices for (rp)p∈P in Step 5. The success probability of Steps 2 and 3 in Algorithm 5 are respectively 1 − 1 n2 and ϵ3k kk . Therefore, if we enumerate all choices of P and (rp)p∈P, and repeat the algorithm O kk ϵ3k · log n times, the success probability can be increased to 1 − 1/poly(n). Overall, we obtain a final algorithm with running time

O k log n ϵ4 k · poly(n) ≤ O k2 log k ϵ4 k · poly(n) ≤ polyk, 1 ϵ k · poly(n),

that with high probability outputs a solution whose top-cn cost is at most 1 + 2 ec + O(ϵ) · opt. To see the first inequality, notice that either log n ≤ k log k, or (log n)k ≤ poly(n); thus (log n)k ≤ max{(k log k)k, poly(n)}.

References

[1] Karen Aardal, Pieter L.van den Berg, Dion Gijswijt, and Shanfei Li. Approximation algorithms for hard capacitated k-facility location problems. European Journal of Operational Research, 242(2):358–368, 2015. 1

[2] Fateme Abbasi, Sandip Banerjee, Jaroslaw Byrka, Parinya Chalermsook, Ameet Gadekar, Kamyar Khodamoradi, Dániel Marx, Roohani Sharma, and Joachim Spoerhase. Parameterized approximation schemes for clustering with general norm objectives. In 64th IEEE Annual Symposium on Foundations of Computer Science, FOCS 2023, pages 1377–1399, 2023. 1

[3] Marek Adamczyk, Jaroslaw Byrka, Jan Marcinkowski, Syed Mohammad Meesum, and Michal Wlodarczyk. Constant-factor FPT approximation for capacitated k-median. In 27th Annual European Symposium on Algorithms, ESA 2019, volume 144, pages 1:1–1:14, 2019. 1

[4] Sara Ahmadian, Ashkan Norouzi-Fard, Ola Svensson, and Justin Ward. Better guarantees for k-means and euclidean k-median by primal-dual algorithms. SIAM Journal on Computing, 49(4), 2020. 1

[5] Soroush Alamdari and David B. Shmoys. A bicriteria approximation algorithm for the k-center and k-median problems. In Workshop on Approximation and Online Algorithms, WAOA 2017, volume 10787, pages 66–75, 2017. 1

[6] Hyung-Chan An, Aditya Bhaskara, Chandra Chekuri, Shalmoli Gupta, Vivek Madan, and Ola Svensson. Centrality of trees for capacitated k-center. Mathematical Programming, 154(1):29–53, 2015. 1

[7] Ali Aouad and Danny Segev. The ordered k-median problem: surrogate models and approximation algorithms. Math. Program., 177(1-2):55–83, 2019. 1

[8] Vijay Arya, Naveen Garg, Rohit Khandekar, Adam Meyerson, Kamesh Munagala, and Vinayaka Pandit. Local search heuristic for k-median and facility location problems. In Proceedings of the 33rd Annual ACM Symposium on Theory of Computing, STOC 2001, pages 21–29, 2001. 1

[9] Sayan Bandyapadhyay, William Lochet, and Saket Saurabh. FPT constant-approximations for capacitated clustering to minimize the sum of cluster radii. In 39th International Symposium on Computational Geometry, SoCG 2023, volume 258, pages 12:1–12:14, 2023. 1

[10] Judit Barilan, Guy Kortsarz, and David Peleg. How to allocate network centers. Journal of Algorithms, 15(3):385–415, 1993. 1

[11] Vladimir Braverman, Vincent Cohen-Addad, Shaofeng H.-C. Jiang, Robert Krauthgamer, Chris Schwiegelshohn, Mads Bech Toftrup, and Xuan Wu. The power of uniform sampling for coresets. In 63rd IEEE Annual Symposium on Foundations of Computer Science, FOCS 2022,, pages 462–473, 2022. 1

[12] Vladimir Braverman, Shaofeng H.-C. Jiang, Robert Krauthgamer, and Xuan Wu. Coresets for ordered weighted clustering. In Proceedings of the 36th International Conference on Machine Learning, ICML 2019, volume 97, pages 744–753, 2019. 1

[13] Jarosław Byrka, Krzysztof Fleszar, Bartosz Rybicki, and Joachim Spoerhase. Bi-factor approximation algorithms for hard capacitated k-median problems. In Proceedings of the 26h Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2015, pages 722–736, 2014. 1

[14] Jarosław Byrka, Thomas Pensyl, Bartosz Rybicki, Aravind Srinivasan, and Khoa Trinh. An improved approximation for k-median and positive correlation in budgeted optimization. ACM Transactions on Algorithms, 13(2):1–31, 2017. 1

[15] Jaroslaw Byrka, Thomas W. Pensyl, Bartosz Rybicki, Aravind Srinivasan, and Khoa Trinh. An improved approximation for k-median and positive correlation in budgeted optimization. ACM Transactions on Algorithms, 13(2):23:1–23:31, 2017. 1

[16] Jarosław Byrka, Bartosz Rybicki, and Sumedha Uniyal. An approximation algorithm for uniform capacitated k-median problem with (1 + ϵ)-capacity violation. In International Conference on Integer Programming and Combinatorial Optimization, IPCO 2016, volume 9682, pages 262–274, 2016. 1

[17] Jaroslaw Byrka, Krzysztof Sornat, and Joachim Spoerhase. Constant-factor approximation for ordered k-median. In Proceedings of the 50th Annual ACM SIGACT Symposium on Theory of Computing, STOC 2018, pages 620–631, 2018. 1

[18] Deeparnab Chakrabarty and Chaitanya Swamy. Interpolating between k-median and k-center: Approximation algorithms for ordered k-median. In 45th International Colloquium on Automata, Languages, and Programming, ICALP 2018, volume 107, pages 29:1–29:14, 2018. 1

[19] Deeparnab Chakrabarty and Chaitanya Swamy. Approximation algorithms for minimum norm and ordered optimization problems. In Proceedings of the 51st Annual ACM SIGACT Symposium on Theory of Computing, STOC 2019, pages 126–137, 2019. 1

[20] Moses Charikar, Vincent Cohen-Addad, Ruiquan Gao, Fabrizio Grandoni, Euiwoong Lee, and Ernest van Wijland. An improved greedy approximation for (metric) k-means. In 66th IEEE Annual Symposium on Foundations of Computer Science, FOCS 2025, pages 233–240, 2025. 1

[21] Moses Charikar and Sudipto Guha. Improved combinatorial algorithms for the facility location and k-median problems. In 40th Annual Symposium on Foundations of Computer Science, FOCS 1999, pages 378–388, 1999. 1

[22] Moses Charikar, Sudipto Guha, Éva Tardos, and David B. Shmoys. A constant-factor approximation algorithm for the k-median problem. Journal of Computer and System Sciences, 65(1):129–149, 2002. 1

[23] Ke Chen. On k-median clustering in high dimensions. In Proceedings of the 17th Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2006, pages 1177–1185, 2006. 1

[24] Ke Chen. On coresets for k-median and k-means clustering in metric and euclidean spaces and their applications. SIAM Journal on Computing, 39(3):923–947, 2009. 1

[25] Julia Chuzhoy and Yuval Rabani. Approximating k-median with non-uniform capacities. In Proceedings of the 16th Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2005, volume 5, pages 952–958, 2005. 1

[26] Vincent Cohen-Addad, Hossein Esfandiari, Vahab Mirrokni, and Shyam Narayanan. Improved approximations for euclidean k-means and k-median, via nested quasi-independent sets. In Proceedings of the 54th Annual ACM SIGACT Symposium on Theory of Computing, STOC 2022, pages 1621–1628, 2022. 1

[27] Vincent Cohen-Addad, Andreas Emil Feldmann, and David Saulpic. Near-linear time approximation schemes for clustering in doubling metrics. Journal of the ACM, 68(6):1–34, 2021. 1

[28] Vincent Cohen-Addad, Fabrizio Grandoni, Euiwoong Lee, Chris Schwiegelshohn, and Ola Svensson. A (2 + ϵ)-approximation algorithm for metric k-median. In Proceedings of the 57th Annual ACM Symposium on Theory of Computing, STOC 2025, pages 615–624, 2025. 1

[29] Vincent Cohen-Addad, Anupam Gupta, Lunjia Hu, Hoon Oh, and David Saulpic. An improved local search algorithm for k-median. In Proceedings of the 2022 Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2022, pages 1556–1612, 2022. 1

[30] Vincent Cohen-Addad, Anupam Gupta, Amit Kumar, Euiwoong Lee, and Jason Li. Tight FPT Approximations for k-Median and k-Means. In 46th International Colloquium on Automata, Languages, and Programming, ICALP 2019, volume 132, pages 42:1–42:14, 2019. 1

[31] Vincent Cohen-Addad and Jason Li. On the fixed-parameter tractability of capacitated clustering. In 46th International Colloquium on Automata, Languages, and Programming, ICALP 2019, volume 132, pages 41–1, 2019. 1

[32] Marek Cygan, MohammadTaghi Hajiaghayi, and Samir Khuller. Lp rounding for k-centers with non-uniform hard capacities. In 53rd Annual IEEE Symposium on Foundations of Computer Science, FOCS 2012, pages 273–282, 2012. 1

[33] Gökalp Demirci and Shi Li. Constant approximation for capacitated k-median with (1 + ϵ)-capacity violation. In 43rd International Colloquium on Automata, Languages, and Programming, ICALP 2016, volume 55, pages 73:1–73:14, 2016. 1

[34] David Eisenstat, Philip N. Klein, and Claire Mathieu. Approximating k-center in planar graphs. In Proceedings of the 25th Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2014, pages 617–627, 2014. 1

[35] Jittat Fakcharoenphol, Satish Rao, and Kunal Talwar. A tight bound on approximating arbitrary metrics by tree metrics. In Proceedings of the 35th Annual ACM Symposium on Theory of Computing, STOC 2003, pages 448–455, 2003. 1

[36] Tomás Feder and Daniel Greene. Optimal algorithms for approximate clustering. In Proceedings of the 21th Annual ACM Symposium on Theory of Computing, STOC 1988, pages 434–444, 1988. 1

[37] Dan Feldman, Morteza Monemizadeh, and Christian Sohler. A ptas for k-means clustering based on weak coresets. In Proceedings of the 23rd Annual Symposium on Computational Geometry, SoCG 2007, pages 11–18, 2007. 1

[38] Dan Feldman, Melanie Schmidt, and Christian Sohler. Turning big data into tiny data: Constant-size coresets for k-means, pca, and projective clustering. SIAM Journal on Computing, 49(3):601–657, 2020. 1

[39] Qilong Feng, Zhen Zhang, Ziyun Huang, Jinhui Xu, and Jianxin Wang. A unified framework of FPT approximation algorithms for clustering problems. In 31st International Symposium on Algorithms and Computation, ISAAC 2020, volume 181, pages 5:1–5:17, 2020. 1

[40] Zachary Friggstad, Mohsen Rezapour, and Mohammad R Salavatipour. Local search yields a ptas for k-means in doubling metrics. SIAM Journal on Computing, 48(2):452–480, 2019. 1

[41] Teofilo F Gonzalez. Clustering to minimize the maximum intercluster distance. Theoretical Computer Science, 38:293–306, 1985. 1

[42] Dishant Goyal and Ragesh Jaiswal. Tight FPT approximation for constrained k-center and k-supplier. Theoretical Computer Science, 940:190–208, 2023. 1

[43] Dishant Goyal and Ragesh Jaiswal. Tight FPT approximation for socially fair clustering. Information Processing Letters, 182:106383, 2023. 1

[44] Sudipto Guha and Samir Khuller. Greedy strikes back: Improved facility location algorithms. Journal of Algorithms, 31(1):228–248, 1999. 1

[45] Anupam Gupta and Kanat Tangwongsan. Simpler analyses of local search algorithms for facility location. arXiv preprint arXiv:0809.2554, 2008. 1

[46] Dorit S Hochbaum and David B Shmoys. A best possible heuristic for the k-center problem. Mathematics of Operations Research, 10(2):180–184, 1985. 1

[47] Dorit S Hochbaum and David B Shmoys. A unified approach to approximation algorithms for bottleneck problems. Journal of the ACM, 33(3):533–550, 1986. 1

[48] Lingxiao Huang, Jian Li, Pinyan Lu, and Xuan Wu. Coresets for constrained clustering: General assignment constraints and improved size bounds. In Proceedings of the 2025 Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2025, pages 4732–4782, 2025. 1

[49] Kamal Jain and Vijay V. Vazirani. Primal-dual approximation algorithms for metric facility location and k-median problems. In 40th Annual Symposium on Foundations of Computer Science, FOCS 1999, pages 2–13, 1999. 1

[50] Kamal Jain and Vijay V Vazirani. Approximation algorithms for metric facility location and k-median problems using the primal-dual schema and lagrangian relaxation. Journal of the ACM, 48(2):274–296, 2001. 1

[51] Tapas Kanungo, David M Mount, Nathan S Netanyahu, Christine D Piatko, Ruth Silverman, and Angela Y Wu. A local search approximation algorithm for k-means clustering. In Proceedings of the 18th Annual Symposium on Computational Geometry, SoCG 2002, pages 10–18, 2002. 1

[52] Samir Khuller and Yoram J Sussmann. The capacitated k-center problem. SIAM Journal on Discrete Mathematics, 13(3):403–418, 2000. 1

[53] Silvio Lattanzi and Christian Sohler. A better k-means++ algorithm via local search. In Proceedings of the 36th International Conference on Machine Learning, ICML 2019, volume 97, pages 3662–3671, 2019. 1

[54] Shanfei Li. An improved approximation algorithm for the hard uniform capacitated k-median problem. arXiv preprint arXiv:1406.4454, 2014. 1

[55] Shi Li. Approximating capacitated k-median with (1 + ϵ)k open facilities. In Proceedings of the 27th Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2016, pages 786–796, 2016. 1

[56] Shi Li. On uniform capacitated k-median beyond the natural lp relaxation. ACM Transactions on Algorithms, 13(2):1–18, 2017. 1

[57] Shuilian Liu, Xianrun Chen, and Yicheng Xu. A fixed-parameter tractable approximation for capacitated k-supplier. Theoretical Computer Science, page 115605, 2025. 1

[58] Stuart Lloyd. Least squares quantization in pcm. IEEE Transactions on Information Theory, 28(2):129–137, 1982. 1

[59] Michal Osadnik. Fixed parameter tractable algorithm and coreset for the ordered k-median problem, master thesis. https://urn.fi/URN:NBN:fi:aalto-202405193486, 2023. 1

[60] Ján Plesník. A heuristic for the p-center problems in graphs. Discrete Applied Mathematics, 17(3):263–268, 1987. 1

[61] Arie Tamir. The k-centrum multi-facility location problem. Discret. Appl. Math., 109(3):293–307, 2001. 1

[62] Yicheng Xu, Rolf H Möhring, Dachuan Xu, Yong Zhang, and Yifei Zou. A constant parameterized approximation for hard-capacitated k-means. arXiv preprint arXiv:1901.04628, 2019. 1

A Making Distances Polynomially Bounded

In this section, we show how to make distances ∞ or integers in [0, poly(n)], losing only a (1 + ϵ)-factor in the approximation ratio, for any symmetric monotone objective norm f. We make a guess on the maximum connection distance L in the optimum solution. Consider the complete bipartite graph between F and C where the lengths of edges are the distances. If an edge has cost more than L, we remove the edge. Otherwise, we round the length down to the nearest integer multiple of ϵL 3n2. The new distance is defined as the metric-completion of the graph. If the original distance between two vertices is at most L, then the new distance is in [L − 2ϵL 3n , L]. The optimum cost of the two instances differ by at most the f(2ϵL 3n , 2ϵL 3n , · · · , 2ϵL 3n ), which is at most 2ϵ 3 f(L, 0, 0, · · · , 0) ≤ 2ϵ 3 · opt. After scaling the distances by 3n2 2ϵL , all distances are ∞ or integers in [0, n3 ϵ ].

B Proof of Theorem 2.9

In this section, we prove Theorem 2.9 and Corollary 2.10, which are repeated below for convenience.

Theorem 2.9. Let ϵ > 0 be a constant. We can efficiently find a set S of O k ln n ϵ valid stars such that

• (i,J)∈S J = C.

• Let b ∈ RC≥0 be the connection distance vector induced by S: For every j ∈ C, we have bj = d(i, j) for the unique star (i, J) with j ∈ J. Then h ((1 − ϵ)b) ≤ opt′.

The algorithm succeeds with high probability.

We solve convex program CP(11), defined as follows.

min h(dav) (11)

i∈F yi = k (12) xij ≤ yi ∀i ∈ F, j ∈ C (13) i∈F xij = 1 ∀j ∈ C (14) j∈C xij ≤ uiyi ∀i ∈ F (15) davj = i∈F d(i, j)xij ∀j ∈ C (16) xij ≥ 0 ∀i ∈ F, j ∈ C (17) yi ≥ 0 ∀i ∈ F (18)

In integer program correspondent to CP(11), yi indicates whether facility i is open or not, and xij indicates whether the client j is connected to facility i. (12) restricts us to open k facilities, (13) requires that a client can only be connected to an open facility, (14) requires every client to be connected to a facility, (15) is the capacity constraint, (16) defines the variables davj’s, and (17) and (18) are the non-negativity constraints.

In the integer programming, we require xij, yi ∈ {0, 1} for every i ∈ F, j ∈ C. davj is just the connection distance of j. In CP(11) relaxation; we relax the constraint to xij, yi ∈ [0, 1]. Then davj becomes the average connection distance of j over all its fractional connections. The objective is to minimize h(dav), which is convex. So the program is a convex program.

We solve CP (11) to obtain a solution (x, y, dav); let lp be the value of the solution. The algorithm is given in Algorithm 7.

Algorithm 7 Pseudo-Approximation()

1: solve CP(11) to obtain (xij)i∈F,j∈C, (yi)i∈F, (davj)j∈C

2: S ← ∅

3: repeatc′k log n ϵ times for a sufficiently large constant c′ > 0

4: randomly choose a facility i ∈ F according to the distribution {yi k }i∈F

5: choose a set J ⊆ C randomly such that

• |J| ≤ ui with probability 1

• Pr[j ∈ J] = xij yi for every j ∈ C

▷ It is well-known that such distribution J exists and we can efficiently generate J according to the distribution.

6: add (i, J) to S

7: if a client j appears in multiple stars in S, we only keep it in the star (i, J) with the smallest d(i, j)

8: return S

Observation B.1. Each (i, J) ∈ S is a valid star.

Definition B.2. We say a client j is good if there is a star (i, J) ∈ S with j ∈ J such that d(i, j) ≤ davj 1−ϵ.

Lemma B.3. With probability at least 1 − 1 n2, all clients in C are good.

Proof. We say j is covered in an iteration of the repeat loop, if in the iteration, we sampled a star (i, J) with j ∈ J and d(i, j) ≤ davj 1−ϵ. Notice that by Markov inequality and that i∈F yi = k, the probability that j is covered in an iteration is at least ϵ k. The probability that a client j is not covered in any iteration is at most

1 − ϵ kc′k log n ϵ ≤ e−c′ log n ≤ 1 n3,

when c′ is sufficiently large. The lemma follows from the union bound over all clients j ∈ C.

Theorem 2.9 follows from that h is monotone.

Then we prove Corollary 2.10, which is repeated below:

Corollary 2.10. Consider the minimum-norm k-clustering problem under a monotone norm f (which is not necessarily symmetric). There is a (3 + ϵ)-approximation algorithm for the problem in FPT time with parameters k and ϵ.

Proof. We let h be the norm f, and the capacities of facilities be ∞. We use Theorem 2.9 to obtain the set S of valid stars. Let S be the facilities used by S. Then we enumerate all sets T ⊆ S of size k and output the best one.

We then analyze the approximation ratio of the algorithm. Let S∗ be the optimum set of k facilities. For every i∗ ∈ S∗, we let φ(i∗) be the facility in S that is nearest to i∗. We claim that T := {φ(i∗) : i∗ ∈ S∗} gives a (3 + ϵ) approximation for the problem. For every j ∈ C, let i∗j be the facility j is connected to in the solution S∗. Let iSj be the facility in S closest to j. Then we have

d(j, T) ≤ d(j, i∗j) + d(i∗j, T) ≤ d(j, i∗j) + d(i∗j, φ(i∗j)) ≤ d(j, i∗j) + d(i∗j, j) + d(j, iSj)

The third inequality holds by d(i∗j, φ(i∗j)) ≤ d(i∗j, iSj) and the triangle inequality. Therefore, the connection distance of j in the solution T is at most twice its connection distance in the optimum solution, plus the connection distance in the solution S. So, its f-norm cost is at most 2 · opt + opt 1−ϵ = (3 + O(ϵ))opt.

C Minimum-Norm Capacitated k-Clustering With Given Open Facilities

This section is devoted to the proof of Theorem 2.11, which is repeated below for convenience:

Theorem 2.11. Consider a minimum-norm capacitated k-clustering instance defined by F, C, n, d, u and k, under a symmetric monotone norm f. Assume |F| = k and ϵ > 0 is a constant. We can find a (1 + ϵ)-approximate assignment σ ∈ FC for the instance in time g(k, ϵ) · poly(n), for a computable function g depending on k and ϵ.

C.1 Preliminary

We first provide important definitions useful for this section. Fix 0 < ϵ < 1 10. For c ∈ C and ∅ X ⊆ F, say c is X-exclusive, if the following two conditions hold:

(i) ∀f1, f2 ∈ X, d(f1,f2) d(c,X) ≤ ϵ;

(ii) ∀f ∈ F\X, maxf′∈X d(c,f′) d(c,f) ≤ ϵ.

If c ∈ C is not X-exclusive for any ∅ X ⊆ F, say c is inclusive. Define CX to be the set of X-exclusive clients, and CI as the set of inclusive clients.

We first show that, those X with nonempty CX forms a laminar family, whose inclusion relation forms a tree structure.

Lemma C.1. {X | CX = ∅} is a laminar family, i.e. If X ∩ Y = ∅, then either X ⊆ Y or Y ⊆ X.

Proof. Suppose the contrary, assuming there exists X and Y satisfying CX = ∅, CY = ∅, X ∩ Y = ∅, X\Y = ∅ and Y\X = ∅. Pick cX ∈ CX, cY ∈ CY, fX ∈ X\Y, fY ∈ Y\X and f∩ ∈ X ∩ Y.

Applied to set X, (i) shows d(cX, f∩) ≥ d(cX, X) ≥ 1 ϵ d(fX, f∩), and (ii) further shows d(cX, fY) ≥ 1 ϵ maxf′∈X d(c, f′) ≥ 1 ϵ d(cX, f∩). By triangular inequality, d(fY, f∩) ≥ d(fY, cX) − d(cX, f∩) ≥ 1−ϵ ϵ d(cX, f∩) ≥ 1−ϵ ϵ2 d(fX, f∩).

Similarly, d(fX, f∩) ≥ 1−ϵ ϵ2 d(fY, f∩), a contradiction as 1−ϵ ϵ2 > 1 for ϵ < 1 10.

Corollary C.2. |{X | CX = ∅}| = O(k).

In the following lemma, we show that {CX | ∅ X ⊆ F} and CI partitions C.

Lemma C.3. For ∅ X, Y ⊆ F, CX ∩ CY = ∅ implies X = Y.

Proof. Prove by contradiction. Choose any c ∈ CX ∩ CY. Without loss of generality, suppose X\Y = ∅ and choose any f1 ∈ X\Y and f2 ∈ Y. (ii) applied to Y gives d(c,f2)d(c,f1) ≤ ϵ. If f2 ∈ Y\X, (ii) applied to X gives d(c,f1)d(c,f2) ≤ ϵ, a contradiction. Otherwise, f2 ∈ X, (i) applied to X gives d(f1,f2) d(c,f1) ≤ ϵ. According to triangular inequality, d(c,f2)d(c,f1) ≥ 1 − ϵ, a contradiction with ϵ < 1 10.

Finally, we show that, if a client is inclusive, then its distance to any facility is close to the distance between this facility and some other facility. Then, after discretization, there are only O(k) possible distances for each facility.

Lemma C.4. If c ∈ CI, then for every f1 ∈ F, there exists f2 ∈ F, such that ϵ 4 ≤ d(c,f1) d(f1,f2) ≤ 4 ϵ .

Proof. Suppose the contrary. Then there exists f1 ∈ F such that, for every f2 ∈ F, d(f1,f2) d(c,f1) < ϵ 4 or d(f1,f2) d(c,f1) > 4 ϵ . Let X := {f2 ∈ F : d(f1,f2) d(c,f1) < ϵ 4}. We show that c is X-exclusive, contradicting c ∈ CI. First, for every x, y ∈ X, d(x, y) ≤ d(x, f1) + d(f1, y) ≤ ϵ 2d(c, f1). Then d(c, X) = minx∈X d(c, x) ≥ (1 − ϵ 4)d(c, f1), the inequality holds by d(f1, x) < ϵ 4d(c, f1) for every x ∈ X and the triangle inequality. Thus condition (i) holds. Second, for every f ∈ F \ X, we have d(f1, f) > 4 ϵ d(c, f1). For every x ∈ X, d(c, x) ≤ (1 + ϵ 4)d(c, f1) and d(c, f1) ≥ (4 ϵ − 1)d(c, f1). Thus condition (ii) also holds, so c ∈ CX.

Corollary C.5. For any f ∈ F, |{(1 + ϵ)log1+ϵ d(c,f) | c ∈ CI}| = O(k).

Proof. Lemma C.4 says that, for all f ∈ F, c ∈ CI, d(c, f) ∈ f′∈F ϵ 4d(f, f′), 4 ϵ d(f, f′). For each interval, the discretization has log1+ϵ 16 ϵ2 = 1 ϵO(1) = O(1) possible results. Summing over all f′ ∈ F, we conclude |{(1 + ϵ)log1+ϵ d(c,f) | c ∈ CI}| = k ϵO(1). In particular, for fixed ϵ, this number is O(k).

C.2 Algorithm

We first provide the intuition of the algorithm. Suffer ϵ loss to apply the discretization between distances from CI to F. Now, consider inclusive and exclusive clients separately.

• As Corollary C.5 shows, after discretization, each facility has O(k) possible distances to CI. As the norm is symmetric, only the number of linkages for each distance matters, so in total O(k2) integers with value range [0, n] suffice to determine their contribution.

• For X-exclusive clients, (ii) implies that linkages to any facility f ∈ F\X have distance roughly d(f, X), with ϵ error. Therefore, only the number of linkages matters.

• (i) further implies that, any c ∈ CX that links to X has distance approximately d(c, X), with ϵ loss. Since F\X pose no except frequency constraint on the matching from CX, to minimize the cost from CX to X, we can always match the nearest clients in CX to X. Finally, only the number of linkages inside X is useful.

The following lemma formalizes the intuition above.

Lemma C.6. For solutions S and S′, val(S′) ≤ (1 + O(ϵ))val(S) if S′ satisfies all conditions below:

• ∀f ∈ F, d ∈ {(1 + ϵ)⌈log1+ϵ d(c,f)⌉ | c ∈ CI}, the number of linkages from CI to f with discretized distance d is the same between S and S′;

• ∀∅ X ⊆ F, ∃d0 ∈ R, such that ∀c ∈ CX, c links to X in S′ if and only if d(c, X) ≤ d0. 7

7Without loss of generality, suppose d(c, X) are distinct for c ∈ CX.

• ∀∅ X ⊆ F, f ∈ F\X, the number of linkages from CX to f is the same between S and S′;

Proof. Those conditions imply that, we can always find a bijection φ : C → C, where for all c ∈ C, suppose c matches f in S and φ(c) matches f′ in S′, then

• If c ∈ CI, then φ(c) ∈ CI, f′ = f and (1 + ϵ)⌈log1+ϵ d(c,f)⌉ = (1 + ϵ)⌈log1+ϵ d(φ(c),f′)⌉;

• If c ∈ CX and f ∈ X, then φ(c) ∈ CX, f′ ∈ X and d(φ(c), X) ≤ d(c, X);

• If c ∈ CX and f ∈ X, then φ(c) ∈ CX and f′ = f.

To prove the statement of the lemma, it suffices to show d(φ(c), f′) ≤ (1 + O(ϵ))d(c, f). For the case c ∈ CI, (1 + ϵ)⌈log1+ϵ d(c,f)⌉ = (1 + ϵ)⌈log1+ϵ d(φ(c),f′)⌉ directly implies d(φ(c), f′) ≤ (1 + ϵ)d(c, f). For the case c ∈ CX and f ∈ X, we have f′ = f. By condition (ii), d(φ(c), f′) ≤ 1 1−ϵd(f′, X) = 1 1−ϵd(f, X) ≤ 1+ϵ1−ϵd(c, f). For the case c ∈ CX and f ∈ X, condition (i) implies d(φ(c), f′) ≤ (1 + ϵ)d(φ(c), X) ≤ (1 + ϵ)d(c, X) ≤ (1 + ϵ)d(c, f).

Lemma C.6 shows that, to construct an (1 + O(ϵ))-approximate solution, it suffices to know at most O(k2) integers in [0, n] about the optimal solution. So the algorithm first guesses such information, and then constructs the solution based on the guess. The algorithm first guesses

• ∀f ∈ F, d ∈ {(1 + ϵ)⌈log1+ϵ d(c,f)⌉ | c ∈ CI}, the number of clients in CI matched to f with discretized distance d, denoted as nf,d. Guessing the exact value is unaffordable, so we guess it approximately, meaning that we guess mf,d ∈ {0} ∪ {(1 + ϵ)r | r ∈ [0, ⌈log1+ϵ n⌉]}, and we say the guess is correct when mf,d 1+ϵ ≤ nf,d ≤ mf,d. The number of possible choice for mf,d is O(⌈log1+ϵ n⌉) = O(ln n ϵ ).

• ∀∅ X ⊆ F and f ∈ X, the number of clients in CX matched to f, denoted as nX,f. It is also guessed approximately as above.

We use the guessing part to find a solution satisfying all conditions below:

• ∀f ∈ F, d ∈ {(1 + ϵ)⌈log1+ϵ d(c,f)⌉ | c ∈ CI}, the number of clients matched from CI to f with discretized distance d is bounded by mf,d;

• ∀∅ X ⊆ F, define tX = max(0, |CX| − f∈X mc,f), then the top-t nearest clients to X in CX are matched to X. All other clients in CX are arbitrarily allocated to facilities in F\X, such that the set Af allocated to f ∈ X have size at most mX,f. Clients in Af can be matched to f or X.

• All clients are matched to some facility, and the capacity constraint for all facilities is satisfied.

For the second condition, as the number of facilities matched in X is understated, we should allow facilities allocated to facilities outside X to match X to fulfill the capacity constraint. However, measuring their cost as their distance to f is always safe.

As the optimal solution simultaneously satisfies all above conditions with careful allocation in the second condition, there exists a solution. The solution can be easily found by a maximum matching algorithm in polynomial time.

Approximation Ratio When we know all the information exactly, Lemma C.6 shows that the final solution gives 1 + O(ϵ) approximation. When guessing approximately, all information is at most (1 + ϵ) times the correct value. From sub-additivity, exceeding part affects the norm by at most ϵ fraction. Finally, the approximation ratio is still (1 + O(ϵ)).

Runtime All except the guessing part can be done in polynomial time. For the guessing, we need to guess O(k2) numbers with O(ln n ϵ ) choices each, so the total runtime is (ln n ϵ )O(k2)nO(1), which is bounded by k ϵ O(k2) · poly(n).

D Missing Proofs from Section 4

Lemma 4.2. For every real ℓ ∈ [0, n], we have that top-ℓ(·) is concave on Sn.

Proof. Let δ, δ′ ∈ Sn, and β ∈ [0, 1]. Let α and α′ be the vectors that define top-ℓ(δ) and top-ℓ(δ′) respectively in Definition 4.1. Then βα + (1 − β)α′ is a candidate solution for the LP in the definition of top-ℓ(βδ + (1 − β)δ′). Therefore, top-ℓ(βδ + (1 − β)δ′) ≥ L1(βδ + (1 − β)δ′) = β · L1(δ) + (1 − β) · L1(δ′) = β · top-ℓ(δ) + (1 − β) · top-ℓ(δ′).

Lemma 4.4. Assume δ1, δ2, · · · , δH, δ′1, δ′2, · · · , δ′H are 2H vectors in Sn, γ ∈ R>0, and δ′h ⪯γ δh for every h ∈ [H]. Let β1, β2, · · · , βH ∈ [0, 1] satisfy Hh=1 βh = 1. Then

H h=1 βhδ′h ⪯γ H h=1 βhδh.

Proof. Let δ = Hh=1 βhδh and δ′ = Hh=1 βhδ′h. Our goal is to prove δ′ ⪯γ δ. We need to show that top-ℓ(δ′) ≤ γ · top-ℓ(δ), for any ℓ ∈ [0, n]. Fix ℓ ∈ [0, n].

Then, we have some 0 ≤ α ≤ δ′ with |α′|1 = ℓ and L1(α′) = top-ℓ(δ′). Then, there are vectors α′0, α′1, · · · , α′H ∈ RZ≥0≥0 satisfying

• α′ = Hh=0 βhα′h, and

• 0 ≤ α′h ≤ δ′h for every h ∈ [H].

For every h ∈ [H], define ℓh = |α′h|1; then, top-ℓh(δ′h) ≥ L1(α′h). There exists some 0 ≤ αh ≤ δh such that |αh|1 = ℓh and top-ℓh(δh) = L1(αh). By that δ′h ⪯γ δh, we have

L1(α′h) ≤ top-ℓh(δ′h) ≤ γ · top-ℓh(δh) = γ · L1(αh).

Also notice that Hh=1 βhℓh = ℓ. Define α = Hh=1 βhαh. Then, we have 0 ≤ α ≤ δ, |α|1 = Hh=1 βh|αh|1 = Hh=1 βhℓh = ℓ, and

L1(α) = L1 H h=1 βhαh = H h=1 βhL1(αh)

Corollary 4.5. Let δ ∈ Sn, and δ = Hh=0 θh where H ∈ Z≥0 and θ0, θ1, · · · , θH ≥ 0. Let γ ≥ 1. For every h ∈ [H], let bh ∈ Z≥0 satisfy bh ≤ γ · L1(θh) |θh|1 . Let δ′ = θ0 + Hh=1 |θh|1 · ebh, where eb for any b ∈ Z≥0 is the vector in RZ≥0≥0 with (eb)b = 1 and (eb)b′ = 0 if b′ = b.

Then δ′ ⪯γ δ.

Proof. We define δh for every integer h ∈ [0, H] to be n · θh |θh|1. Define δ′0 = δ0, and δ′h = n · ebh for every h ∈ [H]. Then δ′h ⪯γ δh for every integer h ∈ [0, H]; notice that γ ≥ 1. Define βh = |θh|1 n for every h ∈ [0, H]. Then,

δ = H h=0 βhδh and δ′ = H h=0 βhδ′h.

By Lemma 4.4, we have δ′ ⪯γ δ.

Theorem 4.9. Let δ, δ′ ∈ Sn such that δ′ ⪯γ δ for some γ > 0. Let c ∈ (1 e , 1] and α ∈ [0, c]. Then we have

top-cn(1 − α)δ + α · (δ ⊕ δ′ ⊗ 2) ≤ 1 + 2αγ c top-cn(δ).

Proof. There are two reals x, y ∈ [0, 1] with x ≤ c ≤ y such that

(1 − α)x + αy = c, and

We have

top-yn(δ ⊕ δ′ ⊗ 2) ≤ top-yn(δ) + 2 · top-yn(δ′) ≤ (1 + 2γ) · top-yn(δ).

The second inequality is by that δ′ ⪯γ δ. Therefore,

top-cn(1 − α)δ + α(δ ⊕ δ′ ⊗ 2) ≤ (1 − α) · top-xn(δ) + α · top-yn(δ) + 2αγ · top-yn(δ)

The second inequality used that top-zn(δ) for a fixed δ is a concave function over z ∈ [0, 1], and top-yn(δ) ≤ top-n(δ) ≤ 1 c · top-cn(δ).

E (3, 1 + 2 ec + ϵ)-Bi-Criteria Approximation for (L∞, top-cn)-Norms k-Clustering Problem

In this section, we prove Theorem 1.4 by giving the (3, 1 + 2 ec)-bi-criteria approximation for the (L∞, top-cn)-norms k-clustering problem, for c ∈ (1 e , 1].

Definition E.1. In the (L∞, top-cn)-Norms k-Clustering problem, we are given F, m, C, n, k and d as in Definition 2.7, and a number L ∈ R≥0, the goal of the problem is to find a set S ⊆ F of k facilities so as minimize |d(S)|top-cn, subject to |d(S)|∞ ≤ L.

Let opt be the optimum value of the instance. A solution S ⊆ F, |S| = k is called an (α, β)-bicriteria approximation for the instance, for some α, β ≥ 1, if |d(S)|∞ ≤ αL and |d(S)|top-cn ≤ β · opt.

To prove Theorem 1.4, the main modification to Algorithm 5 is that in Step 2, after applying Theorem 2.9 for the top-cn norm to obtain S and S, we add O(k log n) facilities that form a 1-approximation (this can be achieved using LP rounding or Theorem 2.9) for the L∞ norm to S. Now S is a (1 + O(ϵ))-approximation for top-cn norm and has L∞ cost L. Then, when guessing rp’s in Step 5, we guarantee rp ≤ L. In the end, we return the solution with the smallest top-cn cost, whose L∞ cost at most 3L.

Clearly, if our guesses are correct, then the solution constructed have L∞ cost at most 3L. Consider an optimum cluster (i∗, J), where every j ∈ J has d(i∗, j) ≤ L. If it is of type-1 or 2, the pivot p is in J and thus has d(i∗, p) ≤ L. We are guaranteed to open a facility with distance rp ≤ L to p. Therefore, the distance of the facility to i∗ is at most 2L, implying that the distance from all clients J to i∗ is at most 3L. When (i∗, J) is of type-3, then the nearest facility to i∗ in S has distance at most 2L to i∗, and thus distance at most 3L to all clients in J. Finally, for the case c ∈ (0, 1 e ], a (3, 3 + ϵ)-approximation can be achieved easily by modifying Algorithm 7 in the proof of Theorem 2.9.