A \((2{+\varepsilon})\)-Approximation Algorithm for Metric \(k\)-MedianSpectral Dual Fitting for \(k\)-Means


Fabrizio Grandoni

, Euiwoong Lee, Amatya Sharma, Ernest van Wijland


Abstract

We give a new dual fitting algorithm which gives improved approximation ratios of \(3+\ln 2 + \varepsilon\;(\approx 3.694)\) and \(4.9+\varepsilon\) for \(k\)-Means in (high-dimensional) Euclidean and general metrics respectively, improving upon the previously known ratios of \(4+\varepsilon\) [Charikar, Cohen-Addad, Gao, Grandoni, Lee, and van Wijland STOC’26] and \(5+\varepsilon\) [Byrka, Guo, Hu, Li, Wan, Wang FOCS’26], resp. In particular, our result for Euclidean \(k\)-Means breaks the hardness barrier of \(1+8/e\approx 3.94\) for Metric \(k\)-Means. Prior to our work, no such separation between general and Euclidean metrics was known for \(k\)-Median, \(k\)-Means, or Facility Location in terms of their approximability.

Unlike prior dual fitting approaches for \(k\)-Means, our new dual fitting algorithm tightly accounts for dual payments while still facilitating an effective dual feasibility analysis. We introduce a new framework that uses spectral analysis for determining the approximation factor of our algorithm.

1 Introduction↩︎

Clustering is one of the most fundamental tasks in data science with wide-ranging applications across various domains, including unsupervised learning, text and image analysis, recommender systems, and bioinformatics. (Metric) \(k\)-Means is one of the most well-studied clustering objectives. Given a collection of \(n\) clients \(D\), a collection \(F\) of potential center locations in a metric space defined by distances \(d(.,.)\), and an integer \(k \in [n]\), the goal is to select \(k\) centers \(S \subseteq F\) such that \(\mathrm{conn}(S) := \sum_{j \in D} d^2(j,S)\) is minimized, where \(d(j,S)\) is the distance of point \(j\) to its nearest center in \(S\). A very important special case is Euclidean \(k\)-Means, where \(D\) are points in a Euclidean space, and \(F\) is implicitly given by any point in the Euclidean space.1 By standard techniques [1], [2] and losing only a \((1+\varepsilon)\) factor in the approximation ratio for any constant \(\varepsilon> 0\), we can restrict \(F\) to a polynomial-time-computable subset of points. W.l.o.g., we will also assume that \(D\subseteq F\).

From a theoretical standpoint, the study of clustering problems through the lens of (polynomial-time) approximation algorithms has been extremely successful, yielding new algorithms and analysis techniques. In particular, \(k\)-Means and the closely related \(k\)-Median (whose objective function \(\sum_{j \in D} d(j, S)\) is the sum of non-squared distances) are two problems that have received the most attention. For \(k\)-Median, there have been gradual developments over the last three decades using various algorithmic techniques, including primal LP rounding [3], [4], primal-dual [5], greedy algorithm with dual fitting analysis [6][8], local search [9], and bipoint rounding [10][12]. The current best approximation ratio is \((2 + \varepsilon)\), achieved by [13]. It is known that one cannot improve the approximation ratio beyond \(1 + 2/e \approx 1.73\) [14].

For \(k\)-Means, the picture has been much more elusive. While new algorithmic techniques for \(k\)-Median often translate to \(k\)-Means, it takes nontrivial technical effort, and the approximation ratios usually end up being much larger: this is because only approximate versions of triangle inequalities are available for squared metrics, which present technical challenges for some \(k\)-Median algorithms, most notably the ones based on dual fitting.

For Metric \(k\)-Means, [15] gave a \(25\)-approximation using local search, which was improved to a \((9 + \varepsilon)\) approximation by [16] via primal-dual. Recently, the approximation factor was improved to \(5.83\) [17] via a novel dual fitting algorithm. For Euclidean \(k\)-Means, [18] gave a \((9 + \varepsilon)\)-approximation using local search, followed by improvements using primal-dual methods [16], [19], [20] and most recently to \(4 + \varepsilon\) [21] via dual fitting. The hardness for the metric case is \(1 + 8/e \approx 3.94\), while for Euclidean metrics the hardness is \(1.17\) [22], and under a stronger conjecture called the Johnson Coverage Hypothesis (JCH), the hardness can be strengthened to \(1.73\) [23]. We remark that we focus on the high-dimensional Euclidean case here, while better algorithms are known for the low-dimensional one [24][26].

In this work, we give a new dual fitting based algorithm that gives significantly better approximation ratios for both Euclidean \(k\)-Means and Metric \(k\)-Means. Our algorithm leads to a \(3+\ln 2+\varepsilon\;(\approx 3.694)\) approximation for the Euclidean case and a \(4.9 + \varepsilon\) approximation for the metric case. Our result for Euclidean metrics is the first algorithm that gives an approximation ratio below the \(3.94\)-hardness barrier for the metric case, showing that the optimal approximation ratios for these two versions will be different assuming \(\mathbf{P} \neq \mathbf{NP}\). Such a separation between general metrics and high-dimensional Euclidean metrics, even after extensive recent work [20], [23], [27], has not been achieved for \(k\)-Median and Facility Location.

theoremmaineuclidean For any \(\varepsilon> 0\), there is a polynomial-time algorithm that yields a \((3 + \ln 2 + \varepsilon)\)-approximation for Euclidean \(k\)-Means.

theoremmainmetric For any \(\varepsilon> 0\), there is a polynomial-time algorithm that yields a \((4.9 + \varepsilon)\)-approximation for Metric \(k\)-Means.

Our main technical contribution is an improved Lagrangian Multiplier Preserving (LMP) approximation for the following (Uncapacitated) Facility Location problem (with squared distances and uniform opening costs), which we simply call Facility Location throughout the paper: the input consists of a set of clients \(D\), a collection of centers \(F\), a (possibly Euclidean) metric \(d\) on \(D \cup F\), and a facility opening cost \(f\), and the goal is to select \(S \subseteq F\) that minimizes \(f |S| + \mathrm{conn}(S)\). In particular, \(S \subseteq F\) is called an LMP \(c\)-approximation if \(c \cdot f|S| + \mathrm{conn}(S) \leq c \cdot {\rm OPT}_{\mathrm{LP}}(f)\), where \({\rm OPT}_{\mathrm{LP}}(f)\) denotes the optimal cost of the standard LP relaxation for Facility Location defined in 3. Our algorithms yield LMP \(4.9\) and \((3+\ln 2)\)-approximations for Facility Location in general and Euclidean metrics, respectively.

Our improved LMP approximation is obtained via a refined dual fitting algorithm that tightly accounts for the cost incurred, while still being able to facilitate an improved one-cluster based dual feasibility analysis. We also introduce a novel spectral analysis for \(k\)-Means, departing from the usual factor-revealing linear programs. The spectral analysis provides a more accurate method to analyze the squared objective in \(k\)-Means compared to the previous approaches. More specifically, upper bounding the approximation factor reduces to upper bounding the largest eigenvalue of a family of matrices. The latter task is highly non-trivial, but it leads to substantially lower approximation factors compared to known methods.

This is then combined with the two-step framework recently used in [13], [17], [21] to obtain our approximation algorithm. For the first step, building on our LMP approximation, we use the idea of log-adaptive algorithms to obtain a good approximate solution for \(k\)-Means that opens \(k + O(\log n / \varepsilon^3)\) centers. Let \(\text{OPT}_k\) be the optimal cost for an instance of \(k\)-Means.

Theorem 1. For any constant \(\varepsilon> 0\), there is a polynomial-time algorithm that, given an instance of \(k\)-Means, finds \(S \subseteq F\) with \(|S| = k + O(\log n/ \varepsilon^3)\) satisfying \(\mathrm{conn}(S) \leq (\Gamma + O(\sqrt{\varepsilon})) \cdot \text{OPT}_k\), where \(\Gamma = 3+\ln 2\) for Euclidean metrics and \(\Gamma = 4.9\) for general metrics.

The second step of the framework studies stable instances. A \(k\)-Means instance is \(\beta\)-stable if \(\text{OPT}_{k-1} \geq (1 + \beta)\text{OPT}_k\), where \(\text{OPT}_{k-1}\) denotes the optimal cost of \((k-1)\)-Means with the same clients and centers. We show that a slightly more careful analysis of the same algorithms as in [17], [21] yields the following results.

Theorem 2. For any constants \(\varepsilon,\zeta>0\), there is a polynomial-time randomized algorithm for Metric \(k\)-Means that with high probability returns a solution of cost at most \((4+\varepsilon)\text{OPT}_k\) assuming that the input instance is \((\zeta/\log n)\)-stable.

Theorem 3. For any constants \(\varepsilon,\zeta>0\), there is a polynomial-time randomized algorithm for Euclidean \(k\)-Means that with high probability returns a solution of cost at most \((2+\varepsilon)\text{OPT}_k\) assuming that the input instance is \((\zeta/\log n)\)-stable.

These results improve the \((5+\varepsilon)\)-approximation for general metrics and the \((4+\varepsilon)\)-approximation for Euclidean metrics [17], [21]. Similar to previous results [13], [17], [21], given [thr:mainBicriteria,thr:mainMetricStable,thr:mainEuclideanStable], we can easily prove our main results [thm:main95euclidean] and [thm:main95metric]; given a \(k\)-Means instance, if it is not \(\Omega(\varepsilon^4/\log n)\)-stable as a \(k'\)-Means instance for each \(k' = k, k-1, \dots, k - O(\log n /\varepsilon^3)\), then \(\text{OPT}_{k - O(\log n /\varepsilon^3)} \approx \text{OPT}_k\) and we can use 1 with \(k \leftarrow k - O(\log n /\varepsilon^3)\). Otherwise, the instance is stable for some \(k'\) in the above range, and we can use [thr:mainMetricStable,thr:mainEuclideanStable]. The formal proof appears in 11.

1.0.0.1 Concurrent work.

Concurrently and independently, Byrka, Guo, Hu, Li, Wan, and Wang [28] gave an iterative randomized rounding framework for \(k\)-clustering with \(\ell_p^p\)-type assignment costs. For Metric \(k\)-Means, their framework gives a \((5+\varepsilon)\)-approximation, improving the previous \(5.83\)-approximation. For Euclidean \(k\)-Means, they give a \((4+\varepsilon)\)-approximation and prove an \(11/3\)-LMP approximation. Their approach is LP-rounding based and is conceptually different from our dual-fitting/spectral analysis. Our results have better approximation guarantees for both settings, giving \((4.9+\varepsilon)\) for Metric \(k\)-Means and \((3+\ln 2+\varepsilon)\) for Euclidean \(k\)-Means.

2 Technical Overview↩︎

We start by revisiting the dual fitting algorithm for Facility Location of the two papers by Charikar et al. [17], [21] for Metric and Euclidean \(k\)-Means, respectively. The two algorithms are very similar, except for one difference that [21] lowers certain dual values which can lead to further improvements. In this overview, this difference is not important, but we will use the stronger algorithm from [21] which is still as good as the older algorithm [17] for the metric case as well.

We provide a description of their algorithm below.

2.0.0.1 Greedy Algorithm.

The algorithm maintains a set \(A\) of active clients, a set \(S \subseteq F\) of open facilities, and a partition of clients into three classes: active clients \(A\), indirectly connected clients \(IC\), and directly connected clients \(DC\). Intuitively, active clients are not yet connected to an open facility, and they are actively growing their dual variables. Indirectly connected clients are connected to an open facility, but they do not directly contribute (a strictly positive amount) to the opening cost of that facility. On the other hand, directly connected clients are connected to an open facility and they directly contribute to the opening cost of that facility. Initially, \(A=D\), \(IC=DC=S=\emptyset\), and \(\alpha_j=0\) for every client \(j\in D\). Fix a parameter \(\rho > 1\). We let \(\hat{f} = \Gamma f\) where \(\Gamma\) is some constant that depends on \(\rho\) to be specified later, and \(f\) is the (uniform) facility cost.

As long as \(A\neq\emptyset\), the algorithm increases uniformly the (dual) values \(\alpha_j\) for all clients \(j\in A\) until one of the following two events occurs.

  1. A facility becomes tight. There exists an unopened facility \(i\in F\setminus S\) such that \[\label{eqn:facold} \sum_{j\in A \cup IC}\left[\alpha_j - \rho \cdot d^2(j,i)\right]^+ + \sum_{j\in DC}\left[\rho d^2(j,S) - \rho d^2 (j, i)\right]^+ = \hat{f}.\tag{1}\] In this case, the algorithm opens facility \(i\). Every client \(j\in DC\) with \(d^2(j,S)>d^2(j,i)\) is reconnected to \(i\). For every client \(j\in A\cup IC\), the algorithm acts as follows:

    • if \(\alpha_j \ge \rho \cdot d^2(j,i)\), then \(j\) is connected (or reconnected) to \(i\) and moved to \(DC\);

    • else, if \(\alpha_j \ge d^2(j,i)\), then \(j\) is connected (or reconnected) to \(i\), its value \(\alpha_j\) is lowered to \(d^2(j,i)\), and \(j\) is moved to \(IC\) if it was in \(A\).

  2. An active client reaches its current service cost. For some client \(j\in A\), we have \[\alpha_j = d^2(j,S).\] In this case, the client \(j\) is moved to \(IC\) and connected to its closest facility in \(S\).

Intuitively, the quantities of type \([\cdot]^+\) above are bids that client \(j\) is willing to pay to open facility \(i\). Via these bids, \(j\) can contribute to the opening of multiple facilities. At the same time, the residual dual \(\alpha_j\) of \(j\) after subtracting these bids is sufficient to connect \(j\) to the closest open facility. The algorithm naturally defines a notion of time, such that at time \(\theta\), all the active clients have \(\alpha\)-value \(\theta\).

Then, they show the following two cost accounting lemmas (similar to [7]) for this algorithm (considering the values of \(\alpha\) and \(S\) at the end of the algorithm), that lead to an LMP \(\Gamma\)-approximation.

Lemma 1 (Dual Payment, for any metric). \(\sum_{j \in D} \alpha_j \geq \hat{f}|S| + \sum_{j \in D} d^2(j,S)\).

Note that the RHS of this inequality is the cost of the computed solution (with facility cost \(\hat{f}=\Gamma\,f\)). The proof of this lemma follows from the fact that a facility is only opened when it is fully paid for (by the bids), and the fact that for any client \(j\), after subtracting any bid to open facilities, the remaining part of \(\alpha_j\) can still pay for its connection cost \(d^2(j,S)\).

Lemma 2 (Dual Feasibility, [17], [21]). Let \(\rho=\sqrt{2}+1\) (resp., \(\rho=2\) for Euclidean metrics). Fix any facility \(i\). Then \[\sum_{j \in D} \left[\alpha_j - \Gamma d^2(j,i)\right]^+ \leq \hat{f},\] where \(\Gamma=3+2\sqrt{2}\) (resp., \(\Gamma=4\) for Euclidean metrics).

2 implies that \((\alpha / \Gamma)\) is dual-feasible for the Facility Location LP (see 7 ) with opening cost \(f\). Combining this with 1, one gets \[\Gamma f |S| + \mathrm{conn}(S) \leq \sum_{j \in D} \alpha_j \leq \Gamma \cdot {\rm OPT}_{LP}(f),\] concluding that \(S\) is an LMP \(\Gamma\)-approximate solution.

While the dual payment lemma more or less follows directly from the algorithm description, the key challenge in [17], [21] has been proving dual feasibility given the complexity of the algorithm due to the presence of both IC and DC clients and the non-monotonicity of the dual variables.

2.0.0.2 The barrier of previous works.

Our first observation is that there is a barrier for the dual feasibility analysis of the algorithm of [21] for Euclidean metrics — a very simple example shows that the LMP \(4\)-approximation analysis of 2 can be tight for some facility \(i\). As illustrated in 1, we will consider points on a line (i.e., \(1\)-dimensional Euclidean space). Let \(i\) be a facility and \(D^*=\{1,2\}\) located at \(x_i = 0\), \(x_1=-1\), \(x_2=1\). Then, \(d^2(1,i)+d^2(2,i)=2\). Let \(\hat{f}=20\). The algorithm simultaneously increases \(\alpha_1\) and \(\alpha_2\) until \([\alpha_1-\rho d^2(1,i)]^+ +[\alpha_2-\rho d^2(2,i)]^+ = [\alpha_1-2]^+ +[\alpha_2-2]^+=20\), i.e., when \(\alpha_1=\alpha_2=12\). At this time point, suppose that client \(1\) gets directly connected to the only open facility at \(x_{i'}=-3\) (which was opened via bids from client \(1\) and other clients not in \(D^*\)). This leads to \(d^2(1,S)=4\). From now on, the bid of client \(1\) to facility \(i\) becomes \(8-2=6\). We will keep increasing \(\alpha_2\) until one of the following holds:

  1. \(\alpha_2\geq d^2(2,S)=(x_2-x_{i'})^2 = 16\). In this case, we have client 2 indirectly connected to \(i'\).

  2. \(6+[\alpha_2-2]^+=20\), which means \(\alpha_2=16\). In this case, we have \(i\) opened and client 2 directly connected to \(i\).

Therefore, we have \(\sum_{j\in D^*} \alpha_j = 12+16=28\). On the other hand, we have \(\hat{f} + 4(d^2(1,i)+d^2(2,i)) = 20 + 4\cdot 2 = 28\). Hence, the dual feasibility is tight for this example, and we cannot hope for an LMP approximation ratio below \(4\) using this algorithm.

Figure 1: Barrier example for the previous dual-feasibility analysis.The facility i is at 0, the two clients are at -1 and 1, and an already open facility i' is at -3.Thus d^2(1,i)=d^2(2,i)=1, while d^2(1,i')=4 and d^2(2,i')=16.

2.0.0.3 An issue with the payments.

Our new algorithm is inspired by the fact that while the dual feasibility can be tight, the dual payment 1 does not tightly account for the costs: \(\sum_{j} \alpha_j\) may actually be larger than the cost of the algorithm. In particular, we observe that for any client that is directly connected at the end, the algorithm always overpays the connection cost by a factor of \(\rho\). To see this, let \(DC^{end}\) denote the set of clients which are directly connected at the end. Let \(j \in DC ^{end}\), and suppose through the execution of the algorithm, \(j\) was connected to facilities \(i_1, i_2...\ldots i_t\). For simplicity, assume that \(j\) was directly connected to each of these facilities. Then the total bid (dual contribution, see 1 ) of \(j\) to these facilities is at most \[(\alpha_j - \rho d^2(j,i_1)) + \sum_{\ell=1}^{t-1} \rho d^2(j,i_{\ell})-\rho d^2(j, i_{\ell+1}) = \alpha_j - \rho d^2(j,i_t)~.\] This means that after accounting for facility costs, \(\alpha_j\) pays for \(\rho d^2(j, i_t)\), where \(\rho > 1\), leading to an overpayment of the connection cost by the factor \(\rho\). Unfortunately, one cannot set \(\rho = 1\) as it would not give even an LMP \(O(1)\)-approximation, as already observed in [17]. This means we could simply subtract \((\rho - 1 )d^2(j,i_t)\) in the dual feasibility analysis.

However, while this overpayment is not ideal, it seems challenging to account for this naturally in the analysis: dual feasibility analysis is highly local, which cannot rely on the sequence of connections a client has: in particular, it is not clear how to meaningfully incorporate the subtraction \((\rho - 1)d^2(j,i_t)\) of client \(j\), which is a global quantity, into the local one-cluster dual feasibility analysis. The previous example of 1 illustrates this difficulty as well; when \(\alpha_2 = 16\), the events triggering the actions of “having client 2 indirectly connected to \(i'\)” and “opening \(i\) and connecting client 1 and 2 to \(i\)” happen simultaneously, but depending on how the algorithm breaks the ties (which can be easily manipulated by the position of the external facility \(i'\)), the amount of the overpayment substantially changes. In the former case, it is \((\rho - 1) \cdot d^2(1, i') = 4\) just from client 1, and in the latter case, it is \((\rho - 1) \cdot (d^2(1, i) + d^2(2,i)) = 2\).

2.0.0.4 Our new algorithm with tight dual payments.

To resolve this issue, we propose a new algorithm (2) that allows us to get the best of both worlds. Our new algorithm still has an overpayment, but we subtract this overpayment at the end, while still being able to incorporate this subtraction in the dual feasibility analysis. In our new algorithm, each client reserves a part of its first direct connection cost, that it does not offer to other facilities for subsequent (direct) connections. The key is that clients only move to facilities where their connection cost is lower, so the first direct connection cost is an upper bound for every future direct connection.

Figure 2: image.

Notice that until the first direct connection, an active or IC client \(j\) offers \(\alpha_j - \rho d^2(j,i)\), but subsequently, instead of offering the natural \(\rho d^2(j,S) - \rho d^2(j,i)\), it only offers \(d^2(j,S) - d^2(j,i)\). Thus if \(R_j = d(j,i_1)\) is the first direct connection distance, then \((\rho - 1)R_j^2\) is reserved by the client and never used for any subsequent bid to facilities.

Following the same analysis as before, consider any client \(j \in DC^{end}\). If it goes through a sequence of direct connections \(i_1, i_2 ...\ldots i_t\), then it offers \[\alpha_j - \rho d^2(j,i_1) + \sum_{\ell=1}^{t-1} d^2(j,i_{\ell}) - d^2(j, i_{\ell+1}) = \alpha_j - (\rho - 1) d^2(j,i_1) - d^2(j,i_t)~.\] Since the connection cost at the end is only \(d^2(j,i_t)\), this leads to an overpayment of \((\rho - 1)d^2(j,i_1)\), where \(i_1\) is the first facility \(j\) was directly connected to. But now we define \(R_j = d(j,i_1)\), and subtract \((\rho - 1)R_j^2\) in the dual feasibility analysis to make this accounting exact (we will define \(R_j = 0\) if \(j\) is never directly connected). This turns out to be helpful in the dual feasibility analysis because we know \(R_j = d(j, i_1) \geq d(j,i_2) \geq ...\ldots \geq d(j, i_t)\), as clients only move to closer facilities as the algorithm progresses. \(R_j\) is thus an upper bound on all these distances, which facilitates a refined dual feasibility analysis, as discussed in greater detail in the following subsections.

Going back to the example from 1 with \(\rho = 2\), we set \(R_1 = d(1,i') = 2\) when \(i'\) is open at time 12, and the new algorithm indirectly connects client \(2\) to \(i'\) at time 16 (which now happens regardless of the tiebreaking rule as the bid of client \(1\) toward \(i\) becomes smaller), leading to \(R_2 = 0\). Thus we have \(\sum_{j \in D^*} \alpha_j = \alpha_1 + \alpha_2 = 28 = \hat{f} + 4\bigl(d^2(1,i) + d^2(2,i)\bigr)\) just like before, but because of the subtraction of \((\rho - 1)R_1^2 = R_1^2\), the dual feasibility is no longer tight. In particular we have \(\alpha_1 - R_1^2 + \alpha_2 - \hat{f} = 4 = 2\bigl(d^2(1,i) + d^2(2,i)\bigr)\), and consequently, \(\sum_{j \in D^*}(\alpha_j - 2d^2(j,i) - R_j^2)^+ \leq \hat{f}\), which improves the dual feasibility factor to \(2\) instead of \(4\) for this example.

2.0.0.5 Analysis.

From the above discussion, our modified payment and dual feasibility lemmas can be stated as follows. Let \(\alpha\) and \(S\) be the respective values at the end of the algorithm. The following dual payment lemma almost directly follows from the algorithm description and the discussion above.

Lemma 3 (Dual Payment for our new algorithm, 9). \[\sum_{j \in D} (\alpha_j - (\rho - 1)R_j^2) \geq \hat{f}|S| + \sum_{j \in D} d^2(j,S)\]

The crux of our analysis is now to prove a dual feasibility lemma for a small enough constant \(\Gamma\) (depending on \(\rho\)). In particular, we prove the following.

Lemma 4 (Dual feasibility of our new algorithm, 10). Fix any facility \(i\). Let \(\rho=2.5\) (resp., \(\rho=2\) for Euclidean metrics). Then \[\sum_{j \in D} \left [ \alpha_j - \Gamma d^2(j,i) - (\rho - 1)R_j^2\right]^+ \leq \hat{f},\] where \(\Gamma=4.9\) (resp., \(\Gamma=3+\ln(2)\) for Euclidean metrics).

Intuitively, the above dual feasibility lemma shows that the variables \(\alpha'_j:=\frac{1}{\Gamma}(\alpha_j-(\rho-1)R^2_j)\) induce a dual-feasible solution for the Facility Location LP. An LMP \(\Gamma\)-approximation follows by the same argument as before.

Furthermore, note that we can interpret our algorithmic idea as having smaller bids for clients who are directly connected. The intuition behind our new algorithmic idea (for the Euclidean case) is that these directly connected clients are “bad” in the dual feasibility analysis of [21] only when all clients and facilities are “almost” on a line (i.e., one-dimensional Euclidean space) and its maximum direct connection cost \(R_j^2\) is close to the squared distances between it and other clients \(j'\) with large dual variable \(\alpha_{j'}\) (compared to \(d^2(j',i)\)). As we have this additional \(-(\rho-1)R_j^2\) term in the final dual variable \(\alpha'_j\), we can make the final dual variables of these “bad” directly connected clients much smaller.

However, to apply this intuition to the analysis (for the general Euclidean cases), we confront several technical challenges:

  • We need to deal with high-dimensional Euclidean spaces.

  • We need to transform these \(-(\rho-1)R_j^2\) terms into \(-d^2(j,i)\) terms (because, intuitively, the dual feasibility constraint compares \(\sum_{j\in D'} \alpha_j-(\rho-1)R_j^2\) with \(f+\sum_{j\in D'} \Gamma d^2(j,i)\) for every \(D'\subseteq D\)).

  • Finally, in the Euclidean space, [21] uses the pairwise distance \(\frac{1}{|D'|} \sum_{j<\ell\in D'} d^2(j,\ell)\) as an intermediate quantity, which is upper bounded by \(\sum_{j\in D'} d^2(j,i)\) (see, e.g., 62). However, this inequality may not hold if the coefficients before each \(d^2(j,i)\) have an average of 1 but are “unbalanced”. After we transform the \(-(\rho-1)R_j^2\) terms into the \(-d^2(j,i)\) terms, we observe that the coefficients of the new terms have an average \(\Omega(1)\) in the cases [21]’s analysis is tight. However, the coefficients are “unbalanced”, and some of them can even be zero (due to \(R_j=0\) for the corresponding client). To prove a ratio strictly better than 4, the most significant challenge is to show that the pairwise distance terms combined with these new \(-d^2(j,i)\) terms can be upper bounded by \((1-\Omega(1))\cdot \sum_{j\in D'} d^2(j,i)\).

As an illustration on how we resolve these challenges, we will provide a framework of our spectral analysis in 2.1, and provide simple proofs that obtain improved ratios (which are slightly worse than our final results) on the worst cases for the analysis of [17], [21] in [sec:euclidean-warmup] [sec:metric-warmup].

We remark that slightly smaller values of \(\Gamma\) (hence slightly better approximation factors)2 can be obtained, for both the Euclidean and the metric case, with different values of \(\rho\) and a substantially more technical and longer analysis. We decided to omit this for the sake of clarity (and given that the presented analysis is already very complex). We also remark that our approach cannot yield significantly better approximation factors. Our numerical simulations suggests that our spectral analysis framework has a barrier of 3.51 for Euclidean metrics and 4.67 for general metrics. See the end of 2.1 for a brief discussion of this.

2.1 Spectral analysis: the general framework proving the dual feasibility↩︎

In this part, we will introduce the general idea of our new spectral analysis of the dual feasibility, which is the key to improving the approximations for both Euclidean and Metric \(k\)-Means. For simplicity, we will focus on the special case where at each point in time each considered client is active or directly connected (without ever being indirectly connected). This case is already non-trivial, and allows us to illustrate the main ideas. To simplify the notation, we also assume that the final dual values of the mentioned clients are all distinct. We start with some general considerations. Then, in 2.2 and 2.3 we will detail the analysis (for the mentioned special case) in the Euclidean and metric case, respectively. The analysis for arbitrary instances is given in [sec:greedy] [sec:euclidean-lmp] for the Euclidean case, and in [sec:greedy] [sec:euclidean-lmp] [sec:metric-lmp] for the metric case.

2.1.0.1 The general idea of the spectral analysis.

We will consider a similar set of constraints on the dual variables \(\alpha_j\) as in the original analysis of [7] as the starting point of our spectral analysis. Similar constraints are also used in the analysis of [17], [21].

Fix a facility \(i\), and let \(D^* = \{j \mid \alpha_j - (\rho-1)R_j^2 \geq \Gamma d^2(j,i)\}\). We need to show that \[\begin{align} \label{eqn:overview-dual-feasibility-simpler} \sum_{j \in D^*} \alpha_j - (\rho-1)R_j^2 \leq \hat{f} + \Gamma \sum_{j\in D^*}d^2(j,i)~. \end{align}\tag{2}\] Let us assume by renumbering that \(j \in D^*\) is sorted in increasing order of \(\alpha_j\), and let us denote \(D^* = [s]\). Recall that we assume that no two \(\alpha_j\) are equal.

Then we consider the contributions to \(i\) at time \(\alpha_t - \varepsilon\) for some arbitrarily small \(\varepsilon> 0\) for each \(t \in [s]\). Observe that each client \(j < t\) is already directly connected to an open facility in our special case. Let \(S^t\) be the set of open facilities at time \(\alpha_t - \varepsilon\), and \(r_{jt} = d(j, S^t)\) be the distance at which \(j\) is connected at time \(\alpha_t - \varepsilon\). Then, we get the following inequality. \[\label{eqn:facility} \sum_{j < t} (r_{jt}^2 - d^2(j,i)) + \sum_{j \geq t} (\alpha_t - \rho d^2(j,i)) \leq \hat{f}.\tag{3}\] This inequality follows from the fact that clients \(j < t\) are already (directly) connected at the time \(\alpha_t - \varepsilon\), and hence they bid \([r_{jt}^2 - d^2(j,i)]^+\) to \(i\), and clients \(j \ge t\) are still active, hence they bid \([\alpha - \rho d^2(j,i)]^+\) to \(i\), where \(\alpha\) is their current \(\alpha\) value (which at time \(\alpha_t - \varepsilon\), is \(\alpha_t - \varepsilon\)). We relax the terms of type \([x]^+\) to \(x\), which can only make the LHS smaller. Taking \(\varepsilon\to 0\) and since the algorithm ensures that at all times, every facility receives a total bid of at most \(\hat{f}\), implying 3 .

Next, we eliminate \(r_{jt}^2\) via triangle inequality. Since we know that at time \(\alpha_t - \varepsilon\), \(t\) was not connected, we must have \[\begin{align} \label{eqn:tri-overview} \alpha_t \leq d^2(t,S) \leq (d(j,t) + {r_{jt}})^2 \end{align}\tag{4}\] See 11 for a formal proof. To get started with the spectral analysis, we will plug this lower bound on \(r_{jt}\) into 3 and obtain a new inequality that upper bounds the sum of \(\alpha_j-(\rho-1)R_j^2\) in terms of \(\hat{f}\) and the sum of \(d^2(j,i)\) (see [lem:dual-feasibility-simpler-metric] [lem:dual-feasibility-simpler-euclidean] for the formal statements we used for general and Euclidean metrics respectively).

We will use a slightly different approach to use the inequality \(\alpha_t\leq (d(j,t)+r_{jt})^2\) for the metric case and the Euclidean case.

  • Consider the Euclidean space of dimension \(\mathsf{dim}\). We will assume w.l.o.g. that the facility \(i\) is located at the origin of the Euclidean space and use the coordinate of the clients, \((x_j)_{j\in [s]}\in \mathbb{R}^{\mathsf{dim}}\), to rewrite \(d(j,t)=\|x_j-x_t\|\) and \(d(j,i)=\|x_j\|\). Using 3 4 , some quadratic inequalities and the Cauchy-Schwarz inequality (to make every \(d(\cdot,\cdot)\) appear in a quadratic form in the inequalities), we can upper bound \(\sum_{j} \alpha_j - (\rho - 1)R_j^2\) by the sum of \(\hat{f}\) and a quadratic form of \(x=(x_j)_{j\in [s]} \in \mathbb{R}^{s \cdot \mathsf{dim}},\) denoted as \(\hat{Q}(x)\). Because we have \(\sum_{j} d^2(j,i) = \sum_{j} \|x_j\|^2 = \| x \|_2^2\), it suffices to upper bound \(\frac{\hat{Q}(x)}{\|x\|_2^2}\). As an \((s \cdot \mathsf{dim}) \times (s \cdot \mathsf{dim})\) matrix, \(\hat{Q}\) is a block-diagonal matrix with \(\mathsf{dim}\) many identical \(s \times s\) matrices on the diagonal, so an upper bound on the maximum eigenvalue of this \(s \times s\) matrix yields a bound on the approximation ratio.

  • In the metric case, we use the metric triangle inequality \(d(j,t)\leq d(j,i) + d(t,i)\). Then, we will consider each \(d(j,i)\) as a variable \(a_j\), and use 3 4 and some quadratic inequalities to upper bound \(\sum_{j} \alpha_j - (\rho - 1)R_j^2\) by a sum of \(\hat{f}\) and a quadratic form of \((a_j)_{j\in [s]}\), denoted as \(\hat{Q}(a)\). Similarly, because we have \(\sum_{j} d^2(j,i) = \sum_{j} a_j^2=\|a\|^2\), it suffices to upper bound the maximum eigenvalue of \(\hat{Q}(a)\) (again a quadratic form on \(s\) variables) to prove the bound on our objective 2 .

Numerically, we found the following barriers for our approach:

  • Euclidean case: After the Cauchy-Schwarz step (which makes the spectral analysis work), the underlying matrix \(\hat{Q}(x)\) has an eigenvalue \(\geq 3.51\) in the case where there are 300 clients: the first 260 clients are immediately directly connected when they become inactive; while the last 40 clients are never directly connected.

  • Metric case: The underlying matrix \(\hat{Q}(x)\) has an eigenvalue \(\geq 4.67\) when the number of clients is large. More details can be found at the end of 2.3.

2.2 Spectral analysis for the Euclidean case↩︎

Let us fix \(\rho=2\). Recall that we are considering the special case where all the considered clients at any point of time are either active or directly connected. To further simplify the analysis, we present a weaker bound \(\Gamma\leq 3+\frac{27}{32}<3.85\) for this case.

Let \(x_1, x_2 \ldots x_s\) be the vectors denoting the locations of the \(s\) clients, and suppose that the facility \(i\) is located at the all-zeros location, so that \(d^2(j,i) = \|x_j\|^2\) for each \(j \in [s]\). For simplicity, we will use \(x=(x_j)_{j\in [s]}\) to denote the \(s \cdot \mathsf{dim}\)-dimensional vector by concatenating the \(s\) vectors. In the Euclidean case, we will rewrite 4 by \(\alpha_t \leq (r_{jt} + ||x_j - x_t||)^2\) for each \(t > j\). Thus we get \(\alpha_t \leq r_{jt}^2 + ||x_j - x_t||^2 + 2r_{jt}||x_j - x_t||\). Adding across all \(t > j\) for a fixed \(j\) and using \(r_{jt} \leq R_j\), we get \[\begin{align} \sum_{t > j} (\alpha_t - r_{jt}^2) \leq \sum_{t > j} 2R_j||x_j - x_t|| + \sum_{t > j}||x_j - x_t||^2 \end{align}\] Subtracting \(s(\rho - 1)R_j^2=sR_j^2\), \[\begin{align} \sum_{t > j} (\alpha_t -{r_{jt}^2}) - {sR_j^2} \leq \sum_{t > j} \bigl(2R_j||x_j - x_t|| + ||x_j - x_t||^2\bigr) - {sR_j^2} \end{align}\]Applying the quadratic inequality \(2ay - by^2 \leq \frac{a^2}{b}\), obtained from \(\frac{1}{b}(a-by)^2\geq 0\), we have \[\begin{align} \label{eqn:intro-euclidean-no-overbidding} \sum_{t > j} (\alpha_t - {r_{jt}^2}) - {sR_j^2} \leq \frac{\Bigl( \sum_{t > j}||x_j - x_t||\Bigr)^2}{{s}} + \sum_{t > j} ||x_j - x_t||^2 \end{align}\tag{5}\]

We sum 3 over all \(t\in [s]\) and the above 5 over all \(1\leq j<t\leq s\), and then divide by \(s\). We get \[\sum_{t \in [s]} \alpha_t - R_t^2\leq \hat{f} + Q(x)~,\] where \(Q(x)\) is a function of \(x_1, x_2 \ldots x_s\) alone: \[Q(x) =\frac{1}{s}\left( \sum_j\frac{\bigl( \sum_{t > j}||x_j - x_t||\bigr)^2}{{s}} + \sum_j\sum_{t > j} ||x_j - x_t||^2 + \sum_{t}\sum_{j < t} ||x_j||^2 + \sum_{t}\sum_{j \ge t} \rho ||x_j||^2\right)\,.\] The first two terms come from the lower bound plugged in for \(r_{jt}^2\) from above, and the last two terms come from the minus terms on the LHS of 3 .

Observe that the second term \(\frac{1}{s} \sum_{j} \sum_{t>j} \|x_j-x_t\|^2\) equals to the optimal single-cluster cost for \([s]\) (see, e.g., 62). Hence, it is no greater than \(\sum_{j} \|x_j\|^2\). Rearranging the third and the fourth term via \(\frac{1}{s} \sum_{t} \sum_{j} \rho \|x_j\|^2 - \frac{1}{s} \sum_{t} \sum_{j<t} (\rho-1) \|x_j\|^2\), we can rewrite them as \(\rho\sum_{j} \|x_j\|^2 - (\rho-1) \sum_{j} \frac{s-j}{s} \|x_j\|^2\). Using our parameter \(\rho=2\), we have the following upper bound for \(Q(x)\): \[\begin{align} Q(x) \leq \frac{1}{s^2} \sum_{j} \left(\sum\nolimits_{t>j} \|x_j-x_t\|\right)^2 - \sum_j \frac{s-j}{s} \|x_j\|^2 + 3\sum_{j} \|x_j\|^2. \end{align}\]

Now we apply Cauchy-Schwarz on the first term to obtain \(Q(x)\leq \hat{Q}(x) + 3\sum_{j} \|x_j\|^2\), where \[\hat{Q}(x) := \sum_j \frac{s - j}{s^2} \sum_{t > j} ||x_j - x_t||^2 - \sum_{j} \frac{s-j}{s} \|x_j\|^2~.\]

If we show that \(\hat{Q}(x) \leq \sum_j \lambda||x_j||^2\), then we obtain an LMP \((3+\lambda)\)-approximation. This now reduces to upper bounding the largest eigenvalue of the matrix given by the quadratic form \(\hat{Q}\). We next prove that \(\lambda\leq \frac{27}{32}<0.85\).

Consider two cases for \(j\): \(j\geq s/4\) and \(j<s/4\). If \(j\geq s/4\), we have \(\frac{s-j}{{s^2}} \leq \frac{3}{4s}\). The total contribution of \(j\) to \(\hat{Q}(x)\) is then upper bounded by \(\frac{3}{4s} \sum_{t>j} \|x_j-x_t\|^2\). If \(j<s/4\), we have (in the second inequality, we use \((a-b)^2 \leq 3a^2+1.5b^2\)) \[\begin{align} \frac{s-j}{s^2} \sum_{t>j} \|x_j-x_t\|^2 - \frac{s-j}{s} \|x_j\|^2 &< \frac{1}{s} \sum_{t>j} \|x_j-x_t\|^2 - \frac{3}{4} \|x_j\|^2 \\ &\leq \frac{3}{4s} \sum_{t>j} \|x_j-x_t\|^2 + \frac{1}{4s} \sum_{t>j} (3\|x_j\|^2+1.5\|x_t\|^2)- \frac{3}{4} \|x_j\|^2 \\ &\leq \frac{3}{4s} \sum_{t>j} \|x_j-x_t\|^2 + \frac{3}{8s} \sum_{t>j} \|x_t\|^2 \end{align}\] The intuition behind discussing these two different cases is as follows: for small \(j\), there is a large subtraction term \(-\frac{s-j}{s} \|x_j\|^2\); because of this, and the flexibility of squared triangle inequalities, we can let \(\|x_j\|^2\) pay more for the cost in \(\sum_{t>j} \|x_j-x_t\|^2\) (and let \(\|x_t\|^2\) pay less).

Summing over all \(j\), using the upper bound discussed above, we have \[\begin{align} \hat{Q}(x) &\leq \frac{3}{4s} \sum_{j<t} \|x_j-x_t\|^2 + \frac{3}{8s}\sum_{j<s/4} \sum_{t>j} \|x_t\|^2 \\ &\leq \frac{3}{4s} \sum_{j<t} \|x_j-x_t\|^2 + \frac{3}{32} \sum_{t} \|x_t\|^2 \\ &\leq \frac{3}{4} \sum_{j} \|x_j\|^2 + \frac{3}{32} \sum_{t} \|x_t\|^2 = \frac{27}{32} \sum_{j} \|x_t\|^2~, \end{align}\] where the last inequality follows from the fact that \(\frac{1}{s}\sum_{j<t} \|x_j-x_t\|^2\) is the optimal single-cluster cost for \([s]\) among all possible centers in \(\mathbb{R}^{\mathsf{dim}}\) while \(\sum_{j}\|x_j\|^2\) is the cost of opening the center at the origin for \([s]\).

In 5, we generalize and refine the above derivation to the general case with both \(IC\) and \(DC\) clients to obtain the claimed LMP \((3+\ln 2)\)-approximation for Facility Location in the Euclidean case. Our proof combines the above derivation with the techniques introduced in [21] to deal with clients in \(IC\), and it is substantially more complex.

2.3 Spectral analysis for the metric case↩︎

Now we present an overview of our spectral analysis for Metric \(k\)-Means in the special case when all clients are either directly connected or active (i.e., \(IC\) is empty at all times). We generalize it to all possible cases in 6.

Let \(a_j= d(j,i)\). According to 4 and the metric triangle inequality, we have \(\alpha_t \leq d^2(t,S_t)\leq (r_{jt}+d(j,t))^2 \leq (r_{jt}+d(j,i)+d(t,i))^2 = (r_{jt}+a_j+a_t)^2\). Thus, we can expand the square to get the upper bound \(\alpha_t - r^2_{jt} \leq 2{r_{jt}}(a_j + a_t) + (a_j + a_t)^2\).

Fix any \(j\). Adding across all \(t > j\), \[\begin{align} \sum_{t > j} (\alpha_t - r^2_{jt}) &\leq \sum_{t > j} 2{r_{jt}}(a_j + a_t) + (a_j + a_t)^2 \\ &\leq 2{R_j}\Bigl((s-j)a_j + \sum_{t > j}a_t\Bigr) + \sum_{t > j} (a_j + a_t)^2, \end{align}\] where we crucially use the fact that each \(r_{jt} \leq R_j\) by the property of our algorithm. Now we subtract \(s(\rho - 1)R_j^2\) for \(j\), and obtain \[\begin{align} \sum_{t > j} (\alpha_t - r_{jt}^2) - s(\rho - 1) R_j^2 &\leq 2{R_j}\Bigl((s-j)a_j + \sum_{t > j}a_t\Bigr) - s(\rho - 1)R_j^2 + \sum_{t > j} (a_j + a_t)^2 \\ &\leq \frac{1}{s(\rho - 1)}\Bigl((s-j)a_j + \sum_{t > j}a_t\Bigr)^2 + \sum_{t > j} (a_j + a_t)^2 \end{align}\] where the last inequality is obtained by observing that the quadratic terms are controlled by \(2ax - bx^2 \leq \frac{a^2}{b}\), which is equivalent to \(\frac{1}{b}(a-bx)^2 \geq 0\).

If we now plug this lower bound for \(r_{jt}\), and follow the same procedure of adding each inequality at time \(\alpha_t - \varepsilon\) for \(t \in [s]\) and divide by \(s\), we would get a bound of the form \(\sum_j (\alpha_j- (\rho - 1)R_j^2) \leq \hat{f} + \hat{Q}(a)\) where \(\hat{Q}(a)\) is the new quadratic form on the distances arising from this process. If the maximum eigenvalue of the quadratic form corresponding to \(\hat{Q}(a)\) is \(\Gamma\), then this is at most \(\hat{f} + \Gamma a^Ta\), giving us an LMP \(\Gamma\)-approximation.

Now we can write the quadratic form \(\hat{Q} (a)\) corresponding to our setup. \[\begin{align} \hat{Q} (a) = \frac{1}{s} \left( \sum_{j} \frac{1}{s(\rho - 1)}\Bigl((s-j)a_j + \sum_{t > j} a_t\Bigr)^2 + \sum_{j}\sum_{t > j} (a_j + a_t)^2 + \sum_{t} \sum_{j \geq t} \rho a_j^2 + \sum_{t} \sum_{j < t} a_j^2 \right) \end{align}\]

The first and second terms come from substituting the lower bounds for \(r_{jt}\) from the calculation above. The third and fourth terms come from the form of the bids of the clients at time \(\alpha_t - \varepsilon\), clients \(j\geq t\) are active and bid \(\alpha_t - \rho a_j^2\) (hence the coefficient of \(\rho\) for \(a_j^2\)), whereas clients \(j < t\) are directly connected and bid \(r_{jt}^2 - a_j^2\) (hence the coefficient of \(1\) for \(a_j^2\)).

First, let us show via elementary analysis that when \(\rho = 2\), we can bound \(\Gamma \leq 5\). The first term inside the parenthesis, \(\sum_j\frac{1}{s}\bigl((s-j)a_j + \sum_{t > j} a_t\bigr)^2\), is equal to \(\sum_j\frac{1}{s}\left(\sum_{t > j} (a_j + a_t)\right)^2\). Using the Cauchy-Schwarz inequality, this is at most \(\sum_j\frac{s-j}{s}\sum_{t > j}(a_j + a_t)^2\), which is at most \(\sum_j\frac{2(s-j)}{s}\sum_{t > j} (a_j^2 + a_t^2)\). Again, for the middle term, we get \(\sum_j\sum_{t > j} (a_j + a_t)^2 \leq \sum_j 2\sum_{t > j} (a_j^2 + a_t^2) = \sum_{j}2\sum_{t > j} (a_j^2 + a_t^2)\).

Thus with \(\rho = 2\), the expression is upper bounded by

\[\begin{align} \hat{Q}(a) \leq \frac{1}{s}\left (\sum_{j} \left(2 + \frac{2(s-j)}{s}\right) \sum_{t > j}(a_j^2 + a_t^2) + \sum_t \sum_{j \geq t} 2a_j^2 + \sum_t \sum_{j < t}a_j^2\right) \end{align}\]

Now let us fix an index \(j^*\) and collect coefficients of \(a_{j^{*}}^2\) for the term inside the parenthesis. The total coefficient is then

\[2(s-j^*)\left(1 + \frac{s-j^*}{s}\right) + 2\sum_{j < j^*}\left(1 + \frac{s-j}{s}\right) + 2j^* + (s - j^*) = 5s - j^* - 4 + \frac{j^*(j^* + 1)}{s}\]

Dividing by the outer \(s\) and using \(j^* \leq s\), the total coefficient is at most \(5\), which gives the desired inequality \(\hat{Q}(a) \leq 5a^Ta\), and hence \(\Gamma \leq 5\).

However, it is possible to do better. By running experiments for various values of \(\rho\), one can observe that the largest eigenvalue of the symmetric matrix describing this quadratic form is (numerically) minimized when \(\rho \approx 2.5\). With this value of \(\rho\), we numerically estimate the top eigenvalue to be \(4.67783\) as \(s \to \infty\). It can be shown that the matrix corresponding to the quadratic form \(\hat{Q}(a)\) is the sum of a diagonal and a rank one matrix, and hence it is not difficult to prove an analytic bound that reaches close to this constant for any \(s\). Thus using our new algorithm with the new spectral analysis, we get an approximation ratio of \(4.68\) for this special case when no client is indirectly connected.

Thus all that is left is to generalize this to the case when there are indirectly connected clients. Let \(DC_t\) and \(IC_t\) be the sets of directly and indirectly connected clients at time \(\alpha_t - \varepsilon\). Then the number of such valid sets3 is exponential in \(s\). Thus, we need a way to bound the general case directly.

For this purpose, we write down the equations for the most general \(IC\)/\(DC\) case, and try to solve them all at once, similarly to [17]. However, this analysis becomes more technically challenging as the matrices involved are no longer simple sums of diagonal and rank one matrices. Nevertheless, we show that the quadratic form in the general case can always be bounded by 4.9. Our proof uses the 34 which says that given a non-negative matrix \(M\), if we find a non-zero vector \(h\) such that \(\max_i \frac{(Mh)_i}{h_i}\) is at most \(\Gamma\), then the top eigenvalue of \(M\) is at most \(\Gamma\).

2.4 Turning LMP approximations to bicriteria approximations↩︎

To turn the LMP approximations to bi-criteria approximations (opening \(k+O(\log n)\) centers), we employ the framework of [13], [17], [21]. The only technical improvement is as follows. The most recent work [21] can only turn an LMP \(\Gamma\)-approximation to a \(\Gamma+\varepsilon\) bi-criteria approximations for any constant \(\Gamma\geq 4\). We remove this condition, and now this step works for any constant \(\Gamma>\rho\) (which is a clear lower bound for our LMP algorithm).

3 Preliminaries↩︎

For a client \(j\) and a set of facilities \(S\), let \(d(j,S) := \min_{i\in S} d(j,i).\) For any real number \(x\), let \([x]_+ := \max\{x,0\}\). For a positive integer \(n\), we write \([n] := \{1,2,\dots,n\}\), and more generally, for integers \(l \le r\), we write \([l:r] := \{l,l+1,\dots,r\}\). We use \(\mathbb{R}_{>0}\) and \(\mathbb{R}_{\ge 0}\) to denote the sets of positive and non-negative reals, respectively.

3.0.0.1 Facility Location with uniform opening costs and squared distances.

In the Facility Location with uniform opening costs and squared distances problem, we are given a set of clients \(D\), a set of facilities \(F\), and a facility opening cost \(f > 0\). The goal is to find a set \(S \subseteq F\) minimizing \[f|S| + \sum_{j\in D} d^2(j,S).\] We write \({\rm OPT}_{\mathrm{FL}}(f)\) for the optimum value of this problem. We will refer to this problem simply as Facility Location throughout the paper.

3.0.0.2 LP relaxation.

The standard LP relaxation of Facility Location is \[\label{eq:lp-primal} \begin{align} \min \quad & f\sum_{i\in F} y_i + \sum_{j\in D}\sum_{i\in F} d^2(j,i)x_{ij} \\ \text{s.t.}\quad & \sum_{i\in F} x_{ij} \ge 1 && \forall j\in D,\\ & x_{ij} \le y_i && \forall j\in D,\;i\in F,\\ & x_{ij} \ge 0,\;y_i \ge 0. && \end{align}\tag{6}\] Its dual can be written as \[\label{eq:lp-dual} \begin{align} \max \quad & \sum_{j\in D} \alpha_j \\ \text{s.t.}\quad & \sum_{j\in D} [\alpha_j - d^2(j,i)]^+ \le f && \forall i\in F,\\ & \alpha_j \ge 0 && \forall j\in D. \end{align}\tag{7}\] We write \({\rm OPT}_{\mathrm{LP}}(f)\) for the optimum value of the 7 .

Definition 1 (LMP approximation). Given \(\Gamma \ge 1\), an algorithm is Lagrangian Multiplier Preserving (LMP) \(\Gamma\)-approximation for the Facility Location problem if, for every instance with facility opening cost \(f > 0\), the output \(S \subseteq F\) satisfies \[\Gamma f \cdot |S| + \sum_{j\in D} d^2(j,S) \;\le\; \Gamma \cdot {\rm OPT}_{\mathrm{LP}}(f).\]

3.0.0.3 Bounding distances.

Thanks to standard reductions (see, e.g., [17]), in the metric case we will assume that distances are integers in \([1,n^3/\varepsilon]\) while losing a factor \(1+O(\varepsilon)\) in the approximation.

Lemma 5 ([17]). For any constants \(\varepsilon> 0\) and \(\alpha>1\), given a polynomial-time \(\alpha\)-approximation algorithm for \(k\)-Means on instances with distances in \(\{1,\ldots,n^3/\varepsilon\}\), there exists a polynomial-time \(\alpha(1+O(\varepsilon))\)-approximation algorithm for Metric \(k\)-Means.

In the Euclidean case, we will assume that non-zero distances are in \([1,n^2/\varepsilon^2]\) thanks to the following reduction in [21].

Lemma 6 ([21]). For any given \(\varepsilon> 0\) and \(\alpha>1\), given a polynomial-time \(\alpha\)-approximation algorithm for Euclidean \(k\)-Means on instances with non-zero distances between \(1\) and \(n^2/\varepsilon^2\), there exists a polynomial-time \(\alpha(1+O(\varepsilon))\)-approximation algorithm for Euclidean \(k\)-Means on general instances.

3.0.0.4 Triangle Inequalities for Squared Distances.

We will use the following simple inequalities taken from [17]. Given three distances \(d,d_1,d_2\) with \(d\leq d_1+d_2\), the following lemma provides a useful upper bound on \(d^2\) as a function of \(d_1\) and \(d_2\). The next lemma provides a similar upper bound in an analogous setting where \(d\leq d_1+d_2+d_3\).

Lemma 7 ([17]). Let \(\gamma>1\) be any constant. For any \(x,y\) we have \(\gamma x^2+\frac{\gamma}{\gamma-1}y^2\geq (x+y)^2\).

Lemma 8 ([17]). Let \(\gamma>1\) be any constant. For any \(x\), \(y\), \(z\), we have \(\gamma x^2+\left(2+\frac{2}{\gamma-1} \right)(y^2+z^2)\geq (x+y+z)^2\).

4 Our Improved Greedy Algorithm↩︎

In this section, we present our improved greedy LMP approximate algorithm for the Facility Location problem with uniform facility cost \(f\). As in the previous works [17], [21], our algorithm is based on the well-known greedy algorithm by [7].

In our algorithm, we use parameters \(\rho,\Gamma>1\), which will be defined (differently for the metric and Euclidean cases) later. We also use \(\hat{f} = \Gamma \cdot f\), where \(f\) is the uniform facility opening cost. The following 2 is our new greedy algorithm achieving the improved LMP approximation. As standard in the area, we present the algorithm in a continuous version where there is a variable \(\theta\) (interpreted as time) that grows continuously from \(0\) to \(+\infty\). Initially, all clients are active. We grow the \(\alpha\)-values of active clients at the same speed as \(\theta\) grows, until one of two conditions is met: (1) a new facility becomes openable, or (2) a client’s \(\alpha\)-value reaches its connection cost to some open facility. It is easy to discretize this algorithm. Here, we say one facility is openable if the total bid of the clients to this facility reaches \(\hat{f}\), where the bid of client \(j\) to a facility \(i\) is defined as \([\alpha_j-\rho\cdot d^2(j,i)]^+\) when \(j\) is in \(A\) or \(IC\), or as \([d^2(j,S)-d^2(j,i)]^+\) when \(j\) is in \(DC\), at the time \(i\) is opened. In addition, for each client \(j \in D\), we explicitly track its first direct-connection cost, \(R^2_j\). We set \(R_j = d(j, i^*)\) where \(i^*\) is the facility that caused \(j\) to be moved to \(DC\) for the first time. For a client that remains only indirectly connected or active, we keep \(R_j = 0\) as it is initialized.

Figure 3: image.

Theorem 4. 2 is a LMP \(\Gamma\)-approximation for the Facility Location problem with uniform facility cost \(f\) if

  • \(d\) is a (general) metric, \(\rho=2.5\) and \(\Gamma=4.9\); or

  • \(d\) is a Euclidean metric, \(\rho=2\) and \(\Gamma=3+\ln(2)\).

At any time during the algorithm, for any \(j\in IC\), we have \(\alpha_j=d^2(j,S)\).

Because we freeze \(\alpha_j\) when a client \(j\) becomes directly connected, we can show that the \(\alpha\) values are non-increasing after connection. For some intermediate time \(\theta\), we will use \(\alpha_j(\theta)\) to denote the \(\alpha\) value of client \(j\in D\) at that time. Further, for each \(j\in D\), we define \(\hat{\alpha}_j\) to be its \(\alpha\) value at the first time when \(j\) is connected to some facility. Let \((\alpha^*_j)_{j\in D}\) be the final vector of \(\alpha\)-values.

For any client \(j\in D\), \(\alpha_j(\theta)\) is non-increasing in \(\theta\in [\hat{\alpha}_j, +\infty)\).

Proof. This follows from the fact that we only modify \(\alpha_j\) after time \(\hat{\alpha}_j\) when some facility \(i\) is opened and \(\alpha_j>d^{2}(j,i)\). Then the resulting value of \(\alpha_j\) is lowered to \(d^{2}(j,i)\). ◻

Corollary 1. For each client \(j\), we have \(\alpha^*_j\leq \hat{\alpha}_j\).

Our goal is to show that \((\alpha^*_j - (\rho-1)R_j^2)_{j\in D}\) can characterize the total cost of 2 and can be scaled to a feasible dual solution to the 7 . First, we prove that the sum of \((\alpha^*_j - (\rho-1)R_j^2)_{j\in D}\) is an upper bound of the total cost. The proof relies on the following observation: for each client \(j\) that is finally directly connected, its \(\alpha\)-value can be written as the sum of its final connection cost \(d^2(j,S)\), \(\rho-1\) times its first direct-connection cost \(R_j^2\), and the bids of \(j\) to the open facilities.

Lemma 9 (Dual Payment, 3 restated, replacing \(\alpha\) by \(\alpha^*\) ). At the end of the execution of 2,\[\sum_{j\in D} d^2(j,S) + |S|\hat{f} \leq \sum_{j\in D}(\alpha^*_j - (\rho-1)R_j^2).\]

Proof. First, observe that it is sufficient to prove that at any point in the execution, we have \[\label{eq:induc-cost-of-alg-metric} \sum_{j\in DC} (\alpha_j - (\rho-1)R_j^2) \geq \sum_{j\in DC} d^2(j,S) + \sum_{i\in S} \hat{f}.\tag{8}\] Indeed, at the end of the execution, \(A=\emptyset\), and for every \(j\in IC\), we have \(\alpha_j^*= d^2(j,S)\) and \(R_j = 0\) (since \(j\) never became directly connected). Thus, their contribution to the left-hand side is exactly their connection cost, making 8 imply the lemma.

To prove this, we proceed by induction and show that 8 is maintained throughout the execution.

The inequality is initially true since \(DC=\emptyset\) and \(S = \emptyset\). Furthermore, since whenever the \(\alpha\)-value of a client \(j\) reaches \(d^2(j, S)\) it stops growing and moves to \(IC\), no client is added to \(DC\) except when a new facility is opened (i.e., added to \(S\)).

We now consider what happens when we open a facility \(i\), i.e., add it to \(S\). Let \((\alpha, S,\) \(A, IC, DC)\) be the state right before opening \(i\), and set \(DC' = \{ j \in A\cup IC : \alpha_j \geq \rho d^2(j, i) \}\), and \(X=\{j\in DC:d^2(j, S)>d^2(j, i)\}\). The change of cost of the right-hand side of 8 is exactly \[\begin{align} \hat{f} &+ \sum_{j\in DC'} d^2(j, i) + \sum_{j \in X} (d^2(j, i) - d^2(j, S))\,. \end{align}\] Since the algorithm decided to open \(i\), we know that the total offer reaches \(\hat{f}\), so we have \[\begin{align} \hat{f} &\leq \sum_{j\in DC'}(\alpha_j - \rho d^2(j, i)) + \sum_{j\in X}(d^2(j, S)- d^2(j, i))\,. \end{align}\] Substituting this bound into our expression, we get that the change of cost of the right-hand side is at most \[\begin{align} \sum_{j\in DC'} (\alpha_j - \rho d^2(j, i) + d^2(j, i)) &= \sum_{j\in DC'} (\alpha_j - (\rho-1) d^2(j, i)). \end{align}\] Because each client \(j \in DC'\) is becoming directly connected for the first time, the algorithm sets its penalty variable \(R_j = d(j, i)\), meaning \(R_j^2 = d^2(j, i)\). Therefore, the change of the right-hand side is at most \(\sum_{j\in DC'} (\alpha_j - (\rho-1)R_j^2)\). Because we do not change the \(\alpha\)-value or \(R_j\) value after a client is moved to \(DC\), this is exactly the change of the left-hand side of 8 . The invariant is thus maintained, completing the proof. ◻

Second, we prove that \(\big((\alpha^*_j - (\rho-1)R_j^2)/\Gamma\big)_{j\in D}\) can be scaled to a dual feasible solution for an appropriate choice of \(\rho, \Gamma\). Since the proof of this part is very long, we will first present a general framework for both the metric case and Euclidean case in ¿sec:subsec:dual-feasibility-framework?, where we establish a set of constraints for the variables \((\alpha^*_j)_{j\in D}\) and \((R_j)_{j\in D}\). Then, we will use the constraints to establish the following lemma for the metric case and the Euclidean case separately in [sec:metric-lmp] [sec:euclidean-lmp], using significantly different techniques.

Lemma 10 (Dual Feasibility, 4 restated, replacing \(\alpha\) by \(\alpha^*\)). For any facility \(i\in F\), we have \[\sum_{j\in D} \left[\alpha^*_j-(\rho-1)R_j^2 - \Gamma d^2(j,i)\right]^+\leq {\hat{f}~},\] where

  • if \(d\) is a (general) metric, we choose \(\rho=2.5, \Gamma=4.9\); or

  • if \(d\) is a Euclidean metric, we choose \(\rho=2, \Gamma = 3+\ln(2)\).

Proof of 4. Consider the standard 7 for Facility Location problem with \(f=\hat{f}/\Gamma\) and define \[\widetilde{\alpha}_j \;:=\; \frac{\alpha_j^*-(\rho-1)R_j^2}{\Gamma} \qquad \forall j\in D.\] By 10, \((\widetilde{\alpha}_j)_{j\in D}\) is dual feasible. Hence, by weak duality, \[\sum_{j\in D}\widetilde{\alpha}_j \;\le\; {{\rm OPT}_{\mathrm{LP}}(f)}\] Multiplying by \(\Gamma\), we obtain \[\sum_{j\in D}\bigl(\alpha_j^*-(\rho-1)R_j^2\bigr) \;\le\; \Gamma\cdot {\rm OPT}_{\mathrm{LP}}(f).\] On the other hand, 9 gives \[\hat{f} \cdot |S| + \sum_{j\in D} d^2(j,S) \;\le\; \sum_{j\in D}\bigl(\alpha_j^*-(\rho-1)R_j^2\bigr).\] Using the fact that \(\hat{f}=\Gamma f\), we conclude that \[\Gamma f \cdot |S| + \sum_{j\in D} d^2(j,S) \;\le\; \Gamma\cdot {\rm OPT}_{\mathrm{LP}}(f).\] The claim follows from 1. ◻

Dual feasibility: the analysis framework↩︎

Next, we show the analysis framework to establish 10. We will use \([n]\) to denote the set \(\{1,2,\dots, n\}\) and \([l:r]\) to denote the set \(\{l, l+1,\dots, r\}\). From now on, we fix any facility \(i\in F\). Let \(D^*=\{j\in D:\alpha_j^*-(\rho-1)R^2_j > \Gamma\cdot d^2(j,i)\}\). Suppose that \(|D^*|=s\) and we index them by \([s]\) and order them in the increasing order of the time they become inactive.

That is, we have \(\hat{\alpha}_1\leq \hat{\alpha}_2 \leq \dots \leq \hat{\alpha}_{s}\). Then, our goal (which will be formally shown at the end of this subsection) becomes proving \[\begin{align} \label{eqn:new-goal-dualf} \sum_{j\in [s]} (\alpha^*_j-(\rho-1)R_j^2) \leq \hat{f} + \Gamma \cdot \sum_{j\in [s]} d^2(j,i)~. \end{align}\tag{9}\]

Consider the time \(\hat{\alpha}_t-\varepsilon\) for each client \(t\), where \(\varepsilon>0\) is sufficiently small so that neither condition in the algorithm is satisfied between time \(\hat{\alpha}_t-\varepsilon\) (inclusive) and \(\hat{\alpha}_t\) (exclusive). For simplicity, we define \(DC^t\) as the set of directly connected clients in \([t-1]\) (i.e., \(DC\cap [t-1]\)) at time \(\hat{\alpha}_t-\varepsilon\), and \(IC^t\) as the set of indirectly connected or active clients in \([t-1]\) (i.e., \((A\cup IC)\cap [t-1]\)) at time \(\hat{\alpha}_t-\varepsilon\). Moreover, we use \(S^t\) to denote the set \(S\) at time \(\hat{\alpha}_t-\varepsilon\). Because the sets \(IC, DC, A\) are disjoint and the set \(DC\) only grows, we have the following observation.

For each \(t\in [s]\), we have \(DC^t\cap IC^t=\emptyset\) and \(DC^t\cup IC^t = [t-1]\). For each \(t\in [s-1]\), we have \(DC^t\subseteq DC^{t+1}\).

Suppose that \(r_{jt}\) (for \(t\in [s]\) and \(j\in DC^t\)) is the distance of client \(j\in DC^t\) to its closest opened facility at time \(\hat{\alpha}_t-\varepsilon\) (i.e., \(d(j,S^t)\)). One simple observation is that \(r_{jt}\leq R_j\) for each \(j\in DC^t\), as the set \(S\) only grows in the algorithm.

For each \(t\in [s]\) and \(j\in DC^t\), we have \(r_{jt}\leq R_j\).

Next, we will establish two sets of constraints for the variables \((\alpha^*_j)_{j\in [s]}\), \((r_{jt})_{1\leq j<t\leq s}\), and \((R_j)_{j\in [s]}\). The first set of constraints is as follows. The proof of the first set of constraints relies on the fact that for each client \(t\in [s]\), its \(\alpha\)-value at time \(\hat{\alpha}_t-\varepsilon\) is strictly less than its distance to any open facility.

Lemma 11. For each \(t\in [s], j\in DC^t, \ell\in IC^t\cup\{t\}\), we have the following constraint: \[\begin{align} \label{eqn:p-tjl} & \alpha^*_{\ell} \leq (r_{jt}+d(j,\ell))^2~. } \end{align}\tag{10}\]

Proof. Consider any client \(t\in [s]\). Consider the time \(\hat{\alpha}_t-\varepsilon\). Consider any client \(\ell\in IC^t\cup\{t\}\). As \(\ell\leq t\), we have \(\hat{\alpha}_{\ell}\leq \hat{\alpha}_t\) by our assumption. Next, we prove that \(\alpha^*_{\ell}\leq d^2(\ell,S^t)\) by discussing two cases:

  • If \(\hat{\alpha}_{\ell}<\hat{\alpha}_{t}\) (since \(\varepsilon\) is sufficiently small, we have \(\hat{\alpha}_{\ell}\leq \hat{\alpha}_t-\varepsilon\)), then \(\ell\) is indirectly connected at time \(\hat{\alpha}_{t}-\varepsilon\). Because of [lem:intermediate-alpha-values] [lem:alpha-decreasing-after-connection], we have \(\alpha^*_{\ell}\leq \alpha_{\ell}(\hat{\alpha}_t - \varepsilon) = d^2(\ell,S^t)\).

  • Otherwise (i.e., if \(\hat{\alpha}_{\ell}=\hat{\alpha}_t\)), we can prove \(\hat{\alpha}_t-\varepsilon< d^2(\ell,S^t)\) by contradiction. Suppose that \(\hat{\alpha}_t-\varepsilon\geq d^2(\ell,S^t)\). Then, \(\ell\) will be connected to some opened facility using the second condition in 2 at time \(\hat{\alpha}_t-\varepsilon\), contradicting that \(\ell\) is active at time \(\hat{\alpha}_{t}-\varepsilon\). Since \(\varepsilon\) can be arbitrarily small here, we have \(\hat{\alpha}_{\ell} = \hat{\alpha}_{t} \leq d^2(\ell,S^t)\). Because of 1, we get \(\alpha^*_{\ell}\leq d^2(\ell,S^t)\).

Because the triangle inequality holds for the metric \(d\), we have \(d(\ell,S^t)\leq d(j,S^t)+d(j,\ell)\). Therefore, \(\alpha^*_{\ell}\leq d^2(\ell,S^t)\leq (r_{jt}+d(j,\ell))^2\), completing the proof. ◻

Our second set of constraints is as follows. The proof of the second set of constraints relies on the fact that for each client \(t\in [s]\), the total bid to the fixed facility \(i\) at time \(\hat{\alpha}_t-\varepsilon\) is strictly less than \(\hat{f}\), as otherwise \(t\) will be connected to \(i\) at time \(\hat{\alpha}_t-\varepsilon\) and become inactive, contradicting the definition of \(\hat{\alpha}_t\).

Lemma 12. For each \(t\in [s]\), we have the following constraint: \[\begin{align} \label{eqn:beta-t} (s-t+1) \cdot \alpha^*_t + \sum_{\ell \in IC^t} \alpha^*_\ell + \sum_{j\in DC^t} r_{jt}^2 \leq \hat{f} + \sum_{\ell \in IC^t \cup [t:s]} \rho \cdot d^2(\ell,i) + \sum_{j\in DC^t} d^2(j,i)~. \end{align}\tag{11}\]

Proof. Consider any client \(t\in [s]\). Consider the time \(\hat{\alpha}_t-\varepsilon\). Note that we assume that \(\alpha^*_t > (\rho-1)R^2_t + \Gamma \cdot d^2(t,i)\), where \(\rho, \Gamma\) are some constants strictly greater than \(1\). Because of 1 and because \(\varepsilon\) is sufficiently small, we have \(\hat{\alpha}_t-\varepsilon\geq \alpha^*_t - \varepsilon> d^2(t,i)\). If facility \(i\) is opened at time \(\hat{\alpha}_t-\varepsilon\), \(t\) should be connected to some facility at time \(\hat{\alpha}_t-\varepsilon\), contradicting our assumption that \(\hat{\alpha}_t\) denotes the time client \(t\) is connected for the first time. Therefore, the total bid to \(i\) at this time stamp should be strictly less than \(\hat{f}\), i.e., (recall that \(r_{jt}=d(j,S^t)\) for each \(j\in DC^t\)) \[\begin{align} \sum_{j\in DC^t} \left[r_{jt}^2 - d^2(j,i)\right]^+ + \sum_{j\notin DC^t} \left[\alpha_j(\hat{\alpha}_t-\varepsilon) - \rho \cdot d^2(j,i)\right]^+ < \hat{f}~. \end{align}\]

If \(j\geq t\), we have \(\alpha_j(\hat{\alpha}_t-\varepsilon) = \hat{\alpha}_t - \varepsilon\geq \alpha^*_t - \varepsilon\). Otherwise, if \(j<t\) and \(j\notin DC^t\), we have either \(j\) being indirectly connected (i.e., \(\hat{\alpha}_j\leq \hat{\alpha}_t-\varepsilon\)), or active (i.e., \(\hat{\alpha}_j=\hat{\alpha}_t\) and \(\alpha_j(\hat{\alpha}_t-\varepsilon)=\hat{\alpha_t}-\varepsilon\)). If \(j\) is indirectly connected, because of [lem:alpha-decreasing-after-connection], we have \(\alpha_j^*\leq \alpha_j(\hat{\alpha}_t-\varepsilon)\). Otherwise, because of 1, we have \(\alpha_j^* - \varepsilon\leq \hat{\alpha}_j - \varepsilon= \hat{\alpha}_t - \varepsilon= \alpha_j(\hat{\alpha}_t-\varepsilon)\). Because \(\varepsilon\) is sufficiently small, we have \[\begin{align} \sum_{j\in DC^t} \left[r_{jt}^2 - d^2(j,i)\right]^+ + \sum_{j\in IC^t} \left[\alpha^*_j - \rho \cdot d^2(j,i)\right]^+ + \sum_{j\geq t} [\alpha^*_t - \rho \cdot d^2(j,i)]^+ \leq \hat{f}. \end{align}\] Since \([x]^+\geq x\), we can complete the proof by rearranging the terms in the above inequality. ◻

Finally, we only need to prove the following lemmas to complete the proof of 4. Because we will use the weighted version of [lem:dual-feasibility-simpler-metric] [lem:dual-feasibility-simpler-euclidean] in the log-adaptive algorithm and walking between two solutions later, we will directly claim the weighted generalization. To establish 10, we only need to consider the special case of them where \(w(j)=1\) for each \(j\in [s]\).

lemmaDualFeasibilitySimplerEuclidean Let \(\rho=2\). Let \(\hat{f}\) be any non-negative real number. Let \(([s]\cup \{i\},d)\) be a general metric. Let \(w:[s]\to \mathbb{R}_{>0}\) be any positive weight function. Let \((IC^t)_{t\in [s]}\) and \((DC^t)_{t\in [s]}\) be two families of sets satisfying:

  1. For each \(t\in [s]\), \(DC^t\cap IC^t=\emptyset\) and \(DC^t\cup IC^t = [t-1]\).

  2. For each \(t\in [s-1]\), \(DC^t\subseteq DC^{t+1}\).

Suppose that the variables \((\alpha^*_j)_{j\in [s]}, (R_j)_{j\in [s]}, (r_{jt})_{1\leq j<t\leq s}\) satisfy the following constraints

  1. For any \(t \in [s], j\in DC^t\), we have \(r_{jt}\leq R_j\).

  2. For each \(t\in [s], j\in DC^t\) and \(\ell\in IC^t\cup\{t\}\), we have \(\alpha^*_{\ell} \leq (r_{jt}+d(j,\ell))^2\).

  3. For each \(t\in [s]\), we have \[\sum_{\ell\in[t:s]} w(\ell) \alpha^*_t + \sum_{\ell \in IC^t} w(\ell) \alpha^*_\ell + \sum_{j\in DC^t} w(j) r_{jt}^2 \leq \hat{f} + \sum_{\ell \in IC^t \cup [t:s]} \rho \cdot w(\ell) d^2(\ell,i) + \sum_{j\in DC^t} w(j) d^2(j,i).\]

Then, the following holds: \[\begin{align} \label{eqn:dual-feasibility-simpler-euclidean} \sum_{j\in [s]} w(j) \cdot (\alpha^*_j - (\rho-1)R_j^2) \leq \hat{f} + \Gamma \cdot \sum_{j\in [s]} w(j) \cdot d^2(j,i)~, \end{align}\tag{12}\] where \(\Gamma=5\) if \(d\) is a general metric, and \(\Gamma=3+\ln 2\) if \(d\) is a Euclidean metric.

lemmaDualFeasibilityGeneralMetric Let \(\rho=2.5\) and \(\Gamma=4.9\). Let \(\hat{f}\) be any non-negative real number. Let \(([s]\cup \{i\},d)\) be a metric. Let \(w:[s]\to \mathbb{R}_{>0}\) be any positive weight function. Let \((IC^t)_{t\in [s]}\) and \((DC^t)_{t\in [s]}\) be two families of sets satisfying:

  1. For each \(t\in [s]\), \(DC^t\cap IC^t=\emptyset\) and \(DC^t\cup IC^t = [t-1]\).

  2. For each \(t\in [s-1]\), \(DC^t\subseteq DC^{t+1}\).

Suppose that the variables \((\alpha^*_j)_{j\in [s]}, (R_j)_{j\in [s]}, (r_{jt})_{t\in [s], j\in DC^t}\) satisfy the following constraints

  1. For any \(t\in [s], j\in DC^t\), we have \(r_{jt}\leq R_j\).

  2. For each \(t\in [s], j\in DC^t\), we have \(\alpha^*_{t} \leq (r_{jt}+d(j,t))^2\).

  3. For each \(t\in [s]\), we have \[\sum_{\ell\in[t:s]} w(\ell)\alpha^*_t + \sum_{\ell \in IC^t} w(\ell)\alpha^*_\ell + \sum_{j\in DC^t} w(j) r_{jt}^2 \leq \hat{f} + \sum_{\ell \in IC^t \cup [t:s]} \rho w(\ell) d^2(\ell,i) + \sum_{j\in DC^t} w(j) d^2(j,i).\]

Then, the following holds: \[\begin{align} \label{eqn:dual-feasibility-simpler-metric} \sum_{j\in [s]} w(j) \cdot (\alpha^*_j - (\rho-1)R_j^2) \leq \hat{f} + \Gamma \cdot \sum_{j\in [s]} w(j) \cdot d^2(j,i)~. \end{align}\tag{13}\]

The constraint [constr:metric-second] of [lem:dual-feasibility-simpler-metric] is a weaker version of the corresponding constraint in [lem:dual-feasibility-simpler-euclidean]: we don’t require the constraint for each \(\ell\in IC^t\cup\{t\}\) (instead, we only require it for \(\ell=t\)).

Proof of 10. [obv:disjointness-and-monotonicity] [obv:distance-to-opened-facility] 11 12 imply that the variables \((\alpha^*_j)_{j\in [s]}, (R_j)_{j\in [s]}, (r_{jt})_{t\in [s], j\in DC^t}\) satisfy the constraints in [lem:dual-feasibility-simpler-metric] and [lem:dual-feasibility-simpler-euclidean]. Therefore, we can apply [lem:dual-feasibility-simpler-metric] in the metric case and [lem:dual-feasibility-simpler-euclidean] in the Euclidean case to get the desired result. ◻

5 Establishing the LMP Approximations↩︎

In this section, we will prove [lem:dual-feasibility-simpler-euclidean]. For convenience, we restate the lemma below. Using the proof of [lem:dual-feasibility-simpler-euclidean], we will also prove a generalization of it, [lem:dual-feasibility-simpler-euclidean-special], which will be used in the later sections for the log-adaptive and robust analysis of the greedy algorithm for Euclidean metrics. Throughout this section, we will assume that \(\rho=2\). For simplicity, in the rest of this section, we will define \(\Phi=\sum_{j\in [s]} w(j) \cdot d^2(j,i)\).

Readers can assume \(w(j)=1\) for all \(j\in [s]\) in the first reading, which is enough for understanding the main ideas and establishing the LMP approximations.

5.1 Proof Roadmap↩︎

To combine the constraints in the lemma, we will create a set of non-negative parameters \(p_{tj\ell}\) for each \(t\in [s], j\in DC^t, \ell\in IC^t \cup \{t\}\) such that \(\sum_{\ell\in IC^t \cup\{t\}} p_{tj\ell}=1\) for each \(t\in [s]\) and each \(j\in DC^t\). 4

Using these parameters, we can lower bound the LHS of the third constraint [constr:euclidean-third] by adding the following quantity which is no greater than 0, according to the second constraint [constr:euclidean-second]: \[\begin{align} 0\geq \sum_{j\in DC^t} w(j)& \cdot \sum_{\ell\in IC^t\cup\{t\}} p_{tj\ell}(\alpha^*_\ell - (r_{jt}+d(j,\ell))^2) \\ &= \sum_{j\in DC^t} w(j) \cdot \left(-r_{jt}^2 + \sum_{\ell\in IC^t\cup\{t\}} p_{tj\ell} \left(\alpha^*_\ell - 2r_{jt}\cdot d(j,\ell) - d^2(j,\ell)\right)\right) \end{align}\] Therefore, we can lower bound the LHS of the third constraint [constr:euclidean-third] by the following quantity, where we use \(r_{jt}\leq R_j\) in the second inequality: \[\begin{align} &\text{LHS of constraint \ref{constr:euclidean-third}} \\ &~\geq \sum_{\ell\in [t:s]} w(\ell)\cdot \alpha^*_t + \sum_{\ell \in IC^t} w(\ell) \cdot \alpha^*_\ell + \sum_{j\in DC^t} w(j) \cdot \sum_{\ell\in IC^t\cup\{t\}} p_{tj\ell} \left(\alpha^*_\ell - 2r_{jt}\cdot d(j,\ell) - d^2(j,\ell)\right)\\ &~\geq \sum_{\ell\in [t:s]} w(\ell)\cdot \alpha^*_t + \sum_{\ell \in IC^t} w(\ell)\cdot \alpha^*_\ell + \sum_{j\in DC^t} w(j) \cdot \sum_{\ell\in IC^t\cup\{t\}} p_{tj\ell} \left(\alpha^*_\ell - 2R_j\cdot d(j,\ell) - d^2(j,\ell)\right). \end{align}\] Putting this inequality back to the third constraint [constr:euclidean-third], we have \[\begin{align} & \sum_{\ell\in [t:s]} w(\ell) \alpha^*_t + \sum_{\ell \in IC^t} w(\ell) \alpha^*_\ell + \sum_{j\in DC^t} w(j) \sum_{\ell\in IC^t\cup\{t\}} p_{tj\ell} \alpha^*_\ell \\ \leq& \hat{f} + \rho\sum_{\ell \in IC^t \cup [t:s]} w(\ell) d^2(\ell,i) + \sum_{j\in DC^t} w(j) d^2(j,i) + \sum_{j\in DC^t} w(j) p_{tj\ell} \sum_{\ell\in IC^t\cup \{t\}} 2R_j d(j,\ell) + d^2(j,\ell) \\ =& \hat{f} + 2\Phi - \sum_{j\in DC^t} w(j) d^2(j,i) + \sum_{j\in DC^t} w(j) p_{tj\ell} \sum_{\ell\in IC^t\cup \{t\}} 2R_j d(j,\ell) + d^2(j,\ell) \end{align}\]

Further, we create another set of non-negative parameters \(\beta_t\) for each \(t\in [s]\).5 The goal is to ensure that \(\sum_{t\in [s]} \beta_t \leq 1\) and the following inequality holds: \[\begin{align} \sum_{t\in [s]} \beta_t \cdot \left(\sum_{\ell \in [t:s]} w(\ell) \alpha^*_t + \sum_{\ell \in IC^t} w(\ell) \alpha^*_\ell + \sum_{j\in DC^t} w(j) \sum_{\ell\in IC^t\cup\{t\}} p_{tj\ell} \alpha^*_\ell\right) = \sum_{j \in [s]} w(j) \alpha^*_j ~. \end{align}\] In this way, we can have the following upper bound: \[\begin{align} &\sum_{j\in [s]} w(j)\left(\alpha^*_j - (\rho-1)R_j^2\right) \leq \hat{f} + 2 \Phi \notag \\ \label{eqn:lmp-dual-feasibility-goal-2} &~~ \underbrace{- \sum_{j\in [s]} w(j) R_j^2 + \sum_{t\in [s]} \beta_t \cdot \left(\sum_{j\in DC^t} w(j)p_{tj\ell} \left(\sum_{\ell\in IC^t\cup \{t\}} 2R_j d(j,\ell) + d^2(j,\ell)\right) - w(j) d^2(j,i)\right) }_{\text{the extra cost } \mathsf{EC}}. \end{align}\tag{14}\]

To obtain [lem:dual-feasibility-simpler-euclidean], it suffices to explicitly define the parameters \((p_{tj\ell})_{t\in [s], j\in DC^t, \ell\in [s]}\), \((\beta_{t})_{t\in IC^t\cup\{t\}}\) and prove the extra cost terms after \(\hat{f} + 2\Phi\) in the RHS of 14 is no greater than \((\Gamma-\rho)\cdot \Phi\), where \(\Gamma\) depends on whether the underlying metric is metric or Euclidean according to [lem:dual-feasibility-simpler-euclidean].

5.2 Defining the parameters↩︎

In this subsection, we will define the parameters \((p_{tj\ell})_{t\in [s], j\in DC^t, \ell\in [s]}\) and \((\beta_{t})_{t\in [s]}\) explicitly. These parameters are essentially the same as those in [21], but we write them in an explicit formula and prove some new properties here6. For the further establishment of the LMP approximation guarantee for this paper, we will also define \(P_{j\ell}\), which indicates how much \(d^2(j,\ell)\) will be charged in the extra cost term \(\mathsf{EC}\), and \(d^+_j\), which indicates how much the extra cost is reduced by \(d^2(j,i)\) (see 14 for a formal statement). After defining these parameters, we will prove 12 in next subsection.

For simplicity, we will use \(\mathsf{suf}(j)=\sum_{\ell \geq j} w(\ell)\) to denote the suffix sum of \(w(j)\) for each \(j\in [s]\). For each \(t\in [s]\) and each \(u\in [s]\), we consider \[\begin{align} \pi_t(u) = \prod_{j\in DC^t: j<u} \frac{\mathsf{suf}(j)}{\mathsf{suf}(j+1)}~, \end{align}\] where if \([u-1]\cap DC^t=\emptyset\), we simply let \(\pi_t(u)=1\). We define the following coefficients for each \(t\in [s]\) and each \(j\in [s]\): \[\begin{align} \label{eqn:euclidean-eta-tl} \eta_{t\ell} = \begin{cases} \mathsf{suf}(t) \cdot \pi_t(t) & \text{if } \ell=t~,\\ \hfil w(\ell) \cdot \pi_t(\ell) \hfil & \text{if } \ell\in IC^t~,\\ \hfil 0 \hfil & \text{otherwise}~, \end{cases} \end{align}\tag{15}\]

First, we present the definitions of the parameters \(p_{tj\ell}\) for each \(t\in [s]\), \(j\in DC^t\), and \(\ell \in IC^t \cup \{t\}\), so that \(\sum_{\ell \in IC^t \cup \{t\}} p_{tj\ell} =1\) for each \(t\in [s]\) and each \(j\in DC^t\). For simplicity, we define \(p_{tj\ell}=0\) if \(\ell \notin IC^t\cup\{t\}\). The definition of \(p_{tj\ell}\) will follow the rule below, \[\begin{align} \label{eqn:euclidean-p-tjl} p_{tj\ell} \propto \begin{cases} 0 & \text{if } \ell \le j \text{ or } \ell \notin IC^t\cup\{t\}~,\\ \eta_{t\ell} & \text{if } \ell>j \text{ and } \ell \in IC^t \cup \{t\}~. \end{cases} \end{align}\tag{16}\] Alternatively, we can define for each \(t\in [s]\) and each \(j\in DC^t\), the suffix sum of \(\eta_{t\ell}\) as follows: \[\begin{align} \label{eqn:euclidean-sigma} \sigma_t(j) = \sum_{\ell\geq j} \eta_{t\ell}~, \end{align}\tag{17}\] For any \(t\in[s]\), \(j\in DC^t\), and those \(\ell \in [j+1:t] \cap(IC^t \cup \{t\})\), we can rewrite \(p_{tj\ell } = \eta_{t\ell}/\sigma_t(j+1)\) (or, \(\eta_{t\ell}/\sigma_t(j)\) because \(\eta_{tj}=0\)). For simplicity, we assume that \(p_{tj\ell}=0\) if \(j\notin DC^t\). It is clear that \(\sum_{\ell\in IC^t \cup \{t\}} p_{tj\ell} =1\) for each \(t\in [s]\) and each \(j\in DC^t\). It is straightforward that we have \(p_{tj\ell}\geq 0\). Further, we have the following properties:

For each \(t\in [s]\) and each \(j\leq t\), we have \(\sigma_t(j) = \mathsf{suf}(j) \cdot \pi_t(j)\). Moreover, if \(j\in DC^t\), we have \(\frac{w(j)}{\sigma_t(j)} = \frac{1}{\pi_t(j)} - \frac{1}{\pi_t(j+1)}\).

Proof. We first prove the first part by induction on \(j\). For the base case \((j=t)\), we have \(\sigma_t(t) = \eta_{tt} = \mathsf{suf}(t) \cdot \pi_t(t)\). For the inductive step, we have \(\sigma_t(j) = \eta_{tj} + \sigma_t(j+1) = \eta_{tj}+ \mathsf{suf}(j+1) \cdot \pi_t(j+1)\). If \(j\in DC^t\), we have \(\pi_t(j) = \frac{\mathsf{suf}(j+1)}{\mathsf{suf}(j)} \cdot \pi_t(j+1)\). Because \(\eta_{tj}=0\), \(\sigma_t(j) = \mathsf{suf}(j) \cdot \pi_t(j)\). Otherwise (if \(j\notin DC^t\)), we have \(\pi_t(j) = \pi_t(j+1)\), and thus \[\sigma_t(j) = \eta_{tj} + \mathsf{suf}(j+1)\pi_t(j) = w(j) \pi_t(j) + \mathsf{suf}(j+1) \pi_t(j) = \mathsf{suf}(j) \cdot \pi_t(j)~.\]

For the second part, it is straightforward to establish the following equality: \[\begin{align} \frac{1}{\pi_t(j)} - \frac{1}{\pi_t(j+1)} = \frac{1}{\pi_t(j)} - \frac{\mathsf{suf}(j+1)}{\mathsf{suf}(j)} \cdot \frac{1}{\pi_t(j)} = \frac{w(j)}{\mathsf{suf}(j+1) \cdot \pi_t(j)} = \frac{w(j)}{\sigma_t(j)}~. & \hfill \qedhere \end{align}\] ◻

Corollary 2. For each \(t\in [s]\) and each \(\ell \in IC^t \cup \{t\}\), we have \(\sum_{j<\ell: j\in DC^t} \frac{w(j)}{\sigma_t(j)} = 1 - \frac{1}{\pi_t(\ell)}\).

Lemma 13 (essentially, in the proof of [21]). We have the following equality for any \((\alpha_j)_{j\in [s]}\) and any \(t\in [s]\): \[\begin{align} \label{eqn:justify-p-tjl} \sum_{\ell \in [t:s]} w(\ell) \alpha^*_t + \sum_{\ell \in IC^t} w(\ell) \alpha^*_\ell + \sum_{j\in DC^t} w(j) \sum_{\ell\in IC^t\cup\{t\}} p_{tj\ell} \alpha^*_\ell = \sum_{j \in [s]} \eta_{tj} \alpha^*_j ~. \end{align}\tag{18}\]

Proof. For each \(t\in [s]\), we have \[\begin{align} &\sum_{\ell \in [t:s]} w(\ell) \alpha^*_t + \sum_{\ell \in IC^t} w(\ell) \alpha^*_\ell + \sum_{j\in DC^t} w(j) \sum_{\ell\in IC^t\cup\{t\}} p_{tj\ell} \alpha^*_\ell \\ =\;& \mathsf{suf}(t) \alpha^*_t + \sum_{\ell \in IC^t} w(\ell) \alpha^*_\ell + \sum_{j\in DC^t} w(j) \sum_{\ell\in IC^t\cup\{t\}: \ell>j} \frac{\eta_{t\ell}}{\sigma_t(j)} \cdot \alpha^*_\ell \\ =\;& \mathsf{suf}(t) \alpha^*_t + \sum_{\ell \in IC^t} w(\ell) \alpha^*_\ell + \sum_{\ell\in IC^t\cup\{t\}} \alpha^*_\ell \cdot \eta_{t\ell} \cdot \sum_{j\in DC^t: j<\ell} \frac{w(j)}{\sigma_t(j)} \\ =\;& \mathsf{suf}(t) \alpha^*_t + \sum_{\ell \in IC^t} w(\ell) \alpha^*_\ell + \sum_{\ell\in IC^t\cup\{t\}} \alpha^*_\ell \cdot \eta_{t\ell} \cdot \left(1-\frac{1}{\pi_t(\ell)}\right) } \\ =\;& \sum_{\ell \in IC^t \cup \{t\}} \eta_{t\ell} \alpha^*_\ell + \mathsf{suf}(t) \alpha^*_t + \sum_{\ell \in IC^t} w(\ell) \alpha^*_\ell - \sum_{\ell\in IC^t\cup\{t\}} \frac{\eta_{t\ell}}{\pi_t(\ell)} \cdot \alpha^*_\ell \\ =\;& \sum_{\ell \in IC^t \cup \{t\}} \eta_{t\ell} \alpha^*_\ell~.in \ref{eqn:euclidean-eta-tl}} \end{align}\] Because we have \(\eta_{t\ell}=0\) if \(\ell \notin IC^t \cup \{t\}\), we can rewrite the LHS of 18 as \(\sum_{t\in [s]} \beta_t \cdot \sum_{\ell\in [s]} \eta_{t\ell} \alpha^*_\ell\). ◻

Next, we present the definitions of the parameters \(\beta_t\) for each \(t\in [s]\) by the following recurrence relation (note that \(\eta_{jj}>0\) for any \(j\in [s]\)): \[\begin{align} \label{eqn:Euclidean-beta-recurrence} \beta_j \cdot \eta_{jj} = w(j) - \sum_{t>j} \beta_t \cdot \eta_{tj}. \end{align}\tag{19}\] The definitions are in the same spirit as the definitions of the parameters \(\beta_t\) in the metric case (19). Note that because we have \(\eta_{tj}=0\) for any \(t<j\), we have

For each \(j\in [s]\), we have \(\sum_{t\in [s]} \beta_t \eta_{tj} = w(j)\).

We will defer the proof that \(\beta_j\geq 0\) to 17 and the proof that \(\sum_{t\in [s]} \beta_t \leq 1\) to 7. Using the above definition and 13, we can show that

Corollary 3. We have the following equality for any \((\alpha_j)_{j\in [s]}\): \[\begin{align} \label{eqn:justify-beta-p-tjl} \sum_{t\in [s]} \beta_t \cdot \left(\sum_{\ell \in [t:s]} w(\ell) \alpha^*_t + \sum_{\ell \in IC^t} w(\ell) \alpha^*_\ell + \sum_{j\in DC^t} w(j) \sum_{\ell\in IC^t\cup\{t\}} p_{tj\ell} \alpha^*_\ell\right) = \sum_{j \in [s]} w(j) \alpha^*_j ~. \end{align}\tag{20}\]

Finally, for simplicity, we construct the matrix \(P\), in which, for any \(j<\ell\), \(P_{j\ell}\) equals the coefficient (divided by \(2w(j)\)) of \(d(j,\ell)\) in the extra cost term \(\mathsf{EC}\) in 14 . We define \(P_{j\ell}=0\) for any \(j\geq \ell\). Intuitively, we can think of \(P_{j\ell}\) as how much we will charge \(d^2(j,\ell)\) in the extra cost term \(\mathsf{EC}\) (see 14 for a formal statement). Because we have \(p_{tj\ell}\neq 0\) only when \(j\in DC^t\), \(\ell\in IC^t\cup\{t\}\) and \(j<\ell\), we have following simple expression for \(P_{j\ell}\): \[\begin{align} P_{j\ell} = \sum_{t\in [s]} \beta_t \cdot p_{tj\ell}~. \end{align}\] We also define \(d^+_j = \sum_{\ell>j} P_{j\ell}\). Intuitively, this indicates how much the extra cost is reduced by \(d^2(j,i)\) (see 14 for a formal statement).

Further, we present a simple characterization of \(d^+_j\) in terms of \(\{\beta_t\}\), which will be used in the next subsection to upper bound the extra cost term \(\mathsf{EC}\) in 14 by \(\Phi\). We define \(t_j\geq j\) as the threshold such that for any \(t>t_j\), we have \(j\in DC^t\), and for any \(j<t\le t_j\), we have \(j\notin DC^t\).

For each \(j\in [s]\), we have \(d^+_j= \sum_{t: j\in DC^t} \beta_t = \sum_{t>t_j} \beta_t\).

Proof. By definition, we have \[\begin{align} d^+_j = \sum_{\ell>j} P_{j\ell} = \sum_{\ell>j} \sum_{t\in [s]} \beta_t \cdot p_{tj\ell} = \sum_{t\in [s]: j\in DC^t} \beta_t \cdot \sum_{\ell>j} p_{tj\ell} = \sum_{t>t_j} \beta_t~. & \hfill \qedhere \end{align}\] ◻

5.3 Proof of [lem:dual-feasibility-simpler-euclidean]↩︎

5.3.1 Step 1: Bounding the extra cost term via \(P_{j\ell}\) and \(d^+_j\)↩︎

Using above definitions, we can rewrite the extra cost term in 14 :

Lemma 14. We have the following upper bound for the extra cost term \(\mathsf{EC}\) in 14 : \[\begin{align} \mathsf{EC}\leq \sum_{j<\ell} w(j) P_{j\ell} d^2(j,\ell) + \sum_{j\in [s]} w(j) d^+_j \sum_{\ell>j} P_{j\ell} d^2(j,\ell) - \sum_{j\in [s]} w(j) d^+_j d^2(j,i)~. \end{align}\]

Proof. According to our definition of \(P_{j\ell}\) and \(d^+_j\), we can rewrite the extra cost term \(\mathsf{EC}\) in 14 as follows: \[\begin{align} \mathsf{EC}\leq& - \sum_{j\in [s]} w(j) R_j^2 + \sum_{j<\ell} w(j) P_{j\ell} \cdot \left(2R_j\cdot d(j,\ell) + d^2(j,\ell)\right) - \sum_{j\in [s]} w(j) d^+_j \cdot d^2(j,i) \\ \leq& \sum_{j<\ell} w(j) P_{j\ell} d^2(j,\ell) + \sum_{j\in [s]} w(j) \left(-R_j^2 + \sum_{\ell>j} P_{j\ell} \cdot 2R_jd(j,\ell)\right) - \sum_{j\in [s]} w(j) d^+_j d^2(j,i) \\ \leq& \sum_{j<\ell} w(j) P_{j\ell} d^2(j,\ell) + \sum_{j\in [s]} w(j) \left(\sum_{\ell>j} P_{j\ell} d(j,\ell)\right)^2 - \sum_{j\in [s]} w(j) d^+_j d^2(j,i) } \\ \leq& \sum_{j<\ell} w(j) P_{j\ell} d^2(j,\ell) + \sum_{j\in [s]} w(j) d^+_j \sum_{\ell>j} P_{j\ell} d^2(j,\ell) - \sum_{j\in [s]} w(j) d^+_j d^2(j,i) \end{align}\] ◻

5.3.2 Step 2: Bounding the Laplacian matrix of \(P\)↩︎

The following lemma upper bounds the Laplacian matrix of \(P\) by the identity matrix, which is essentially a key lemma in [21] to establish the LMP 4-approximation for Euclidean \(k\)-means. For the sake of completeness, we prove this lemma in 12.1.

lemmaSTOCKeyLemma For any \(w:[s]\to \mathbb{R}_{> 0}\) and any \(x_1,\dots, x_s\in \mathbb{R}\), we have \[\sum_{j<\ell} w(j) P_{j\ell} (x_j-x_\ell)^2 \leq \sum_{j\in [s]} w(j) x_j^2~.\]

As a corollary, we have the following properties of the matrix \(P\), which give bounds for the first term of 14.

Corollary 4. For any metric \(([s]\cup \{i\},d)\), we have \[\begin{align} \label{eqn:stoc-key-lemma-metric} \sum_{j<\ell} w(j) P_{j\ell} d^2(j,\ell) \leq 2 \sum_{j\in [s]} w(j) d^2(j,i)~. \end{align}\tag{21}\] In particular, if \(d\) is Euclidean, we have an improved upper bound: \[\begin{align} \sum_{j<\ell} w(j) P_{j\ell} d^2(j,\ell) \leq \sum_{j\in [s]} w(j) d^2(j,i)~. \end{align}\]

Proof. Let \(a_j = d(j,i)\) for each \(j\in [s]\). By the triangle inequality, we have \(d(j,\ell) \leq a_j + a_\ell\) for any \(j<\ell\). Therefore, we have \[\begin{align} \sum_{j<\ell} w(j) P_{j\ell} d^2(j,\ell) \leq \sum_{j<\ell} w(j) P_{j\ell} (a_j+a_\ell)^2 \leq 2 \sum_{j<\ell} w(j) P_{j\ell} (a_j^2 + a_\ell^2)~. \end{align}\] For each \(j\in [s]\), consider the vector \(x=(x_1,\dots, x_s)\) such that \(x_j = a_j\) and \(x_\ell = 0\) for all \(\ell \neq j\). By [lem:stoc-key-lemma], we have \(\sum_{\ell<j} w(\ell)P_{\ell j} a_j^2 + \sum_{\ell>j} w(j)P_{j\ell} a_j^2 \leq w(j)a_j^2\). Therefore, we have obtained the desired 21 .

In particular, if \(d\) is Euclidean, we can w.l.o.g. assume that \(i\) is located at the origin \(0^{\mathsf{dim}}\) and \(j\) is located at \(v_j\in \mathbb{R}^{\mathsf{dim}}\) for each \(j\in [s]\). Then we can rewrite \(\sum_{j<\ell} w(j) P_{j\ell} d^2(j,\ell)\) as \(\sum_{t\in [\mathsf{dim}]} \sum_{j<\ell} w(j) P_{j\ell} (v_{jt}-v_{\ell t})^2\). By [lem:stoc-key-lemma], we have \(\sum_{j<\ell} w(j) P_{j\ell} (v_{jt}-v_{\ell t})^2 \leq \sum_{j\in [s]} w(j) v_{jt}^2\) for each \(t\in [\mathsf{dim}]\). Therefore, we have \[\sum_{j<\ell} w(j) P_{j\ell} d^2(j,\ell) \leq \sum_{t\in [\mathsf{dim}]} \sum_{j\in [s]} w(j) v_{jt}^2 = \sum_{j\in [s]} w(j) d^2(j,i)~.\] Hence we have completed the proof. ◻

Another direct corollary of this lemma is that the sum of \(P\) on any column \(\ell\) is upper bounded by \(w(\ell) (1-d^+_\ell)\).

Corollary 5. For any \(\ell\in [s]\), we have \(\sum_{j<\ell} w(j) P_{j\ell} \leq w(\ell) (1-d^+_\ell)\).

Proof. Consider the vector \(x=e_{\ell}\) which is the indicator vector for \(\ell\). By [lem:stoc-key-lemma], we have \(\sum_{j<\ell} w(j)P_{j\ell} + \sum_{\ell<\ell'} w(\ell)P_{\ell \ell'} \leq w(\ell)\). Because \(d^+_\ell = \sum_{\ell'>\ell} P_{\ell \ell'}\), we have \(\sum_{j<\ell} w(j) P_{j\ell} \leq w(\ell) (1-d^+_\ell)\). ◻

5.3.3 Step 3: A key property on the conditional column sum of \(P\)↩︎

The third key property is an upper bound for the conditional column sum of \(P\) in terms of \(d^+_j\) and \(w(\ell)\), which will be used to upper bound the second and the third term in 14. Intuitively, consider the \(\ell\)-th column (corresponding to client \(\ell\)) in the matrix \(P\). The conditional column sum of \(P\) is the sum of all rows \(j\) in this column whose corresponding client \(j\) has \(d^+_j>\theta\). For a better understanding, \(d^+_j\) can be interpreted as a parameter indicating whether client \(j\) becomes directly connected early in the process of the greedy algorithm (according to [obv:dplus-vs46-sum-beta]). If \(d^+_j>d^+_{j'}\) for other client \(j'\), it means that client \(j\) becomes directly connected earlier than \(j'\). Hence, the conditional column sum of \(P\) can be interpreted as the sum of the coefficients of a set of clients \(j<\ell\) that become directly connected at some time point before \(\ell\) becomes directly connected in the process of the greedy algorithm. The reason we only need to take care of those clients \(j\) is because we only charge \(d^2(j,\ell)\) for those clients \(j\) in the upper bound of the extra cost term \(\mathsf{EC}\) in 14 (i.e., \(P_{j'\ell}=0\) for other clients \(j'\)).

Lemma 15. For any \(\theta \in (0,1)\) and any \(\ell\in [s]\), we have \[\begin{align} \sum_{j<\ell} \mathbb{1}(d^+_j > \theta) \cdot w(j) P_{j\ell} \leq w(\ell) (1-\theta). \end{align}\]

We shall remark that if \(\theta<d^+_\ell\), this lemma has a weaker bound than 5. However, if \(\theta\geq d^+_\ell\), this lemma gives a stronger bound than 5.

To prove this lemma, we start with the following simple observation, which is a direct consequence of the definition of \(\pi_t(j)\).

For any \(j\in [s]\), \(\pi_t(j)\) is non-decreasing in \(t\).

Proof. This observation follows the definition of \(\pi_t(j)\) and the fact that \(DC^t\subseteq DC^{t+1}\) for any \(t\in [k-1]\). ◻

Corollary 6. Suppose \(u\leq t\). Then, for any \(\ell \in [s]\), we have \[\sum_{j<\ell: j\in DC^u} \frac{w(j)}{\sigma_t(j)} \leq \sum_{j<\ell: j\in DC^u} \frac{w(j)}{\sigma_u(j)}~.\]

Proof. According to [obv:sigma-vs-pi], we have \(\sigma_t(j)=\mathsf{suf}(j)\cdot \pi_t(j)\) and \(\sigma_u(j)=\mathsf{suf}(j)\cdot \pi_u(j)\). Because \(\pi_t(j)\) is non-decreasing in \(t\), we have \(\pi_t(j)\geq \pi_u(j)\), and thus \(\frac{w(j)}{\sigma_t(j)} \leq \frac{w(j)}{\sigma_u(j)}\) for each \(j\in DC^u\). Therefore, we have \(\sum_{j<\ell: j\in DC^u} \frac{w(j)}{\sigma_t(j)} \leq \sum_{j<\ell: j\in DC^u} \frac{w(j)}{\sigma_u(j)}\). ◻

Our first intermediate lemma is an upper bound for the conditional column sum of \(P\) restricted to a subset of clients \(DC^u\) for any \(u\in [s]\).

Lemma 16. Fix any \(u\in [s]\). For any \(\ell \in [s]\), we have \[\begin{align} \sum_{j<\ell: j\in DC^u} w(j) P_{j\ell} \leq w(\ell) \cdot \left(1-\frac{1}{\pi_{u}(\ell)}\right)~. \end{align}\]

Proof. Using the definition of \(P_{j\ell}\), we have \[\begin{align} \sum_{j<\ell: j\in DC^u} w(j) P_{j\ell} &= \sum_{j<\ell: j\in DC^u} w(j) \sum_{t\in [s]} \beta_t \cdot p_{tj\ell} = \sum_{t\in [s]} \beta_t \cdot \sum_{j<\ell: j\in DC^u} w(j) p_{tj\ell}~. \end{align}\]

First, we consider the case when \(t<u\). In this case, we have \(DC^t\subseteq DC^u\). Since by our definition, \(p_{tj\ell}=0\) if \(j\notin DC^t\), we have \(\sum_{j<\ell: j\in DC^u} w(j) p_{tj\ell} = \sum_{j<\ell: j\in DC^t} w(j) p_{tj\ell}\). Therefore, for \(t<u\), we have the following equation, where the second equality is by our definition of \(p_{tj\ell}\) and the final equality is by 2: \[\begin{align} \sum_{j<\ell: j\in DC^u} w(j) p_{tj\ell} &= \sum_{j<\ell: j\in DC^t} w(j) p_{tj\ell} = \sum_{j<\ell: j\in DC^t} w(j) \frac{\eta_{t\ell}}{\sigma_t(j)} = \eta_{t\ell} \left(1-\frac{1}{\pi_t(\ell)}\right)~. \end{align}\] Since \(\pi_{t}(\ell)\) is non-decreasing in \(t\), we have \(\sum_{j<\ell: j\in DC^u} w(j) p_{tj\ell} \leq \eta_{t\ell} (1-\frac{1}{\pi_{u}(\ell)})\) for \(t<u\).

Second, we consider the case when \(t\geq u\). Using our definition of \(p_{tj\ell}\) and 2, we have \[\begin{align} \sum_{j<\ell: j\in DC^u} w(j) p_{tj\ell} = \sum_{j<\ell: j\in DC^u} w(j) \cdot \frac{\eta_{t\ell}}{\sigma_t(j)} = \eta_{t\ell} \sum_{j<\ell: j\in DC^u} \frac{w(j)}{\sigma_t(j)} &\leq \eta_{t\ell} \sum_{j<\ell: j\in DC^u} \frac{w(j)}{\sigma_u(j)} \\ &= \eta_{t\ell} \left(1-\frac{1}{\pi_u(\ell)}\right)~. \end{align}\]

In conclusion, using the above discussions, the recurrence relation for \(\beta_t\) (19 ) and the fact that \(\eta_{t\ell}=0\) for \(t<\ell\), we have \[\begin{align} \sum_{j<\ell: j\in DC^u} w(j) P_{j\ell} = \sum_{t\in [s]} \beta_t \sum_{j<\ell: j\in DC^u} w(j) p_{tj\ell} \leq \sum_{t\in [s]} \beta_t \eta_{t\ell} \left(1-\frac{1}{\pi_u(\ell)}\right) = w(\ell) \left(1-\frac{1}{\pi_u(\ell)}\right) . \end{align}\] ◻

Next, we show the first deferred proof that \(\beta_u\geq 0\) for any \(u\in [s]\).

Lemma 17. For any \(u\in [s]\), we have \(\beta_u\geq 0\).

Proof. First, we show an upper bound for the following term: \[\begin{align} \sum_{t>u} \beta_t \cdot \eta_{tu} \leq \sum_{t>u} \beta_t \cdot w(u) \pi_t(u) &= \sum_{t>u} \beta_t \cdot \frac{w(u) \sigma_t(u)}{\mathsf{suf}(u)} }\\ &= \frac{w(u)}{\mathsf{suf}(u)} \cdot \sum_{t>u} \beta_t \cdot \sum_{j\geq u} \eta_{tj} \\ &= \frac{w(u)}{\mathsf{suf}(u)} \cdot \sum_{j\geq u} \sum_{t>u} \beta_t \cdot \eta_{tj} \\ &= \frac{w(u)}{\mathsf{suf}(u)} \cdot \left(\sum_{j>u} w(j) + \sum_{t>u} \beta_t \eta_{tu}\right) } \\ &=w(u) \cdot \frac{\mathsf{suf}(u+1)}{\mathsf{suf}(u)} + \frac{w(u)}{\mathsf{suf}(u)} \cdot \sum_{t>u} \beta_t \cdot \eta_{tu}. \end{align}\] Therefore, \(\frac{\mathsf{suf}(u+1)}{\mathsf{suf}(u)} \sum_{t>u} \beta_t \cdot \eta_{tu} \leq w(u) \cdot \frac{\mathsf{suf}(u+1)}{\mathsf{suf}(u)}\), and thus \(\sum_{t>u} \beta_t \cdot \eta_{tu} \leq w(u)\).

Recall 19 , where we have \(\beta_{u}\eta_{uu} = w(u) - \sum_{t>u} \beta_t \cdot \eta_{tu}\). Because \(\eta_{uu}>0\), we have \(\beta_u\geq 0\). ◻

We show a lemma that could imply the second deferred proof that \(\sum_{t\in [s]} \beta_t \leq 1\). This lemma is more general in the sense that it also gives an upper bound for the tail sum of \(\beta_t\), which is useful for establishing 15, the focus of this part.

Lemma 18. For any \(u\in [s]\), we have \(\sum_{t\geq u} \beta_t \leq \frac{1}{\pi_u(u)}\).

Proof. For this lemma, we will prove a stronger statement that for any \(u\in [s]\), we have \[\begin{align} \label{eqn:stronger-beta-pi-sum} \sum_{t\geq u} \beta_t \cdot \pi_t(u) = 1~. \end{align}\tag{22}\] Then, because \(\pi_t(u)\) is non-decreasing in \(t\), we have \(\sum_{t\geq u} \beta_t \leq \frac{1}{\pi_u(u)}\).

To prove the stronger statement, we will use [obv:sigma-vs-pi]: \[\begin{align} \sum_{t\geq u} \beta_t \cdot \pi_t(u) &= \sum_{t\geq u} \beta_t \cdot \frac{\sigma_t(u)}{\mathsf{suf}(u)} }\\ &= \frac{1}{\mathsf{suf}(u)} \cdot \sum_{t\geq u} \beta_t \cdot \sum_{j\geq u} \eta_{tj} \\ &= \frac{1}{\mathsf{suf}(u)} \cdot \sum_{j\geq u} \sum_{t\geq u} \beta_t \cdot \eta_{tj} \\ &= \frac{1}{\mathsf{suf}(u)} \cdot \sum_{j\geq u} w(j)=1. } \end{align}\] ◻

By choosing \(u=1\) for 22 in the proof, we have the following corollary as we have \(\pi_t(u)=1\) for \(t\in [s]\).

Corollary 7. We have \(\sum_{t\in [s]} \beta_t = 1\).

This further implies the following corollary because of [obv:dplus-vs46-sum-beta].

Corollary 8. For each \(j\in [s]\), we have \(d^+_j \leq 1\).

Finally, we are ready to present the proof of the lemma in this part.

Proof of 15. Suppose that \(u^*\) is the largest index \(u\) such that \(\sum_{t\geq u} \beta_t > \theta\). Such index \(u\) always exists because of 7. Then, according to [obv:dplus-vs46-sum-beta], we have \(d^+_j > \theta\) if and only if \(t_j<u^*\), i.e., \(j\in DC^{u^*}\). Therefore, we have \[\begin{align} \sum_{j<\ell} \mathbb{1}(d^+_j > \theta) \cdot w(j) P_{j\ell} &= \sum_{j<\ell: j\in DC^{u^*}} w(j) P_{j\ell} \\ &\leq w(\ell)\left(1 - \frac{1}{\pi_{u^*}(\ell)}\right) } \\ &\leq w(\ell)\left(1-\frac{1}{\pi_{u^*}(u^*)}\right) \\ &\leq w(\ell)\left(1-\sum_{t\geq u^*} \beta_t\right) < w(\ell)(1-\theta)~, \end{align}\] where the second inequality is using two facts: (i) \(\pi_{u^*}(\ell)\) is non-decreasing in \(\ell\), so \(\pi_{u^*}(\ell) \leq \pi_{u^*}(u^*)\) for \(\ell \leq u^*\); and (ii) we have \(DC^{u^*} \subseteq [u^*-1]\) and so \(\pi_{u^*}(\ell)=\pi_{u^*}(u^*)\) for \(\ell\geq u^*\). ◻

5.3.4 Step 4(a): Proof for the Euclidean case↩︎

In this part, we will prove [lem:dual-feasibility-simpler-euclidean] for the Euclidean case. We will consider \(\Gamma = 3+\ln 2\) here. Without loss of generality, we assume the facility \(i\) is located at \(x_i=0^{\mathsf{dim}}\) and the corresponding \(s\) clients are located at \(x_1,\dots, x_s\) respectively. According to 14 14, we have \[\begin{align} &\sum_{j\in [s]} w(j) \left(\alpha^*_j - (\rho-1)R_j^2\right) \\ &\quad \leq \hat{f} + 2\Phi + \sum_{j<\ell} w(j) P_{j\ell} d^2(j,\ell) + \sum_{j\in [s]} w(j) d^+_j \sum_{\ell>j} P_{j\ell} d^2(j,\ell) - \sum_{j\in [s]} w(j) d^+_j d^2(j,i) \\ &\quad = \hat{f} + 2\Phi + \sum_{j<\ell} w(j) P_{j\ell} \|x_j-x_{\ell}\|^2 + \sum_{j\in [s]} w(j) d^+_j \sum_{\ell>j} P_{j\ell} \|x_j-x_{\ell}\|^2 - \sum_{j\in [s]} w(j) d^+_j \|x_j\|^2 \end{align}\] Because of 4, the first term after \(\hat{f} + 2\Phi\) can be upper bounded by \(\Phi\). Next, we will focus on upper bounding the remaining term (shown below) by \(\ln(2)\cdot \Phi\). \[\sum_{j\in [s]} w(j) d^+_j \cdot \sum_{\ell>j} P_{j\ell} \cdot \|x_j-x_\ell\|^2 - \sum_{j\in [s]} w(j) d^+_j \cdot \|x_j\|^2~.\]

Using 15, for any \(\theta\in [0,1]\), we have \[\begin{align} \sum_{j<\ell} w(j)&d^+_j P_{j\ell} \|x_j-x_\ell\|^2 - \sum_{j\in [s]} w(j) d^+_j \|x_j\|^2 \\ &\leq \theta \sum_{j<\ell} w(j)P_{j\ell}\cdot \|x_j-x_\ell\|^2 + \sum_{j<\ell} [d^+_j-\theta]^+ \cdot w(j)P_{j\ell} \|x_j-x_\ell\|^2 - \sum_{j\in [s]} w(j) d^+_j \|x_j\|^2 \\ &\leq \theta \cdot \Phi + \underbrace{\sum_{j<\ell} [d^+_i-\theta]^+ \cdot w(j)P_{j\ell} \|x_j-x_\ell\|^2 - \sum_{j\in [s]} w(j)d^+_j \|x_j\|^2}_{S_2} } \end{align}\] For the term \(S_2\), we derive the following upper bound: \[\begin{align} S_2&=\sum_{j\in [s]: d^+_j>\theta} \sum_{\ell>j} (d^+_j-\theta) w(j)P_{j\ell} \cdot \|x_j-x_\ell\|^2 - \sum_{j\in [s]} w(j) d^+_j \|x_j\|^2 \\ &\leq \sum_{j\in [s]: d^+_j>\theta} \sum_{\ell>j} (d^+_j-\theta) w(j)P_{j\ell} \cdot \left(\frac{\|x_j\|^2}{d^+_j-\theta} + \frac{\|x_\ell\|^2}{1-d^+_j +\theta}\right) - \sum_{j\in [s]} w(j)d^+_j \|x_j\|^2 } \\ &\leq \sum_{j\in [s]: d^+_j>\theta} w(j)\left(\sum_{\ell>j} P_{j\ell}\right) \|x_j\|^2 + \sum_{j\in [s]: d^+_j>\theta} \sum_{\ell>j} \frac{d^+_j-\theta}{1-d^+_j+\theta} \cdot w(j)P_{j\ell} \|x_\ell\|^2 - \sum_{j\in [s]} w(j)d^+_j \|x_j\|^2 \\ &\leq \sum_{j\in [s]: d^+_j>\theta} \sum_{\ell>j} \frac{d^+_j-\theta}{1-d^+_j+\theta} \cdot w(j)P_{j\ell} \|x_\ell\|^2\\ &= \sum_{\ell\in [s]} \|x_\ell\|^2 \cdot \sum_{j<\ell: d^+_j>\theta} \frac{d^+_j-\theta}{1-d^+_j+\theta} \cdot w(j)P_{j\ell}~. \end{align}\] Let \(g(y) = \frac{y-\theta}{1-y+\theta}\) for any \(y\in [\theta,1]\). This is easy to verify that \(g(\theta)=0\). Therefore, we have \(g(y) = \int_{\theta}^y g'(z) dz\). Hence, we can further upper bound \(S_2\) by \[\begin{align} S_2 &\leq \sum_{\ell \in [s]} \|x_\ell\|^2 \cdot \sum_{j<\ell: d^+_j>\theta} \int_{\theta}^{d^+_j} g'(z)\cdot w(j)P_{j\ell} dz \\ &= \sum_{\ell \in [s]} \|x_\ell\|^2 \cdot \int_{z=\theta}^1 g'(z) \cdot \sum_{j<\ell: d^+_j>z} w(j)P_{j\ell} dz~. \\ &\leq \sum_{\ell \in [s]} \|x_\ell\|^2 \cdot \int_{z=\theta}^1 g'(z) \cdot w(\ell)(1-z)dz } \\ &= \sum_{\ell \in [s]} w(\ell)\|x_\ell\|^2 \cdot \int_{z=\theta}^1 g'(z) (1-z)dz \end{align}\] Since \(g(z)=0\) when \(z=\theta\) and \(1-z=0\) when \(z=1\), we have \[\begin{align} \int_{z=\theta}^1 g'(z) \cdot (1-z)dz = \int_{z=\theta}^1 g(z)dz = \int_{z=\theta}^1 \frac{z-\theta}{1-z+\theta} dz = \theta-1-\ln(\theta)~. \end{align}\] We have \(S_2\leq (\theta-1-\ln(\theta)) \cdot \Phi\). Therefore, we have \[\begin{align} \sum_{j<\ell} w(j)d^+_j P_{j\ell} \|x_j-x_\ell\|^2 - \sum_{j\in [s]} w(j) d^+_j \|x_j\|^2 &\leq (\theta + \theta -1 - \ln(\theta))\cdot \Phi \\ &= (2\theta -1 - \ln(\theta)) \cdot \Phi~. \end{align}\] If we choose \(\theta = 1/2\), we get our desired bound that \[\sum_{j<\ell} w(j)d^+_j P_{j\ell} \|x_j-x_\ell\|^2 - \sum_{j\in [s]} w(j) d^+_j \|x_j\|^2 \leq \ln(2) \cdot \Phi~.\]

5.3.5 Step 4(b): Proof for the general metric case↩︎

In this part, we will prove [lem:dual-feasibility-simpler-euclidean] for the general metric case. We will consider \(\Gamma = 5\) here. For simplicity, we use \(a_j=d^2(j,i)\) for each \(j\in [s]\) in this part. According to 14 14, we have \[\begin{align} &\sum_{j\in [s]} w(j) \left(\alpha^*_j - (\rho-1)R_j^2\right) \\ &\quad \leq \hat{f} + 2\Phi + \sum_{j<\ell} w(j) P_{j\ell} d^2(j,\ell) + \sum_{j\in [s]} w(j) d^+_j \sum_{\ell>j} P_{j\ell} d^2(j,\ell) - \sum_{j\in [s]} w(j) d^+_j d^2(j,i) \end{align}\] First, because of 4, we can upper bound the first term after \(\hat{f}+2\Phi\) by \(2\Phi\). Next, we upper bound the remaining term, i.e., \[\begin{align} \label{eqn:remaining-term-general-metric} \sum_{j\in [s]} w(j) d^+_j \sum_{\ell>j} P_{j\ell} d^2(j,\ell) - \sum_{j\in [s]} w(j) d^+_j d^2(j,i) \end{align}\tag{23}\] by \(\Phi\) for the general metric case.

Using the definition of \(a_j\), we have \[\begin{align} \ref{eqn:remaining-term-general-metric} &\leq \sum_{j\in [s]} w(j) d^+_j \sum_{\ell>j} P_{j\ell} \cdot 2(a_j + a_\ell) - \sum_{j\in [s]} w(j) d^+_j a_j } \\ &= 2\sum_{j<\ell} w(j) d^+_j P_{j\ell} \cdot a_\ell + 2\sum_{j<\ell} w(j) d^+_j P_{j\ell} \cdot a_j - \sum_{j\in [s]} w(j) d^+_j a_j \\ &= 2\sum_{j<\ell} w(j) d^+_j P_{j\ell} \cdot a_\ell + \sum_{j\in [s]} w(j) (2(d^+_j)^2 - d^+_j) a_j\\ &= 2\sum_{j<\ell} w(j) \left(\int_{\theta=0}^{1} \mathbb{1}(d^+_j>\theta) d\theta\right) \cdot P_{j\ell} a_\ell + \sum_{j\in [s]} w(j) (2(d^+_j)^2 - d^+_j) a_j \\ &= 2\sum_{\ell\in [s]} \left(\int_{\theta=0}^{1} \sum_{j<\ell}\mathbb{1}(d^+_j>\theta) w(j) P_{j\ell} d\theta\right) \cdot a_\ell + \sum_{j\in [s]} w(j) (2(d^+_j)^2 - d^+_j) a_j \end{align}\] Note that for any \(\ell\in [s]\), the coefficient of \(a_\ell\) in the first term can be upper bounded as follows: \[\begin{align} \int_{\theta=0}^{1} \sum_{j<\ell}\mathbb{1}(d^+_j>\theta) w(j) P_{j\ell} d\theta &\leq \int_{\theta=0}^{d^+_\ell} \sum_{j<\ell} w(j) P_{j\ell} d\theta + \int_{\theta=d^+_\ell}^1 \sum_{j<\ell} \mathbb{1}(d^+_j>\theta) w(j) P_{j\ell} d\theta \\ &\leq d^+_\ell \cdot w(\ell) (1-d^+_\ell) + \int_{\theta=d^+_\ell}^1 w(\ell)(1-\theta) d\theta\ref{lem:sum-threshold-wPij-upperbound}} \\ &= w(\ell) \left(d^+_\ell (1-d^+_\ell) + \frac{(1-d^+_\ell)^2}{2}\right) \end{align}\] Therefore, we can further upper bound 23 by (the final inequality is because \(d^+_j\in [0,1]\) for each \(j\in [s]\)): \[\begin{align} \ref{eqn:remaining-term-general-metric} &\leq \sum_{j\in [s]} w(j) \cdot \left(2d^+_j(1-d^+_j) + (1-d^+_j)^2+2(d^+_j)^2 - d^+_j\right) \cdot a_j \\ &= \sum_{j\in [s]} w(j) \cdot \left(1-d^+_j+(d^+_j)^2\right)\cdot a_j \leq \Phi~. \end{align}\]

5.4 A generalization of [lem:dual-feasibility-simpler-euclidean] for the Euclidean case↩︎

In this subsection, we will prove a generalization of [lem:dual-feasibility-simpler-euclidean], where we only have some approximate version of the constraints. We will show that the same guarantee can be achieved up to a small additive factor. Later, we will use this generalization to obtain the bicriteria approximation guarantee for the Euclidean case. Because the proof is highly technical with dealing with the small additive factor and mostly follows the spirit of the earlier derivations, we defer it to 12.2.

lemmaDualFeasibilityEuclideanSpecial Let \(\rho=2\) and \(\Gamma=3+\ln(2)\). Let \(\hat{f}\) be any non-negative real number. Let \(\varepsilon\geq 0\) be any sufficiently small non-negative real number. Let \(([s]\cup \{i\},d)\) be a Euclidean metric. Let \(w:[s]\to \mathbb{R}_{>0}\) be any non-negative weight function. Let \(a\in [s]\) be any positive integer such that \(a\leq s\). Let \((IC^t)_{t\in [s]}\) and \((DC^t)_{t\in [s]}\) be two families of sets satisfying:

  1. For each \(t\in [s]\), \(DC^t\cap IC^t=\emptyset\) and \(DC^t\cup IC^t = [t-1]\).

  2. For each \(t\in [s-1]\), \(DC^t\subseteq DC^{t+1}\).

  3. \([a+1:s-1] \subseteq IC^s\).

Suppose that the variables \((\alpha^*_j)_{j\in [s]}, (R_j)_{j\in [s]}, (r_{jt})_{t\in [s], j\in DC^t}\) satisfy the following constraints

  1. For any \(t\in [s], j\in DC^t\), we have \(r_{jt}\leq R_j\).

  2. For each \(t\in [a], j\in DC^t\) and \(\ell\in IC^t\cup\{t\}\), we have \(\alpha^*_{\ell} \leq (r_{jt}+d(j,\ell))^2\).

  3. For each \(t\in [a]\cup \{s\}\), we have \[\sum_{\ell\in[t:s]} w(\ell) \alpha^*_t + \sum_{\ell \in IC^t} w(\ell)\alpha^*_\ell + \sum_{j\in DC^t} w(j) r_{jt}^2 \leq \hat{f} + \sum_{\ell \in IC^t \cup [t:s]} \rho w(\ell)d^2(\ell,i) + \sum_{j\in DC^t} w(j) d^2(j,i).\]

  4. There is a set \(L\subseteq [a]\cap IC^s\) such that:

    • \(\sum_{\ell\in L} w(\ell) \leq \varepsilon\cdot \sum_{\ell\in [a+1:s]} w(\ell)\);

    • for any \(j\in DC^s, \ell\in (IC^s\cup\{s\})\setminus L\), we have \(\alpha^*_{\ell} \leq (1+\varepsilon) \cdot (r_{js}+d(j,\ell))^2\);

    • for any \(j\in DC^s, \ell\in L\) and \(\ell'\in [a+1:s]\), we have \(\alpha^*_{\ell} \leq (r_{js}+d(j,\ell'))^2\).

Then, the following holds: \[\begin{align} \label{eqn:dual-feasibility-simpler-euclidean-special} \sum_{j\in [s]} w(j) \cdot (\alpha^*_j - (\rho-1)R_j^2) \leq \hat{f} + (\Gamma+10\varepsilon) \cdot \sum_{j\in [s]} w(j) \cdot d^2(j,i)~. \end{align}\tag{24}\]

This is a generalization of [lem:dual-feasibility-simpler-euclidean], because [lem:dual-feasibility-simpler-euclidean] is a special case when \(\varepsilon=0, a=s-1\) and \(L=\emptyset\).

6 An Improved LMP \(4.9\)-Approximation for the Metric Case↩︎

In this section, we will prove [lem:dual-feasibility-simpler-metric], restated below for convenience.

6.1 Unweighted↩︎

In this subsection, we prove [lem:dual-feasibility-simpler-metric] in the special case \(w(\ell)=1\) for all \(\ell\in[s]\). Define \(a_t \stackrel{\text{def}}{=}d(t,i)\) for all \(t\in[s].\) The final proof of this lemma for the unweighted case was obtained by GPT 5.2/5.4 Pro/Thinking, after several rounds of exchange with the authors implementing various theoretical ideas and experiments, and revised by the authors.

As briefly discussed in the overview in 2.1, the proof has four steps. First, from the inequalities at time \(\alpha_t-\varepsilon\) given in condition [constr:metric-third] of [lem:dual-feasibility-simpler-metric], we derive a family of constraints \(\eqref{eq:Pk-unweighted}\) by using the triangle inequality to lower bound the terms involving \(r_{jt}\). Second, we choose coefficients \((\beta)_{t\in[s]}\) so that, in the weighted combination of these constraints, the coefficient of each \(\alpha_t^*\) is exactly \(1\). Third, after collecting terms, we obtain a quadratic form in the distances to the facility \(i\). Finally, we bound the top eigenvalue of the corresponding matrix by the Collatz–Wielandt Formula, which yields the claimed constant.

6.1.0.1 Step 1: From \(\eqref{eq:Ik-unweighted}\) to \(\eqref{eq:Pk-unweighted}\).

For each \(t\in[s]\), given \(w(t)=1\) and \(a_t\stackrel{\text{def}}{=}d(t,i)\) for all \(t\in[s]\), rewriting and rearranging the condition [constr:metric-third] gives \[\begin{align} } &\sum_{j\in[t:s]} \alpha^*_t + \sum_{j \in IC^t} \alpha^*_j + \sum_{j\in DC^t} w(j) r_{jt}^2 \leq \hat{f} + \sum_{j \in IC^t \cup [t:s]} \rho d^2(j,i) + \sum_{j\in DC^t} w(j) d^2(j,i).\\ \label{eq:Ik-unweighted}\implies & \sum_{j\in DC^t}(r_{jt}^2-a_j^2) + \sum_{j\in IC^t}(\alpha_j^*-\rho a_j^2) + \sum_{j\ge t}(\alpha_t^*-\rho a_j^2) \le \hat{f}. \end{align}\tag{25}\] Fix \(t\in[s]\). For each \(j\in DC^t\), conditions [constr:metric-first][constr:metric-second] and the triangle inequality imply \[\alpha_t^* \le (r_{jt}+d(j,t))^2 \le (r_{jt}+a_j+a_t)^2 \le r_{jt}^2 + (a_j+a_t)^2 + 2(a_j+a_t)R_j.\] Rearranging and using \(2a_ja_t\le a_j^2+a_t^2\), we obtain \[r_{jt}^2-a_j^2 \ge \alpha_t^* - 2a_t^2 - 3a_j^2 - 2(a_j+a_t)R_j.\] Substituting into 25 gets us \[\begin{align} &\sum_{j\in DC^t}\alpha_t^* + \sum_{j\in IC^t}\alpha_j^* + \sum_{j\ge t}\alpha_t^* - \hat{f} \notag\\ &\qquad\le \sum_{j\in DC^t}\bigl(2a_t^2+3a_j^2+2(a_t+a_j)R_j\bigr) + \sum_{j\in IC^t}\rho a_j^2 + \sum_{j\ge t}\rho a_j^2. \label{eq:Pk-unweighted} \end{align}\tag{26}\]

6.1.0.2 Step 2: Choosing coefficients.

We now choose nonnegative coefficients \(\beta_1,\ldots,\beta_s\) and multiply each inequality \(\eqref{eq:Pk-unweighted}\) with \(\beta_t\) and sum over all \(t\in[s]\) such that the coefficient of each \(\alpha_t^*\) is exactly \(1\). This is very similar to the proof of how coefficients are derived in [17].

Lemma 19. For each \(t\in [s]\), define \[m_t\stackrel{\text{def}}{=}|DC^t|, \qquad c_t\stackrel{\text{def}}{=}s-|IC^t|=s-t+1+m_t, \qquad g_t\stackrel{\text{def}}{=}\sum_{u\ge t} \beta_u,\] \[\eta_t\stackrel{\text{def}}{=}\sum_{u>t:\,t\in DC^u} \beta_u, \qquad A_t\stackrel{\text{def}}{=}m_t \beta_t.\] Then there exist nonnegative coefficients \(\beta_1,\dots,\beta_s\) such that, for every \(t\in[s]\), \[\label{eq:alphatcoeff} \beta_t c_t + \sum_{u>t:\,t\in IC^u} \beta_u = 1,\tag{27}\] and moreover, \[0\le \eta_t\le g_t, \qquad \sum_{t=1}^s \beta_t = 1, \qquad A_t+g_t \le 1.\]

Proof. Define the coefficients recursively, for \(t=s,s-1,\dots,1\), by \[\label{eq:focsreccur} \beta_t= \frac{1-\sum_{u>t:\,t\in IC^u} \beta_u}{c_t}.\tag{28}\] Since 27 is triangular, this is the unique solution of the system. We verify that the resulting coefficients are nonnegative.

Fix \(t\in \{0\}\cup [s]\) and consider the suffix \(\{\alpha^*_{t+1},\dots,\alpha^*_s\}\). In the final weighted combination, its total coefficient is \(s-t\). On the other hand, for each \(u>t\), the contribution of the \(u\)’th inequality 26 to this suffix is \[c_u + |IC^u\cap [t+1,u-1]|.\] Since \(IC^u\) and \(DC^u\) partition \([u-1]\), we have \[\begin{align} c_u + |IC^u\cap [t+1,u-1]| &= (s-u+1)+m_u +(u-t-1)-|DC^u\cap [t+1,u-1]| \\ &= s-t + |DC^u\cap [1,t]| \\ &\ge s-t+m_t, \end{align}\] where we used \(DC^t\subseteq DC^u\) and \(DC^t\subseteq [t-1]\). Summing over \(u>t\) gives \[\label{eq:suffixbeta-unweighted} (s-t+m_t)\sum_{u>t} \beta_u \le s-t,\tag{29}\]

and hence \[\sum_{u>t} \beta_u \le \frac{s-t}{s-t+m_t}.\] Therefore, \[\sum_{u>t:\,t\in IC^u} \beta_u \le \sum_{u>t} \beta_u \le \frac{s-t}{s-t+m_t}<1,\] so 28 indeed yields \(\beta_t\ge 0\).

The inequality \(0\le \eta_t\le g_t\) is immediate from the definitions.

To prove \(\sum_{t=1}^s \beta_t=1\), sum the coefficients of all \(\alpha^*\)-variables in the weighted combination of 26 . Each inequality contributes total coefficient \(s\), while by construction each \(\alpha_u^*\) has coefficient \(1\). Hence \[s\sum_{t=1}^s \beta_t = s,\] so \(\sum_{t=1}^s \beta_t=1\), and in particular \(g_t\le 1\).

Finally, fix \(t\in[s]\) and consider the suffix \(\{\alpha_t^*,\dots,\alpha_s^*\}\). Its total coefficient in the final weighted combination is \(s-t+1\). For each \(u\ge t\), the contribution of the \(u\)’th inequality to this suffix is \[c_u + |IC^u\cap [t,u-1]|.\] Again using that \(IC^u\) and \(DC^u\) partition \([u-1]\), we obtain \[\begin{align} c_u + |IC^u\cap [t,u-1]| &= (s-u+1)+m_u+(u-t)-|DC^u\cap [t,u-1]| \\ &= s-t+1 + |DC^u\cap [1,t-1]| \\ &\ge s-t+1+m_t = c_t. \end{align}\] Summing over \(u\ge t\) yields \(c_t g_t\le s-t+1\), so \[\label{eq:suffixg-unweighted} g_t\le \frac{s-t+1}{c_t}.\tag{30}\] Since 27 implies \(c_t \beta_t\le 1\), we also have \(\beta_t\le 1/c_t\). Therefore, \[A_t+g_t = m_t \beta_t + g_t \le \frac{m_t}{c_t} + \frac{s-t+1}{c_t}=1.\] ◻

6.1.0.3 Step 3: The quadratic form

We next compute the quadratic form produced by the weighted sum of \(\eqref{eq:Pk-unweighted}_{t\in[s]}\).

Lemma 20. For each \(t\in[s]\) and each \(x\in\mathbb{R}^s\), define \(U_t(x) \stackrel{\text{def}}{=}\sum_{u:\,t\in DC^u} \beta_u x_u.\) Then the weighted sum of all inequalities 26 over \(t\in[s]\) implies \[\sum_{t\in[s]} \alpha_t^*-(\rho-1)R_t^2 - \hat{f} \le \rho \sum_{t\in[s]} a_t^2 + Q_\rho(a),\] where, for every \(x\in\mathbb{R}^s\), \[\label{eq:Qrho-first} Q_\rho(x) = \sum_{t\in[s]} \bigl(2A_t+(3-\rho)\eta_t\bigr)x_t^2 + \frac{1}{\rho-1}\sum_{t\in[s]} \bigl(U_t(x)+\eta_t x_t\bigr)^2.\tag{31}\]

Proof. By 27 , the weighted sum of the left-hand sides of \(\eqref{eq:Pk-unweighted}_{t\in[s]}\) is \(\sum_{t\in[s]}\alpha_t^*-\hat{f}\). Let \(\mathcal{R}\) denote the weighted sum of the right-hand sides. Then \[\sum_{t\in[s]}\alpha_t^*-\hat{f} \le \mathcal{R}.\] We now collect the terms in \(\mathcal{R}\).

First, \[\sum_{t\in[s]} \beta_t\sum_{j\in DC^t} 2a_t^2 = \sum_{t\in[s]} 2A_ta_t^2.\] Second, \[\sum_{t\in[s]} \beta_t\sum_{j\in DC^t} 3a_j^2 = \sum_{t\in[s]} 3\eta_ta_t^2.\] Third, \[\sum_{t\in[s]} \beta_t\sum_{j\in DC^t} 2(a_t+a_j)R_j = 2\sum_{t\in[s]} R_t\bigl(U_t(a)+\eta_ta_t\bigr).\] Finally, for each fixed \(t\), the sets \[\{u\in[s]: t\in IC^u\}, \qquad \{u\in[s]: t\in DC^u\}, \qquad \{u\in[s]: u\le t\}\] partition \([s]\). Since \(\sum_{t=1}^s \beta_t=1\) by 19, it follows that \[\sum_{u:\,t\in IC^u} \beta_u + \sum_{u\le t} \beta_u = 1-\eta_t,\] and hence \[\sum_{u\in[s]} \beta_u\left(\sum_{j\in IC^u}\rho a_j^2 + \sum_{j\ge u}\rho a_j^2\right) = \rho\sum_{t\in[s]} (1-\eta_t)a_t^2.\] Therefore, \[\mathcal{R} = \sum_{t\in[s]} 2A_ta_t^2 + \sum_{t\in[s]} 3\eta_ta_t^2 + 2\sum_{t\in[s]} R_t\bigl(U_t(a)+\eta_ta_t\bigr) + \rho\sum_{t\in[s]} (1-\eta_t)a_t^2.\] Equivalently, \[\mathcal{R} = \rho\sum_{t\in[s]} a_t^2 + \sum_{t\in[s]} \bigl(2A_t+(3-\rho)\eta_t\bigr)a_t^2 + 2\sum_{t\in[s]} R_t\bigl(U_t(a)+\eta_ta_t\bigr).\] Hence \[\sum_{t\in[s]} \alpha_t^*-(\rho-1)R_t^2 - \hat{f} \le \rho\sum_{t\in[s]} a_t^2 + \sum_{t\in[s]} \bigl(2A_t+(3-\rho)\eta_t\bigr)a_t^2 + \sum_{t\in[s]} \Bigl(2R_t\bigl(U_t(a)+\eta_ta_t\bigr)- (\rho-1)R_t^2\Bigr).\] As in the warm-up, we get rid of the mixed term \(R\) using \[2Rx-(\rho-1)R^2 \le \frac{x^2}{\rho-1} \qquad (R,x\in\mathbb{R}).\] Applying this with \(x=U_t(a)+\eta_ta_t\) for each \(t\), we obtain \[\sum_{t\in[s]} \alpha_t^*-(\rho-1)R_t^2 - \hat{f} \le \rho\sum_{t\in[s]} a_t^2 + \sum_{t\in[s]} \bigl(2A_t+(3-\rho)\eta_t\bigr)a_t^2 + \frac{1}{\rho-1}\sum_{t\in[s]} \bigl(U_t(a)+\eta_ta_t\bigr)^2.\] This is exactly the claimed inequality. ◻

6.1.0.4 Step 4: Matrix Form

It remains to bound \(Q_\rho\).

Lemma 21. Let \(K\) be the unique symmetric matrix such that \(Q_\rho(x)=x^\top Kx\) for all \(x\in\mathbb{R}^s\). Then, for every \(t\in[s]\) and every \(x\in\mathbb{R}_{\ge 0}^s\), \[(Kx)_t = \Bigl(2A_t+(3-\rho)\eta_t+\frac{\eta_t^2}{\rho-1}\Bigr)x_t + \frac{\eta_t}{\rho-1}U_t(x) + \frac{\beta_t}{\rho-1}\sum_{u\in DC^t} \bigl(U_u(x)+\eta_u x_u\bigr).\] Moreover, \(K\) is entrywise nonnegative for all \(1<\rho\le 3\). Consequently, \[Q_\rho(x)\le \lambda_{\max}(K)\|x\|_2^2 \qquad\text{for all }x\in\mathbb{R}_{\ge 0}^s.\]

Proof. Since \(Q_\rho(x)=x^\top Kx\) and \(K\) is symmetric, we have \[\frac{\partial Q_\rho(x)}{\partial x_t}=2(Kx)_t.\] Differentiating 31 , we obtain \[\begin{align} (Kx)_t &= \bigl(2A_t+(3-\rho)\eta_t\bigr)x_t + \frac{\eta_t}{\rho-1}\bigl(U_t(x)+\eta_t x_t\bigr) + \frac{\beta_t}{\rho-1}\sum_{u\in DC^t} \bigl(U_u(x)+\eta_u x_u\bigr) \\ &= \Bigl(2A_t+(3-\rho)\eta_t+\frac{\eta_t^2}{\rho-1}\Bigr)x_t + \frac{\eta_t}{\rho-1}U_t(x) + \frac{\beta_t}{\rho-1}\sum_{u\in DC^t} \bigl(U_u(x)+\eta_u x_u\bigr). \end{align}\] Every coefficient in this expression is nonnegative when \(1<\rho\le 3\), so \(K\) is entrywise nonnegative. The final claim follows from the definition \(\lambda_{\max}(K)\). ◻

We now pick \(\rho=5/2\) and replace \(\eta_t\) by \(g_t\), since \(\eta_t\leq g_t\) (19). For every \(t\in[s]\) and every \(x\in\mathbb{R}_{\ge 0}^s\), 21 gives \[\label{eq:finalkentry} (Kx)_t \le \Bigl(2A_t + \frac{1}{2} g_t + \frac{2}{3} g_t^2\Bigr)x_t + \frac{2}{3} g_t U_t(x) + \frac{2}{3} \beta_t\sum_{u\in DC^t} U_u(x) + \frac{2}{3} \beta_t\sum_{u\in DC^t} g_u x_u.\tag{32}\]

The next lemma applies the Collatz–Wielandt Formula [29]

Lemma 22. Fix \(\tau=\sqrt[3]{12}\). Then \[\lambda_{\max}(K)\le \max_{1\le x\le \tau} F(x),\] where \[\label{eq:function} F(x)= \frac{48x^6-47\tau x^5-357x^3+(564\tau-396)x^2+4665}{2178}.\tag{33}\]

Proof. We choose \(h\in\mathbb{R}_{\ge 0}^s\) by \[h_t = (1+11g_t)^{-2/3} \qquad (t\in[s]).\] By the min–max Collatz–Wielandt Formula [29] for non-negative symmetric matrix \(K\geq 0\), with spectral radius \(\rho(K)\), we have \[\label{eq:collatz-wielandt} \lambda_{\max}(K) = \rho(K) = \min_{x\in \mathbb{R}_{\geq 0}^s} \max_{t\in[s], x_t\neq 0} \frac{(Kx)_t}{x_t} \le \max_{t\in[s]} \frac{(Kh)_t}{h_t} \tag{34}\]

For every \(t\in[s]\), \[\begin{align} \frac{2g_tU_t(h)}{3h_t} &\le \frac{2}{11}g_t\Bigl((1+11g_t)-(1+11g_t)^{2/3}\Bigr),\tag{35}\\ \frac{2\beta_t}{3h_t}\sum_{u:\,t\in DC^u} g_uh_u &\le A_t\cdot \frac{2}{3}(1+11g_t)^{2/3}\tau^{-2},\tag{36}\\ \frac{2\beta_t}{3h_t}\sum_{u:\,t\in DC^u} U_u(h) &\le A_t(1+11g_t)^{2/3}\cdot \frac{2}{11}(\tau-1).\tag{37} \end{align}\] Consequently, \[\label{eq:lambda} \frac{(Kh)_t}{h_t} \le G(g_t),\tag{38}\] where \[\begin{align} G(g) \stackrel{\text{def}}{=}{}& 2(1-g)+\frac{1}{2} g+\frac{2}{3} g^2 + \frac{2}{3}(1-g)(1+11g)^{2/3}\tau^{-2} \notag\\ &+ \frac{2}{11}(1-g)(1+11g)^{2/3}(\tau-1) + \frac{2}{11}g\Bigl((1+11g)-(1+11g)^{2/3}\Bigr). \label{eq:scalar-majorant-g} \end{align}\tag{39}\]

Proof. Since the sets \(DC^u\) are monotone in \(u\), the set \(\{u\in[s]: t\in DC^u\}\) is a suffix of \(\{t+1,\dots,s\}\). Let \(u_t\) be its first element. Let \(u_t=s+1\) if \(t\notin DC^u\) for every \(u\). Then \[U_t(h)=\sum_{u\ge u_t} \beta_u h_u = \sum_{u\ge u_t} (g_u-g_{u+1})(1+11g_u)^{-2/3}.\] Since the function \(z\mapsto (1+11z)^{-2/3}\) is decreasing, this sum is bounded by the corresponding integral: \[\label{eq:ukh} U_t(h) \le \int_0^{\eta_t} (1+11z)^{-2/3}\,dz \le \frac{3}{11}\Bigl((1+11\eta_t)^{1/3}-1\Bigr).\tag{40}\] Together with \(\eta_t\le g_t\), this gives 35 .

For 37 , 40 implies \[U_u(h) \le \frac{3}{11}\Bigl((1+11\eta_u)^{1/3}-1\Bigr) \le \frac{3}{11}(\tau-1),\] since \(\eta_u\in[0,1]\). Therefore, \[\frac{2\beta_t}{3h_t}\sum_{u:\,t\in DC^u} U_u(h) \le \frac{2\beta_t}{3}(1+11g_t)^{2/3}\cdot m_t\cdot \frac{3}{11}(\tau-1) = A_t(1+11g_t)^{2/3}\cdot \frac{2}{11}(\tau-1).\]

For 36 , the function \(g\mapsto g(1+11g)^{-2/3}\) is increasing on \([0,1]\), so \[g_u h_u = g_u(1+11g_u)^{-2/3} \le 12^{-2/3}=\tau^{-2}.\] Hence \[\sum_{u:\,t\in DC^u} g_u h_u \le m_t\tau^{-2},\] and therefore \[\frac{2\beta_t}{3h_t}\sum_{u:\,t\in DC^u} g_uh_u \le \frac{2\beta_tm_t}{3}(1+11g_t)^{2/3}\tau^{-2} = A_t\cdot \frac{2}{3}(1+11g_t)^{2/3}\tau^{-2}.\]

Combining [eq:finalkentry,eq:lambda1,eq:lambda2,eq:lambda3] and using \(A_t+g_t\le 1\) from 19, we obtain \[\begin{align} \frac{(Kh)_t}{h_t} &\le \Bigl(2A_t+\frac{1}{2} g_t+\frac{2}{3} g_t^2\Bigr) + \frac{2g_tU_t(h)}{3h_t} + \frac{2\beta_t}{3h_t}\sum_{u:\,t\in DC^u} U_u(h) + \frac{2\beta_t}{3h_t}\sum_{u:\,t\in DC^u} g_uh_u \\ &\le 2A_t+\frac{1}{2} g_t+\frac{2}{3} g_t^2 + \frac{2}{11}g_t\Bigl((1+11g_t)-(1+11g_t)^{2/3}\Bigr) \\ &\qquad + A_t(1+11g_t)^{2/3}\cdot \frac{2}{11}(\tau-1) + A_t\cdot \frac{2}{3}(1+11g_t)^{2/3}\tau^{-2} \\ &\le G(g_t). \end{align}\] ◻

Finally, we simplify the expression in 38 by substituting \(g=(x^3-1)/11\) and simplifying, using \(\tau^{-2}=\tau/12\). This gives \[\frac{(Kh)_t}{h_t} \le G(g_t)=F(x),\] where \[F(x)= \frac{48x^6-47\tau x^5-357x^3+(564\tau-396)x^2+4665}{2178}.\] ◻

The remaining task is to prove an upper bound on \(F(x)\) as follows:

Lemma 23. \(\max_{x\in[1,\tau]} F(x) < \frac{12}{5}.\)

Proof. This is deferred to 13.1. ◻

We can now finish the proof of the unweighted version of [lem:dual-feasibility-simpler-metric]. Using 20 with \(\rho=5/2\), we obtain \[\begin{align} \sum_{t\in[s]} \alpha_t^*-(\rho-1)R_t^2 - \hat{f} &\le \frac{5}{2} \sum_{t\in[s]} a_t^2 + Q_{5/2}(a) } \\ &\le \frac{5}{2} \sum_{t\in[s]} a_t^2 + \lambda_{\max}(K)\sum_{t\in[s]} a_t^2 } \\ &\le \frac{5}{2} \sum_{t\in[s]} a_t^2 + \left(\max_{x\in[1,\tau]}F(x)\right)\sum_{t\in[s]} a_t^2 } \\ &\le \frac{5}{2} \sum_{t\in[s]} a_t^2 + \frac{12}{5}\sum_{t\in[s]} a_t^2 } \\ &= 4.9\sum_{t\in[s]} a_t^2. \end{align}\] This proves [lem:dual-feasibility-simpler-metric] in the unweighted case, i.e., \(w(\ell)=1\) for all \(\ell\in[s]\).

6.2 Weighted↩︎

We now prove [lem:dual-feasibility-simpler-metric] in its full generality for any weight function \(w:[s]\to\mathbb{R}_{> 0}\).

To extend the argument to the weighted setting, the overall structure is the same as in the unweighted case: given the condition (3) of [lem:dual-feasibility-simpler-metric], we derive inequalities \(\eqref{eq:Pt-weighted-short}_{t\in[s]}\), choose coefficients so that the \(\alpha_t^*\) terms sum up to \(w(t)\) for each \(t\in[s]\), rewrite the resulting bound as a quadratic form, and then upper bound its top eigenvalue. The new issue is the bookkeeping. The cardinalities of clients are replaced by weighted masses, the normalization of the coefficients changes accordingly. After introducing the appropriate weighted analogues of the unweighted parameters and rescaling by \(\sqrt{w(t)}\), however, the same spectral argument goes through.

Since the proof is a weighted analogue of the unweighted subsection, we mention only the differences in the proof of the coefficients and in the quadratic form, and defer the full proof to 13.2.

Define

\[a_t \stackrel{\text{def}}{=}d(t,i), \qquad W(S)\stackrel{\text{def}}{=}\sum_{j\in S}w(j), \qquad W_t\stackrel{\text{def}}{=}W([t:s]), \qquad M_t\stackrel{\text{def}}{=}W(DC^t).\]

For each \(t\in[s]\), condition (3) gives \[\label{eq:Ik-weighted-short}\sum_{j\in DC^t} w(j)(r_{jt}^2-a_j^2) + \sum_{j\in IC^t} w(j)(\alpha_j^*-\rho a_j^2) + \sum_{j\ge t} w(j)(\alpha_t^*-\rho a_j^2) \le \hat{f}.\tag{41}\] Exactly as in the unweighted case, for every \(j\in DC^t\), \[r_{jt}^2-a_j^2 \ge \alpha_t^* - 2a_t^2 - 3a_j^2 - 2(a_j+a_t)R_j.\] Substituting into 41 yields \[\begin{align} &M_t\alpha_t^* + \sum_{j\in IC^t} w(j)\alpha_j^* + W_t\alpha_t^* - \hat{f} \notag\\ &\qquad\le 2M_ta_t^2 + \sum_{j\in DC^t} w(j)\bigl(3a_j^2+2(a_t+a_j)R_j\bigr) + \sum_{j\in IC^t}\rho w(j)a_j^2 + \sum_{j\ge t}\rho w(j)a_j^2. \label{eq:Pt-weighted-short} \end{align}\tag{42}\]

Lemma 24. Define \[c_t\stackrel{\text{def}}{=}\frac{W_t+M_t}{w(t)}, \qquad g_t\stackrel{\text{def}}{=}\sum_{u\ge t}\beta_u, \qquad \eta_t\stackrel{\text{def}}{=}\sum_{u>t:\,t\in DC^u}\beta_u, \qquad A_t\stackrel{\text{def}}{=}\frac{M_t\beta_t}{w(t)}.\] Then there exist nonnegative coefficients \(\beta_1,\dots,\beta_s\) such that, for every \(t\in[s]\), \[\label{eq:alphatcoeff-weighted-short} \beta_t c_t + \sum_{u>t:\,t\in IC^u}\beta_u = 1,\tag{43}\] and moreover, \[0\le \eta_t\le g_t, \qquad \sum_{t=1}^s \beta_t=1, \qquad A_t+g_t\le 1.\]

The proof is the same as that of 19, with cardinalities replaced by weighted masses. The only changes are the following two weighted analogues of Inequalities 29 , 30 \[(W_{t+1}+M_t)\sum_{u>t}\beta_u\le W_{t+1}, \qquad (W_t+M_t)g_t\le W_t.\]

Lemma 25. For \(x\in\mathbb{R}^s\), define \(U_t(x)\stackrel{\text{def}}{=}\sum_{u:\,t\in DC^u}\beta_u x_u.\) Then \[\sum_{t\in[s]} w(t)\bigl(\alpha_t^*-(\rho-1)R_t^2\bigr)-\hat{f} \le \rho\sum_{t\in[s]} w(t)a_t^2 + Q_\rho^w(a),\] where \[\label{eq:Qrho-weighted-short} Q_\rho^w(x) = \sum_{t\in[s]} w(t)\bigl(2A_t+(3-\rho)\eta_t\bigr)x_t^2 + \frac{1}{\rho-1}\sum_{t\in[s]} w(t)\bigl(U_t(x)+\eta_t x_t\bigr)^2.\tag{44}\]

Proof. With the coefficients chosen as above, the same counting as in the unweighted proof gives \[\sum_{t\in[s]} w(t)\alpha_t^* - \hat{f} \le \mathcal{R},\] where \[\mathcal{R} = \rho\sum_{t\in[s]} w(t)a_t^2 + \sum_{t\in[s]} w(t)\bigl(2A_t+(3-\rho)\eta_t\bigr)a_t^2 + 2\sum_{t\in[s]} w(t)R_t\bigl(U_t(a)+\eta_ta_t\bigr).\] Subtracting \((\rho-1)\sum_t w(t)R_t^2\) and applying \(2Rx-(\rho-1)R^2\le x^2/(\rho-1)\) pointwise yields the claim. ◻

Lemma 26. Let \[\widetilde{x}\stackrel{\text{def}}{=}(\sqrt{w(1)}x_1,\dots,\sqrt{w(s)}x_s),\] and let \(B\) be the symmetric matrix such that \[Q_\rho^w(x)=\widetilde{x}^\top B\widetilde{x}.\] Then, for every \(t\in[s]\), \[\frac{(B\widetilde{x})_t}{\sqrt{w(t)}} = \Bigl(2A_t+(3-\rho)\eta_t+\frac{\eta_t^2}{\rho-1}\Bigr)x_t + \frac{\eta_t}{\rho-1}U_t(x) + \frac{\beta_t}{(\rho-1)w(t)}\sum_{u\in DC^t}w(u)\bigl(U_u(x)+\eta_u x_u\bigr).\] In particular, for \(\rho=5/2\) and \(x\in\mathbb{R}_{\ge 0}^s\), \[\frac{(B\widetilde{x})_t}{\sqrt{w(t)}} \le \Bigl(2A_t+\tfrac12 g_t+\tfrac23 g_t^2\Bigr)x_t + \tfrac23 g_tU_t(x) + \frac{2\beta_t}{3w(t)}\sum_{u\in DC^t}w(u)U_u(x) + \frac{2\beta_t}{3w(t)}\sum_{u\in DC^t}w(u)g_ux_u.\]

Proof. This is obtained by expanding 44 , exactly as in the proof of 21. ◻

Lemma 27. Let \[h_t\stackrel{\text{def}}{=}(1+11g_t)^{-2/3}, \qquad \widetilde{h}_t\stackrel{\text{def}}{=}\sqrt{w(t)}\,h_t.\] Then \[\lambda_{\max}(B)\le \max_{1\le x\le \tau}F(x)<\frac{12}{5}.\]

Proof. Since \(B\) is symmetric and entrywise nonnegative, 34 gives \[\lambda_{\max}(B)\le \max_{t\in[s]}\frac{(B\widetilde{h})_t}{\widetilde{h}_t}.\] The three inequalities used in the proof of 22 are unchanged, except that \(|DC^t|\) is replaced by \(M_t/w(t)\), which is exactly absorbed by the definition of \(A_t\). Hence the same functions \(G(g)\) and \(F(x)\) are obtained, and the final inequality follows from 23. ◻

We can now conclude exactly as in the unweighted case: \[\begin{align} &\sum_{t\in[s]} w(t)\bigl(\alpha_t^*-(\rho-1)R_t^2\bigr)-\hat{f} \\ &\qquad\le \frac{5}{2}\sum_{t\in[s]} w(t)a_t^2 + Q_{5/2}^w(a) } \\ &\qquad\le \frac{5}{2}\sum_{t\in[s]} w(t)a_t^2 + \lambda_{\max}(B)\sum_{t\in[s]} w(t)a_t^2 } \\ &\qquad\le 4.9\sum_{t\in[s]} w(t)a_t^2. } \end{align}\] This proves [lem:dual-feasibility-simpler-metric].

7 Log-Adaptive Algorithm for Weighted Facility Location↩︎

Let \(\varepsilon\in (0, 10^{-100})\) be a sufficiently small constant. We choose \(\delta = \varepsilon/2\). In weighted facility location, each client \(j \in D\) has a weight \(w(j) > 0\) and the objective is to minimize \(\sum_{j \in D} w(j) \cdot d^2(j, S) + |S|f\).

We present the modified greedy algorithm for weighted facility location that works in \(O(\log n / \varepsilon^3)\) phases.

Definition 2 (openable). A facility \(i\) is openable with respect to the algorithm’s state \((\alpha, S, \theta)\) if there are increased dual values \((\tau_j)_{j \in A}\) of active clients that satisfy the following conditions:

  • Only nearby clients are increased: \(\tau_j = \alpha_j\) for every \(j \in A \setminus B(i, \sqrt{\varepsilon\theta})\).

  • Nearby clients are only increased slightly: \(\alpha_j \le \tau_j \le \min\{(1-\delta) d^2(j,S), (1+\varepsilon^3)\theta\}\) for every \(j \in A \cap B(i, \sqrt{\varepsilon}\theta)\).

  • Facility \(i\) is paid for: \[\begin{align} (1-\delta)\sum_{j \in DC} w(j) \cdot [d^2(j,S) - d^2(j,i)]^+ &+ \sum_{j \in IC} w(j) \cdot [\alpha_j - \rho(1-\delta)d^2(j,i)]^+ \\ &+ \sum_{j \in A} w(j) \cdot [\tau_j - \rho(1-\delta)d^2(j,i)]^+ \ge \hat{f}. \end{align}\]

  • Dual feasibility: for every facility \(i_0\): \[\begin{align} \sum_{j \in DC} w(j) \cdot [(1-\delta)d^2(j,S) - d^2(j,i_0)]^+ &+ \sum_{j \in IC} w(j) \cdot [\alpha_j - \rho d^2(j,i_0)]^+ \\ &+ \sum_{j \in A} w(j) \cdot [\tau_j - \rho d^2(j,i_0)]^+ \le \hat{f}. \end{align}\]

The openability can be checked by solving a linear program.

Lemma 28. There is a polynomial-time algorithm that, given the state of the algorithm and a facility \(i\), either outputs \((\tau_j)_{j \in A}\) that satisfy all conditions of openability or certifies that \(i\) is not openable.

Proof. Fix \(i\) and \((\alpha, S, A, IC, DC, \theta)\) and consider a linear program with variables \((\tau_j)_{j \in A}\). We claim that each of the four bullets in 2 can be expressed as linear constraints. The first two bullets are immediate. Indeed, as \(\tau_j = \alpha_j\) for every \(j \in A \setminus B(i, \sqrt{\varepsilon\theta})\), we can treat them as constants and only have \((\tau_j)_{j \in A \cap B(i, \sqrt{\varepsilon\theta})}\) as the true variables.

Then, the third bullet, \[\begin{align} (1-\delta)\sum_{j \in DC} w(j) \cdot [d^2(j,S) - d^2(j,i)]^+ &+ \sum_{j \in IC} w(j) \cdot [\alpha_j - \rho(1-\delta)d^2(j,i)]^+ \\ &+ \sum_{j \in A} w(j) \cdot [\tau_j - \rho(1-\delta)d^2(j,i)]^+ \ge \hat{f}. \end{align}\] becomes a linear inequality in the true variables, since the only terms involving the true variables are \(w(j)\cdot [\tau_j - \rho(1 - \delta) d^2(j,i)]^+\) for \(j \in A \cap B(i, \sqrt{\varepsilon\theta})\). For those \(j\), \([\tau_j - \rho(1 - \delta) d^2(j,i)]^+\) is indeed equal to \((\tau_j - \rho(1 - \delta)d^2(j,i))\) (without \([\cdot]^+\)) because \(\varepsilon\) is sufficiently small, \(d^2(j,i)\leq \varepsilon\theta\) and \(\tau\geq \theta\).

Finally, for the fourth bullet, we can use an additional variable \(z'_{i_0,j}\geq 0\) for each \(j\in D\). We add the constraint \(z'_{i_0,j}\geq (1-\delta)d^2(j,S)-d^2(j,i_0)\) for \(j\in DC\), the constraint \(z'_{i_0,j} \geq \alpha_j - \rho d^2(j,i_0)\) for \(j\in IC\) and the constraint \(z'_{i_0,j}\geq \tau_j - \rho d^2(j,i_0)\) for \(j\in A\). In the linear program, we can rewrite the corresponding fourth bullet as \[\sum_{j\in D} w(j) z'_{i_0,j} \leq \hat{f}~.\] ◻

4 is our log-adaptive algorithm. It works in \(O(\log n/\varepsilon^3)\) phases where, in the \(i\)th phase, every active client \(j\) has \(\alpha_j = (1+\varepsilon^3)^{i} = \theta\) and the algorithm opens openable facilities in an arbitrary order by increasing \(\alpha_j\)’s to \(\tau_j\)’s. However, when \(i\) is open, the only scenario \(j\) with \(\tau_j > \alpha_j\) is when \(j \in B(i, \sqrt{\varepsilon\theta})\), so \(j\) becomes immediately put into \(DC\) after \(i\) is open. Unlike 2, we don’t lower the \(\alpha\)-values for clients in \(IC\) immediately after a facility is opened. Instead, we only lower the \(\alpha\)-values in the second stage of each phase.

Figure 4: image.

For each client \(j \in D\), we explicitly track its first direct-connection cost, \(R_j\). We set \(R_j = \sqrt{1-\delta}d(j, i^*)\) where \(i^*\) is the facility that caused \(j\) to be moved to \(DC\) for the first time. For a client that remains only indirectly connected or active, we set \(R_j = 0\).

In the rest of this subsection, let \((\alpha^*_j)_{j\in D}\) be the final dual solution produced by the algorithm.

7.1 Dual Payment↩︎

Lemma 29. At the end of the log-adaptive algorithm, the final dual solution \(\alpha^*\) satisfies: \[\sum_{j \in D} w(j) \cdot (\alpha_j^* - (\rho-1)R_j^2) \ge (1-\delta) \sum_{j \in D} w(j) \cdot d^2(j,S) + \sum_{i \in S} \hat{f}\]

Proof. First, let us show that it suffices to prove that at the end of the algorithm, we have \[\sum_{j \in DC} w(j) \cdot \alpha_j \ge \sum_{j \in DC} w(j) \cdot \left[ (1-\delta) d^2(j,S) + (\rho-1)R_j^2 \right] + \sum_{i \in S} \hat{f}\] Indeed, at the end of the algorithm, \(A = \emptyset\). For every \(j \in IC\), we have \(\alpha_j \ge (1-\delta)d^2(j,S)\) by the construction of the update steps in Stage 2. Because \(R_j = 0\) for \(j \in IC\), their contribution naturally satisfies the required bound. Therefore, proving the \(DC\) client inequality implies the lemma.

To this end, we prove by induction that at any point in the execution of the algorithm, the \(DC\) invariant holds. The base case is at the beginning of the algorithm, where \(DC = \emptyset\) and \(S = \emptyset\). Next, we show that this invariant is preserved in each stage of the algorithm.

Stage 1. In each step of this stage, we open a facility \(i\), i.e., adding it to \(S\). Suppose that \((\alpha, S, A, IC, DC, \theta)\) denotes the state right before opening \(i\). Let \(A'\) and \(IC'\) be the clients that are moved to \(DC\) from \(A\) and \(IC\) respectively by the opening of \(i\). This means that \(A' = \{j \in A : \tau_j \ge \rho(1-\delta)d^2(j,i)\}\) and \(IC' = \{j \in IC : \alpha_j \ge \rho(1-\delta)d^2(j,i)\}\).

For these newly directly connected clients, their initial direct-connection parameter is exactly \(R_j = {\sqrt{1-\delta}}d(j,i)\). Therefore, their combined contribution to the right-hand side of our invariant is \({w(j)}\cdot((1-\delta)d^2(j,i) + (\rho-1)R _j^2) = {w(j)}\cdot((1-\delta)d^2(j,i) + (\rho-1)(1-\delta) d^2(j,i))\). Notice that since \(\rho > 1\) and \(\delta > 0\), we can bound this contribution: \[\begin{align} w(j) \cdot ((1-\delta)d^2(j,i) + (\rho-1)(1-\delta) d^2(j,i)) &= w(j)(1-\delta)d^2(j,i) [1 + (\rho-1)] \\ &= w(j) \rho(1-\delta) d^2(j,i) \end{align}\]

Let \(X = \{j \in DC : d^2(j,i) < d^2(j,S)\}\) denote the clients in \(DC\) whose distance to \(i\) is smaller than their distance to \(S\). For clients in \(X\), their fixed penalty \(R_j\) does not change, meaning the change in cost on the right-hand side is strictly driven by the distance dropping to \(d^2(j,i)\).

Using the bound established above, the change of cost of the right-hand side is at most: \[\hat{f} + \sum_{j \in A' \cup IC'} w(j) \cdot \rho(1-\delta)d^2(j,i) - \sum_{j \in X} w(j) \cdot (1-\delta)(d^2(j,S) - d^2(j,i))\]

Since \(i\) is fully paid according to the third bullet of the openability condition, we also have the capacity bound: \[\hat{f} \le \sum_{j \in A'} w(j) \cdot (\tau_j - \rho(1-\delta)d^2(j,i)) + \sum_{j \in IC'} w(j) \cdot (\alpha_j - \rho(1-\delta)d^2(j,i)) + \sum_{j \in X} w(j) \cdot (1-\delta)(d^2(j,S) - d^2(j,i))\]

Substituting this capacity bound back into our change of cost, the distance and capacity terms cancel out, and we get that the change of the right-hand side is at most: \[\sum_{j \in A'} w(j) \cdot \tau_j + \sum_{j \in IC'} w(j) \cdot \alpha_j\] Because we do not change the \(\alpha\)-value after a client is moved to \(DC\), this is exactly the change of the left-hand side of our invariant. Thus, the inequality holds through Stage 1.

Stage 2. No facility is open at this stage, and no client is added to \(DC\) either. Because \(DC\) is unaltered and no new \(\hat{f}\) is introduced, the invariant remains trivially preserved through the continuous updates of \(A\) and \(IC\) clients. ◻

7.2 Dual Feasibility↩︎

Lemma 30. We have for any \(i\in\mathcal{F}\), \[\sum_{j\in D}w(j) \cdot [\alpha_j^* - (\rho-1)R_j^2 - (\Gamma+201\sqrt{\varepsilon}) d^2(j,i)]^+\leq \hat{f},\] where

  • if \(d\) is a (general) metric, we choose \(\rho=2.5, \Gamma=4.9\); or

  • if \(d\) is a Euclidean metric, we choose \(\rho=2, \Gamma = 3+\ln(2)\).

At any point in the algorithm, for every facility \(i_0 \in \mathcal{F}\), we have \[\sum_{j \in DC} w(j) \cdot [(1-\delta)d^2(j,S) - d^2(j,i_0)]^+ + \sum_{j \in A \cup IC} w(j) \cdot [\alpha_j - \rho d^2(j,i_0)]^+ \le \hat{f}.\]

Proof. Consider an arbitrary facility \(i_0\).

Stage 1: Suppose that a facility \(i'\) is opened with dual increases \((\tau_j)_{j \in A}\). Because \(i'\) is openable, the proposed state satisfies the fourth bullet of 2 (dual feasibility) for any \(i_0 \in \mathcal{F}\): \[\sum_{j \in DC} w(j) \cdot [(1-\delta)d^2(j,S) - d^2(j,i_0)]^+ + \sum_{j \in IC} w(j) \cdot [\alpha_j - \rho d^2(j,i_0)]^+ + \sum_{j \in A} w(j) \cdot [\tau_j - \rho d^2(j,i_0)]^+ \le \hat{f}.\]

Let us analyze how the left-hand side of our actual state constraint differs from this openability bound after \(i'\) is added to \(S\) and clients are processed. First, observe that for every active client \(j \in A\), its updated dual value effectively becomes \(\tau_j\). This is because Step 1(b) explicitly sets \(\alpha_j \gets \tau_j\) for \(j \in A \cap B(i', \sqrt{\varepsilon\theta})\), and for active clients outside this ball, the first openability condition guarantees \(\tau_j = \alpha_j\). Thus, going into Step 1(c), the duals are \(\tau_j\) for \(A\) and remain \(\alpha_j\) for \(IC\).

For a client \(j\) that was already directly connected (\(DC\)) before opening \(i'\), its contribution can only decrease, since the distance \(d^2(j, S \cup \{i'\}) \le d^2(j, S)\).

For a client \(j\) that was active (\(A\)) or indirectly connected (\(IC\)) and now moves to \(DC\), it does so precisely because its updated dual value satisfies the condition in Step 1(c): \(\tau_j \ge \rho(1-\delta)d^2(j,S \cup \{i'\})\) (if it was from \(A\)) or \(\alpha_j \ge \rho(1-\delta)d^2(j,S \cup \{i'\})\) (if it was from \(IC\)). Since \(\rho > 1\) and the function \([x]^+\) is non-negative and non-decreasing, we can strictly bound its new actual contribution. For a client moving from \(A\): \[\begin{align} [(1-\delta)d^2(j,S \cup \{i'\}) - d^2(j,i_0)]^+ &\le \left[ \frac{\tau_j}{\rho} - d^2(j,i_0) \right]^+ \le \left[ \tau_j - \rho d^2(j,i_0) \right]^+. \end{align}\] The identical algebraic bound holds for a client moving from \(IC\) using \(\alpha_j\). In both cases, the client’s new connection contribution is strictly bounded by its corresponding dual term in the openability bound.

Finally, for the active or indirectly connected clients that do not move to \(DC\), their actual dual values are exactly \(\tau_j\) and \(\alpha_j\), respectively. Whether an active client remains in \(A\) or moves to \(IC\), its contribution is evaluated using its dual variable, resulting in \(w(j)[\tau_j - \rho d^2(j,i_0)]^+\). This perfectly matches its term in the openability bound. Therefore, every term in the updated state is less than or equal to its corresponding term in the openability bound, guaranteeing the total sum remains \(\le \hat{f}\).

Stage 2: In the second stage, we have the following steps: decreasing the \(\alpha\)-values of clients in \(IC\) to \((1-\delta)d^2(j,S)\), and increasing the \(\alpha\)-values of clients in \(A\) to \(\min\{(1+\varepsilon^3)\theta, (1-\delta)d^2(j,S)\}\).

The first step can only decrease the left-hand side of the claim. Hence, it suffices to show that the continuous increase in the second step does not violate the claim. Assume towards contradiction that at the end of the phase, if we increase \(\alpha_j\) of every \(j \in A\) to \(\min\{(1+\varepsilon^3)\theta, (1-\delta)d^2(j,S)\}\), the claim is violated for a non-empty subset of facilities \(F'\).

We select a “minimal” such counter-example: let \(\tau' \le (1+\varepsilon^3)\theta\) be the smallest value such that if we set \(\alpha'_j := \min\{\tau', (1-\delta)d^2(j,S)\}\), it satisfies \[\sum_{j \in A} w(j)[\alpha'_j - \rho d^2(i,j)]^+ + \sum_{j \in IC} w(j)[\alpha_j - \rho d^2(i,j)]^+ + \sum_{j \in DC} w(j)[(1-\delta)d^2(j,S) - d^2(i,j)]^+ = \hat{f}\] for some \(i \in F'\). We remark that \(\tau' \ge \theta\) since the constraint was strictly satisfied at the end of Phase 1. Furthermore, \(i \notin S\) is not yet open; if it were open, there would be no active client \(j \in A\) for which \(\alpha'_j - \rho d^2(i,j)\) is strictly positive (since \(\alpha'_j \le (1-\delta)d^2(j,S) \le (1-\delta)d^2(j,i) < \rho d^2(j,i)\)). Hence, the increase in \(\alpha\)-values cannot cause \(i\) to violate the constraint if it were already opened, which contradicts \(i \in F'\).

We now show that this facility \(i\), combined with dual values \(\tau_j = \alpha'_j\) for \(j \in A \cap B(i, \sqrt{\varepsilon\theta})\) and \(\tau_j = \alpha_j\) for \(j \in A \setminus B(i, \sqrt{\varepsilon\theta})\), satisfies the conditions of openability. In other words, \(i\) is an openable facility that was not yet opened, which contradicts the proper completion of the first stage’s while-loop.

We verify the conditions of openability one-by-one. The first two bullets (only nearby clients increased, and only increased slightly) are directly satisfied by our choice of \(\tau_j \le \tau'\) and the definition of \(\alpha'_j\). For the third bullet (facility \(i\) is paid for): \[\begin{align} &\sum_{j \in A} w(j) \cdot [\tau_j - \rho(1-\delta)d^2(i,j)]^+ + \sum_{j \in IC} w(j) \cdot [\alpha_j - \rho(1-\delta)d^2(i,j)]^+ \\ &+ \sum_{j \in DC} w(j) \cdot [(1-\delta)d^2(j,S) - (1-\delta)d^2(i,j)]^+ \\ &\ge \sum_{j \in A \cap B(i, \sqrt{\varepsilon\theta})} w(j) \cdot [\alpha'_j - \rho d^2(i,j)]^+ + \sum_{j \in A \setminus B(i, \sqrt{\varepsilon\theta})} w(j) \cdot [\alpha'_j - \rho d^2(i,j)]^+ \\ &+ \sum_{j \in IC} w(j) \cdot [\alpha_j - \rho d^2(i,j)]^+ + \sum_{j \in DC} w(j) \cdot [(1-\delta)d^2(j,S) - d^2(i,j)]^+ \\ &\ge \hat{f}. \end{align}\] Here, for the subset outside the ball \(A \setminus B(i, \sqrt{\varepsilon\theta})\), we used the fact that \(\alpha_j - \rho(1-\delta)d^2(i,j) \ge (1+\varepsilon^3)\alpha_j - \rho d^2(i,j) \ge \alpha'_j - \rho d^2(i,j)\) when \(d^2(i,j) \ge \varepsilon\theta\) (recalling that \(\alpha_j = \theta\) for all active clients).

It remains to verify the fourth bullet of openability (dual feasibility). For any facility \(i_0 \in \mathcal{F}\), we evaluate the dual feasibility constraint using our constructed \((\tau_j)_{j \in A}\). Because \(\tau_j \le \alpha'_j\) for all \(j \in A\), and the function \([x]^+\) is non-decreasing, we can explicitly bound the left-hand side of the dual feasibility constraint: \[\begin{align} &\sum_{j \in DC} w(j)[(1-\delta)d^2(j,S) - d^2(j,i_0)]^+ + \sum_{j \in IC} w(j)[\alpha_j - \rho d^2(j,i_0)]^+ + \sum_{j \in A} w(j)[\tau_j - \rho d^2(j,i_0)]^+ \\ &\le \sum_{j \in DC} w(j)[(1-\delta)d^2(j,S) - d^2(j,i_0)]^+ + \sum_{j \in IC} w(j)[\alpha_j - \rho d^2(j,i_0)]^+ + \sum_{j \in A} w(j)[\alpha'_j - \rho d^2(j,i_0)]^+ \\ &\le \hat{f}. \end{align}\] The first inequality holds by direct substitution of the upper bound \(\tau_j \le \alpha'_j\). The second inequality follows strictly from the minimality of \(\tau'\): by definition, \(\tau'\) was chosen as the smallest value at which the total sum (evaluated with \(\alpha'_j\)) reaches \(\hat{f}\) for some facility (\(i \in F'\)). Therefore, for any arbitrary facility \(i_0\), this sum cannot strictly exceed \(\hat{f}\). Since all four conditions hold, \(i\) is openable, which is a contradiction. ◻

Next, we fix a facility \(i\) and show that the dual-feasibility for \(i\) is satisfied at the end of the algorithm. We say that facility \(i\) is frozen if there exists some open facility \(i_0\) such that \[d(i,i_0) \le 2\sqrt{\varepsilon\theta}~.\]

7.2.0.1 Modified \(\alpha\)-values.

For analysis purposes, we will introduce a new modification of the \(\alpha\)-values for each client \(j\) in terms of the fixed facility \(i\). We will denote this modified \(\alpha\)-value as \(\alpha^c_j\). This modified \(\alpha^c\)-value will be used to write the analog of the constraints in [lem:p-tjl,lem:beta-t].

The modifications happen only when we open a facility \(i_0\) that does not freeze \(i\), i.e., when \(d(i,i_0) > 2\sqrt{\varepsilon\theta}\). More specifically, at the stage with time \(\theta\), if we open such a facility \(i_0\) that does not freeze \(i\), we keep \(\alpha^c_j\) as the value before opening \(i_0\). That is, we don’t increase \(\alpha^c_j\) to \(\tau_j\) if \(j\in B(i_0,\sqrt{\varepsilon\theta})\) (step 1b) for such \(i_0\). In other steps (step 1b for a facility \(i_0\) that freezes \(i\) or step 2), we still modify \(\alpha^c_j\) in the same way as we modify \(\alpha_j\).

In the rest of this subsection, we will consider \(\alpha^c\) instead of \(\alpha^*\) in writing the constraints. To ensure that the \(\alpha^*\)-value can ensure dual feasibility, we will show that \(\alpha_j^c\) and \(\alpha_j^*\) are close to each other for every client \(j\).

Lemma 31. For any client \(j\in D^*\), we have \(\alpha^*_j-\alpha^c_j \leq \varepsilon^2 \cdot d^2(j,i)\).

Proof. According to the definition of \(\alpha^c_j\), the only case where \(\alpha^c_j\neq \alpha^*_j\) is if at some time \(\theta\), client \(j\) becomes directly connected to a facility \(i_0\) that does not freeze \(i\). Suppose that \(\alpha_j\) is the \(\alpha\)-value of \(j\) before opening \(i_0\) and \(\tau_j\) is the \(\alpha\)-value of \(j\) after opening \(i_0\). Because we will no longer change the \(\alpha\)-value of a client if it is in \(DC\), we have \(\alpha^c_j=\alpha_j\) and \(\alpha^*_j=\tau_j\). Note that \(\tau_j-\alpha_j\leq \varepsilon^3\theta\) according to 2. On the other hand, if \(\tau_j>\alpha_j\), we have \(d(j,i_0)\leq \sqrt{\varepsilon\theta}\). Since \(i_0\) does not freeze \(i\), we know \(d(i,i_0) > 2\sqrt{\varepsilon\theta}\). By the triangle inequality, we have \(d(j,i) \ge d(i,i_0) - d(j,i_0) > \sqrt{\varepsilon\theta}\). Squaring both sides implies \(d^2(j,i) > \varepsilon\theta\), which rearranges to \(\theta < \frac{1}{\varepsilon} d^2(j,i)\). Substituting this into our dual difference yields \(\alpha^*_j - \alpha^c_j = \tau_j - \alpha_j \le \varepsilon^3 \theta < \varepsilon^2 d^2(j,i)\). ◻

Now, we assume that \[\begin{align} \label{eqn:Dstar} D^*= \{j\in D: \alpha^c_j - (\rho-1)R^2_j > \Gamma d^2(j,i)\}~. \end{align}\tag{45}\] Then, it suffices to show that \[\begin{align} \sum_{j \in D^*} w(j) \cdot (\alpha_j^c - (\rho-1)R^2_j) \le \hat{f} + (\Gamma+200\sqrt{\varepsilon}) \cdot \sum_{j \in D^*} w(j) \cdot d^2(j,i)~. \end{align}\] For simplicity, let us number the clients in \(D^*\) from \(1\) to \(s=|D^*|\) in the order they become inactive, breaking ties by order of increasing \(\alpha^c\)- value. We will use \(D^*\) and \([s]\) interchangeably.

7.2.0.2 Establishing the constraints.

Next, for each client \(t\in [s]\):

  • If \(t\) becomes inactive strictly before \(i\) is frozen, we define \(DC^t\) as the set of clients in \([t-1]\) that are directly connected at the beginning of the stage \(t\) becomes inactive, \(IC^t = [t-1]\setminus DC^t\), and \(S^t\) as the set of opened facilities at the beginning of the stage \(t\) becomes inactive.

  • Else, we define \(DC^t\) as the set of clients in \([t-1]\) that are directly connected right before \(t\) becomes inactive, \(IC^t = [t-1] \setminus DC^t\), and \(S^t\) as the set of opened facilities right before \(t\) becomes inactive.

For any \(t \in D^*\) that becomes inactive strictly before \(i\) becomes frozen, \[\sum_{j \in DC^t} w(j) [(1-\delta)d^2(j,S^t) - d^2(j,i)]^+ + \sum_{j \in IC^t} w(j) [\alpha_j^c - \rho d^2(j,i)]^+ + \sum_{j \ge t} w(j) [\alpha_t^c - \rho d^2(j,i)]^+ \le \hat{f}.\]

Proof. Let us analyze the situation depending on the stage in which \(t\) becomes inactive. Since the claim assumes \(t\) becomes inactive strictly before \(i\) becomes frozen, any facility \(i_0\) opened at or before the time \(t\) becomes inactive cannot freeze \(i\).

7.2.0.3 Stage 1.

Suppose \(t\) becomes inactive because of the opening of some facility \(i_0\). Because \(t\) becomes inactive before \(i\) is frozen, \(i_0\) does not freeze \(i\). By the definition of the modified duals, \(\alpha^c\) does not incorporate the Step 1b increases associated with opening a non-freezing facility \(i_0\). Specifically, for any client \(j\), its modified value \(\alpha^c_j\) is bounded by its actual dual value \(\alpha_j\) at the beginning of the stage \(i_0\) is opened.

At the beginning of the stage where \(i_0\) is opened, let \(\alpha\) denote the current dual values. We have \(\alpha_j = \theta\) for all active clients, including \(t\) and all \(j > t\). Therefore, the modified dual for \(t\) is exactly \(\alpha^c_t = \theta\). By applying [clm:no95overbidding] (no over-bidding) for facility \(i\) at the beginning of the stage \(i_0\) is opened, we establish: \[\sum_{j \in DC^t} w(j) [(1-\delta)d^2(j, S^t) - d^2(j,i)]^+ + \sum_{j \in IC^t} w(j) [\alpha_j - \rho d^2(j,i)]^+ + \sum_{j \geq t} w(j) [\alpha_j - \rho d^2(j,i)]^+ \le \hat{f}.\]

For any \(j \in IC^t\), the modified dual value \(\alpha^c_j\) never exceeds the true dual value \(\alpha_j\) at the beginning of the stage \(i_0\) was opened, so \(\alpha^c_j \le \alpha_j\). For the active clients \(j \geq t\), we have \(\alpha_j = \theta = \alpha^c_t\). Substituting these into the inequality, and noting that the function \([v]^+\) is non-decreasing with respect to \(v\), we obtain the desired bound: \[\sum_{j \in DC^t} w(j) [(1-\delta)d^2(j,S^t) - d^2(j,i)]^+ + \sum_{j \in IC^t} w(j) [\alpha_j^c - \rho d^2(j,i)]^+ + \sum_{j \geq t} w(j) [\alpha_t^c - \rho d^2(j,i)]^+ \le \hat{f}.\]

7.2.0.4 Stage 2.

Suppose that \(t\) becomes inactive due to the continuous update of the \(\alpha\)-values in Stage 2 (at the end of a phase). In Stage 2, the modified duals \(\alpha^c\) track the actual duals \(\alpha\) exactly, meaning \(\alpha^c_t = \alpha_t \le (1+\varepsilon^3)\theta\).

By [clm:no95overbidding], the over-bidding constraint is satisfied for facility \(i\) at the exact moment \(t\) becomes inactive: \[\sum_{j \in DC} w(j) [(1-\delta)d^2(j, S) - d^2(j,i)]^+ + \sum_{j \in A \cup IC} w(j) [\alpha_j - \rho d^2(j,i)]^+ \le \hat{f}.\]

Notice that Stage 2 does not alter the sets \(DC\) and \(IC \cup A\). Therefore, at this moment, \(DC^t \subseteq DC\) and \(IC^t \subseteq IC \cup A\). We compare the contributions of each client in this inequality to the terms in our claim:

  • For \(j \in DC^t \subseteq DC\), the contribution is identically \([(1-\delta)d^2(j,S^t) - d^2(j,i)]^+\).

  • For \(j \in IC^t\), we have \(\alpha^c_j \le \alpha_j\) since dual values are non-increasing once a client is in \(IC\), and our modification \(\alpha^c\) strictly lowers or matches \(\alpha\). Thus, the term for \(j\) is upper bounded by the corresponding term in the over-bidding claim.

  • For \(j > t\), these clients either remain in \(A\), or becomes inactive at the same stage as \(t\) but have \(\alpha^c_j\geq \alpha^c_t\). In the first case, we have \(\alpha_t=(1+\varepsilon^3)\theta\), and thus \(\alpha^c_t \leq \alpha_t \leq \alpha_j\) because \(\alpha^c\)-value is non-increasing after becoming inactive. In the second case, we have \(\alpha^c_t \leq \alpha^c_j \leq \alpha_j\). Thus, \([\alpha^c_t - \rho d^2(j,i)]^+ \le [\alpha_j - \rho d^2(j,i)]^+\).

Summing these bounds confirms the inequality holds. ◻

If \(i\) is frozen by \(i_0\) with \((\tau_j)_{j\in A}\), then, for every \(j\in D^*\cap A\), \(j\) becomes inactive when opening \(i_0\) and \(\alpha_j^c\leq\tau_j\).

Proof. Consider \(j\in A\). First, note that if \(\tau_j\geq (1-\delta)d^2(j,i_0)\), then \(j\) is removed from \(A\) when \(i_0\) is opened (moving to either \(IC\) or \(DC\)), and so \(\alpha_j^c\leq\tau_j\) since \(\alpha\)-values are non-increasing after a client becomes inactive.

In the other case, when \(\alpha_j\leq \tau_j<(1-\delta)d^2(j,i_0)\), where \(\alpha_j\) is the \(\alpha\)-value of \(j\) before \(i_0\) is open, we show that \(j\notin D^*\). Consider the (future) time right after \(j\) is removed from the active clients. The \(\alpha\)-value of \(j\) then (which upper bounds the final \(\alpha_j^c\)), cannot be strictly greater than \((1-\delta)d^2(j,i_0)\) whether it is increased in stage 1 or in stage 2, since we have \(i_0\in S\) at that time. By the metric triangle inequality: \[d(i, j)\geq d(j,i_0) - d(i_0,i) = \left(1-\frac{d(i_0, i)}{\sqrt{\theta}}\cdot \frac{\sqrt{\theta}}{d(j,i_0)}\right)d(j,i_0)\] where \(\theta\) is the value when \(i_0\) was open. As \(i_0\) freezes \(i\), we have \(d(i_0,i)\leq 2\sqrt{\varepsilon\theta}\), and we know \(\theta=\alpha_j < (1-\delta)d^2(j,i_0)\). Plugging in those bounds to the above inequality yields: \[\begin{align} d(i, j) &> \left(1 - 2\sqrt{\varepsilon(1-\delta)}\right)d(j,i_0)~. \end{align}\] Because \(\varepsilon\in (0, 10^{-100})\) is sufficiently small, the term \(2\sqrt{\varepsilon(1-\delta)}\) is strictly less than \(1\), meaning the distance remains strictly positive. Squaring both sides gives: \[d^2(i,j) > \left(1 - 2\sqrt{\varepsilon(1-\delta)}\right)^2 d^2(j,i_0)~.\]

Since \(\Gamma > 2\), we have \(\Gamma \left(1 - 2\sqrt{\varepsilon(1-\delta)}\right)^2 > 1 > 1-\delta\). Thus: \[\Gamma d^2(i,j) > (1-\delta)d^2(j,i_0) \ge \alpha_j^c~.\] Hence, \(\alpha_j^c < \Gamma d^2(i, j)\), which implies \(j\) cannot be in \(D^*\). ◻

For any \(t\in D^*\), \[\sum_{j\in DC^t}w(j)((1-\delta)d^2(j, S^t) - d^2(j, i)) + \sum_{j\in IC^t}w(j)(\alpha_j^c - \rho d^2(j, i)) + \sum_{j \geq t}w(j)(\alpha_t^c-\rho d^2(j,i)) \le \hat{f}.\]

Proof. Consider the point in the execution at which \(t\) becomes inactive. As established by [clm:frozenstay], if a facility \(i_0\) freezes \(i\), every active client \(j \in D^* \cap A\) becomes inactive during the exact step \(i_0\) is opened. Therefore, no client in \(D^*\) can become inactive after \(i\) is frozen. This leaves us with exactly two exhaustive cases for \(t \in D^*\):

7.2.0.5 Case 1: \(t\) becomes inactive strictly before \(i\) is frozen.

By [clm:notfrozen], \[\sum_{j \in DC^t} w(j) [(1-\delta)d^2(j,S^t) - d^2(j,i)]^+ + \sum_{j \in IC^t} w(j) [\alpha_j^c - \rho d^2(j,i)]^+ + \sum_{j \ge t} w(j) [\alpha_t^c - \rho d^2(j,i)]^+ \le \hat{f}.\] Dropping the \([\cdot]^+\) completes the proof for this case.

7.2.0.6 Case 2: \(t\) becomes inactive exactly when \(i\) is frozen.

Suppose \(t\) becomes inactive due to the opening of a facility \(i_0\) that freezes \(i\). Because all clients in \(D^* \cap A\) become inactive at this step ([clm:frozenstay]), and our ordering of \(1, \dots, s\) in \(D^*\) is determined by the time they become inactive, it must be that all clients \(j \ge t\) in \(D^*\) become inactive simultaneously at this step. Furthermore, because ties are broken by order of increasing \(\alpha^c\)-value, we are guaranteed that \(\alpha_t^c \le \alpha_j^c\) for all \(j \ge t\).

Now, consider the fourth bullet of openability (dual feasibility) for \(i_0\) evaluated at the fixed facility \(i\), just before \(i_0\) is opened: \[\sum_{j \in DC} w(j) [(1-\delta)d^2(j,S) - d^2(j,i)]^+ + \sum_{j \in IC} w(j) [\alpha_j - \rho d^2(j,i)]^+ + \sum_{j \in A} w(j) [\tau_j - \rho d^2(j,i)]^+ \le \hat{f}.\]

Thus, letting \(A_{before}\) and \(IC_{before}\) be the sets \(A\) and \(IC\) just before \(i_0\) is opened, we have exactly \(S = S^t\), \(DC^t \subseteq DC\), and \(IC^t = (IC^t \cap IC_{before}) \cup (IC^t \cap A_{before})\). Note also that \(t \in IC^t \cap A_{before}\), and all \(j > t\) belong to \(A_{before}\).

We drop the non-negative \([\cdot]^+\) operators from the openability constraint and restrict the sums to our subsets of interest to establish a strict lower bound on the left-hand side:

  • For \(j \in DC^t \subseteq DC\), we drop the positive part. Because \(S = S^t\), we exactingly have: \([(1-\delta)d^2(j,S) - d^2(j,i)]^+ \ge (1-\delta)d^2(j,S^t) - d^2(j,i)\).

  • For \(j \in IC^t \cap IC_{before}\), the modified dual never exceeds the true dual prior to freezing, so \(\alpha_j^c \le \alpha_j\). Thus: \([\alpha_j - \rho d^2(j,i)]^+ \ge \alpha_j - \rho d^2(j,i) \ge \alpha_j^c - \rho d^2(j,i)\).

  • For \(j \in IC^t \cap A_{before}\), these clients are active and in \(D^*\). By [clm:frozenstay], we have \(\alpha_j^c \le \tau_j\). Evaluated in the summation over \(A\), we have: \([\tau_j - \rho d^2(j,i)]^+ \ge \tau_j - \rho d^2(j,i) \ge \alpha_j^c - \rho d^2(j,i)\). (Notice that combining this with the previous bullet perfectly reconstructs the \(\alpha_j^c - \rho d^2(j,i)\) term for all \(j \in IC^t\)).

  • For \(j \ge t\), these clients are in \(D^* \cap A_{before}\). By [clm:frozenstay], \(\alpha_j^c \le \tau_j\). Applying our tie-breaking rule, \(\alpha_t^c \le \alpha_j^c \le \tau_j\). Evaluated in the \(A\) sum, we have: \([\tau_j - \rho d^2(j,i)]^+ \ge \tau_j - \rho d^2(j,i) \ge \alpha_t^c - \rho d^2(j,i)\).

Because all subsets are disjoint and strictly contained within the original openability sums, summing these lower bounds yields: \[\sum_{j \in DC^t} w(j) ((1-\delta)d^2(j,S^t) - d^2(j,i)) + \sum_{j \in IC^t} w(j) (\alpha_j^c - \rho d^2(j,i)) + \sum_{j \ge t} w(j) (\alpha_t^c - \rho d^2(j,i)) \le \hat{f}.\] This matches the required inequality, completely resolving the case. ◻

For any client \(t\) and \(j\in DC^t\), define \[r_{jt}:= \sqrt{1-\delta}d(j,S^t).\] Next, we will prove 30 for the general metric setting and the Euclidean setting separately based appropriate choices of \(\rho\) and \(\Gamma\).

General metric↩︎

Now, we will show 30 for \(\rho = 2.5\) and \(\Gamma = 4.9\). To this end, let’s show that \((IC^t), (DC^t), (\alpha_j^c), (R_j), (r_{jt})\) satisfy all the constraints of [lem:dual-feasibility-simpler-metric], restated below for convenience.

By definition of \((IC^t)_t\) and \((DC^t)_t\), the two constraints on them hold. Let \(j\in DC^t\). Since \(R_j\) is the distance to the first facility that \(j\) directly connects to, and \(d(j, S^t)\) is non-increasing in \(t\), we have \(r_{jt}\le R_j\) for any \(t>j\). Now, let \(t\in [s]\), we have: \[\begin{align} \alpha_t^c &\le \alpha_t^*\\ &\le (1-\delta)d^2(t, S^t)\\ &\le (\sqrt{1-\delta}d(t, j) + \sqrt{1-\delta}d(j, S^t))^2\\ &\le (r_{jt} + d(j, t))^2. \end{align}\] [clm:3rdconstraint] gives the last constraint.

Hence, by [lem:dual-feasibility-simpler-metric], we have: \[\sum_{j\in [s]}w(j)\cdot (\alpha_j^c - (\rho-1)R_j^2)\le \hat{f} + \Gamma\cdot \sum_{j\in [s]}w(j)\cdot d^2(j,i).\] This completes the proof of 30 for \(\rho=2.5\) and \(\Gamma = 4.9\).

Euclidean metric↩︎

Now, we will show 30 for \(\rho=2\), \(\Gamma=3+\ln 2\), and \(d\) a Euclidean metric. Let \(a\) be the index of the last client that becomes inactive strictly before \(i\) is frozen.

First, let’s prove the following claim:

For each \(t\in [a]\), \(j\in DC^t\) and \(\ell\in IC^t \cup \{t\}\), we have: \[\alpha_{\ell}^c \le (r_{jt} + d(j, \ell))^2.\]

Proof. Consider any client \(t\in [a]\). Let \(P_t\) be the phase in which \(t\) becomes inactive. Consider the state of the algorithm at the exact beginning of phase \(P_t\). By definition, \(S^t\) is the set of open facilities at this time.

Consider any client \(\ell\in IC^t\cup\{t\}\). As \(\ell\leq t\), \(\ell\) becomes inactive in phase \(P_t\) or in an earlier phase. Next, we prove that \(\alpha^c_{\ell}\leq (1-\delta)d^2(\ell,S^t)\) by discussing two cases:

  • If \(\ell\) becomes inactive strictly before phase \(P_t\), then \(\ell\) is indirectly connected at the beginning of phase \(P_t\). Because of the Stage 2 continuous updates at the end of the previous phase, we have \(\alpha^c_{\ell} \le \alpha_{\ell} = (1-\delta)d^2(\ell,S^t)\).

  • Otherwise (i.e., if \(\ell\) becomes inactive during phase \(P_t\)), we can prove \(\alpha^c_\ell \le (1-\delta)d^2(\ell,S^t)\) by contradiction. Suppose that \(\alpha^c_\ell > (1-\delta)d^2(\ell,S^t)\). Let \(\theta\) be the active dual parameter at the beginning of phase \(P_t\). Since \(\ell\) is active at this time, \(\theta = \alpha^c_\ell > (1-\delta)d^2(\ell, S^t)\). Then, \(\ell\) would have been moved to \(IC\) during the Stage 2 update of the previous phase (when the threshold \((1+\varepsilon^3)\theta_{prev} = \theta\) exceeded the connection cost), contradicting that \(\ell\) is still active at the beginning of phase \(P_t\). Therefore, \(\alpha^c_{\ell} \le \theta \le (1-\delta)d^2(\ell,S^t)\).

Because the triangle inequality holds for the Euclidean metric \(d\), we have \(d(\ell,S^t)\leq d(j,S^t)+d(j,\ell)\). Taking the square root of our established bound, we get: \[\begin{align} \sqrt{\alpha^c_\ell} &\le \sqrt{1-\delta} d(\ell, S^t) \\ &\le \sqrt{1-\delta} (d(j, S^t) + d(j, \ell)) \\ &= r_{jt} + \sqrt{1-\delta}d(j, \ell) \end{align}\]

Since \(\delta > 0\), we have \(\sqrt{1-\delta} < 1\). Because metric distances are non-negative, replacing the scaled distance with the full distance preserves the inequality: \[\sqrt{\alpha^c_\ell} \le r_{jt} + d(j, \ell)\]

Squaring both sides yields \(\alpha^c_{\ell}\leq (r_{jt}+d(j,\ell))^2\), completing the proof. ◻

We will make several cases according to how \(i\) gets frozen.

7.2.0.7 Case 1: All clients in \(D^*\) become inactive strictly before \(i\) is frozen.

In this case, let’s show that \((IC^t), (DC^t), (\alpha_j^c), (R_j), (r_{jt})\) satisfy all the constraints of [lem:dual-feasibility-simpler-euclidean], restated below for convenience.

Since in this case \(a=s\), [clm:2nd-constraint-euclidean] implies constraint (2) is satisfied. [clm:3rdconstraint] implies constraint (3) is satisfied. Hence, we can apply [lem:dual-feasibility-simpler-euclidean], and get:

\[\sum_{j\in [s]}w(j)\cdot(\alpha_j^c-(\rho-1)R_j^2)\le \hat{f}+\Gamma\cdot \sum_{s\in [s]}w(j)\cdot d^2(j,i),\] which completes the proof in this case.

7.2.0.8 Case 2: Some clients in \(D^*\) become inactive when \(i\) is frozen.

In this case, we assume that \(i_0\) freezes \(i\). Let \(IC^F\) be the set of indirectly connected clients right before \(i_0\) is opened, and \[L:= \{j\in IC^F:d(j,i)>\sqrt{\varepsilon\theta}\}.\] Note that \(IC^F\) is different with \(IC^s\) in the way that \(IC^F\) does not include active clients right before \(i_0\) is opened, i.e., \(j\notin IC^F\) for any \(j\in [a+1:s]\) while \(IC^s=IC^F \cup [a+1:s-1]\).

We will further discuss two subcases to prove 30.

7.2.0.9 Subcase 2(a): \([a+1:s]\cap B(i_0,\sqrt{\varepsilon\theta})=\emptyset\) or \(\sum_{j\in L}w(j)>\varepsilon\cdot\sum_{j\in [a+1:s]}w(j)\).

We redefine \(DC^s\) and \(IC^s\) as the respectively directly connected and active or indirectly connected client at the beginning of the stage \(s\) becomes inactive. First, let’s bound the total increment of \(\alpha_j^c\) when \(i_0\) is opened.

The total increment of \(\alpha^c_j\) for \(j\in D^*\) when \(i_0\) is opened is at most \(\varepsilon\sum_{j\in D^*} w(j) d^2(j,i)\).

Proof. If \([a+1:s] \cap B(i_0, \sqrt{\varepsilon\theta}) = \emptyset\), or if no active client in \([a+1:s]\) strictly increases its \(\alpha^c\)-value when \(i_0\) is opened, the total increment for all \(j \in D^*\) is exactly \(0\). Because weights and squared distances are non-negative, the bound \(0 \le \varepsilon\sum_{j\in D^*} w(j) d^2(j,i)\) holds trivially.

Next, we consider the case where \(\sum_{j\in L}w(j)>\varepsilon\cdot\sum_{j\in [a+1:s]}w(j)\).

Let \(U = [a+1:s]\) denote the set of clients in \(D^*\) that become inactive exactly when \(i\) is frozen (i.e., when \(i_0\) is opened). For any client \(j \in [1:a]\), \(j\) became inactive strictly before this step. By the algorithm’s rules, the dual values of inactive clients are never increased during Stage 1. Therefore, the total increment of \(\alpha^c_j\) across all \(j \in D^*\) is exactly the sum of the increments for the active clients in \(U\).

Right before \(i_0\) is opened, every \(j \in U\) is active, meaning its dual value is exactly \(\alpha_j = \theta\). When \(i_0\) is opened, its modified dual value \(\alpha^c_j\) is set to \(\tau_j\). By the second bullet of openability (2), the maximum increased value is bounded by \(\tau_j \le (1+\varepsilon^3)\theta\). Thus, for every \(j \in U\), the increment is bounded by \(\varepsilon^3 \theta\).

Summing this over all \(j \in U\), the total increment for \(D^*\) is bounded by: \[\sum_{j \in U} w(j)(\alpha^c_j - \alpha_j) \le \varepsilon^3 \theta \sum_{j \in U} w(j).\]

By our Case 2(a) assumption, we have \(\sum_{j\in L}w(j) > \varepsilon\sum_{j\in U}w(j)\), which rearranges to: \[\sum_{j \in U} w(j) < \frac{1}{\varepsilon} \sum_{j \in L} w(j).\]

Substituting this weight bound into our total increment yields: \[\sum_{j \in U} w(j)(\alpha^c_j - \alpha_j) < \varepsilon^3 \theta \left( \frac{1}{\varepsilon} \sum_{j \in L} w(j) \right) = \varepsilon^2 \theta \sum_{j \in L} w(j).\]

Recall the definition of the subset \(L = \{j \in IC^F : d(j,i) > \sqrt{\varepsilon\theta}\}\). For every client \(j \in L\), we have \(d^2(j,i) > \varepsilon\theta\), which algebraically rearranges to \(\theta < \frac{1}{\varepsilon} d^2(j,i)\). Substituting this upper bound for \(\theta\) into our increment expression, we obtain: \[\sum_{j \in U} w(j)(\alpha^c_j - \alpha_j) < \varepsilon^2 \sum_{j \in L} w(j) \left( \frac{d^2(j,i)}{\varepsilon} \right) = \varepsilon\sum_{j \in L} w(j) d^2(j,i).\]

Finally, note that \(L \subseteq IC^F \subseteq [1:a] \subset D^*\). Because client weights \(w(j)\) are strictly positive and squared metric distances \(d^2(j,i)\) are non-negative, the sum over the subset \(L\) is trivially bounded by the sum over the entire set \(D^*\): \[\varepsilon\sum_{j \in L} w(j) d^2(j,i) \le \varepsilon\sum_{j \in D^*} w(j) d^2(j,i).\]

This completes the proof. ◻

Apply [clm:no95overbidding] at the beginning of the stage \(s\) becomes inactive, this lemma guarantees that \[\begin{align} w(s) (\alpha^c_s-\rho d^2(s,i)) + \sum_{\ell\in IC^s} w(\ell)(\alpha^c_\ell -\rho d^2(\ell,i)) + \sum_{j\in DC^s} w(j) (r^2_{js} - d^2(j,i)) \\ \leq \hat{f} + \varepsilon\sum_{j\in D^*} w(j)d^2(j,i). \end{align}\] Note that because we redefine \(IC^s, DC^s, S^s\) according to the sets \(IC,DC,S\) at the beginning of the stage \(s\) becomes inactive, it’s easy to see that [clm:2nd-constraint-euclidean] generalizes for \(t=s\). Thus, we can apply [lem:dual-feasibility-simpler-euclidean-special] (restated, see below), replacing \(\hat{f}\) with \(\hat{f} + \varepsilon\sum_{j\in D^*}w(j)d^2(j,i)\) and using \(L=\emptyset\) and \(\varepsilon'=0\) (the \(\varepsilon\)-parameter in the lemma). We get: \[\sum_{j\in [s]}w(j)\cdot (\alpha_j^c - (\rho-1)R_j^2)\le \hat{f} + (\Gamma + \varepsilon)\cdot\sum_{j\in [s]}w(j)\cdot d^2(j,i).\] This completes the proof in this case.

7.2.0.10 Subcase 2(b): \([a+1:s]\cap B(i_0,\sqrt{\varepsilon\theta})\neq \emptyset\) and \(\sum_{j\in L}w(j)\le \varepsilon\cdot\sum_{j\in [a+1:s]}w(j)\).

In this case, we define \(DC^s\) and \(IC^s\) as respectively the directly connected and the active or indirectly connected client right before \(s\) becomes inactive. Let’s show that \(a\), \(L\), \((IC^t), (DC^t), (\alpha_j^c), (R_j), (r_{jt})\) satisfy all the constraints of [lem:dual-feasibility-simpler-euclidean-special], restated below for convenience.

Just like for the other cases, constraints (a), (b), (c), (1), (2) and (3) hold. Remains to prove that constraint [constr:euclidean-special-second-approximate] is satisfied. Because \(L\subseteq IC^F\), \(IC^F\subseteq [a]\) and \(IC^F\subseteq IC^s\), we have \(L\subseteq [a]\cap IC^s\). Then, by proving the following claim, we establish constraint [constr:euclidean-special-second-approximate]. Note that because \(IC^F \setminus L \cup [a+1:s] = IC^s \setminus L\), the second and third bullet of the following claim together implies the second bullet of constraint [constr:euclidean-special-second-approximate]. The fourth bullet of the following claim implies the third bullet of constraint [constr:euclidean-special-second-approximate].

The following hold:

  • \(\sum_{\ell\in L} w(\ell) \leq \varepsilon\cdot \sum_{\ell\in [a+1:s]} w(\ell)\);

  • for any \(j\in DC^s, \ell\in IC^F\setminus L\), we have \(\alpha^c_{\ell} \leq (1+20\sqrt{\varepsilon}) \cdot (r_{js}+d(j,\ell))^2\);

  • for any \(j\in DC^s\) and \(\ell \in [a+1:s]\), we have \(\alpha^c_{\ell} \leq (r_{js}+d(j,\ell))^2\);

  • for any \(j\in DC^s, \ell\in L\) and \(\ell'\in [a+1:s]\), we have \(\alpha^c_{\ell} \leq (r_{js}+d(j,\ell'))^2\).

Proof. We prove the four bullets of the claim one by one.

7.2.0.11 First bullet.

By the definition of Case 2(b), the weight bound is our direct assumption. Substituting the dummy variable \(\ell\) for \(j\) yields the first bullet immediately.

7.2.0.12 Second bullet.

Consider any \(j\in DC^s\) and \(\ell\in IC^F\setminus L\). Let \(\theta\) be the active dual parameter right before \(i_0\) is opened. Because \(\ell \notin L\), its distance to \(i\) satisfies \(d(\ell, i) \le \sqrt{\varepsilon\theta}\). Because \(i_0\) freezes \(i\), we know \(d(i, i_0) \le 2\sqrt{\varepsilon\theta}\). By the metric triangle inequality, \(d(\ell, i_0) \le 3\sqrt{\varepsilon\theta}\).

To bridge the distance to the open facilities \(S^s\), we instantiate an active client \(\ell' \in [a+1:s] \cap B(i_0, \sqrt{\varepsilon\theta})\), which is guaranteed to exist by the Subcase 2(b) definition. Because \(\ell'\) is active, we strictly know \(\theta \le (1-\delta)d^2(\ell', S^s)\), which implies \(d(\ell', S^s) \ge \sqrt{\theta}\).

Applying the triangle inequality across \(j, \ell, \ell',\) and \(S^s\) yields the core distance relationship: \[d(\ell, S^s) \ge d(\ell', S^s) - d(\ell, \ell') \ge \sqrt{\theta} - 4\sqrt{\varepsilon\theta}~.\]

By applying the triangle inequality to \(j, \ell\), and \(S^s\) and scaling by \(\sqrt{1-\delta}\), we directly obtain (because \(\delta=\varepsilon/2\)): \[(r_{js} + d(j, \ell))^2 \ge \theta \left( \sqrt{1-\delta} - 4\sqrt{\varepsilon} \right)^2 \geq \theta\left(1-\varepsilon/2-4\sqrt{\varepsilon}\right)^2>\theta(1-9\sqrt{\varepsilon})~.\]

Squaring both sides and applying the Taylor expansion \((1 - 9\sqrt{\varepsilon})^{-1} \le 1 + 10\sqrt{\varepsilon}\) (valid for our sufficiently small \(\varepsilon\)) provides the exact upper bound for \(\theta\): \[\theta \le (1 + 10\sqrt{\varepsilon}) (r_{js} + d(j, \ell))^2~.\]

Because \(\ell \in IC^F\), it is indirectly connected right before \(i_0\) opens, meaning its modified dual value is strictly bounded by the active parameter: \(\alpha^c_{\ell} \le \theta\). Substituting our geometric bound yields the final inequality: \[\alpha^c_{\ell} \le (1+20\sqrt{\varepsilon}) (r_{js} + d(j, \ell))^2~.\]

7.2.0.13 Third bullet.

Consider any \(j\in DC^s\) and \(\ell\in [a+1:s]\). Because \(\ell\) is active right before \(i_0\) is opened, its maximum possible modified dual value is dictated by the second bullet of the openability condition (2), which strictly enforces \(\tau_\ell \le (1-\delta)d^2(\ell, S^s)\). Thus, we bypass the parameter \(\theta\) entirely: \[\alpha^c_\ell \le \tau_\ell \le (1-\delta)d^2(\ell, S^s)~.\]

Applying the triangle inequality to \(j, \ell\), and \(S^s\), we have \(d(\ell, S^s) \le d(j, S^s) + d(j, \ell)\). Multiplying by \(\sqrt{1-\delta}\) and substituting \(r_{js} = \sqrt{1-\delta}d(j, S^s)\) yields: \[\sqrt{1-\delta}d(\ell, S^s) \le r_{js} + \sqrt{1-\delta}d(j, \ell) \le r_{js} + d(j, \ell)~.\]

Squaring both sides and substituting into our openability bound gives exactly: \[\alpha^c_\ell \le (1-\delta)d^2(\ell, S^s) \le (r_{js} + d(j, \ell))^2~,\] completing the proof of the third bullet.

7.2.0.14 Fourth bullet.

Consider any \(j\in DC^s\), \(\ell\in L\), and \(\ell'\in [a+1:s]\). Because \(\ell'\) is active right before \(i_0\) is opened, we strictly have \(\theta \le (1-\delta)d^2(\ell', S^s)\).

Applying the triangle inequality to \(j, \ell',\) and \(S^s\), we have \(d(\ell', S^s) \le d(j, S^s) + d(j, \ell')\). Multiplying by \(\sqrt{1-\delta}\) yields: \[\sqrt{1-\delta}d(\ell', S^s) \le r_{js} + \sqrt{1-\delta}d(j, \ell') \le r_{js} + d(j, \ell')~.\]

Squaring both sides provides the geometric upper bound for \(\theta\): \[\theta \le (1-\delta)d^2(\ell', S^s) \le (r_{js} + d(j, \ell'))^2~.\]

Finally, because \(\ell \in L \subseteq IC^F\), it is strictly indirectly connected. According to the algorithm, its dual value is never increased during Stage 1 updates, strictly ensuring \(\alpha^c_{\ell} \le \theta\). Combining this with our geometric upper bound gives the exact final relation: \[\alpha^c_{\ell} \le \theta \le (r_{js} + d(j, \ell'))^2~,\] completing the proof of the fourth bullet. ◻

Thus, we can apply [lem:dual-feasibility-simpler-euclidean-special]. We get: \[\sum_{j\in [s]}w(j)\cdot(\alpha_j^c-(\rho-1)R_j^2)\le \hat{f} + (\Gamma + 200\sqrt{\varepsilon})\cdot\sum_{j\in [s]}w(j)\cdot d^2(j,i).\] This completes the proof.

8 Approximation with \(O(\log n / \varepsilon^3)\) Extra Centers↩︎

In this section, we present bi-criteria approximations with \(O(\log n / \varepsilon^3)\) extra centers, as claimed in 1 (restated in [thm:robust]). For simplicity, we will assume that \(\rho\in [2,3]\) in the rest of this section.

8.1 Pre-processing↩︎

For this section, we will consider the case where the distances between clients and facilities are lower bounded by \(1\), thanks to the following variant of 6:

Lemma 32. For any given \(\varepsilon> 0\) and \(\alpha>1\), given a polynomial-time \(\alpha\)-approximation algorithm for Euclidean \(k\)-Means on instances with distances between \(1\) and \(2n^3/\varepsilon^3+1\), there exists a polynomial-time \(\alpha(1+O(\varepsilon))\)-approximation algorithm for Euclidean \(k\)-Means on general instances.

Proof. Given 6, it suffices to prove the following argument:

For any given \(\varepsilon> 0\) and \(\alpha>1\), given a polynomial-time \(\alpha\)-approximation algorithm for Euclidean \(k\)-Means on instances with distances between \(1\) and \(2n^3/\varepsilon^3+1\), there exists a polynomial-time \(\alpha(1+O(\varepsilon))\)-approximation algorithm for Euclidean \(k\)-Means on instances with non-zero distances between \(1\) and \(n^2/\varepsilon^2\).

Suppose that we have a Euclidean \(k\)-Means instance with non-zero distances between \(1\) and \(n^2/\varepsilon^2\) (namely, the old instance), in which \(x:D\cup F\to \mathbb{R}^{\mathsf{dim}}\) denotes the coordinate of each point. Now, we index \(D\cup F\) by \(1, 2, \dots, |D|+|F|\) arbitrarily. We construct the following instance (namely, the new instance) by assigning each point at \(x':D\sqcup F \to \mathbb{R}^{\mathsf{dim}+|D|+|F|}\), where \(x'(i) = (\frac{2n}{\varepsilon} \cdot x(i), e_i)\) for each \(i\in D\sqcup F\), and \(e_i\in \mathbb{R}^{|D|+|F|}\) denotes the indicator vector, which has a value of 1 on coordinate \(i\) and a value of 0 on all other coordinates. Note that we will separate two copies for \(i\in D\cap F\) in the new instance. Let \(d\) and \(d'\) denote the Euclidean metric induced by the old and new instances, respectively. Consider any \(i\in F, j\in D\). We have \[\begin{align} \label{eqn:aspectratio-euclid2} d'^2(i,j) = \frac{4 n^2}{\varepsilon^2} \|x(i)-x(j)\|^2 + \|e_i-e_j\|^2 = \frac{4n^2}{\varepsilon^2} d^2(i,j) + 2~. \end{align}\tag{46}\] It is easy to see that \(d'(i,j)\in [1, \frac{2n}{\varepsilon} d(i,j)+1]\subseteq [1, 2n^3/\varepsilon^3+1]\).

Now, we assume that we have an \(\alpha\)-approximation on the new instance. We first run a constant-factor approximation \(k\)-Center on the old instance and decide if the optimal value for the old instance \(OPT\) on \(k\)-Means is \(0\). If it’s not, it is guaranteed that \(OPT\) is at least 1. According to 46 , the optimal value of the new instance \(OPT'\) is \(4n^2/\varepsilon^2 \cdot OPT+2n\geq 4n^2/\varepsilon^2 + 2n\). Then we run the \(\alpha\)-approximation on the new instance, getting a solution with value \(ALG'\) on the new instance such that \(ALG'\leq \alpha \cdot OPT'\). We obtain the solution \(ALG\) on the old instance with the same set of open facilities and the same connections for the clients. Again, because of 46 , we have \(ALG'=4n^2/\varepsilon^2 \cdot ALG + 2n\). This implies, on the old instance, we have \[\begin{align} \frac{ALG}{OPT} = \frac{(\varepsilon^2/4n^2) \cdot (ALG'-2n)}{(\varepsilon^2/4n^2) \cdot (OPT'-2n)} = \frac{ALG'-2n}{OPT'-2n}= \frac{ALG'-2n}{OPT'} \cdot \frac{OPT'}{OPT'-2n} \leq \alpha \dot{(}1+\varepsilon^2/(4n^2))~. \end{align}\] This completes the proof of this lemma. ◻

We shall remark here that under this assumption, our log-adaptive 4 still runs in \(O(\log n/\varepsilon^3)\) phases.

8.2 Walking Between Two Solutions: Setup↩︎

This subsection is an adaptation of Subsection 5.2 of [21] to our new bidding strategy.

Given the description of the log-adaptive algorithm, we present our final bicriteria approximation MergeSolutions. It results in a solution that opens \(k+O(\log n)\) centers by maintaining two partial solutions that lead to opening at least \(k\) and at most \(k\) centers respectively, and gradually merging them into a single solution that opens exactly \(k+O(\log n)\) facilities, exploiting the \(O(\log n)\) adaptivity of the algorithm.

Before detailing the merging procedure MergeSolutions, it is helpful to observe that we may generalize the analysis to make it more “robust”. We introduce this more robust analysis in this subsection, where we also define the notation that will be used later to describe MergeSolutions.

Starting from the two solutions obtained in the standard way whose facility costs differ by at most \(\eta := 2^{-n}\), the two solutions we maintain will have an exponentially small difference \(\eta\) in one of their parameters. (This parameter will be either the facility cost \(f\), some distance related to a free facility that will be introduced later, or some probability that a client is in \(IC\) or \(DC\).) For this reason, when we merge the two solutions, it may occur that some facilities in one solution are almost completely paid for, rather than fully paid for, or that the dual constraint of some facilities is slightly violated. To address this, we generalize the definition of “openable” to “\(\eta\)-openable”, where the only difference is an \(O(n\eta)\) slack in the third and fourth conditions.

Note that, in the algorithm, each inactive client \(j\) is always either directly connected to some facility \(i^*\) or indirectly connected to some facility \(i^*\), where \(i^*\) is given by \(i^* = \mathop{\mathrm{arg\,min}}_{i\in S} d^2(j,i)\). In the rest of this section, we will maintain this invariant, but allow some flexibility to its connection type and \(\alpha\)-value. Specifically, we allow each client \(j\in D\) to have a set of copies \(D_j\), with each \(\tilde{j}\in D_j\) defined by (i) the connection type \(ct(\tilde{j})\), i.e., whether it is in \(A\), \(IC\) or \(DC\); (ii) the \(\alpha\)-value \(\tilde{\alpha}(\tilde{j})\); (iii) the probability mass \(\mu(\tilde{j})\). The probability mass should satisfy \(\sum_{\tilde{j}\in D_j} \mu(\tilde{j}) = 1\). In particular, for each client \(j\), \(D_j\) has two possibilities:

  • \(D_j\) has only one copy that is of type \(A\) and with probability mass \(1\);

  • \(D_j\) has some copies of type \(DC\) and at most one copy of type \(IC\).

In short, each \(D_j\) contains at most one copy that is of type \(IC\) or \(A\). We will say \(j\) is active if the first bullet holds, and inactive if the second bullet holds. In this way, we define the \(\alpha^I\)-value of a client as the \(\alpha\)-value of its active copy or the indirectly connected copy. If the client has no such copy, we say its \(\alpha^I\)-value is \(0\) (as this value will not be used). We remark this \(\alpha^I\)-value is different from the \(\alpha\)-values of the copies, and will only be used when we merge two solutions (8.3). Moreover, we will treat each copy \(\tilde{j}\) as a normal weighted client located at the same point as \(j\) in the metric space. When we compute the total bid, we average out over their different copies.

Further, we consider \(\mathcal{D}\) as the collection of (succinct) copies by dropping all the \(\alpha\)-values of directly connected copies from \(\cup_{j\in D} D_j\). This collection will be used to define the algorithm that merges two solutions. In this way, we can still deduce \(\alpha^I\) values for each client and this set can be independent of the \(\alpha\)-values of directly connected copies, which are not necessary in defining the algorithm.

Equivalently, for each inactive client \(j\), we consider its connection as a discrete probability distribution over (i) the connection type \(ct_j\), i.e., whether it is in \(IC\) or \(DC\); (ii) the \(\alpha\)-value of the client \(\alpha_j\). In particular, in the support of this distribution, there can be only one possible \(\alpha\)-value for indirect connects, i.e., there exists at most one value \(\alpha^I\) such that \(\Pr[(ct_j, \alpha_j) = (IC, \alpha^I)] > 0\). When we compute the total bid, we average out their contributions. Adapting to our new dual fitting approach, the expected contribution of client \(j\) to facility \(i\) now becomes: \[\begin{align} \mathbb{E}\left[(1-\delta)[d^2(j,S) - d^2(j, i)]^+ \mid ct_j=DC\right] \cdot \Pr[ct_j=DC]\\ + \mathbb{E}\left[[\alpha_j - \rho(1-\delta)d^2(j, i)]^+ \mid ct_j=IC\right] \cdot \Pr[ct_j=IC], \end{align}\] where the probability and the expectations are all taken over the discrete distribution. Letting \(\pi(j)=\Pr[ct_j=DC]\) and letting \(\alpha^I_j\) be the only possible \(\alpha\)-value for indirect connects of \(j\), we can rewrite the above as: \[\begin{align} \pi(j)\cdot (1-\delta)[d^2(j,S) - d^2(j, i)]^+ + (1-\pi(j))\cdot [\alpha^I_{j} - \rho(1-\delta)d^2(j, i)]^+ \end{align}\] For each active client \(j\), the connection distribution is a distribution with one element in the support having type \(ct_j=A\). Therefore, we can define \(\pi(j)=0\) and let \(\alpha^I_j\) be the \(\alpha\)-value of \(j\). In the rest of this section, we will use both points of view interchangeably.

Given the time \(\theta = (1+\varepsilon^3)^{p-1}\), the sequence \(\mathcal{H}=(H_1, \dots , H_p)\) of the sequences of facilities opened by each stage 1 of the algorithm that was executed so far, we easily can obtain the set of open facilities \(S\). Further given the collection of copies \(\mathcal{D}\) for the clients at the beginning of the phase, we can deduce the \(\alpha\)-value for each indirectly connected or active copy. Then, we can use the following process RetrieveNewCopies, which is the third step of stage 1 of our modified log-adaptive algorithm, to obtain the current collection of copies:

8.2.0.1 RetrieveNewCopies(\(\mathcal{D}, H_p\))


For each copy \(j\in \mathcal{D}\) that is active or indirectly connected:

  • Let \(\alpha^I\) be its \(\alpha\)-value and \(j\) be the client it corresponds to.

  • If \(\alpha^I \geq \rho(1-\delta)d^2(j, H_p)\), we modify the copy to be directly connected and drop its \(\alpha\)-value.

  • Else if \(\alpha^I \geq (1-\delta)d^2(j, H_p)\), we modify the copy to be indirectly connected and keep its \(\alpha\)-value unchanged.

Given the output of the procedure, we can deduce all current copies for each client, and their corresponding connection types, probability mass and \(\alpha\)-values. Based on these variables, we have a new definition of \(\eta\)-openability tailored for our new dual fitting approach.

Definition 3 (\(\eta\)-openable). Consider the time \(\theta=(1+\varepsilon^3)^{p-1}\). Let \(\mathcal{H}=(H_1,\dots, H_{p-1}, H_p)\) be the sequence of sequences of opened facilities so far and let \(\mathcal{D}\) be the collection of copies for all clients at the beginning of the phase \(p\). Then sets \(S, A, IC, DC\) can be deduced from \(\mathcal{H}\) and RetrieveNewCopies\((\mathcal{D}, H_p)\) defined as above.

For each copy \(j\), we can also deduce its probability mass \(\mu(j)\), and its \(\alpha\)-value \(\alpha_j\) if \(j\in IC\cup A\). We say that a facility \(i\in F\) is \(\eta\)-openable (with respect to \(\theta\), \(\mathcal{H}\) and \(\mathcal{D}\)) if there are \((\tau_j)_{j\in A}\) that satisfy the following conditions.

  • Only nearby clients are increased: \[\tau_j=\alpha_j\text{ for every }j\in A\setminus B(i, \sqrt{\varepsilon\theta}).\]

  • Nearby clients are only increased slightly: \[\alpha_j\leq\tau_j\leq \min\{(1-\delta)d^2(j,S), (1+\varepsilon^3)\theta\} \text{ for every } j\in A\cap B(i,\sqrt{\varepsilon\theta}).\]

  • Facility \(i\) is almost paid for: \[\begin{align} (1-\delta)\sum_{j\in DC} \mu(j) \cdot [d^2(j,S) - d^2(j,i)]^+ + \sum_{j\in IC} \mu(j) \cdot [\alpha_j - \rho(1-\delta)d^2(j,i)]^+\\ + \sum_{j\in A} [\tau_j - \rho(1-\delta)d^2(j,i)]^+ \geq \hat{f} - 8n\eta. \end{align}\]

  • Dual feasibility almost holds: for every facility \(i_0\), \[\begin{align} \sum_{j\in DC} \mu(j) \cdot [(1-\delta)d^2(j,S) - d^2(j,i_0)]^+ + \sum_{j\in IC} \mu(j) \cdot [\alpha_j - \rho d^2(j,i_0)]^+\\ + \sum_{j\in A} [\tau_j - \rho d^2(j,i_0)]^+ \leq \hat{f}+8n\eta. \end{align}\]

Equivalently, the third bullet can be rewritten in the point of view of the clients (instead of the copies): Suppose \(A\) is the set of active clients and \(\alpha^I_j\) is the \(\alpha^I\)-value for client \(j\), and \(\pi(j)\) is the probability that \(j\notin A\) is directly connected. Then, the four bullets can be rewritten as

  • Only nearby clients are increased: \[\tau_j=\alpha^I_j\text{ for every }j\in A\setminus B(i, \sqrt{\varepsilon\theta}).\]

  • Nearby clients are only increased slightly: \[\alpha^I_j\leq\tau_j\leq \min\{(1-\delta)d^2(j,S), (1+\varepsilon^3)\theta\} \text{ for every } j\in A\cap B(i,\sqrt{\varepsilon\theta}).\]

  • Facility \(i\) is almost paid for: \[\begin{align} \sum_{j\notin A} \bigg( \pi(j)\cdot (1-\delta) \cdot [d^2(j,S) - d^2(j,i)]^+ + (1-\pi(j))\cdot [\alpha^I_j - \rho(1-\delta)d^2(j,i)]^+\bigg)\\ + \sum_{j\in A} [\tau_j - \rho(1-\delta)d^2(j,i)]^+ \geq \hat{f} - 8n\eta. \end{align}\]

  • Dual feasibility almost holds: for every facility \(i_0\), \[\begin{align} \sum_{j\notin A} \bigg( \pi(j)\cdot \left[(1-\delta)d^2(j,S) - d^2(j,i_0)\right]^+ + (1-\pi(j))\cdot \left[\alpha^I_{j} - \rho d^2(j,i_0)\right]^+ \bigg) \\ + \sum_{j\in A} [\tau_j - \rho d^2(j,i_0)]^+ \leq \hat{f} + 8n\eta. \end{align}\]

Similar as [13], [17], [21], we introduce the concept of free facilities. When we merge the two solutions, we introduce free facilities, whose opening costs are not necessarily paid. We will introduce at most \(O(1)\) such free facilities in each phase. However, we do not restrict the number of free copies a regular facility may have. Let \(S_{\mathsf{free}}\subseteq \mathcal{F}\) denote the multiset of free facilities that have been opened.

Moreover, we augment the metric space for the free facilities. For each free copy \(\tilde{i} \in S_{\mathsf{free}}\) of a regular facility \(i \in \mathcal{F}\), we define a parameter \(u(\tilde{i}) \ge 0\), which acts as the squared distance overhead of the free copy. Therefore, for any point \(x\) in the metric space (either a facility or a client), the distance squared is given by \(d^2(\tilde{i}, j) = u(\tilde{i}) + d^2(i, j)\).

We further introduce the following terminology: as mentioned, we refer to the facilities in \(S_{\mathsf{free}}\) as free facilities, the facilities in \(\mathcal{F}\) and \(S_{\mathsf{reg}}= S - S_{\mathsf{free}}\) as regular facilities, and when we simply mention “facilities”, we are referring to their union.

Note that if \(d\) is Euclidean, we can have one additional dimension, which equals \(\sqrt{u(\tilde{i})}\) for any free facility \(\tilde{i}\) and equals \(0\) for any regular facility or client, to maintain the Euclidean property.

Finally, we will use the letters \(i\) and \(h\) to denote facilities. Specifically, we use \(i \in \mathcal{F}\) to denote a regular facility and use \(\tilde{i}\) to denote a free copy of \(i\). When referring to a facility that can be either free or regular, we use the letter \(h\).

We now introduce the definition of valid sequences, which aims to capture the sequence of facilities that are opened during the while-loop of stage 1 of the log-adaptive algorithm. Let us say \(\mathcal{H}'=(H_1',\dots,H_p')\) is a super-sequence of \(\mathcal{H}=(H_1,\dots,H_p)\) and denote it \(\mathcal{H}'\supseteq \mathcal{H}\) if they have a common prefix of length \(p-1\), i.e., for all \(i<p\), \(H_i'=H_i\), and \(H_p'\) is a super-sequence of \(H_p\). Given two sequences \(\mathcal{H}_1=(H_1,\dots,H_r)\) and \(\mathcal{H}_2=(H_{r+1}, \dots,H_l)\), we define \(\mathcal{H}_1\oplus\mathcal{H}_2=(H_1,\dots,H_l)\) as the concatenation of the two sequences.

Definition 4 (\(\eta\)-valid sequence). Consider the time \(\theta\). Let \(\mathcal{H}\) be the sequence of sequences of opened facilities and \(\mathcal{D}\) be the collection of copies at the beginning of the phase. A sequence \(\langle h_1, \ldots, h_\ell\rangle\) of facilities is \(\eta\)-valid (with respect to \(\theta, \mathcal{D}\) and \(\mathcal{H}\)), if the following conditions hold.

  • Each \(h_t\) is either free or \(\eta\)-openable with respect to the time \(\theta\), a super-sequence \(\mathcal{H}' \supseteq \mathcal{H}\oplus (\langle h_1, \ldots, h_{t-1}\rangle)\) of the sequence of sequences of opened facilities, where \(\oplus\) is just the concatenation, and the collection \(\mathcal{D}\).

  • The sequence is maximal in terms of (0-)openability, i.e., there is no (0-)openable facility with respect to the time \(\theta\), \(\mathcal{H}\oplus (\langle h_1, \ldots, h_\ell \rangle)\), and the collection \(\mathcal{D}\).

We consider the following procedure CompleteCopies to return the collection of copies after opening a sequence of facilities \(H_p\) during the first stage of the phase. This procedure is identical to executing stage 2 of the log-adaptive algorithm on the collection of copies.

8.2.0.2 CompleteCopies\((\theta, \mathcal{D}, \mathcal{H}=(H_1,\dots, H_p))\)


Set \(S=\cup_{r\in [p]} H_r\) and \(\mathcal{D}'=\text{{\sc RetrieveNewCopies}}(\mathcal{D}, H_p)\). For each copy \(j\in \mathcal{D}'\):

  • If \(j\) is of type \(IC\), set \(\alpha_j\leftarrow (1-\delta)d^2(j,S)\).

  • If \(j\) is of type \(A\), set \(\alpha_j\leftarrow \min\{(1+\varepsilon^3)\theta, (1-\delta)d^2(j, S)\}\), and change its connection type to \(IC\) when \(\alpha_j=(1-\delta)d^2(j,S)\).

Definition 5 (Valid collection of copies). Consider the time \(\theta=(1+\varepsilon^3)^{p-1}\). Let \(\mathcal{H}= (H_1,\dots, H_p)\) be the sequence of sequences of opened facilities and \(\mathcal{D}\) be the collection of copies after the first \(p-1\) phases. A collection of copies \(\mathcal{D}'\) is valid (with respect to \(\theta, \mathcal{H}, \mathcal{D}\)), if \(\mathcal{D}'\) can be obtained by the following procedure.

Suppose \(\mathcal{D}''=\text{{\sc CompleteCopies}}(\theta, \mathcal{D}, \mathcal{H})\). Then, we can obtain \(\mathcal{D}'\) by the following process: for each copy \(j\) that is indirectly connected or active in \(\mathcal{D}\) but is directly connected in \(\mathcal{D}''\), if \(\rho(1-\delta)d^2(j,S)\leq \alpha_{j}\leq \rho(1-\delta)d^2(j,S) + 4\eta\) (where \(\alpha_j\) is the \(\alpha\)-value of \(j\) in \(\mathcal{D}\)), then it can be split into a directly connected copy with an arbitrarily smaller probability mass, while the remaining probability mass is given to an indirectly connected copy with \(\alpha\)-value \(\alpha'_j=(1-\delta)d^2(j,S)\).

In particular, if \(\mathcal{D}'=\mathcal{D}''\), we say that \(\mathcal{D}'\) is perfectly valid.

We remark that

  • The log-adaptive algorithm generates \(0\)-valid sequences in the first stage of each phase. Specifically, it generates sequences \(\mathcal{H}= (H_1, H_2, \ldots, H_L)\) and a history of the collections of copies \(\mathcal{D}\mathcal{H}= (\mathcal{D}_0, \mathcal{D}_1, \ldots, \mathcal{D}_L)\), where each \(H_p\) is \(0\)-valid (with respect to \(\theta = (1+\varepsilon^3)^{p-1}\), \(\mathcal{D}_{p-1}\) and \(\mathcal{H}\)) and contains only regular facilities.

  • The log-adaptive algorithm only maintains a single copy for each inactive client, i.e., each inactive client \(j\) is either directly connected to some facility \(i\) with probability \(1\) or indirectly connected to some facility \(i\) with probability \(1\). Therefore, each collection of copies \(\mathcal{D}_p\) maintained by the log-adaptive algorithm is perfectly valid (with respect to \(\theta=(1+\varepsilon^3)^{p-1}\), \(\mathcal{H}\) and \(\mathcal{D}_{p-1}\)).

  • The set \(S\) of opened facilities is such that \(A = \emptyset\) at the final time \(\theta\).

For a general sequence of sequences \(\mathcal{H}= (H_1, H_2, \ldots, H_L)\) and a history of collection of copies \(\mathcal{D}\mathcal{H}= (\mathcal{D}_0, \mathcal{D}_1, \ldots, \mathcal{D}_L)\), let us say they consist of \(\eta\)-valid sequences and valid collections of copies if, for every \(p\in [L]\),

  • \(H_p\) is an \(\eta\)-valid sequence with respect to \(\theta = (1+\varepsilon^3)^{p - 1}\), \(\mathcal{H}\), \(\mathcal{D}_{p-1}\); and

  • \(\mathcal{D}_p\) is a valid collection of copies with respect to \(\theta = (1+\varepsilon^3)^{p-1}\), \(\mathcal{H}\), \(\mathcal{D}_{p-1}\).

It is easy to see from the definitions that the following claim holds.

Suppose that \(\mathcal{H}, \mathcal{D}\mathcal{H}\) consist of \(\eta\)-valid sequences and valid collections of copies. For each \(p\in [L]\), letting \(S=\cup_{r\in [p]} H_r\), then we have

  • If \(j\in \mathcal{D}_p\) is indirectly connected, then \(\alpha_j = (1-\delta)d^2(j, S)\);

  • If \(j\in \mathcal{D}_p\) is active, then \(\alpha_j=(1+\varepsilon^3)^p\) and \((1+\varepsilon^3)^p<(1-\delta)d^2(j,S)\).

Furthermore, we say that \(\mathcal{H}, \mathcal{D}\mathcal{H}\) form a solution with open facilities \(S =\cup_{r\in [L]} H_r\) if there are no active copies in \(\mathcal{D}_L\). Otherwise, we say that \(\mathcal{H}, \mathcal{D}\mathcal{H}\) form a partial solution.

The results in 7, namely 29 30, can thus be stated as: if \(\mathcal{H}, \mathcal{D}\mathcal{H}\) is a solution of \(0\)-valid sequences consisting of regular facilities, then the set \(S\) of opened facilities satisfies \[\sum_{j\in D} w(j) \cdot d^2(j, S) \leq \frac{\Gamma}{1-\delta} \cdot \left( \text{opt}_{\text{LP}}(f) - f \cdot |S| \right)\,.\] We now allow an additive \(8n\eta\) slack in the third bullet (facility paying) and fourth bullet (dual feasibility) of the openability (Definition 3). In addition, in the second stage of each phase, we allow a directly connected copy \(j\) that satisfies \(\rho(1-\delta)d^2(j,S) \leq \alpha_j < \rho(1-\delta)d^2(j,S) + (1+\rho)\eta\) to split into two copies with arbitrary probability mass: one is identical, while the other is indirectly connected with \(\alpha\)-value \(\alpha_j=(1-\delta)d^2(j,S)\). All these modifications lead to the following generalization.

theoremthmrobust

Consider a solution \(\mathcal{H}, \mathcal{D}\mathcal{H}\) of \(\eta\)-valid sequences and valid collections of copies. Let \(S\) be the opened facilities. Further, let \(S_{\mathsf{free}}\) and \(S_{\mathsf{reg}}= S - S_{\mathsf{free}}\) be the free copies and regular facilities, respectively. Then, we have \[\sum_{j\in D} d^2(j, S) \leq \frac{\Gamma+201\sqrt{\varepsilon} + 20n\eta}{1-\delta} \cdot \left( \text{opt}_{\text{LP}}(f) - |S_{\mathsf{reg}}| \cdot f\right)\,.\] where

  • if \(d\) is a (general) metric, we choose \(\rho=2.5, \Gamma=4.9\); or

  • if \(d\) is a Euclidean metric, we choose \(\rho=2, \Gamma = 3+\ln(2)\).

In the next subsection, we will merge two solutions into one with \(|S_{\mathsf{reg}}| =k\) and \(|S_{\mathsf{free}}| =O(\log n/\varepsilon^3)\). To our help, we will use two basic routines defined as follows:

  • \(\mathrm{\small CompleteSolution}_{f,u}(\mathcal{H}, \mathcal{D}\mathcal{H})\) takes a partial solution \(\mathcal{H}, \mathcal{D}\mathcal{H}\) as input and returns a solution by running the while-loop of the log-adaptive algorithm using \(f,u\) and the existing copies induced by the last collection in \(\mathcal{D}\mathcal{H}\).

    In particular, we also consider a slightly different input for this routine. If \(\mathcal{H}= (H_1, \ldots, H_{p})\) and \(\mathcal{D}\mathcal{H}= (\mathcal{D}_0, \ldots, \mathcal{D}_{p-1})\), where the first \(p-1\) sequences of \(\mathcal{H}\) form a partial solution with \(\mathcal{D}\mathcal{H}\), and \(H_p\) is \(\eta\)-valid. Then, we will first generate \(\mathcal{D}_p\) by CompleteCopies\((\theta=(1+\varepsilon^3)^{p-1}, \mathcal{D}_{p-1}, (H_1,\dots, H_p))\), append it to the end of \(\mathcal{D}\mathcal{H}\) (so that the resulting \(\mathcal{H},\mathcal{D}\mathcal{H}\) form a partial solution), and then start from phase \(p+1\) of the log-adaptive algorithm.

  • \(\mathrm{\small CompleteSequence}_{f,u}(\mathcal{H}= (H_1, \ldots, H_{p-1}), H_p = \langle h_1, \ldots, h_\ell\rangle, \mathcal{D}\mathcal{H}=(\mathcal{D}_0,\dots,\mathcal{D}_{p-1}))\) where \(\mathcal{H}, \mathcal{D}\mathcal{H}\) form a partial solution, and \(H_p\) is an \(\eta\)-valid sequence except that it may not be maximal. \(\mathrm{\small CompleteSequence}\) then runs the while-loop of the log-adaptive algorithm starting with \(H_p\) and the existing copies induced by the last collection \(\mathcal{D}\mathcal{H}\) to return a maximal sequence of \(H_p\) (with respect to \(f, u\)).

We note that all facilities added by CompleteSolution and CompleteSequence are \(0\)-openable and regular. We also note that, given \(\mathcal{D}_{p-1}\) and \(\mathcal{H}\), CompleteSolution generates \(\mathcal{D}_{p}\) by CompleteCopies\((\theta=(1+\varepsilon^3)^{p-1}, \mathcal{D}_{p-1}, (H_1,\dots, H_p))\). Additionally, for intuition, observe that, with the above notation, the set of facilities opened by \(\mathrm{\small CompleteSolution}_{f,u}(\emptyset, (\mathcal{D}_0))\) is equivalent to that opened by the log-adaptive algorithm, where \(\mathcal{D}_0\) denotes the collection of copies in which each client has only one copy with \((ct=A,\mu=1,\alpha=1)\). (There is no free facility here.) To simplify notation, we only use \(\mathrm{\small CompleteSequence}\) when the partial solution \(\mathcal{H}\) and \(\mathcal{D}\mathcal{H}\) are clear from the context, so we simply write \(\mathrm{\small CompleteSequence}_{(f,u)}(\langle h_1, \ldots, h_\ell \rangle)\). Furthermore, we omit \((f,u)\) when the parameters are clear from the context.

8.3 MergeSolutions↩︎

This subsection is almost identical to Subsection 5.3 of [21]. The main difference is the proof of [claim:1ststep95etavalid] in 8.3.1.

We now present our procedure MergeSolutions that walks between two solutions. We will maintain two solutions \((\mathcal{H}, \mathcal{D}\mathcal{H}, f, u)\) and \((\mathcal{H}', \mathcal{D}\mathcal{H}', f', u')\) whose numbers of open regular facilities sandwich \(k\). (Formally, let us say \(a\) and \(b\) sandwich \(k\) if \(a<k<b\) or \(b<k<a\).) We will gradually make them closer until one of them opens exactly \(k\) regular facilities. We start from the two initial solutions obtained using the standard method. Note that the minimum nonzero distance is \(1\) and the maximum squared distance is \(M= \poly(n)\), which implies that \(\text{opt}\leq nM\).

8.3.0.1 Initialization.

We binary search on \(f\) in the interval \([1/n^2, 4nM]\) and run the routine \(\mathrm{\small CompleteSolution}_{f, u}(\emptyset, \langle\mathcal{D}_0\rangle)\) (with zero \(u\)). When \(f = 1/n^2\), every client \(j \in D\) satisfies \(d(j, S) = 0\) if \(d(j, \mathcal{F}) = 0\) and \(d^2(j, S) \leq d^2(j, \mathcal{F}) + 2/n^2\) otherwise, as each client can open its closest facility by itself when \(\alpha_j = d^2(j, \mathcal{F}) + 2/n^2\). If this solution opens at most \(k\) centers, then it is already a \((1+2/n)\)-approximation. On the other hand, when \(f = 4nM\), the algorithm will open exactly one facility, since the first facility is open when \(\theta \geq 2M\), so every client becomes immediately inactive when it is open. Therefore, the binary search yields two solutions \((\mathcal{H}, \mathcal{D}\mathcal{H}, f, u)\) and \((\mathcal{H}', \mathcal{D}\mathcal{H}', f', u)\) where \((\mathcal{H}, \mathcal{D}\mathcal{H}, f, u)\) opens less than \(k\) facilities and \((\mathcal{H}', \mathcal{D}\mathcal{H}', f', u)\) opens more than \(k\) facilities where \(f \leq f' \leq f + \eta\).

8.3.0.2 General Step.

MergeSolutions works on phase \(p = 1, 2, \dots\) iteratively, and ensures that the two solutions are identical up to the \(p\)-th phase. Formally, MergeSolutions takes two solutions \((\mathcal{H}, \mathcal{D}\mathcal{H}, f, u)\) and \((\mathcal{H}', \mathcal{D}\mathcal{H}', f', u')\) as well as the current phase \(p\) as input. The following promises on them will be satisfied whenever we call MergeSolutions.

  1. Both consist of \(\eta\)-valid sequences.

  2. The numbers of open regular facilities by the two solutions sandwich \(k\).

  3. At most one parameter, which we call the difference parameter, differs by at most \(\eta\) between the two solutions, i.e., if \(f\neq f'\) then \(|f-f'| \leq \eta\) and \(u(\tilde{i}) = u'(\tilde{i})\) for every \(\tilde{i} \in S_{\mathsf{free}}\); otherwise if \(f=f'\) there is at most one free facility \(\tilde{i}\in S_{\mathsf{free}}\) so that \(u(\tilde{i}) \neq u'(\tilde{i})\) and \(|u(\tilde{i}) - u'(\tilde{i})| \leq \eta\). (We don’t consider \(\pi, \pi'\) defined in the next bullet as difference parameters.)

  4. The probability that each client is directly connected to any facility is almost the same in both solutions, i.e., we have that for every client \(j\), \(|\pi(j) - \pi'(j)| \leq \eta/M\), where \(\pi, \pi'\) are the probabilities of direct connections for the collection of copies \(\mathcal{D}_{p-1}\) and \(\mathcal{D}'_{p-1}\), respectively.

  5. \(\mathcal{H}= (H_1, H_2, \ldots, H_L)\) and \(\mathcal{H}' = (H'_1, H'_2, \ldots, H'_{L'})\) have a common prefix of length \(p-1\), i.e., \(H_i = H'_i\) for \(i=1,2, \ldots, p-1\). Furthermore, the remaining sequences \(H_p, \ldots, H_L\) and \(H'_p,\ldots, H'_{L'}\) only contain regular facilities and are \(0\)-valid with respect to the parameters \(f, u\) and \(f', u'\), respectively. (This implies that \(\mathcal{H}\) and \(\mathcal{H}'\) open the same set of free facilities.)

Given the promises, the goal of MergeSolutions is to

  1. either find a solution of \(\eta\)-valid sequences that opens exactly \(k\) regular facilities and \(O(\log n)\) free facilities, or

  2. produce two new solutions that satisfy the above promises for phase \(p + 1\).

Since the maximum squared distance between any two points is \(M\leq \poly(n)\) and \(f \leq 4nM\), before \(\theta\) reaches \(6M\), at least one facility will open and every client will become inactive. Therefore, for some threshold \(p^* = O(\log n / \varepsilon^3)\), once \(\mathcal{H}\) and \(\mathcal{H}'\) agree on the first \(p^*\) phases, they open exactly the same set of facilities which violates the promise that the numbers of open regular facilities sandwich \(k\). Therefore, case (1) must happen for some \(p \leq p^*\), which yields a solution of \(\eta\)-valid sequences that opens exactly \(k\) regular facilities and \(O(\log n)\) free facilities. Combined with [thm:robust], this proves our main bicriteria guarantee. Indeed, we then have a solution consisting of open centers \(S\) with \(|S| = k + O(\log n / \varepsilon^3)\) such that, by [thm:robust], \[\begin{align} \sum_{j\in D} w(j) \cdot d^2(j, S) &\leq \frac{\Gamma}{1-\delta} \cdot \left( \text{opt}_{\text{LP}}(f) - (f-\eta n) \cdot k \right) \leq (\Gamma+O(\varepsilon)) \text{opt}\,, \end{align}\] where, for the last inequality, we used that \(\eta = 2^{-n}\) and \(\text{opt}\geq 1\) (since any non-zero distance is at least \(1\)). The main theorem then follows by scaling \(\varepsilon\) appropriately.

In the remainder of this section, we present MergeSolutions for two solutions and a given phase \(p\). It consists of four subroutines, presented in the subsequent subsections respectively. Each of the first three subroutines achieves (1) or (2) without condition [condition-iv] above (which ends the whole procedure or lets us move on to the fourth subroutine), or sets up the stage for the next subroutine. The third subroutine always achieves (1) or (2) without condition [condition-iv]. The fourth subroutine, then achieves (2), for those not achieving (1), by ensuring condition [condition-iv].

8.3.1 Making Parameters Identical↩︎

By renaming, we assume that if \(f\neq f'\) is the difference parameter then \(f' < f\), and if the difference parameter is \(u(\tilde{i}) \neq u'(\tilde{i})\) then \(u(\tilde{i}) < u'(\tilde{i})\).

\(H'_1, H'_2, \ldots, H'_p\) are \(\eta\)-valid sequences with respect to parameters \(f, u\) and \(\mathcal{D}_0, \mathcal{D}_1,\dots, \mathcal{D}_{p-1}\), respectively. On the other hand, \(\mathcal{D}_1, \ldots, \mathcal{D}_{p-1}\) are valid collections of copies with respect to parameters \(f, u\) and \((H'_1, \ldots, H'_{p-1})\).

Proof. As the first \(p-1\) sequences are identical, we have that \(H'_1, \ldots, H'_{p-1}\) are \(\eta\)-valid with respect to parameters \(f, u\) and \(\mathcal{D}_0,\dots, \mathcal{D}_{p-2}\), respectively. For the same reason, \(\mathcal{D}_1, \ldots, \mathcal{D}_{p-1}\) are valid with respect to parameters \(f, u\) and \((H'_1,\dots, H'_{p-1})\). It remains to show that \(H'_p\) is \(\eta\)-valid with respect to parameters \(f, u\) and \(\mathcal{D}_{p-1}\). With an abuse of notation, we will use \(\mathcal{H}\) to denote the sequence of sequences \((H'_1, \ldots, H'_{p-1})\) in the rest of the proof.

Now suppose that \(|f-f'|\leq \eta\) and \(u(\tilde{i}) \neq u'(\tilde{i})\) (if exists). If such \(\tilde{i}\) does not exist, we take any \(\tilde{i}\). \(H'_p\) was \(0\)-valid with respect to \(f',u',\mathcal{D}'_{p-1}\). We have that \(u'(\tilde{i}) - \eta \leq u(\tilde{i}) \leq u'(\tilde{i})\). Further, \(|\tilde{\pi}(j)-\tilde{\pi}'(j)|\leq \eta/M\) for each client \(j\), where \(\tilde{\pi}\) and \(\tilde{\pi}'\) are the probabilities that \(j\) is directly connected in \(\mathcal{D}_{p-1}\) and \(\mathcal{D}'_{p-1}\), respectively.

Let \(H'_p = \langle h_1, \dots, h_{\ell} \rangle\) and consider \(h_t\) for some \(t \in [\ell]\), which is \(0\)-openable with respect to \(f', u', \theta = (1 + \varepsilon^3)^{p - 1}, \mathcal{D}'_{p-1}\) and some super-sequence \(\mathcal{H}' \supseteq \mathcal{H}\oplus (\langle h_1, \dots, h_{t-1} \rangle\)). Let \(H_{\rm last}\) be the final sequence in \(\mathcal{H}'\). Let \(S, S'\) be the set of facilities open in \(\mathcal{H}\) and \(\mathcal{H}'\), respectively.

Let \(d'(\cdot,\cdot)\) denote the pairwise distance defined according to \(u'\). Consider the collection of copies \(\mathcal{D}'_{\rm new} = \text{{\sc RetrieveNewCopies}}(\mathcal{D}'_{p-1}, H_{\rm last})\), where the distances in the procedure follow \(d'\). Let \(A'\) denote the set of clients whose copies are active in \(\mathcal{D}'_{\rm new}\). Let \(\alpha'_j\) be the \(\alpha\)-value of the active or indirectly connected copy of client \(j\) in \(\mathcal{D}'_{\rm new}\). If no such copy exists, we let \(\alpha'_j = 0\), which will not be used later. Let \(\pi'(j)\) be the probability that \(j\) is directly connected in \(\mathcal{D}'_{\rm new}\). Similarly, we define \(d(\cdot,\cdot)\) according to \(u\), and define \((A, \{ \alpha_j \}, \{\pi(j)\}, d(\cdot,\cdot))\) according to \(\mathcal{D}_{\rm new} = \text{{\sc RetrieveNewCopies}}(\mathcal{D}_{p-1}, H_{\rm last})\) under distances \(d\).

As the only difference parameter is \(u(\tilde{i}) \in [u'(\tilde{i}) - \eta, u'(\tilde{i})]\), we have \(d \leq d'\), meaning it is strictly easier to cross the metric distance thresholds for \(IC\) and \(DC\) under \(d\). Thus, we can observe that \(A \subseteq A'\).

For simplicity, we will consider the viewpoint of [remark:robustopenable] for \(\eta\)-openability. Based on the fact that \(h_t\) was \(0\)-openable with respect to the former setting with \((\tau'_j)_{j \in A'}\), let \((\tau_j)_{j \in A}\) be defined as \(\tau_j = \min(\tau'_j, (1-\delta)d^2(j, S'))\) for \(j \in A\). Let us check if \(h_t\) is \(\eta\)-openable with respect to the latter setting with \((\tau_j)_{j \in A}\) by checking the conditions in [remark:robustopenable]. The first two bullets are straightforward:

  • \(\tau_j = \alpha_j\) for every \(j \in A \setminus B(h_t, \sqrt{\varepsilon\theta})\): Since it was true for \(A' \supseteq A\), it is clear that \(\tau_j\leq \tau'_j=\alpha_j\). Since \(j\in A \subseteq A'\), we have \(\alpha_j=\alpha'_j=\tau'_j=\theta\) and \((1-\delta)d^2(j,S')>\alpha_j\), implying \(\tau_j\geq \alpha_j\).

  • \(\alpha_j \leq \tau_j \leq \min\{(1-\delta)d^2(j,S'),(1+\varepsilon^3)\theta\}\) for every \(j \in A \cap B(h_t, \sqrt{\varepsilon\theta})\): Fix \(j \in A \cap B(h_t, \sqrt{\varepsilon\theta})\). The first inequality holds because \(\tau'_j\geq \alpha'_j=\theta=\alpha_j\) and \((1-\delta)d^2(j,S')>\alpha_j\). Since \(A \subseteq A'\), \(\tau'_j \leq \min\{(1-\delta)d'^2(j,S'),(1+\varepsilon^3)\theta\}\). Since \(\tau_j\) is defined as \(\min(\tau'_j, (1-\delta)d^2(j,S'))\), the second inequality is satisfied.

Before discussing the third and fourth bullets, we establish a useful claim.

Suppose that \(\mathcal{H},\mathcal{D}\mathcal{H}\) and \(\mathcal{H},\mathcal{D}\mathcal{H}'\) are two partial solutions opening the same set of facilities after phase \(p-1\). We assume they are under \((f,u)\) and \((f',u')\) respectively. Suppose that \(u, u'\) differ on at most one parameter by at most \(\eta\). Fix any client \(j\). Let \(\alpha, \alpha'\) be the \(\alpha\)-value of the copies of \(j\) that is of type \(IC\) or \(A\) in \(\mathcal{D}_{p-1}\) and \(\mathcal{D}'_{p-1}\) (assuming both exist), respectively. Then, \(|\alpha-\alpha'| \leq \eta\).

Proof. Let \(\theta = (1+\varepsilon^3)^{p-1}\). Suppose \(\mathcal{H}=(H_1,\dots, H_{p-1})\) and let \(S = \cup_{r\in [p-1]} H_r\). Suppose \(d,d'\) are the pairwise distances defined according to \(u,u'\), respectively. All the following \(\alpha\)-values follow [claim:alpha95values95robust].

If \(j\) has an active copy in both \(\mathcal{D}_{p-1}\) and \(\mathcal{D}'_{p-1}\), then \(\alpha = \alpha' = \theta\).

If \(j\) has an indirectly connected copy in both \(\mathcal{D}_{p-1}\) and \(\mathcal{D}'_{p-1}\), then \(\alpha = (1-\delta)d^2(j,S)\) and \(\alpha' = (1-\delta)d'^2(j,S)\). Since \(u,u'\) differ on at most one parameter by at most \(\eta\), we have \(|d^2(j,S) - d'^2(j,S)| \leq \eta\) and thus \(|\alpha - \alpha'| \leq (1-\delta)\eta \leq \eta\).

If \(j\) has an active copy in one collection and an indirectly connected copy in the other collection, since \(d \le d'\), it must be that \(j\) has an active copy in \(\mathcal{D}'_{p-1}\) (under \(d'\)) and an indirectly connected copy in \(\mathcal{D}_{p-1}\) (under \(d\)). Then, we have \(\alpha' = \theta\) and \(\alpha = (1-\delta)d^2(j,S) \le \theta\). Since \(j\) is active in \(\mathcal{D}'_{p-1}\), we have \((1-\delta)d'^2(j,S) > \theta\). Therefore, we have \[\begin{align} |\alpha' - \alpha| &= \theta - (1-\delta)d^2(j,S) \\ &\leq (1-\delta)d'^2(j,S) - (1-\delta)d^2(j,S) \leq (1-\delta)\eta \leq \eta. \qedhere \end{align}\] ◻

For the third and fourth bullets, we construct an abstract bid function \(bid_{A, \alpha, \tau, \pi, d, \gamma}(j)\) based on the metric openability terms, where \(\gamma(j)\) is a client-specific target distance bound: \[\begin{align} bid_{A, \alpha, \tau, \pi, d, \gamma}(j) = \begin{cases} [\tau_j - \rho \gamma(j)]^+ & \text{if } j \in A, \\ \pi(j)[(1-\delta)d^2(j,S') - \gamma(j)]^+ + (1-\pi(j)) [\alpha_j - \rho \gamma(j)]^+ & \text{if } j \notin A \end{cases} \end{align}\] For the third bullet, we will set \(\gamma(j) = (1-\delta)d^2(h_t, j)\). For the fourth bullet, we will set \(\gamma(j) = d^2(i_0, j)\). In both cases, note how the \(DC\) term subtracts \(\gamma(j)\) directly, while the \(IC\) and \(A\) terms subtract \(\rho \gamma(j)\).

Next, we evaluate \(|bid_{A, \alpha, \tau, \pi, d, \gamma}(j) - bid_{A', \alpha', \tau', \pi', d', \gamma}(j)|\) for every client \(j\). Recall that \(|\tilde{\pi}(j)-\tilde{\pi}'(j)|\leq \eta/M\). We discuss the following cases:

  • Suppose that \(\tilde{\pi}(j), \tilde{\pi}'(j) > 1-\eta/M\). Since the procedure RetrieveNewCopies doesn’t turn directly connected copies into active or indirectly connected, we have \(\pi(j), \pi'(j) > 1 - \eta/M\) and thus \(|\pi(j) - \pi'(j)| \leq \eta/M\). In addition, we have \(j\notin A\) and \(j\notin A'\). Because RetrieveNewCopies doesn’t change \(\alpha\)-values for indirectly connected or active copies, \(\alpha_j=(1-\delta)d^2(j,S)\) and \(\alpha'_j=(1-\delta)d'^2(j,S)\). Because \(d^2(j,S'), d'^2(j,S')\leq M\), and \(\alpha'_j, \alpha_j\leq \theta \leq 6M\), we have \[\begin{align} &|bid_{A, \alpha, \tau, \pi, d, \gamma}(j) - bid_{A', \alpha', \tau', \pi', d', \gamma}(j)| \\ &\qquad \leq 6M\cdot |\pi(j)-\pi'(j)| + \max\{|(1-\delta)d^2(j,S') - (1-\delta)d'^2(j, S')|, |\alpha_j - \alpha'_j|\} \\ &\qquad \leq 6\eta + \eta = 7\eta. \end{align}\]

  • Suppose that one of \(\tilde{\pi}(j), \tilde{\pi}'(j)\) is strictly less than \(1-\eta/M\). Since \(|\tilde{\pi}(j)-\tilde{\pi}'(j)|\leq \eta/M\), both are strictly less than \(1\). This implies \(j\) has exactly one active or indirectly connected copy in both \(\mathcal{D}_{p-1}\) and \(\mathcal{D}'_{p-1}\). We will use \(bid, bid'\) for \(bid_{A,\alpha,\tau,\pi,d,\gamma}(j)\) and \(bid_{A',\alpha',\tau',\pi',d',\gamma}(j)\) respectively for simplicity.

    • If both copies become directly connected, then \(\pi(j)=\pi'(j)=1\) and thus \(|bid - bid'| \le |(1-\delta)d^2(j,S') - (1-\delta)d'^2(j,S')| \le \eta\).

    • If both copies remain active or indirectly connected, then \(\pi(j)=\tilde{\pi}(j), \pi'(j)=\tilde{\pi}'(j)\) and thus \(|\pi(j)-\pi'(j)|\leq \eta/M\). By [claim:closeness95alpha-values] and the fact that RetrieveNewCopies doesn’t modify the \(\alpha\)-values of active or indirectly connected copies, we have \(|\alpha_j - \alpha'_{j}| \leq \eta\).

      1. If both copies are indirectly connected (i.e., \(j\notin A'\)), we use the same derivation as above to prove that \(|bid - bid'| \leq 6\eta + \eta = 7\eta\).

      2. If both copies are active (i.e., \(j\in A\)), we have \(\tau_j\neq \tau'_j\) only if \(\tau'_j>(1-\delta) d^2(j,S')\). In this case, we have \(\tau_j = (1-\delta) d^2(j,S')\) and \(\tau'_j \leq (1-\delta) d'^2(j,S')\). Therefore, \(|\tau_j-\tau'_j| \leq (1-\delta) \cdot |d^2(j,S')-d'^2(j,S')|\leq \eta\) and we have \(|bid-bid'|\leq \eta\).

      3. If \(j\in A'\setminus A\) (this is the remaining case because \(A\subseteq A'\)), we have \(\pi'(j) = 0\) and thus \(\tilde{\pi}'(j) = 0\). This implies that \(\tilde{\pi}(j) \leq \eta/M\) and thus \(\pi(j) \leq \eta/M\). Therefore, \(|\pi(j)-\pi'(j)|\leq \eta/M\). Furthermore, we have \(\tau'_j \geq \theta \geq \alpha_j\), and \(\tau'_j \leq (1-\delta) d'^2(j,S') \leq (1-\delta)(d^2(j,S') +\eta) \leq \alpha_j+\eta\) because \(j\notin A\). Therefore, we have \(|\tau'_j-\alpha_j|\leq \eta\). Using the same derivation as above, we have \(|bid-bid'|\leq 7\eta\).

    • If one copy crosses the threshold to become directly connected while the other remains active or indirectly connected, since \(d \le d'\), it must be that the copy under \(d\) becomes directly connected (\(\pi(j)=1\)) while the copy under \(d'\) remains active or indirectly connected (\(\pi'(j)=\tilde{\pi}'(j)\)). We can characterize \(bid_{A, \alpha, \tau, \pi, d, \gamma}(j)\) and \(bid_{A', \alpha', \tau', \pi', d', \gamma}(j)\) as follows: \[\begin{align} \label{eqn:bid-make-idential-parameters-case2463} \begin{aligned} bid_{A, \alpha, \tau, \pi, d, \gamma}(j) &= [(1-\delta)d^2(j,S')-\gamma(j)]^+ , \\ bid_{A', \alpha', \tau', \pi', d', \gamma}(j) &= \pi'(j)\cdot [(1-\delta)d'^2(j,S')-\gamma(j)]^+ + (1-\pi'(j))[\alpha'_{j}-\rho\gamma(j)]^+. \end{aligned} \end{align}\tag{47}\]

      Crucially, because \(\pi(j)=1\) and \(|\pi(j) - \pi'(j)| \leq \eta/M\), we have \(1 - \pi'(j) \leq \eta/M\). To bound the difference between the bids, let \(X = [(1-\delta)d^2(j,S')-\gamma(j)]^+\), \(Y = [(1-\delta)d'^2(j,S')-\gamma(j)]^+\), and \(Z = [\alpha'_{j}-\rho\gamma(j)]^+\). We want to bound \(|X - (\pi'(j) Y + (1-\pi'(j)) Z)|\). By the triangle inequality, this is at most: \[\begin{align} |X - (\pi'(j) Y + (1-\pi'(j)) Z)| &= |X - Y + (1-\pi'(j))(Y - Z)| \\ &\leq |X - Y| + (1-\pi'(j))|Y - Z|~. \end{align}\] First, we bound \(|X - Y|\): \[|X - Y| \leq (1-\delta)|d^2(j,S') - d'^2(j,S')| \leq \eta~.\] Second, we bound \(|Y - Z|\). Since all pairwise squared distances are bounded by \(M\), we have \(Y \leq M\). Furthermore, because the log-adaptive algorithm terminates before \(\theta\) exceeds \(6M\), we have \(Z \leq \alpha'_j \leq \theta \leq 6M\). Since both \(Y\) and \(Z\) are non-negative, their absolute difference is bounded by the maximum of their upper bounds, meaning \(|Y - Z| \leq 6M\). Therefore, \[(1-\pi'(j))|Y - Z| \leq \frac{\eta}{M} \cdot 6M= 6\eta~.\] Putting this back into 47 , we conclude that: \[\begin{align} |bid_{A, \alpha, \tau, \pi, d, \gamma}(j) - bid_{A', \alpha', \tau', \pi', d', \gamma}(j)| \leq \eta + 6\eta = 7\eta~. \end{align}\]

Using this inequality (which gives a maximum difference of \(7\eta\) across all cases), we can easily obtain for the sum over all clients: \[\begin{align} \left|\sum_{j\in D} bid_{A, \alpha, \tau, \pi, d, \gamma}(j) - \sum_{j\in D} bid_{A', \alpha', \tau', \pi', d', \gamma}(j)\right| \leq \sum_{j\in D} 7\eta \leq 7n\eta~. \end{align}\] We check the last two bullets in [remark:robustopenable] as follows. For the third bullet, we define \(\gamma(j) = (1-\delta)d^2(h_t, j)\). Because \(h_t\) is a regular facility, \(d^2(h_t, j) = d'^2(h_t, j)\). Because \(h_t\) was \(0\)-openable with respect to \(\theta, f', u', \mathcal{D}'_{p-1}\), the left-hand side under \(bid'\) evaluates to at least \(\hat{f}\). The difference of at most \(7n\eta\) ensures the third bullet is satisfied under \(\theta, f, u, \mathcal{D}_{p-1}\) with the required slack bound of \(\hat{f}' - 7n\eta \geq \hat{f}-8n\eta\).

For the fourth bullet, we define \(\gamma(j) = d^2(i_0, j)\). With the same abstract bid formulation and distance stability for the regular facility \(i_0\), the sum over all clients under \(bid'\) is at most \(\hat{f}\). The difference of at most \(7n\eta\) ensures the sum under \(bid\) is at most \(\hat{f} + 7n\eta \leq \hat{f} + 8n\eta\), thereby concluding the fourth bullet. ◻

8.3.1.1 Outcome of this section of MergeSolutions.

Let \[\mathcal{H}'', \mathcal{D}\mathcal{H}'' = \mathrm{\small CompleteSolution}_{(f,u)}((H'_1, \ldots, H'_p), (\mathcal{D}_0, \ldots, \mathcal{D}_{p-1}))\,,\] which is a valid call by [claim:1ststep95etavalid]. If \(\mathcal{H}''\) opens \(k\) regular facilities, we return this solution. Otherwise, as \((\mathcal{H}, \mathcal{D}\mathcal{H}, f,u)\) and \((\mathcal{H}', \mathcal{D}\mathcal{H}', f', u')\) sandwich \(k\), we must have that either \((\mathcal{H}, \mathcal{D}\mathcal{H}, f, u)\) and \((\mathcal{H}'', \mathcal{D}\mathcal{H}'', f, u)\), or \((\mathcal{H}'', \mathcal{D}\mathcal{H}'', f, u)\) and \((\mathcal{H}', \mathcal{D}\mathcal{H}', f', u')\) sandwich \(k\).

On the one hand, if \((\mathcal{H}'', \mathcal{D}\mathcal{H}'', f, u)\) and \((\mathcal{H}', \mathcal{D}\mathcal{H}', f',u')\) sandwich \(k\), then we made progress in that we now have two solutions with a common prefix of length \(p\) (instead of \(p-1\)) and exactly one parameter differs by at most \(\eta\). However, the new collection of copies \(\mathcal{D}''_p\) and \(\mathcal{D}'_p\) may not satisfy condition [condition-iv] regarding the bounds on the probabilities of direct connections (\(\pi\)). In this case, we proceed to 8.3.4 of phase \(p\).

On the other hand, if \((\mathcal{H}, \mathcal{D}\mathcal{H}, f,u)\) and \((\mathcal{H}'', \mathcal{D}\mathcal{H}'', f, u)\) sandwich \(k\), then these two solutions have the exact same parameters \(f\) and \(u\), have \(\mathcal{D}_{r}=\mathcal{D}''_{r}\) for every \(r\leq p-1\), and their first \(\eta\)-valid sequences that differ are \(H_p\) and \(H'_p\). In this case, we rename \(\mathcal{H}''\) to \(\mathcal{H}'\) (and \(\mathcal{D}\mathcal{H}''\) to \(\mathcal{D}\mathcal{H}'\)) and proceed to the next step.

8.3.2 Maximize Common Prefix of \(H_p\) and \(H'_p\)↩︎

We are given two solutions \((\mathcal{H}, \mathcal{D}\mathcal{H}, f,u)\) and \((\mathcal{H}', \mathcal{D}\mathcal{H}', f, u)\) on the same parameters \(f,u\) that sandwich \(k\). It is guaranteed that \(\forall r\leq p-1, \mathcal{D}_{r}=\mathcal{D}'_{r}\) in the history of collections of copies. Moreover, if we let \(\mathcal{H}= (H_1, \ldots, H_L)\) and \(\mathcal{H}' = (H'_1, \ldots, H'_{L'})\), then \(H_i = H'_i\) for \(i= 1, \ldots, p-1\) and \(H_p \neq H'_p\). In addition, \(H_p\) and \(H'_p\) only contain regular facilities.

In this step of MergeSolutions, we increase the common prefix of \(H_p\) and \(H'_p\) by “slowly” modifying \(H'_p\). As \(H_p\) only contains regular facilities, we let \(H_p = \langle i_1, i_2, \ldots, i_\ell \rangle\). Moreover, as the parameters \((f,u)\) and \(\mathcal{D}_1,\dots, \mathcal{D}_{p-1}\) are clear from the context, we omit them in the following when, e.g., using the definition of \(\eta\)-openability, and calling the procedures CompleteSolution and CompleteSequence.7

This subsection proceeds similarly to the approach in [17].

8.3.2.1 Transforming \(H'_p\) step-by-step so that \(H_p\) becomes a prefix.


Repeat the following until all of \(H_p\) becomes a prefix of \(H'_p\).

  • Let \(q\) be the largest index so that \(H'_p = \langle i_1, i_2, \ldots, i_q, h'_{q+1}, \ldots, h'_{\ell_1}\rangle\), i.e., \(q\) equals the length of the common prefix \(i_1, i_2, \ldots, i_q\) of \(H_p\) and \(H'_p\).

  • Update \(H'_p\) by inserting a free copy of \(i_{q+1}\), denoted \(\tilde{i}_{q+1}\), at the end of \(H'_p\) with \(u(\tilde{i}_{q+1}) = 0\). That is, we get the sequence \[\begin{gather} H'_p = \langle i_1, i_2, \ldots, i_q, h'_{q+1}, \ldots, h'_{\ell_1}, \tilde{i}_{q+1} \rangle. \end{gather}\]

  • For \(t = q+1 , \ldots, \ell_1\),

    • Update \(H'_p\) by first removing \(h'_t\) and then completing the sequence by a call to CompleteSequence. More explicitly, if \[\begin{align} H'_p = &\langle i_1, \ldots, i_q, h'_t, h'_{t+1} \ldots, h'_{\ell_1}, \tilde{i}_{q+1}, h'_{\ell_1+1}, \ldots, h'_{\ell_2}\rangle\\ \intertext{then we delete h'_t to obtain} H''_p = &\langle i_1, \ldots, i_q, h'_{t+1} \ldots, h'_{\ell_1}, \tilde{i}_{q+1}, h'_{\ell_1+1}, \ldots, h'_{\ell_2}\rangle\\ \intertext{and finally update H'_p = \mathrm{\small CompleteSequence}(H''_p) which will be of the form} &\langle i_1, \ldots, i_q, h'_{t+1}, \ldots, h'_{\ell_1}, \tilde{i}_{q+1}, h'_{\ell_1+1}, \ldots, h'_{\ell_2}, \ldots, h'_{\ell_3}\rangle\,, \end{align}\] where \(h'_{\ell_2+1},\ldots, h'_{\ell_3}\) are the facilities added by CompleteSequence(which could be empty).
  • After removing \(h'_{q+1}, \ldots, h'_{\ell_1}\), we have \[\begin{align} H'_p &= \langle i_1, i_2, \ldots, i_q, \tilde{i}_{q+1}, h'_{x}, \ldots, h'_{y}\rangle\,.\\ \intertext{We update H'_p by replacing \tilde{i}_{q+1} with its regular copy i_{q+1}, i.e., we obtain} H'_p &= \langle i_1, i_2, \ldots, i_q, i_{q+1}, h'_{x}, \ldots, h'_{y}\rangle\,. \end{align}\]

We have the following claim.

Throughout the updates to \(H'_p\), \(H'_1, \ldots, H'_p\) remain \(\eta\)-valid sequences, and \(H'_p\) contains at most one free facility.

Proof. As we never update \(f\) or the value \(u(\cdot)\) of a free facility in \(H'_1, \ldots, H'_{p-1}\), these sequences clearly remain \(\eta\)-valid.

We continue to argue that \(H'_p\) remains \(\eta\)-valid throughout its updates. By [claim:1ststep95etavalid], this is true before any updates to \(H'_p\). We now analyze the three types of updates to \(H'_p\).

  • Updating \(H'_p\) by inserting a free copy of \(i_{q+1}\) maintains that it is \(\eta\)-valid as every regular facility stays \(\eta\)-openable in the sequence (they have the same prefix as before) and the sequence remains maximal.

  • Updating \(H'_p\) by removing \(h'_t\) and calling CompleteSequence. Removing a \(h'_t\) leaves the new prefix as a subsequence of the old prefix. Thus, each subsequent regular facility is still \(\eta\)-openable with respect to the original sequence padded with \(h'_t\) (which acts as a valid super-sequence \(\mathcal{H}'\)). Finally, the call to CompleteSequence adds facilities until no more can be opened, ensuring that the sequence is maximal.

  • Updating \(H'_p\) by replacing \(\tilde{i}_{q+1}\) with its regular copy \(i_{q+1}\). First note that, since \(u(\tilde{i}_{q+1}) = 0\), this does not impact whether the following regular facilities are \(\eta\)-openable (with respect to a super-sequence), as the distances \(d^2(\tilde{i}_{q+1}, \cdot)\) and \(d^2(i_{q+1}, \cdot)\) are perfectly identical. By the same argument, the sequence stays maximal. Finally, to see that \(i_{q+1}\) is \(\eta\)-openable (with respect to a potential super-sequence), notice that the prefix \(i_1, \ldots, i_q\) is the same as that in \(H_p\), which is already known to be an \(\eta\)-valid sequence.

We complete the proof of the claim by arguing that \(H'_p\) contains at most one free facility at any point in time. This follows from the facts that (1) \(H'_p\) initially contains no free facilities, (2) in one repetition, the single free facility \(\tilde{i}_{q+1}\) is inserted into \(H'_p\), and (3) \(\tilde{i}_{q+1}\) is strictly replaced by its regular copy \(i_{q+1}\) before continuing to the next repetition. ◻

8.3.2.2 Outcome of this section of MergeSolutions.

We distinguish three cases.

8.3.2.3 Case 1.

If at some point \(H'_p\) is such that \(\mathrm{\small CompleteSolution}(H'_1, H'_2, \ldots, H'_p)\) opens exactly \(k\) facilities, then we return that solution.

8.3.2.4 Case 2.

Otherwise, suppose there is an update to \(H'_p\) so that if we let \(H^{\text{before}}_p\) and \(H^{\text{after}}_p\) denote \(H'_p\) before and after this update, respectively, then \(\mathrm{\small CompleteSolution}(H_1, H_2, \ldots, H^{\text{before}}_p)\) and \(\mathrm{\small CompleteSolution}(H_1, H_2, \ldots, H^{\text{after}}_p)\) sandwich \(k\). There are three kinds of updates to \(H'_p\). However, note that the update where \(\tilde{i}_{q+1}\) is replaced by its regular copy \(i_{q+1}\) cannot satisfy the conditions of this case. Indeed, as \(u(\tilde{i}_{q+1}) = 0\), we have \[\mathrm{\small CompleteSolution}(H_1, \ldots, H^{\text{before}}_p) = \mathrm{\small CompleteSolution}(H_1, \ldots, H^{\text{after}}_p)\] in this case, which contradicts that they sandwich \(k\).

We proceed to analyze the two other kinds of updates. If the update to \(H'_p\) is to insert a free facility \(\tilde{i}_{q+1}\) with \(u(\tilde{i}_{q+1}) = 0\), then \[\begin{align} H^{\text{before}}_p&= \langle i_1, i_2, \ldots, i_q, h'_{q+1}, \ldots, h'_{\ell_1} \rangle\\ H^{\text{after}}_p&= \langle i_1, i_2, \ldots, i_q, h'_{q+1}, \ldots, h'_{\ell_1}, \tilde{i}_{q+1} \rangle \end{align}\] Note that the solution \(\mathrm{\small CompleteSolution}(H_1, H_2, \ldots, H^{\text{before}}_p)\) is equivalent to \(\mathrm{\small CompleteSolution}(H_1, H_2, \ldots, H^{\text{after}}_p)\) if we set \(u(\tilde{i}_{q+1}) = 10M\) (except for the free facility \(\tilde{i}_{q+1}\)). We can thus do binary search on \(u(\tilde{i}_{q+1})\) to find two values \(u'(\tilde{i}_{q+1})\) and \(u(\tilde{i}_{q+1})\) with \(|u'(\tilde{i}_{q+1}) - u(\tilde{i}_{q+1})| \leq \eta\) so that the solutions \(\mathrm{\small CompleteSolution}_{(f,u')}(H_1, \ldots, H^{\text{after}}_p)\) and \(\mathrm{\small CompleteSolution}_{(f,u)}(H_1, \ldots, H^{\text{after}}_p)\) sandwich \(k\) (where \(u\) and \(u'\) are identical except for \(\tilde{i}_{q+1}\)). We can thus proceed to 8.3.4 of phase \(p\), since they have the first \(p\), instead of \(p-1\), \(\eta\)-valid sequences in common and exactly one difference parameter. Their maximality follows from that of \(H^{\text{before}}_p\).

Finally, consider when the update to \(H'_p\) is of the second type, i.e., \(u(\tilde{i}_{q+1}) = 0\) and \[\begin{align} H^{\text{before}}_p&= \langle i_1, \ldots, i_q, h'_t, h'_{t+1} \ldots, h'_{\ell_1}, \tilde{i}_{q+1}, h'_{\ell_1+1}, \ldots, h'_{\ell_2}\rangle\\ H^{\text{after}}_p&= \langle i_1, \ldots, i_q, h'_{t+1}, \ldots, h'_{\ell_1}, \tilde{i}_{q+1}, h'_{\ell_1+1}, \ldots, h'_{\ell_2}, \ldots, h'_{\ell_3}\rangle \end{align}\] In this case, \(\mathrm{\small CompleteSolution}(H_1, \ldots, H^{\text{before}}_p)\) and \(\mathrm{\small CompleteSolution}(H_1, \ldots, H^{\text{after}}_p)\) are two solutions with the same parameters \(f, u\), that sandwich \(k\) and we proceed to the next step with the following properties of \(H^{\text{before}}_p\) and \(H^{\text{after}}_p\):

  • Both sequences contain one free facility, \(\tilde{i}_{q+1}\).

  • \(H^{\text{before}}_p\) and \(H^{\text{after}}_p\) are identical except that (1) \(H^{\text{before}}_p\) contains a regular facility \(h'_t\) not present in \(H^{\text{after}}_p\), and (2) \(H^{\text{after}}_p\) contains a (potentially empty) suffix of regular facilities not present in \(H^{\text{before}}_p\).

8.3.2.5 Case 3.

None of the previous cases apply. Then, completing the solution with the initial \(H'_p\) and the final \(H'_p\) cannot sandwich \(k\). Since then (assuming the first case does not apply) there must be an update to \(H'_p\) that results in two solutions that sandwich \(k\), since the completion of \(H_p\) and the completion of the initial \(H'_p\) sandwich \(k\). The above implies that if we let \(H^{\text{before}}_p= H_p\) and \(H^{\text{after}}_p\) equal the final \(H'_p\), then \(\mathrm{\small CompleteSolution}(H_1, \ldots, H^{\text{before}}_p)\) and \(\mathrm{\small CompleteSolution}(H_1, \ldots, H^{\text{after}}_p)\) sandwich \(k\). Further note that since \(H^{\text{after}}_p\) equals \(H'_p\) after the final updates, \(H^{\text{before}}_p\) appears as a prefix of \(H^{\text{after}}_p\) and both sequences only contain regular facilities. To summarize, in this case, \(\mathrm{\small CompleteSolution}(H_1, \ldots, H^{\text{before}}_p)\) and \(\mathrm{\small CompleteSolution}(H_1, \ldots, H^{\text{after}}_p)\) are two solutions with the same parameters \(f, u\), that sandwich \(k\) and we proceed to the next step with the following properties of \(H^{\text{before}}_p\) and \(H^{\text{after}}_p\):

  • Both sequences contain no free facilities.

  • \(H^{\text{before}}_p\) and \(H^{\text{after}}_p\) are identical except that \(H^{\text{after}}_p\) contains a suffix of regular facilities not present in \(H^{\text{before}}_p\).

8.3.3 Removing Extra Facilities↩︎

This subsection proceeds almost identically to that of [17] (except that we will go to the next subroutine instead of finishing phase \(p\)). As in 8.3.2, the parameters \((f,u)\) and \(\mathcal{D}_1,\dots, \mathcal{D}_{p-1}\) are clear from the context, and we will omit them when using the definition of \(\eta\)-openability and calling the function CompleteSolution.

The input to this step consists of two solutions \(\mathrm{\small CompleteSolution}(H_1, \ldots, H^{\text{before}}_p)\) and \(\mathrm{\small CompleteSolution}(H_1,\ldots, H^{\text{after}}_p)\) that have the same parameters \(f, u\) and sandwich \(k\). Moreover, \(H^{\text{before}}_p\) and \(H^{\text{after}}_p\) both contain at most one free facility and they are identical except for two potential differences:

  • \(H^{\text{before}}_p\) may contain a facility not present in \(H^{\text{after}}_p\);

  • \(H^{\text{after}}_p\) contains a suffix of regular facilities (which may be empty) that is not present in \(H^{\text{before}}_p\).

To simplify notation in this section, we let \(i_*\) denote the regular facility in \(H^{\text{before}}_p\) that is not present in \(H^{\text{after}}_p\) if it exists (so \(i_*\) corresponds to \(h'_t\) in the previous section). We further let \(h_1, \ldots, h_\ell\) denote the suffix of \(H^{\text{after}}_p\) not present in \(H^{\text{before}}_p\).

We now transform \(H^{\text{after}}_p\) into \(H^{\text{before}}_p\) one change at a time:

8.3.3.1 Generation of \(\eta\)-valid sequences from \(H^{\text{after}}_p\) to \(H^{\text{before}}_p\).


  • If \(H^{\text{before}}_p\) contains the regular facility \(i_*\) not present in \(H^{\text{after}}_p\), then let \(\tilde{i}_*\) be a free copy of \(i_*\) with \(u(\tilde{i}_*) =0\) and obtain \(H^{0}_p\) from \(H^{\text{after}}_p\) by adding \(\tilde{i}_*\) at the end. Otherwise, we let \(H^0_p\) equal \(H^{\text{after}}_p\).

  • For \(r= 1, \ldots, \ell\), obtain \(H^r_p\) from \(H^{r-1}_p\) by removing \(h_r\).

We remark that \(H^\ell_p\) is identical to \(H^{\text{before}}_p\) since we removed the whole suffix \(h_1, \ldots, h_\ell\) present in \(H^{\text{after}}_p\), except for potentially the facility \(i_*\). That is, the only difference in \(H^{\text{before}}_p\) and \(H^\ell_p\) may be the placement of \(\tilde{i}_*\) and that \(\tilde{i}_*\) is a free copy of the regular facility \(i_*\) present in \(H^{\text{before}}_p\). However, since \(u(\tilde{i}_*) = 0\), we have that the two sequences \(H^{\text{before}}_p\) and \(H^\ell_p\) have an identical impact on CompleteSolution, which is a fact we use in the proof of [claim:3rdstep95outcome].

For \(r= 0, 1 \ldots \ell\), \(H^r_p\) is an \(\eta\)-valid sequence with at most two free facilities.

Proof. The sequence \(H^r_p\) has at most two free facilities because \(H^{\text{after}}_p\) has at most one free facility, and we potentially add one new free facility \(\tilde{i}_*\).

We now verify that \(H^r_p\) is \(\eta\)-valid. For any regular facility \(h'\) in the sequence, the prefix of \(H^r_p\) before \(h'\) is a subsequence of the prefix before \(h'\) in \(H^{\text{after}}_p\). Thus, as \(h'\) was openable with respect to a super-sequence \(\mathcal{H}(h')\) in \(H^{\text{after}}_p\), \(h'\) must be \(\eta\)-openable with respect to the same super-sequence \(\mathcal{H}(h')\) in \(H^r_p\). This ensures that the first property of 4 is satisfied. To verify maximality, notice that since we added \(\tilde{i}_*\) with \(u(\tilde{i}_*) =0\) at the end, we have that the set of active clients after opening up the facilities in \(H^r_p\) is a subset of the active clients after opening up the facilities in \(H^{\text{before}}_p\). Hence, the maximality of \(H^{\text{before}}_p\) implies the maximality of \(H^r_p\). ◻

One of the following is true.

  • For one of the sequences \(H^r_p\), \(\mathrm{\small CompleteSolution}(H_1, H_2, \ldots, H^r_p)\) opens \(k\) regular facilities.

  • \(\mathrm{\small CompleteSolution}(H_1, H_2, \ldots, H^{\text{after}}_p)\) and \(\mathrm{\small CompleteSolution}(H_1, H_2, \ldots, H^{0}_p)\) sandwich \(k\).

  • \(\mathrm{\small CompleteSolution}(H_1, H_2, \ldots, H^r_p)\) and \(\mathrm{\small CompleteSolution}(H_1, H_2, \ldots, H^{r+1}_p)\) sandwich \(k\) for an \(r\in \{0, 1, \ldots, \ell-1\}\).

Proof. Assume the first bullet point does not hold, i.e., the completion of no \(H^r_p\) leads to the opening of \(k\) regular facilities. Now notice that the second and third bullet points ask whether consecutive solutions sandwich \(k\), starting with \(H^{\text{after}}_p\) and ending with \(H^{\ell}_p\). By definition, \(H^{\ell}_p\) equals \(H^{\text{before}}_p\) except potentially for the placement of \(\tilde{i}_*\) and that \(\tilde{i}_*\) is the free copy of \(i_*\) present in \(H^{\text{before}}_p\). However, as \(u(\tilde{i}_*) = 0\), the two sequences have an identical impact when we complete the solution, which implies \[\mathrm{\small CompleteSolution}(H_1, \ldots, H^{\ell}_p) = \mathrm{\small CompleteSolution}(H_1, \ldots, H^{\text{before}}_p).\] Thus, as \(\mathrm{\small CompleteSolution}(H_1, \ldots, H^{\text{after}}_p)\) and \(\mathrm{\small CompleteSolution}(H_1, \ldots, H^{\text{before}}_p)\) sandwich \(k\), either the second or third bullet point of the statement must be valid (since no solution opened exactly \(k\) regular facilities). ◻

8.3.3.2 Outcome of this section of MergeSolutions.

We distinguish three cases based on the first bullet point that is true in the above claim.

8.3.3.3 Case 1.

If one of the sequences \(H^r_p\) is such that \(\mathrm{\small CompleteSolution}(H_1, H_2, \ldots, H^r_p)\) opens \(k\) regular facilities, then we return that solution.

8.3.3.4 Case 2.

Otherwise, if the two solutions \(\mathrm{\small CompleteSolution}(H_1, H_2, \ldots, H^{\text{after}}_p)\) and
\(\mathrm{\small CompleteSolution}(H_1, H_2, \ldots, H^{0}_p)\) sandwich \(k\), then \(H^0_p\) is equal to \(H^{\text{after}}_p\) except that \(\tilde{i}_*\) was added at the end of \(H^{\text{after}}_p\) with \(u(\tilde{i}_*) = 0\). Note that the solution \(\mathrm{\small CompleteSolution}(H_1, H_2, \ldots, H^{\text{after}}_p)\) is equivalent to \(\mathrm{\small CompleteSolution}(H_1, H_2, \ldots, H^0_p)\) if we set \(u(\tilde{i}_*) = 10M\) (except for the presence of \(\tilde{i}_*\)). We can thus do a binary search on \(u(\tilde{i}_*)\) to find two values \(u'(\tilde{i}_*)\) and \(u(\tilde{i}_*)\) with \(|u'(\tilde{i}_*) - u(\tilde{i}_*)| \leq \eta\) so that the two solutions \(\mathrm{\small CompleteSolution}_{(f,u')}(H_1, \ldots, H^0_p)\) and \(\mathrm{\small CompleteSolution}_{(f,u)}(H_1, \ldots, H^0_p)\) sandwich \(k\) (where \(u\) and \(u'\) are identical except for \(\tilde{i}_*\)). We can thus proceed to 8.3.4 of phase \(p\), since they have the first \(p\), instead of \(p-1\), \(\eta\)-valid sequences in common and exactly one difference parameter.

8.3.3.5 Case 3.

Finally, consider the case when none of the above cases apply and (thus by the above claim) there is an \(r\in \{0, 1, \ldots, \ell-1\}\) so that \(\mathrm{\small CompleteSolution}(H_1, H_2, \ldots, H^r_p)\) and \(\mathrm{\small CompleteSolution}(H_1, H_2, \ldots, H^{r+1}_p)\) sandwich \(k\). The only difference between \(H^r_p\) and \(H^{r+1}_p\) is that \(H^r_p\) contains \(h_{r+1}\) which is not present in \(H^{r+1}_p\). Let \(H_p\) be the sequence obtained by adding a free copy \(\tilde{i}_{r+1}\) of \(h_{r+1}\) at the end of \(H^{r+1}_p\) (which clearly maintains that it is \(\eta\)-valid), then \[\begin{align} \mathrm{\small CompleteSolution}(H_1, H_2, \ldots, H_p) &= \mathrm{\small CompleteSolution}(H_1, H_2, \ldots, H^r_p)if u(\tilde{i}_{r+1}) = 0\\ \intertext{and} \mathrm{\small CompleteSolution}(H_1, H_2, \ldots, H_p) &= \mathrm{\small CompleteSolution}(H_1, H_2, \ldots, H^{r+1}_p)if u(\tilde{i}_{r+1}) = 10M. \end{align}\] Hence, doing a binary search on \(u(\tilde{i}_{r+1})\) as in the previous case can proceed to 8.3.4 of phase \(p\), since they have the first \(p\), instead of \(p-1\), \(\eta\)-valid sequences in common and exactly one difference parameter.

8.3.4 Making the Probability of Direct Connects Almost Identical↩︎

The input of this step consists of solutions \((\mathcal{H}, \mathcal{D}\mathcal{H}, f, u)\) and \((\mathcal{H}, \mathcal{D}\mathcal{H}', f', u')\) such that \((f,u)\) and \((f',u')\) have at most one difference parameter. Moreover, the two solutions sandwich \(k\). However, \(\mathcal{D}_p\) and \(\mathcal{D}'_p\) are simply obtained from \(\mathcal{D}_{p-1}\) and \(\mathcal{D}'_{p-1}\) respectively by running CompleteCopies. In this step, we will walk between the collection of copies \(\mathcal{D}_{p}\) and \(\mathcal{D}'_p\) following 5 so that condition [condition-iv] holds for phase \(p\).

We follow the procedure below twice. Suppose that \(S=\cup_{r\in [p]} H_r\). Suppose that \(d, d'\) are the pairwise distances induced by \(u, u'\). One run is to transform \((\mathcal{D}_p, \mathcal{D}_{p-1}, d)\) towards \((\mathcal{D}'_p,\mathcal{D}'_{p-1}, d')\). The other run is to transform \((\mathcal{D}'_p, \mathcal{D}'_{p-1}, d')\) towards \((\mathcal{D}_p, \mathcal{D}_{p-1}, d)\).

8.3.4.1 Transforming connection types in \((\mathcal{D},\tilde{\mathcal{D}}, d)\) towards \((\mathcal{D}', \tilde{\mathcal{D}}', d')\)


Repeat the following.

  • Find a copy \(j\) in \(\mathcal{D}\) and \(j'\) in \(\mathcal{D}'\) such that

    • \(j\) and \(j'\) correspond to the same client,

    • \(j\) and \(j'\) are both of type \(IC\) or \(A\) in \(\tilde{\mathcal{D}}\) and \(\tilde{\mathcal{D}}'\),

    • \(j\) is of type \(DC\) in \(\mathcal{D}\) while \(j'\) is of type \(IC\) or \(A\) in \(\mathcal{D}'\).

    If no such client exists, then stop the process.

  • Update \(\mathcal{D}\) by changing \(j\) to \(IC\) type and update the \(\alpha\)-value \(\alpha_j\) to \((1-\delta)d^2(j,S)\).

After running the two procedures, we can obtain a sequence of solutions \(\tilde{\mathcal{D}}_0=\mathcal{D}_p, \tilde{\mathcal{D}}_1, \ldots, \tilde{\mathcal{D}}_m\) by the first run, while another sequence of solutions \(\tilde{\mathcal{D}}'_0=\mathcal{D}'_p, \tilde{\mathcal{D}}'_1, \ldots, \tilde{\mathcal{D}}'_{m'}\) is obtained by the second run. First, we show that all \(\tilde{\mathcal{D}}_r\) and \(\tilde{\mathcal{D}}'_{r}\) are valid collections of copies.

Consider time \(\theta=(1+\varepsilon^3)^{p-1}\). For any \(r\in [m]\), \(\tilde{\mathcal{D}}_r\) is valid with respect to \(\theta, (H_1,\dots, H_p), \mathcal{D}_{p-1}\). For any \(r\in [m']\), \(\tilde{\mathcal{D}}'_r\) is valid with respect to \(\theta, (H'_1,\dots, H'_p), \mathcal{D}'_{p-1}\).

Proof. We prove the claim for \(\tilde{\mathcal{D}}_r\); the proof for \(\tilde{\mathcal{D}}'_r\) is symmetric. We proceed by induction on \(r\).

For the base case when \(r=0\), because \(\tilde{\mathcal{D}}_0 = \mathcal{D}_p\), by the definition of CompleteCopies, we have that \(\tilde{\mathcal{D}}_0\) is perfectly valid with respect to \(\theta, (H_1,\dots, H_p), \mathcal{D}_{p-1}\).

Next, we consider the induction step when \(r>0\). Suppose \(\tilde{\mathcal{D}}_{r-1}\) is valid with respect to \(\theta, (H_1,\dots, H_p), \mathcal{D}_{p-1}\). In the procedure, we update \(\tilde{\mathcal{D}}_{r-1}\) to \(\tilde{\mathcal{D}}_r\) by changing a copy \(j\) from type \(DC\) to type \(IC\). To show that \(\tilde{\mathcal{D}}_r\) is valid with respect to \(\theta, (H_1,\dots, H_p), \mathcal{D}_{p-1}\), we need to show that its original \(\alpha\)-value in \(\mathcal{D}_{p-1}\) satisfies the slack condition: \(\rho(1-\delta)d^2(j,S) \leq \alpha_j \leq \rho(1-\delta)d^2(j, S) + 4\eta\).

First, because \(j\) was \(IC\) or \(A\) in \(\mathcal{D}_{p-1}\) but became \(DC\) in \(\mathcal{D}_p\), it must have triggered the \(DC\) conversion during RetrieveNewCopies against the newly opened facilities \(H_p\). Therefore, it strictly satisfied \(\alpha_j \geq \rho(1-\delta)d^2(j, H_p)\). Since \(S = S_{\text{old}} \cup H_p\), we trivially have \(d^2(j, S) \leq d^2(j, H_p)\), satisfying the lower bound \(\alpha_j \geq \rho(1-\delta)d^2(j, S)\).

Second, suppose that \(j'\) is the corresponding copy of \(j\) in \(\mathcal{D}'_{p-1}\) (used in the above procedure), with dual value \(\alpha'_{j'}\). Since \(j, j'\) are of type \(IC\) or \(A\) in \(\mathcal{D}_{p-1}, \mathcal{D}'_{p-1}\) respectively, and \(u, u'\) differ in at most one parameter by at most \(\eta\), [claim:closeness95alpha-values] gives \(|\alpha_j-\alpha'_{j'}| \leq \eta\).

To bound \(\alpha'_{j'}\), we look at its behavior under \(d'\). Because \(j'\) was \(IC\) or \(A\) in the valid collection \(\mathcal{D}'_{p-1}\), its value is exactly \((1-\delta)d'^2(j, S_{\text{old}})\) or \(\theta\) (with \(\theta < (1-\delta)d'^2(j, S_{\text{old}})\)). In either case, since \(\rho > 1\), it strictly satisfies \(\alpha'_{j'} \leq \rho(1-\delta)d'^2(j, S_{\text{old}})\). Furthermore, since it remains of type \(IC\) or \(A\) in \(\mathcal{D}'_{p}\), it did not trigger the RetrieveNewCopies conversion under \(d'\) against \(H_p\), meaning \(\alpha'_{j'} < \rho(1-\delta)d'^2(j, H_p)\). Combining these bounds against \(S_{\text{old}}\) and \(H_p\), we establish its bound against the full set \(S = S_{\text{old}} \cup H_p\): \[\alpha'_{j'} \leq \rho(1-\delta) \min(d'^2(j, S_{\text{old}}), d'^2(j, H_p)) = \rho(1-\delta)d'^2(j, S)~.\]

Finally, because \(u\) and \(u'\) differ by at most \(\eta\), we have \(d'^2(j, S) \leq d^2(j, S) + \eta\). Therefore, we can tightly bound \(\alpha_j\) against \(d\): \[\begin{align} \alpha_j \leq \alpha'_{j'} + \eta &\leq \rho(1-\delta)d'^2(j, S) + \eta \\ &\leq \rho(1-\delta)(d^2(j, S) + \eta) + \eta \\ &= \rho(1-\delta)d^2(j, S) + \rho(1-\delta)\eta + \eta \\ &\leq \rho(1-\delta)d^2(j, S) + (1+\rho)\eta\\ &\leq \rho(1-\delta)d^2(j,S) + 4\eta~. \end{align}\] Therefore, the original \(\alpha_j\) value securely satisfies the required \(4\eta\) validity bounds. After updating \(j\)’s type to \(IC\) and setting its new \(\alpha\)-value to \((1-\delta)d^2(j,S)\), all conditions in 5 hold for \(\tilde{\mathcal{D}}_r\). This completes the induction. ◻

Second, we show that \(\tilde{\mathcal{D}}_m\) and \(\tilde{\mathcal{D}}'_{m'}\) are close enough so that condition [condition-iv] holds for them.

Fix any client \(j\). Suppose \(\pi(j), \pi'(j)\) are the probabilities of direct connects for \(j\) in \(\tilde{\mathcal{D}}_m\) and \(\tilde{\mathcal{D}}'_{m'}\) respectively. Then, \(|\pi(j) - \pi'(j)| \leq \eta/M\).

Proof. Because client \(j\) has at most one copy of type \(IC\) or \(A\) in both \(\tilde{\mathcal{D}}_m\) and \(\tilde{\mathcal{D}}'_{m'}\), we can use the mass of this unique \(IC\) or \(A\) copy (if any) to determine the exact \(DC\) probabilities \(\pi(j)\) and \(\pi'(j)\). Suppose \(\tilde{\pi}(j), \tilde{\pi}'(j)\) are the probabilities of direct connects for \(j\) in \(\mathcal{D}_{p-1}\) and \(\mathcal{D}'_{p-1}\) respectively. Let \(\tilde{j}\) and \(\tilde{j}'\) be the unique copies of type \(IC\) or \(A\) for client \(j\) in \(\mathcal{D}_{p-1}\) and \(\mathcal{D}'_{p-1}\) respectively (if they exist).

If one of them does not exist (meaning the client is fully \(DC\) in that historical state), because we have the invariant \(|\tilde{\pi}(j)-\tilde{\pi}'(j)|\leq \eta/M\), we must have \(\tilde{\pi}(j), \tilde{\pi}'(j) \geq 1-\eta/M\). The walking procedure only acts to revert copies that were \(IC/A\) in the previous phase; it does not convert historical \(DC\) copies. Thus, the historical \(DC\) mass is permanent, meaning \(\pi(j) \geq \tilde{\pi}(j)\) and \(\pi'(j) \geq \tilde{\pi}'(j)\). This mathematically restricts both final probabilities to the top of the interval \([1-\eta/M, 1]\), strictly ensuring \(|\pi(j) - \pi'(j)| \leq \eta/M\).

Next, we consider the case when both \(\tilde{j}\) and \(\tilde{j}'\) exist. Because we run the bidirectional walking procedures until no more possible updates can be made, it is impossible for \(\tilde{j}\) and \(\tilde{j}'\) to end up with divergent types (one \(DC\) and one \(IC/A\)). Therefore, we have only two possible atomic outcomes for these specific copies:

  1. They both evaluate to type \(DC\) in \(\tilde{\mathcal{D}}_m\) and \(\tilde{\mathcal{D}}'_{m'}\). Because \(\tilde{j}\) and \(\tilde{j}'\) hold the entirety of the non-\(DC\) mass (exactly \(1-\tilde{\pi}(j)\) and \(1-\tilde{\pi}'(j)\) respectively), converting them to \(DC\) forces the total \(DC\) probability to \(\tilde{\pi}(j) + (1-\tilde{\pi}(j)) = 1\). Thus, \(\pi(j) = \pi'(j) = 1\), yielding a difference of \(0\).

  2. They both evaluate to type \(IC/A\), meaning the procedure reverted any \(DC\) conversions from this phase. In this case, the \(DC\) probabilities remain exactly their historical values: \(\pi(j)=\tilde{\pi}(j)\) and \(\pi'(j)=\tilde{\pi}'(j)\). By our inductive promise, their difference is bounded by \(\eta/M\).

In all cases, we strictly maintain the invariant \(|\pi(j) - \pi'(j)| \leq \eta/M\). ◻

8.3.4.2 The outcome of this section of MergeSolutions.

Because the previous subroutines successfully aligned the opened facilities up to phase \(p\), we have \(H'_i = H_i\) for all \(i \le p\). We can thus obtain a sequence of solutions as follows: \[\begin{align} \mathcal{H}^{(0)}, \mathcal{D}\mathcal{H}^{(0)} &= \mathrm{\small CompleteSolution}_{f,u}((H_1,\dots, H_p), (\mathcal{D}_0, \dots, \mathcal{D}_{p-1}, \tilde{\mathcal{D}}_0))\\ \mathcal{H}^{(1)}, \mathcal{D}\mathcal{H}^{(1)} &= \mathrm{\small CompleteSolution}_{f,u}((H_1,\dots, H_p), (\mathcal{D}_0, \dots, \mathcal{D}_{p-1}, \tilde{\mathcal{D}}_1))\\ \hfill \vdots \hfill \\ \mathcal{H}^{(m)}, \mathcal{D}\mathcal{H}^{(m)} &= \mathrm{\small CompleteSolution}_{f,u}((H_1,\dots, H_p), (\mathcal{D}_0, \dots, \mathcal{D}_{p-1}, \tilde{\mathcal{D}}_m))\\ \mathcal{H}^{(m+1)}, \mathcal{D}\mathcal{H}^{(m+1)} &= \mathrm{\small CompleteSolution}_{f',u'}((H_1,\dots, H_p), (\mathcal{D}'_0, \dots, \mathcal{D}'_{p-1}, \tilde{\mathcal{D}}'_{m'}))\\ \mathcal{H}^{(m+2)}, \mathcal{D}\mathcal{H}^{(m+2)} &= \mathrm{\small CompleteSolution}_{f',u'}((H_1,\dots, H_p), (\mathcal{D}'_0, \dots, \mathcal{D}'_{p-1}, \tilde{\mathcal{D}}'_{m'-1}))\\ \hfill \vdots \hfill \\ \mathcal{H}^{(m+m'+1)}, \mathcal{D}\mathcal{H}^{(m+m'+1)} &= \mathrm{\small CompleteSolution}_{f',u'}((H_1,\dots, H_p), (\mathcal{D}'_0, \dots, \mathcal{D}'_{p-1}, \tilde{\mathcal{D}}'_0)) \end{align}\]

It is clear that the first one and the last one sandwich \(k\). Therefore, there must be two consecutive solutions in the above sequence that sandwich \(k\). We can discuss two cases then.

8.3.4.3 Case 1.

If \((\mathcal{H}^{(m)},\mathcal{D}\mathcal{H}^{(m)})\) and \((\mathcal{H}^{(m+1)}, \mathcal{D}\mathcal{H}^{(m+1)})\) sandwich \(k\), according to [clm:validD-duringwalk] and [clm:closeD-afterwalk], we can proceed to phase \(p+1\) of MergeSolutions with these two solutions. Since the connection types in \(\tilde{\mathcal{D}}_m\) and \(\tilde{\mathcal{D}}'_{m'}\) are perfectly aligned, the only difference between the two solutions is the original difference parameter (either \(f \neq f'\) or \(u \neq u'\)). They share the first \(p\) sequences in common, satisfy condition [condition-iv], and differ by exactly one difference parameter.

8.3.4.4 Case 2.

Suppose that \((\mathcal{H}^{(r)},\mathcal{D}\mathcal{H}^{(r)})\) and \((\mathcal{H}^{(r+1)},\mathcal{D}\mathcal{H}^{(r+1)})\) sandwich \(k\) for some \(r\neq m\). Without loss of generality, we assume that \(r < m\) (the other case is symmetric). Suppose \(j\) is the copy whose connection type differs in \(\tilde{\mathcal{D}}_r\) and \(\tilde{\mathcal{D}}_{r+1}\), where \(j\) is of type \(DC\) in \(\tilde{\mathcal{D}}_r\) while \(j\) is of type \(IC\) in \(\tilde{\mathcal{D}}_{r+1}\). We observe that condition [condition-iv] only fails on the client corresponding to copy \(j\).

We can further split this copy \(j\) by choosing \(\mu'\in [0,\mu(j)]\) such that one copy \(j^{(1)}\) has \(IC\) type with probability \(\mu'\) and the other copy \(j^{(2)}\) has \(DC\) type with probability \(\mu(j)-\mu'\). We denote the resulting collection of copies by \(\tilde{\mathcal{D}}^{\rm sp}(\mu')\). According to [clm:validD-duringwalk], because \(\tilde{\mathcal{D}}_r\) and \(\tilde{\mathcal{D}}_{r+1}\) are valid collections of copies, any interpolation \(\tilde{\mathcal{D}}^{\rm sp}(\mu')\) is a valid collection of copies. Therefore, we can obtain a solution \((\mathcal{H}^{\rm sp}(\mu'), \mathcal{D}\mathcal{H}^{\rm sp}(\mu'))\) by calling \(\mathrm{\small CompleteSolution}_{f,u}((H_1,\dots, H_p), (\mathcal{D}_0, \dots, \mathcal{D}_{p-1}, \tilde{\mathcal{D}}^{\rm sp}(\mu')))\).

By binary searching \(\mu'\), we can find two values \(\mu_1'\) and \(\mu_2'\) with \(|\mu_1'-\mu_2'|\leq \eta/M\) in polynomial time such that the two solutions \((\mathcal{H}^{\rm sp}(\mu'_1), \mathcal{D}\mathcal{H}^{\rm sp}(\mu'_1))\) and \((\mathcal{H}^{\rm sp}(\mu'_2), \mathcal{D}\mathcal{H}^{\rm sp}(\mu'_2))\) sandwich \(k\).

Because the overall probabilities of direct connections for client \(j\) in the two resultant solutions \((\mathcal{D}\mathcal{H}^{\rm sp}(\mu'_1))_p\) and \((\mathcal{D}\mathcal{H}^{\rm sp}(\mu'_2))_p\) differ by exactly \(|\mu'_1 - \mu'_2|\), and we bounded this difference by \(\eta/M\), these two solutions satisfy condition [condition-iv]. We can then proceed to phase \(p+1\) of MergeSolutions with these two solutions: they have the first \(p\) \(\eta\)-valid sequences in common, utilize identical parameters \((f, u)\), and the newly established parameter between them is exactly the connection probability mass \(\mu'\) (which is not viewed as a difference parameter).

8.4 Analysis of the Robust Algorithm↩︎

In this subsection, we prove [thm:robust], restated as follows, showing that a solution \((\mathcal{H}=(H_1,\dots, H_L), \mathcal{D}\mathcal{H}=(\mathcal{D}_0,\mathcal{D}_1,\dots, \mathcal{D}_L))\) consisting of \(\eta\)-valid sequences and valid collections of copies yields an almost LMP \(\Gamma\)-approximation. This subsection follows the same logic as Subsection 5.4 from [21], the main difference is in establishing the constraints for the Dual Payment, which are different for this new algorithm.

Our analysis closely follows that of LogAdaptiveAlgorithm in 7. However, one key difference is that in the current setting, each client \(j\in D\) may have multiple copies in its collection of copies \(D_j\). Older setting in 7 can be seen as a special case where each client has only one weighted copy. To close the gap between the two settings, for each copy \(\tilde{j} \in \mathcal{D}_L\) in the final collection of copies, it induces a corresponding weighted client with weight \(\mu(\tilde{j})\), which is equal to the probability mass of the copy \(\tilde{j}\) in \(\mathcal{D}_L\). For simplicity, in the rest of this subsection, we will call these induced clients by the copies simply as “clients” and call the clients in \(D\) as “original clients”. We will simply use \(j\) to denote such a client, and use \(oc(j)\) to denote its corresponding “original client”. Also, we will use the terminology clients and copies interchangeably later in the analysis.

We can keep track of how each copy splits in each \(\mathcal{D}_p\) for \(p=1,\dots,L\). In this way, for each copy in \(\mathcal{D}_L\), we can know which copy it belongs to in any \(\mathcal{D}_p\) for each \(p=1,\dots, L\). For simplicity, we will split each copy \(j\) in \(\mathcal{D}_p\) into multiple copies \(j_1, \dots, j_r\) in \(\mathcal{D}_L\) which all belong to it. These \(j_1, \dots, j_r\) will keep their own probability mass in \(\mathcal{D}_p\), but their connection types (\(A, DC, IC\)) and \(\tilde{\alpha}\)-values (if not of type \(DC\)) will be inherited from \(j\) in \(\mathcal{D}_p\). After processing this splitting, we can view \(\mathcal{D}_1,\dots, \mathcal{D}_{L}\) as the history of how each copy in \(\mathcal{D}_L\) evolves from phase \(1\) to phase \(L\). Further, the split process in the definition of “valid collection of copies” (5) can be regarded as turning some copies in each \(\mathcal{D}_p\) from \(DC\) to \(IC\).

One more issue to address is that in the collections of copies, we only maintain \(\alpha\)-values for active or indirectly connected copies. We may lose track of the \(\alpha\)-values of directly connected copies. To handle this issue, we define the \(\alpha\)-value for each copy using the following procedure. We remark that this procedure is only for analysis purposes. The sequence of sequences \(\mathcal{H}\) is enough for us to recover a solution. Hence, we do not need to pay attention to the time complexity of this procedure.

Figure 5: image.

For RecoverAlpha, we have the following remarks:

  • In the definition of the process, we will view free facilities and regular facilities equivalently (especially when we run RetrieveNewCopies), but in the later analysis of dual payment and [thm:robust], we still distinguish between them.

  • The steps I) and II) in Stage 1 are well-defined since \(H_p\) is \(\eta\)-valid with respect to \(\theta, (H_1,\dots, H_{p-1}), \mathcal{D}_{p-1}\) (4).

  • In Step IV) in Stage 1, we have two different ways to define \(R_j\) variables for newly directly connected clients. The reason we need different definitions is that \(h_t\) is only openable with respect to a super-sequence. If a client \(j\) is viewed as directly connected w.r.t. the super-sequence, we define \(R_j\) maximally, by enforcing \(R^2_j=\alpha_j/\rho\), because the \((\rho-1)\alpha_j/\rho\) part of \(\alpha_j\) will no longer be used for opening other facilities (see, the proof 33). Otherwise, we define \(R_j\) as usual, by \(R_j = \sqrt{1-\delta} d(j,h_t)\). This is a new feature for our analysis, compared with [21].

  • We can show that RecoverAlpha produces the same solution as \((\mathcal{H}, \mathcal{D}\mathcal{H})\) by comparing RecoverAlpha with RetrieveNewCopies, CompleteCopies and the definition of valid collection of copies (5):

    • In Stage 1, step III) of RecoverAlpha opens facilities in \(H_p\) one by one; and then step IV) of RecoverAlpha updates the \(\alpha\)-values and connection types of all clients in exactly the same way as RetrieveNewCopies.

    • In Stage 2, steps i) and ii) of RecoverAlpha update the \(\alpha\)-values and connection types of all clients in exactly the same way as the second step of CompleteCopies. Step iii) of RecoverAlpha moves some directly connected clients to indirectly connected, which is exactly the same as the split process in 5 under our viewpoint. We shall remark that all copies moved from \(DC\) to \(IC\) are those in \(IC\cup A\) in \(\mathcal{D}_{p-1}\) because of our algorithm in 8.3.4.

Throughout the analysis, we let \(\alpha_j^*\) be the final \(\alpha\)-value of client \(j\in \mathcal{D}_L\). With this RecoverAlpha procedure, we can prove two key lemmas, 33 34, that are analogs of [lem:approx_guarantee_logadaptive,lem:dual-feasibility-logadaptive], respectively. The proofs of them are almost identical to that for LogAdaptiveAlgorithm. There are only three minor changes:

  1. 3 of \(\eta\)-openability allows for a facility to be paid up to an \(8n\eta\)-additive difference and ensures every facility not to be overbid up to an \(8n\eta\)-additive difference. The first difference only appears in 33 below, while the second difference only appears in 34. These differences reflect in step I) and II) of stage 1.

  2. 4 of an \(\eta\)-valid sequence allows \(h_t\) is \(\eta\)-openable with respect to a super sequence \(\mathcal{H}'\supseteq \mathcal{H}\oplus(\{h_1,\dots,h_{t-1}\})\). This difference appears in the proof of 33, and (the last part of) the proof of 34, an analog of 30. This difference reflects in step I), II) and IV) of stage 1. In particular, a significant difference is in the proof of \(r_{jt}\leq R_j\) (36).

  3. 5 of valid collections of copies allows for some directly connected copies to be moved to indirectly connected in Stage 2 of each phase. This difference only appears in (the last part of) the proof of 33 and the (first part of) the proof of 34. This difference reflects in step iii) of stage 2.

The combination of these two lemmas will imply [thm:robust].

Proof of [thm:robust]. For each original client \(x\in D\), let \[D_x=\{j\in \mathcal{D}_L: oc(j)=x\}.\] Define \[\alpha_x := \sum_{j\in D_x} w(j)\cdot \bigl(\alpha^*_j-(\rho-1)R_j^2\bigr).\] Since all copies of \(x\) are located at the same point as \(x\), they have the same distance to every facility as \(x\) does. Also, \[\sum_{j\in D_x}w(j)=1.\]

Let \[\Gamma' := \Gamma+201\sqrt{\varepsilon}, \qquad \Lambda := \Gamma' + 20n\eta,\] and run the robust algorithm with \[\hat{f} := \Lambda f + 12n\eta.\] Equivalently, \[\hat{f}-12n\eta=\Lambda f.\]

By 33, we have \[\begin{align} \sum_{x\in D} d^2(x,S) &= \sum_{j\in \mathcal{D}_L} w(j)d^2(j,S) \notag\\ &\le \frac{ \sum_{j\in \mathcal{D}_L}w(j) \bigl(\alpha^*_j-(\rho-1)R_j^2\bigr) -|S_{\mathsf{reg}}|(\hat{f}-12n\eta) }{1-\delta} \notag\\ &= \frac{ \sum_{x\in D}\alpha_x -|S_{\mathsf{reg}}|\Lambda f }{1-\delta}. \label{eqn:approx-ratio-robust-corrected} \end{align}\tag{48}\]

We next prove that \(\alpha/\Lambda\) is feasible for the dual of the facility location LP with opening cost \(f\). Fix any regular facility \(i\). By 34, convexity of \([z]^+=\max\{z,0\}\), and \(\sum_{j\in D_x}w(j)=1\), we get \[\begin{align} \sum_{x\in D}[\alpha_x-\Gamma'd^2(i,x)]^+ &= \sum_{x\in D} \left[ \sum_{j\in D_x}w(j) \bigl(\alpha^*_j-(\rho-1)R_j^2\bigr) -\Gamma'd^2(i,x) \right]^+ \notag\\ &= \sum_{x\in D} \left[ \sum_{j\in D_x}w(j) \bigl(\alpha^*_j-(\rho-1)R_j^2-\Gamma'd^2(i,j)\bigr) \right]^+ \notag\\ &\le \sum_{x\in D}\sum_{j\in D_x}w(j) \left[ \alpha^*_j-(\rho-1)R_j^2-\Gamma'd^2(i,j) \right]^+ \notag\\ &\le \hat{f}+8n\eta. \label{eqn:dual-feasibility-original-robust-corrected} \end{align}\tag{49}\]

Let \[D^* := \{x\in D:\alpha_x>\Lambda d^2(i,x)\}.\] If \(D^*=\emptyset\), then \[\sum_{x\in D}[\alpha_x-\Lambda d^2(i,x)]^+=0 \le \Lambda f.\] Otherwise, \[\begin{align} \sum_{x\in D}[\alpha_x-\Lambda d^2(i,x)]^+ &= \sum_{x\in D^*} \bigl(\alpha_x-\Lambda d^2(i,x)\bigr) \notag\\ &= \sum_{x\in D^*} \bigl(\alpha_x-\Gamma'd^2(i,x)\bigr) -20n\eta\sum_{x\in D^*}d^2(i,x) \notag\\ &\le \sum_{x\in D}[\alpha_x-\Gamma'd^2(i,x)]^+ -20n\eta\sum_{x\in D^*}d^2(i,x) \notag\\ &\le \hat{f}+8n\eta -20n\eta\sum_{x\in D^*}d^2(i,x). \label{eqn:dual-feasibility-shifted-intermediate} \end{align}\tag{50}\] Every \(x\in D^*\) satisfies \(d^2(i,x)\ge 1\) (because of the assumptions we made in 5 32 for the metric and Euclidean cases respectively). Since \(D^*\neq\emptyset\), this implies \[\sum_{x\in D^*}d^2(i,x)\ge 1.\] Therefore, from 50 , \[\sum_{x\in D}[\alpha_x-\Lambda d^2(i,x)]^+ \le \hat{f}+8n\eta-20n\eta = \hat{f}-12n\eta = \Lambda f.\] Thus, for every regular facility \(i\), \[\sum_{x\in D} \left[ \frac{\alpha_x}{\Lambda}-d^2(i,x) \right]^+ \le f.\] Together with \(\alpha_x\ge 0\), this shows that \(\alpha/\Lambda\) is feasible for the dual of the facility location LP with opening cost \(f\). Hence, \[\sum_{x\in D}\frac{\alpha_x}{\Lambda} \le opt_{\rm LP}(f).\]

Plugging this into 48 , we obtain \[\begin{align} \sum_{x\in D}d^2(x,S) &\le \frac{\Lambda}{1-\delta} \left( \sum_{x\in D}\frac{\alpha_x}{\Lambda} -|S_{\mathsf{reg}}|f \right)\\ &\le \frac{\Lambda}{1-\delta} \left( opt_{\rm LP}(f)-|S_{\mathsf{reg}}|f \right)\\ &= \frac{\Gamma+201\sqrt{\varepsilon}+20n\eta}{1-\delta} \left( opt_{\rm LP}(f)-|S_{\mathsf{reg}}|f \right). \end{align}\] This completes the proof. ◻

Note the weights satisfy \(\sum_{j\in \mathcal{D}_L} w(j) = n\) because each original client has total weight \(1\) over all its copies. In the rest of this subsection, we focus on proving 33 34. Because it is clear in the context we will only consider the copies as the clients, we will assume \(D=\mathcal{D}_L\) in the proof and omit the “original clients” for simplicity. We start by showing the dual payment guarantee with respect to \(\alpha^*\), and then we prove that \((\alpha^*_j-(\rho-1)R^2_j)_{j\in D}\) is a feasible solution to the dual after appropriate scaling.

8.4.1 Dual Payment↩︎

Lemma 33. We have \(\sum_{j\in\mathcal{D}_L} w(j) \cdot \left[ (1-\delta)d^2(j,S) + (\rho-1)R_j^2 \right] + \sum_{i\in S_{\mathsf{reg}}}(\hat{f} - 12n\eta) \leq \sum_{j\in \mathcal{D}_L} w(j) \cdot \alpha^*_j\).

Proof. First, let us show that it suffices to prove that at the end of RecoverAlpha, we have \[\begin{gather} \sum_{j\in DC} w(j) \cdot \alpha_j \geq \sum_{j\in DC}w(j) \cdot \left[ (1-\delta)d^2(j, S) + (\rho-1)R_j^2 \right] + \sum_{i\in S_{\mathsf{reg}}}(\hat{f} - 12n\eta)\,. \label{ineq:approxgamma-robust} \end{gather}\tag{51}\] Indeed, at the end of RecoverAlpha, \(A=\emptyset\). For every \(j\in IC\), we have \(\alpha_j=(1-\delta)d^2(j, S)\) by the construction of the update steps in Stage 2. Because \(R_j = 0\) for \(j \in IC\), their contribution naturally satisfies the required bound. Therefore, 51 implies the lemma.

To this end, we prove by induction on \(p\) that after the \(p\)-th phase in RecoverAlpha, 51 holds. The base case is \(p=0\), i.e., at the beginning of the RecoverAlpha, where \(DC, S=\emptyset\). Next, we show that this invariant is preserved after each phase of the algorithm.

The first case is that we only open free facilities in Stage 1 of the \(p\)-th phase. In this case, the term \(\sum_{i\in S_{\mathsf{reg}}} (\hat{f} - 12n\eta)\) does not change. Suppose \(DC'\) are the clients that are moved from \(IC\cup A\) to \(DC\) after stage 2 of this phase. In an earlier remark, we have argued that there is no copy moved from \(DC\) to \(IC\cup A\). Consider any \(j\in DC'\). Due to step IV) of Stage 1, we have \(\alpha_j\geq \rho(1-\delta)d^2(j, h)\), where \(h\in S\) is the first open facility satisfying the inequality. Furthermore, for this newly directly connected client, \(R_j = \sqrt{1-\delta}d(j, h)\). As established in 7 (see the proof of 29), we have \((1-\delta)d^2(j,S) + (\rho-1)R_j^2 \le \rho(1-\delta)d^2(j,h) \leq \alpha_j\). Thus, \(j\)’s contribution to the LHS of 51 is no less than that to the RHS. For other clients in \(DC\setminus DC'\), their contributions to the LHS do not change while the RHS may only decrease because \(S\) only grows. Therefore, the inequality still holds.

The second case is that we open at least one regular facility \(i\) in Stage 1 of the \(p\)-th phase. The rest of the proof will focus on this case. Let us consider each step of stage 1, where we open a facility \(i\), i.e., adding it to \(S\). Suppose that \((\alpha, S, A, IC, DC, \theta)\) denotes the state right before opening \(i\). Suppose that \((S', A', IC', DC')\) denote the set of open facility in the super-sequence \(\mathcal{H}'\) considered in the step \(i\) is opened, the set of active clients with respect to \(\mathcal{D}_{new}\) (as in Step I) of the process, defined in terms of \(\mathcal{H}'\)), the set of indirectly connected clients with respect to \(\mathcal{D}_{new}\) and the set of directly connected clients with respect to \(\mathcal{D}_{new}\). Let \((\tau_j)_{j\in A'}\) be the \(\tau\)-variables when opening \(i\). Because \(\mathcal{H}'\) is a super sequence of open facilities, we have \(S'\supseteq S\), \(DC'\supseteq DC\) and \(A'\subseteq A\).

According to the third bullet of \(\eta\)-openability (3), we have \[\begin{align} \hat{f} - 8 n\eta \leq \sum_{j\in D} w(j) \cdot \texttt{bid}(j)~, \end{align}\] where \[\begin{align} \texttt{bid}(j) = \begin{cases} [\tau_j - \rho(1-\delta) d^2(j,i)]^+ & \text{if j\in A';}\\ [\alpha_j - \rho(1-\delta) d^2(j,i)]^+ & \text{if j\in IC';}\\ (1-\delta) [d^2(j,S')-d^2(j,i)]^+ & \text{if j\in DC'.} \end{cases} \end{align}\]

Next, we have a case-by-case discussion on the client’s contribution to both sides of 51 for each \(j\in \mathcal{D}_L\). Our goal is to show that the contribution to the LHS minus the contribution to the RHS is at least \(w(j) \cdot \texttt{bid}(j)\). Because of the third bullet of \(\eta\)-openability, we have the total contribution to the LHS is greater than that to the RHS by an additive factor of \(4n\eta\). Throughout the discussion, for simplicity, we can ignore the \(w(j)\) coefficient, because we have such a coefficient on their contributions to both sides.

  • If \(j\in A'\), this means \(j\in A\).

    • If \(j\) is not \(DC\) after opening \(i\), the contributions to both sides are \(0\) and we have \(\tau_j<\rho(1-\delta)d^2(j,i)\), and thus \(\texttt{bid}(j) = [\tau_j-\rho(1-\delta)d^2(j,i)]^+=0\).

    • If \(j\) is \(DC\) after opening \(i\), the contributions to both sides are \(\tau_j\) and \((1-\delta)d^2(j,i) + (\rho-1)R_j^2\). Because \(j\notin DC'\), we have \(R_j = \sqrt{1-\delta} d(j,i)\) and thus the difference is \(\tau_j-\rho(1-\delta)d^2(j,i)\). Because \(j\) becomes \(DC\) after opening \(i\), this quantity is greater than \(0\). We have the difference equal to \(\texttt{bid}(j)\).

  • If \(j\in IC'\), this means \(j\in A\cup IC\).

    • If \(j\) is not \(DC\) after opening \(i\), the contributions to both sides are \(0\) and we have \(\alpha_j<\rho(1-\delta)d^2(j,i)\), and thus \(\texttt{bid}(j) = [\alpha_j-\rho(1-\delta)d^2(j,i)]^+=0\).

    • If \(j\) is \(DC\) after opening \(i\), the contributions to both sides are \(\alpha_j\) and \((1-\delta)d^2(j,i) + (\rho-1)R_j^2\). Because \(j\notin DC'\), we have \(R_j = \sqrt{1-\delta} d(j,i)\) and thus the difference is \(\alpha_j-\rho(1-\delta)d^2(j,i)\). Because \(j\) becomes \(DC\) after opening \(i\), this quantity is greater than \(0\). We have the difference equal to \(\texttt{bid}(j)\).

  • If \(j\in DC\), this means \(j\in DC'\). Then, the contribution of it to the LHS is \(0\). Its contribution to the RHS is \((1-\delta) \cdot(d^2(j,S\cup \{i\})-d^2(j,S))\) because \(R_j\) is not changed. Further, we have \(d^2(j,S\cup \{i\}) - d^2(j,S) = - [d^2(j,S)-d^2(j,i)]^+ \leq -\texttt{bid}(j)/(1-\delta)\) because \(S\subseteq S'\) and \(d^2(j,S)\geq d^2(j,S')\). Therefore, the difference is no less than \(\texttt{bid}(j)\).

  • If \(j\in DC'\setminus DC\), we discuss two cases.

    • If \(j\) is not moved to \(DC\) after opening \(i\), the contributions to both sides are \(0\). Note that \(\alpha_j\geq \rho (1-\delta) d^2(j,S')\) because \(j\in DC'\). However, as \(\alpha_j<\rho (1-\delta) d^2(j,S\cup \{i\})\leq \rho(1-\delta)d^2(j,i)\), we have \(d^2(j,S')<d^2(j,i)\). This implies that \(\texttt{bid}(j)=0\). Therefore, the difference equals to \(\texttt{bid}(j)\).

    • If \(j\) is moved to \(DC\) after opening \(i\), we set \(R_j = \sqrt{\alpha_j/\rho}\) at this time. Its contribution to the LHS is \(\alpha_j\). Its contribution to the RHS is \((1-\delta) d^2(j,S\cup \{i\}) + \frac{\rho-1}{\rho} \alpha_j\). The difference is then \(\alpha_j/\rho - (1-\delta) d^2(j,S\cup \{i\})\). Note that because \(j\notin DC\) but is directly connected after opening \(i\), \(d^2(j,S\cup \{i\})=d^2(j,i)\). The difference further equals to \(\alpha_j/\rho - (1-\delta)d^2(j,i)\), which is greater than \(0\). Note that \(\alpha/\rho \geq (1-\delta) d^2(j,S')\) because \(j\in DC'\), we have the difference \(\geq (1-\delta) (d^2(j,S')-d^2(j,i))\). Combining these two lower bounds on the difference, we conclude that the difference is lower bounded by \(\texttt{bid}(j)\).

Then, in stage 2, we only move some clients from \(DC\) to \(IC\) (step iii)). For each such client \(j\), its contribution to the LHS of 51 drops by \(\alpha_j\) while its contribution to the RHS drops by \((1-\delta)d^2(j,S) + (\rho-1)R_j^2\). Note that our definition ensures that \(R_j^2 \geq \alpha/\rho \geq (1-\delta)d^2(j,S)\) or \(R_j^2=(1-\delta)d^2(j,i)\geq (1-\delta) d^2(j,S)\) for some \(i\in S\). According to 5, for each such client \(j\) moved from DC to IC, we are guaranteed that \(\alpha_j < \rho(1-\delta)d^2(j,S)+4\eta \leq (1-\delta)d^2(j,S) + (\rho-1)R_j^2 + 4\eta\). Therefore, the decrease of the LHS is at most the decrease of the RHS plus an additive \(4\eta\) per client. Over all such clients, the total extra drop is at most \(4\eta \sum w(j) = 4n\eta\). Since we accumulated at least \(4n\eta\) surplus in stage 1, the overall invariant 51 still safely holds. This completes the induction and thus the proof. ◻

8.4.2 Dual Feasibility↩︎

We prove 34 for dual feasibility. Throughout this part, we will assume that \(\Gamma>\rho+100\sqrt{\varepsilon}\).

Lemma 34. For each regular facility \(i\), we have \[\sum_{j\in \mathcal{D}_L} w(j) \cdot [\alpha^*_j-(\rho-1)R^2_j-(\Gamma+201\sqrt{\varepsilon})\cdot d^2(i,j)]^+ \leq \hat{f} + 8n\eta,\] where

  • if \(d\) is a (general) metric, we choose \(\rho=2.5, \Gamma=4.9\); or

  • if \(d\) is a Euclidean metric, we choose \(\rho=2, \Gamma = 3+\ln(2)\).

The following claim is an analog of [clm:no95overbidding].

At any point in the algorithm, for every facility \(i_0 \in \mathcal{F}\), we have \[\sum_{j \in DC} w(j) \cdot [(1-\delta)d^2(j,S) - d^2(j,i_0)]^+ + \sum_{j \in A \cup IC} w(j) \cdot [\alpha_j - \rho d^2(j,i_0)]^+ \le \hat{f}.\]

Proof. Stage 1: Consider an arbitrary facility \(i_0 \in \mathcal{F}\). Suppose that a facility \(i'\) is opened with dual increases \((\tau_j)_{j \in A}\). The opening of \(i'\) has three potential effects on the clients: (1) it may strictly increase the \(\alpha\)-values of active clients \(j \in A \cap B(i', \sqrt{\varepsilon\theta})\) to \(\tau_j\) and subsequently make them directly connected (\(DC\)), (2) it may make some existing active or indirectly connected (\(IC\)) clients directly connected to \(i'\), and (3) it may make some active clients indirectly connected.

Let us analyze how the left-hand side of our constraint is impacted by these changes. First, observe that a client \(j\) that was already directly connected before the opening of \(i'\) can only lower its contribution, since the distance \(d^2(j, S)\) can only decrease when \(i'\) is added to \(S\).

For a client \(j\) that was active or indirectly connected and now becomes a direct connect, its contribution changes from\(w(j) \cdot [\alpha_j - \rho d^2(j,i_0)]^+\) to \(w(j) \cdot [(1-\delta)d^2(j,S \cup \{i'\}) - d^2(j,i_0)]^+\).

If \(j\) is active and \(\tau_j>\alpha_j=\theta\), this means that \(j\) is directly connected to facility \(i'\), which has just been opened in the step, such that \(d^2(j,i')\leq \varepsilon\theta\). This implies \(j\) will be directly connected to \(i'\) and \((1-\delta) \rho d^2(j,S \cup \{i'\}) = (1-\delta) \rho d^2(j,i') \leq \alpha_j\) because \(\varepsilon\) is sufficiently small. Hence, we have \[[(1-\delta)d^2(j,S \cup \{i'\}) - d^2(j,i_0)]^+ \leq [(1-\delta) \rho d^2(j,S \cup \{i'\}) - \rho d^2(j,i_0)]^+ \leq [\alpha_j - \rho d^2(j,i_0)]^+.\]

Next, we consider the case \(j\) is active or indirectly connected but \(\tau_j=\alpha_j\). Because the client became directly connected, its dual value must have dominated the connection cost, meaning\(\alpha_j \ge \rho(1-\delta)d^2(j,i')\). Since \(\rho > 1\) and \([x]^+ \ge 0\), we have: \[\begin{align} [(1-\delta)d^2(j,S \cup \{i'\}) - d^2(j,i_0)]^+ &\le \left[ \frac{\tau_j}{\rho} - d^2(j,i_0) \right]^+ \\ &\le \left[ \tau_j - \rho d^2(j,i_0) \right]^+. \end{align}\] Thus, its contribution does not increase.

With the above discussions, we prove that the invariant holds throughout Stage 1.

Stage 2: In the second stage, we have three steps: decreasing the \(\alpha\)-values of clients in \(IC\) to \((1-\delta)d^2(j,S)\); increasing the \(\alpha\)-values of clients in \(A\) to \(\min\{(1+\varepsilon^3)\theta, (1-\delta)d^2(j,S)\}\); and moving some clients from \(DC\) to \(IC\).

The first step can only decrease the left-hand side of the claim. The third step changes the contribution of a moved client from \([(1-\delta)d^2(j,S) - d^2(j,i_0)]^+\) to \([\alpha_j - \rho d^2(j,i_0)]^+ = [(1-\delta)d^2(j,S) - \rho d^2(j,i_0)]^+\). Since \(\rho > 1\), this also strictly decreases its contribution. Hence, it suffices to show that the continuous increase in the second step does not violate the claim.

Assume towards contradiction that at the end of the phase, if we increase \(\alpha_j\) of every \(j \in A\) to \(\min\{(1+\varepsilon^3)\theta, (1-\delta)d^2(j,S)\}\), the claim is violated for a non-empty subset of facilities \(F'\).

We select a “minimal” such counter-example: let \(\tau' \le (1+\varepsilon^3)\theta\) be the smallest value such that if we set \(\alpha'_j := \min\{\tau', (1-\delta)d^2(j,S)\}\), it satisfies \[\begin{align} \sum_{j \in A} w(j)[\alpha'_j - \rho d^2(j,i)]^+ &+ \sum_{j \in IC} w(j)[\alpha_j - \rho d^2(j,i)]^+ \\ &+ \sum_{j \in DC} w(j)[(1-\delta)d^2(j,S) - d^2(j,i)]^+ = \hat{f} \end{align}\] for some \(i \in F'\). We remark that \(\tau' \ge \theta\) since the constraint was strictly satisfied at the end of Phase 1. Furthermore, \(i \notin S\) is not yet open; if it were open, there would be no active client \(j \in A\) for which \(\alpha'_j - \rho d^2(j,i)\) is strictly positive (since \(\alpha'_j \le (1-\delta)d^2(j,S) \le (1-\delta)d^2(j,i) < \rho d^2(j,i)\)). Hence, the increase in \(\alpha\)-values cannot cause \(i\) to violate the constraint if it were already opened, which contradicts \(i \in F'\).

We now show that this facility \(i\), combined with dual values \(\tau_j = \alpha'_j\) for \(j \in A \cap B(i, \sqrt{\varepsilon\theta})\) and \(\tau_j = \alpha_j\) for \(j \in A \setminus B(i, \sqrt{\varepsilon\theta})\), satisfies the conditions of \(\eta\)-openability. In other words, \(i\) is an openable facility that was not yet opened, which contradicts the proper completion of the first stage’s while-loop.

We verify the conditions of \(\eta\)-openability one-by-one. The first two bullets are directly satisfied by our choice of \(\tau_j \le \tau'\) and the definition of \(\alpha'_j\). For the third bullet (facility \(i\) is paid for): \[\begin{align} &\sum_{j \in A} w(j) \cdot [\tau_j - \rho(1-\delta)d^2(j,i)]^+ + \sum_{j \in IC} w(j) \cdot [\alpha_j - \rho(1-\delta)d^2(j,i)]^+ \\ &\quad + \sum_{j \in DC} w(j) \cdot [(1-\delta)d^2(j,S) - (1-\delta)d^2(j,i)]^+ \\ &= \sum_{j \in A \cap B(i, \sqrt{\varepsilon\theta})} w(j) \cdot [\alpha'_j - \rho(1-\delta) d^2(j,i)]^+ + \sum_{j \in A \setminus B(i, \sqrt{\varepsilon\theta})} w(j) \cdot [\alpha_j - \rho(1-\delta)d^2(j,i)]^+ \\ &\quad + \sum_{j \in IC} w(j) \cdot [\alpha_j - \rho(1-\delta) d^2(j,i)]^+ + \sum_{j \in DC} w(j) \cdot [(1-\delta)d^2(j,S) - (1-\delta)d^2(j,i)]^+ \\ &\ge \sum_{j \in A \cap B(i, \sqrt{\varepsilon\theta})} w(j) \cdot [\alpha'_j - \rho d^2(j,i)]^+ + \sum_{j \in A \setminus B(i, \sqrt{\varepsilon\theta})} w(j) \cdot [\alpha'_j - \rho d^2(j,i)]^+ \\ &\quad + \sum_{j \in IC} w(j) \cdot [\alpha_j - \rho d^2(j,i)]^+ + \sum_{j \in DC} w(j) \cdot [(1-\delta)d^2(j,S) - d^2(j,i)]^+ \\ &= \hat{f}. \end{align}\] Here, for the subset outside the ball \(A \setminus B(i, \sqrt{\varepsilon\theta})\), we used the fact that \(\alpha_j - \rho(1-\delta)d^2(j,i) \ge (1+\varepsilon^2)\alpha_j - \rho d^2(j,i) \ge \alpha'_j - \rho d^2(j,i)\) when \(d^2(j,i) \ge \varepsilon\theta\) (recalling that \(\alpha_j = \theta\) for all active clients).

It remains to verify the fourth bullet of \(\eta\)-openability (dual feasibility). Suppose toward contradiction that there is a facility \(i_0\) such that \[\sum_{j \in DC} w(j)[(1-\delta)d^2(j,S) - d^2(j,i_0)]^+ + \sum_{j \in IC} w(j)[\alpha_j - \rho d^2(j,i_0)]^+ + \sum_{j \in A} w(j)[\tau_j - \rho d^2(j,i_0)]^+ > \hat{f}.\] Because \(\tau_j \le \alpha'_j\) for all \(j \in A\), this implies: \[\begin{align} &\sum_{j \in DC} w(j)[(1-\delta)d^2(j,S) - d^2(j,i_0)]^+ + \sum_{j \in IC} w(j)[\alpha_j - \rho d^2(j,i_0)]^+ + \sum_{j \in A} w(j)[\alpha'_j - \rho d^2(j,i_0)]^+ \\ &\ge \sum_{j \in DC} w(j)[(1-\delta)d^2(j,S) - d^2(j,i_0)]^+ + \sum_{j \in IC} w(j)[\alpha_j - \rho d^2(j,i_0)]^+ + \sum_{j \in A} w(j)[\tau_j - \rho d^2(j,i_0)]^+ \\ &> \hat{f}. \end{align}\] which directly contradicts the minimality of \(\tau'\). Thus, \(i\) is openable, representing a contradiction. ◻

Next, we fix an arbitrary regular facility \(i \in \mathcal{F}\) and show that the dual-feasibility for \(i\) is satisfied at the end of the robust algorithm. We say that facility \(i\) is frozen if there exists some open facility \(i_0\) such that \[d(i,i_0)\leq 2\cdot \sqrt{\varepsilon\theta}~.\]

8.4.2.1 Modified \(\alpha\)-values.

For analysis purposes, we introduce a modification of the \(\alpha\)-values for each client (copy) \(j \in \mathcal{D}_L\) in terms of the fixed facility \(i\). We denote this modified \(\alpha\)-value as \(\alpha^c_j\). This modified \(\alpha^c\)-value will be used to write the analog of the dual constraints.

The modifications happen only when we open a facility \(i_0\) that does not freeze \(i\), i.e., when \(d(i,i_0)>2\sqrt{\varepsilon\theta}\). More specifically, at the stage with time \(\theta\), if we open such a facility \(i_0\) that does not freeze \(i\), we keep \(\alpha^c_j\) as the value before opening \(i_0\). That is, we do not increase \(\alpha^c_j\) to \(\tau_j\) if \(j\in B(i_0,\sqrt{\varepsilon\theta})\) (step 1b) for such \(i_0\). In other steps (step 1b for a facility \(i_0\) that freezes \(i\) or step 2), we still modify \(\alpha^c_j\) in the same way we modify \(\alpha_j\).

In the rest of this subsection, we will consider \(\alpha^c\) instead of \(\alpha^*\) in writing the constraints. To ensure that the \(\alpha^*\)-value can ensure the dual feasibility, we first show that \(\alpha_j^c, \alpha_j^*\) are close to each other for every client \(j \in \mathcal{D}_L\).

The following lemma and its proof are identical to 31.

Lemma 35. For any client \(j\in \mathcal{D}_L\), we have \(\alpha^*_j-\alpha^c_j \leq \varepsilon^2\cdot d^2(j,i)\).

Now, we assume that \[\begin{align} \label{eqn:Dstar-robust} D^*= \{j\in \mathcal{D}_L: \alpha^c_j - (\rho-1)R_j^2 > \Gamma d^2(j,i)\}~. \end{align}\tag{52}\] Then, it suffices to show that \[\begin{align} \sum_{j \in D^*} w(j) \cdot (\alpha_j^c - (\rho-1)R_j^2) \le \hat{f} + 8n\eta + (\Gamma+200\sqrt{\varepsilon}) \cdot \sum_{j \in D^*} w(j) \cdot d^2(j,i)~. \end{align}\]

8.4.2.2 Establishing the constraints.

Up to this point, our arguments closely mirror the dual feasibility proof for the log-adaptive algorithm in 7. However, the remaining part of the proof needs some changes from 7, due to the fact that a facility may be \(\eta\)-openable with respect to a super-sequence instead of the sequence that the algorithm actually executes.

Let \(i_0\) be the facility that freezes \(i\), which opens in (stage 1 of) phase \(p\). Let \(\theta = (1+\varepsilon^3)^{p-1}\) be the active dual parameter at the beginning of phase \(p\). Let \(\mathcal{H}\) be the sequence of opened facilities up to \(i_0\), and let \(\mathcal{H'} \supseteq \mathcal{H}\) be the super-sequence with respect to which \(i_0\) is \(\eta\)-openable.

As in 7, we order the clients in \(D^*\) according to the order they are removed from \(A\) (in the algorithm), breaking ties in the increasing order of their \(\alpha^c\)-values. The only additional rule is for the clients who are in \(A\) right before \(i_0\) is opened in \(\mathcal{H}\); let us call this set of active clients \(A\). By [clm:robustfrozenstay], they are the last several clients in the above order of \(D^*\). Let \(A^F \subseteq A\) be the clients in \(D^*\) who are still active right before \(i_0\) is opened according to the collection of copies induced by \((\mathcal{D}_{p-1}, H'_p)\). Let \(A'=(D^* \cap A)\setminus A^F\) be the clients that become inactive during the extra prefix in \(\mathcal{H}'\). In our ordering for \(D^*\cap A\), we place \(A'\) first and \(A^F\) after, sorting within each group in the increasing order of their \(\alpha^c_j\) values.

Let \(a\) be the index of the last client in \(D^* \setminus A^F\), meaning the clients in \([a+1:s]\) are exactly \(A^F\). For each client \(t \in [a]\), we define \(S^t, DC^t,\) and \(IC^t\) to be the sets of opened facilities, directly connected clients in \([t-1]\), and indirectly connected (or active) clients in \([t-1]\), evaluated at the beginning of the exact stage \(t\) becomes inactive. For each client \(t\in [a+1:s]\), we define \(S^t, DC^t,\) and \(IC^t\) to be the sets of opened facilities, directly connected clients in \([t-1]\), and indirectly connected (or active) clients in \([t-1]\), evaluated right before \(t\) becomes inactive in \(\mathcal{H}'\). Similarly, let \(S^F, IC^F,\) and \(DC^F\) be the set of opened facilities, indirectly connected, and directly connected clients right before \(i_0\) is opened evaluated with respect to the super-sequence \(\mathcal{H}'\).

We remark that the definitions of \(S^F, IC^F, DC^F,\) and \(A^F\) here depend on the super-sequence \(\mathcal{H}'\), while in 7, they only depend on the sequence \(\mathcal{H}\) executed by the algorithm. To complete the proof, we will now apply the unified constraint lemmas ([lem:dual-feasibility-simpler-metric,lem:dual-feasibility-simpler-euclidean,lem:dual-feasibility-simpler-euclidean-special]) evaluated over this super-sequence state.

The two following claims are analogs of Claims [clm:notfrozen] and [clm:frozenstay]. The proof of [clm:robustnotfrozen] is identical to that of [clm:notfrozen]. For [clm:robustfrozenstay], we strengthen the argument to “client \(j\) becomes directly connected” upon “client \(j\) becomes active”.

For any \(t \in D^*\) that becomes inactive strictly before \(i\) becomes frozen, \[\sum_{j \in DC^t} w(j) [(1-\delta)d^2(j,S^t) - d^2(j,i)]^+ + \sum_{j \in IC^t} w(j) [\alpha_j^c - \rho d^2(j,i)]^+ + \sum_{j > t} w(j) [\alpha_t^c - \rho d^2(j,i)]^+ \le \hat{f} + 8n\eta.\]

If \(i\) is frozen by \(i_0\) with \((\tau_j)_{j\in A}\), then for every \(j\in D^*\cap A\), \(j\) becomes directly connected when opening \(i_0\) and \(\alpha_j^c\leq\tau_j\).

Proof. Applying the same proof of [clm:frozenstay], we can show that \(j\) is inactive. Next, we present a short argument for why it is directly connected for our choices of \(\Gamma\).

Note that \(\theta \leq \alpha^c_j\) and \(\alpha^c_j\geq \Gamma \cdot d^2(j,i)\) because \(j\in D^*\cap A\). Note that \(d(j,i_0) \leq d(j,i)+d(i,i_0) \leq d(j,i) + 2\sqrt{\varepsilon\theta}\). This implies that \[\begin{align} d^2(j,i_0) \leq d^2(j,i) + 4\varepsilon\theta + 4\sqrt{\varepsilon\theta} d(j,i) &\leq \alpha^c_j/\Gamma + 4\varepsilon\theta + 4\sqrt{\varepsilon\theta} \sqrt{\alpha^c_j/\Gamma} \\ &\leq \alpha^c_j /\Gamma + 4\varepsilon\alpha_j^c + 4\sqrt{\varepsilon/\Gamma} \alpha^c_j \\ &\leq (1/\Gamma + 8\sqrt{\varepsilon})\alpha^c_j. \end{align}\] Because \(\Gamma>\rho + 100\sqrt{\varepsilon}\), \(\rho\in [2,3]\) and \(\varepsilon\) is sufficiently small, we have \(\alpha^c_j\geq \rho d^2(j,i_0)\). ◻

The following claim is the analog of [clm:3rdconstraint].

For any \(t\in [s]\), \[\sum_{j\in DC^t}w(j)((1-\delta)d^2(j, S^t) - d^2(j, i)) + \sum_{j\in IC^t}w(j)(\alpha_j^c - \rho d^2(j, i)) + \sum_{j \geq t}w(j)(\alpha_t^c-\rho d^2(j,i)) \le \hat{f} + 8n\eta.\]

Proof. Consider the point in the execution evaluated against the super-sequence \(\mathcal{H}'\) at which \(t\) becomes inactive. As established by [clm:robustfrozenstay], if a facility \(i_0\) freezes \(i\), every client \(j \in D^*\) that is active right before \(i_0\) is opened becomes inactive during the exact step \(i_0\) is opened. Therefore, no client in \(D^*\) can become inactive after \(i_0\) is opened in \(\mathcal{H}'\). This partitions our ordered clients \(t \in D^*\) into exactly two cases:

8.4.2.3 Case 1: \(t \in [a]\).

Client \(t\) becomes inactive strictly before \(i_0\) is opened in \(\mathcal{H}'\). Because every facility in the valid super-sequence \(\mathcal{H}'\) is \(\eta\)-openable, the No Over-Bidding invariant ([clm:robustnooverbidding]) rigorously holds at every sequential step of its execution. We evaluate this depending on the stage in which \(t\) becomes inactive:

Stage 1: Suppose \(t\) becomes inactive due to the discrete opening of a facility \(h_k \in \mathcal{H}'\). Because \(h_k\) precedes \(i_0\) (the facility that freezes \(i\)), this event happens strictly before \(i\) is frozen. Therefore, \(h_k\) does not freeze \(i\). By our definition of \(\alpha^c\), no client in \(D^*\) increases its \(\alpha^c\)-value, meaning the modified dual \(\alpha^c\) does not incorporate any Step 1b increases from \(h_k\). Thus, \(\alpha_t^c\) is exactly the active dual parameter \(\theta\) right before \(h_k\) is opened. We evaluate the No Over-Bidding constraint at the state right before \(h_k\) opens: \[\sum_{j \in DC^t} w(j)[(1-\delta)d^2(j,S^t) - d^2(j,i)]^+ + \sum_{j \in IC^t \cup A^t} w(j)[\alpha_j - \rho d^2(j,i)]^+ \le \hat{f} + 8n\eta.\] For \(j \in DC^t\), the term trivially bounds \((1-\delta)d^2(j,S^t) - d^2(j,i)\). For \(j \in IC^t\), the modified dual \(\alpha^c\) never exceeds the true dual prior to a freezing step, so \(\alpha_j \ge \alpha_j^c\). For \(j \ge t\), because our ordering places clients by the time they become inactive, they are still active in \(A^t\) at this moment, meaning their actual dual is \(\alpha_j = \theta = \alpha_t^c\). Thus, \([\alpha_j - \rho d^2(j,i)]^+ \ge \alpha_t^c - \rho d^2(j,i)\).

Stage 2: Suppose \(t\) becomes inactive due to the continuous update of \(\alpha\)-values in Stage 2. We evaluate the No Over-Bidding constraint at the exact moment \(t\) hits its threshold. At this moment, the modified dual exactly tracks the true dual, so \(\alpha_t^c = \alpha_t\). For \(j \in IC^t\), we again have \(\alpha_j \ge \alpha_j^c\). For \(j \ge t\), these clients either remain active or become inactive at the same moment but are sorted after \(t\) (meaning \(\alpha_j^c \ge \alpha_t^c\)). In both cases, their true dual at this moment satisfies \(\alpha_j \ge \alpha_t = \alpha_t^c\). Thus, \([\alpha_j - \rho d^2(j,i)]^+ \ge \alpha_t^c - \rho d^2(j,i)\).

In both Stage 1 and Stage 2, the subsets \(DC^t, IC^t,\) and \(\{j \in D^* : j \ge t\}\) are mutually disjoint. Restricting the summations to these subsets and dropping the non-negative \([\cdot]^+\) operators rigorously establishes the algebraic lower bound: \[\sum_{j \in DC^t} w(j) ((1-\delta)d^2(j,S^t) - d^2(j,i)) + \sum_{j \in IC^t} w(j) (\alpha_j^c - \rho d^2(j,i)) + \sum_{j \ge t} w(j) (\alpha_t^c - \rho d^2(j,i)) \le \hat{f} + 8n\eta.\]

8.4.2.4 Case 2: \(t \in [a+1 : s]\).

Client \(t\) remains active right before \(i_0\) is opened in \(\mathcal{H}'\) (meaning \(t \in A^F\)) and becomes inactive exactly when \(i_0\) is opened. Because all clients in \(A^F\) become inactive simultaneously at this step, and ties in our ordering are broken by increasing \(\alpha^c\)-value, we are guaranteed that \(\alpha_t^c \le \alpha_j^c\) for all \(j \ge t\). Furthermore, evaluated right before \(i_0\) is opened in \(\mathcal{H}'\), we identically have \(S^t = S^F\), \(DC^t \subseteq DC^F\), and \(IC^t = IC^F \cup \{j \in A^F : j < t\}\).

Consider the fourth bullet of \(\eta\)-openability (dual feasibility) for \(i_0\) evaluated at the fixed facility \(i\), just before \(i_0\) is opened in \(\mathcal{H}'\): \[\sum_{j \in DC^F} w(j) [(1-\delta)d^2(j,S^F) - d^2(j,i)]^+ + \sum_{j \in IC^F} w(j) [\alpha_j - \rho d^2(j,i)]^+ + \sum_{j \in A^F} w(j) [\tau_j - \rho d^2(j,i)]^+ \le \hat{f} + 8n\eta.\]

Since the \([\cdot]^+\) terms are strictly non-negative, restricting the summations to disjoint subsets of interest maintains the upper bound. We then drop the non-negative operators entirely to establish a strict algebraic lower bound:

  • For \(j \in DC^t \subseteq DC^F\): Because \(S^t = S^F\), we have: \([(1-\delta)d^2(j,S^F) - d^2(j,i)]^+ \ge (1-\delta)d^2(j,S^t) - d^2(j,i)\).

  • For \(j \in IC^t \cap IC^F\): The modified dual never exceeds the true dual prior to freezing, so \(\alpha_j \ge \alpha_j^c\). Thus: \([\alpha_j - \rho d^2(j,i)]^+ \ge \alpha_j - \rho d^2(j,i) \ge \alpha_j^c - \rho d^2(j,i)\).

  • For \(j \in IC^t \cap A^F\): These clients are in \(A^F\) but ordered before \(t\). By [clm:robustfrozenstay], we have \(\tau_j \ge \alpha_j^c\). Evaluated in the summation over \(A^F\), we have: \([\tau_j - \rho d^2(j,i)]^+ \ge \tau_j - \rho d^2(j,i) \ge \alpha_j^c - \rho d^2(j,i)\). (Combining this with the previous bullet perfectly reconstructs the \(\alpha_j^c - \rho d^2(j,i)\) term for all \(j \in IC^t\)).

  • For \(j \ge t\): These clients are exactly \(\{j \in A^F : j \ge t\}\). By [clm:robustfrozenstay], \(\tau_j \ge \alpha_j^c\). Applying our tie-breaking rule, \(\alpha_j^c \ge \alpha_t^c\), meaning \(\tau_j \ge \alpha_t^c\). Evaluated in the \(A^F\) sum, we have: \([\tau_j - \rho d^2(j,i)]^+ \ge \tau_j - \rho d^2(j,i) \ge \alpha_t^c - \rho d^2(j,i)\).

Because all evaluated subsets are disjoint and strictly contained within the original \(\eta\)-openability sums, summing these lower bounds yields: \[\sum_{j \in DC^t} w(j) ((1-\delta)d^2(j,S^t) - d^2(j,i)) + \sum_{j \in IC^t} w(j) (\alpha_j^c - \rho d^2(j,i)) + \sum_{j \ge t} w(j) (\alpha_t^c - \rho d^2(j,i)) \le \hat{f} + 8n\eta.\] This matches the required inequality, completely resolving the case. ◻

For any client \(t \in [s]\) and \(j \in DC^t\), define \[r_{jt} := \sqrt{1-\delta}d(j,S^t).\] Next, we prove that \(r_{jt}\leq R_j\) for every \(t\in [s]\) and \(j\in DC^t\).

Lemma 36. For every \(t\in [s]\) and \(j\in DC^t\), we have \(r_{jt}\leq R_j\).

Proof. We discuss two cases.

The first case is if \(t\in [a]\). In this case, if \(j\in DC^t\), it means \(j\in DC\) and \((r_{jt})^2 = (1-\delta)d^2(j,S)\) at the beginning of the stage \(t\) becomes inactive. Therefore, at the beginning of the stage, we have defined \(R_j\) as \(R_j=\sqrt{1-\delta} d(j,h)\) for some \(h\in S\) or \(R_j=\sqrt{\alpha_j/\rho}\). In both case, we can derive \(r_{jt}\leq R_j\) because \(d^2(j,S)\leq d^2(j,h)\) and \((1-\delta)d^2(j,S)\leq \alpha_j/\rho\).

The second case is if \(t>a\). Let \(S\) be the set of open facilities right before \(i\) is frozen. We have \(S=S^t\) by our earlier definition for this case. If \(j\in DC^t\), there are two subcases:

  • Suppose that \(j\in DC\) right before \(i\) is frozen. This means \((r_{jt})^2 = (1-\delta)d^2(j,S)\), and \(R_j=\sqrt{1-\delta} d(j,h)\) or \(R_j=\sqrt{\alpha_j/\rho}\). As discussed earlier in this proof, we have \(r_{jt}\leq R_j\).

  • Otherwise (corresponding to the case \(j\) is directly connected only when it is evaluated in the super sequence \(\mathcal{H}'\)), we have \(R_j=\sqrt{\alpha_j/\rho}\) because \(j\) becomes directly connected immediately after \(i\) is frozen ([clm:robustfrozenstay]). We also have \((1-\delta) d^2(j,S^t)\leq \alpha_j/\rho\) because \(j\) is directly connected with respect to \(S^t\). Therefore, we have \(r_{jt}\leq R_j\) by the definition of \(r_{jt}\).

A final remark is that in the proof, we are considering the final real \(\alpha\)-values instead of the \(\alpha^c\)-values. ◻

General metric↩︎

Now, we will show 34 for \(\rho = 2.5\) and \(\Gamma = 4.9\). To this end, we show that \((IC^t), (DC^t), (\alpha_j^c), (R_j), (r_{jt})\) satisfy all the constraints of [lem:dual-feasibility-simpler-metric] (with the right-hand side of the capacity constraint replaced by \(\hat{f} + 8n\eta\)).

The proof of this is strictly identical to the one in 7, with only two minor adaptations due to the super-sequence: First, the last constraint (the capacity bound) is now directly provided by [clm:robust3rdconstraint] with the updated right-hand side \(\hat{f} + 8n\eta\). Second, we will use 36 to argue that \(r_{jt}\leq R_j\) still holds.

The remaining bounds, including \(\alpha_t^c \le (r_{jt} + d(j,t))^2\), follow exactly the same triangle inequality logic as in the log-adaptive part because \(\alpha_t^c \le (1-\delta)d^2(t, S^t)\) remains valid for all \(t\) (for \(t \in [a+1:s]\), we have \(\alpha_t^c \le \tau_t \le (1-\delta)d^2(t, S^F) = (1-\delta)d^2(t, S^t)\) by the second bullet of \(\eta\)-openability).

Hence, applying [lem:dual-feasibility-simpler-metric] with the adjusted right-hand side, we get: \[\sum_{j\in [s]}w(j)\cdot (\alpha_j^c - (\rho-1)R_j^2)\le \hat{f} + 8n\eta + \Gamma\cdot \sum_{j\in [s]}w(j)\cdot d^2(j,i).\] This completes the proof of 34 for \(\rho=2.5\) and \(\Gamma = 4.9\).

Euclidean metric↩︎

Now, we will show 34 for \(\rho=2\), \(\Gamma=3+\ln 2\), and \(d\) a Euclidean metric. Let \(a\) be the index of the last client that becomes inactive strictly before \(i_0\) is opened in the super-sequence \(\mathcal{H}'\).

The following claim is the analog of [clm:2nd-constraint-euclidean].

For each \(t\in [a]\), \(j\in DC^t\) and \(\ell\in IC^t \cup \{t\}\), we have: \[\alpha_{\ell}^c \le (r_{jt} + d(j, \ell))^2.\]

Proof. We first prove the bound for \(t \in [a]\). Consider the exact state in the execution evaluated at the beginning of the stage where \(t\) becomes inactive. By definition, \(S^t\) is the set of open facilities at this state.

Consider any client \(\ell \in IC^t \cup \{t\}\). As \(\ell \le t\), \(\ell\) becomes inactive at this state or earlier. We prove that \(\alpha^c_\ell \le (1-\delta)d^2(\ell, S^t)\) by discussing two cases:

  • If \(\ell\) became inactive strictly before the phase containing \(t\)’s inactivation, then \(\ell\) is indirectly connected at the beginning of this phase. Because of the Stage 2 continuous updates at the end of the previous phase, we have \(\alpha^c_{\ell} \le \alpha_{\ell} = (1-\delta)d^2(\ell,S_{prev})\). Because the set of open facilities only grows, \(S_{prev} \subseteq S^t\), meaning the distance can only decrease. Thus, \(\alpha^c_{\ell} \le (1-\delta)d^2(\ell,S^t)\).

  • Otherwise, \(\ell\) becomes inactive during the same phase as \(t\) (this includes the case \(\ell=t\)). Let \(\theta_t\) be the active dual parameter at the beginning of this phase. Since \(\ell\) is active at this time, \(\alpha^c_\ell \le \alpha_\ell = \theta_t\). We must strictly have \(\theta_t \le (1-\delta)d^2(\ell, S^t)\), because if \(\theta_t > (1-\delta)d^2(\ell, S^t)\), \(\ell\) would have been moved to \(IC\) during the Stage 2 continuous update of the previous phase (when the threshold exceeded the connection cost), contradicting that \(\ell\) is still active at the beginning of the current phase. Therefore, \(\alpha^c_{\ell} \le \theta_t \le (1-\delta)d^2(\ell,S^t)\).

We have established that \(\alpha_\ell^c \le (1-\delta)d^2(\ell, S^t)\). Because the triangle inequality holds for the Euclidean metric \(d\), we strictly have \(d(\ell, S^t) \le d(j, S^t) + d(j, \ell)\). Taking the square root of our established bound, we get: \[\begin{align} \sqrt{\alpha^c_\ell} &\le \sqrt{1-\delta} d(\ell, S^t) \\ &\le \sqrt{1-\delta} (d(j, S^t) + d(j, \ell)) \\ &= r_{j,t} + \sqrt{1-\delta}d(j, \ell). \end{align}\]

Since \(\delta > 0\), we have \(\sqrt{1-\delta} < 1\). Because metric distances are strictly non-negative, replacing the scaled distance with the full distance preserves the inequality: \[\sqrt{\alpha^c_\ell} \le r_{j,t} + d(j, \ell).\]

Squaring both sides yields \(\alpha^c_{\ell}\leq (r_{j,t}+d(j,\ell))^2\), completing the proof. ◻

We will make several cases according to how \(i\) gets frozen.

8.4.2.5 Case 1: All clients in \(D^*\) become inactive strictly before \(i\) is frozen.

In this case, we have \(a=s\). Let us show that \((IC^t), (DC^t), (\alpha_j^c), (R_j),\) and \((r_{jt})\) satisfy all the constraints of [lem:dual-feasibility-simpler-euclidean], where the right-hand side of the capacity bound is adjusted to \(\hat{f} + 8n\eta\).

First, constraint (1) holds because of 36. Second, since \(a=s\), [clm:robust2nd-constraint-euclidean] implies that constraint (2) is strictly satisfied for all \(t \in [s]\). Finally, [clm:robust3rdconstraint] directly establishes constraint (3) with the relaxed right-hand side \(\hat{f} + 8n\eta\).

Hence, we can seamlessly apply [lem:dual-feasibility-simpler-euclidean] (replacing \(\hat{f}\) with \(\hat{f} + 8n\eta\)) to obtain: \[\sum_{j\in [s]}w(j)\cdot(\alpha_j^c-(\rho-1)R_j^2)\le \hat{f} + 8n\eta + \Gamma\cdot \sum_{j\in [s]}w(j)\cdot d^2(j,i).\] This perfectly matches our target inequality, completing the proof for this case.

8.4.2.6 Case 2: Some clients in \(D^*\) become inactive when \(i\) is frozen.

In this case, we assume that \(i_0\) freezes \(i\) in the super-sequence \(\mathcal{H}'\). Let \(IC^F\) be the set of indirectly connected clients right before \(i_0\) is opened in \(\mathcal{H}'\), and let \(A^F\) be the set of active clients in \(D^*\) right before \(i_0\) is opened (meaning \(a < s\)). We define: \[L := \{j \in IC^F : d(j,i) > \sqrt{\varepsilon\theta}\}.\] Note that \(IC^F\) is disjoint from \(A^F\), meaning \(j \notin IC^F\) for any \(j \in [a+1 : s]\).

We will further discuss two subcases to prove 34.

8.4.2.7 Subcase 2(a): \([a+1:s]\cap B(i_0,\sqrt{\varepsilon\theta})=\emptyset\) or \(\sum_{j\in L}w(j)>\varepsilon\cdot\sum_{j\in [a+1:s]}w(j)\).

We redefine \(DC^s\) and \(IC^s\) as the respectively directly connected and active or indirectly connected client in \([s-1]\) at the beginning of the stage \(s\) becomes inactive. First, let us bound the total increment of \(\alpha_j^c\) when \(i_0\) is opened.

The following claim is the analog of [clm:increment-bound].

The total increment of \(\alpha^c_j\) for \(j \in D^*\) when \(i_0\) is opened is at most \(\varepsilon\sum_{j \in D^*} w(j) d^2(j,i)\).

Proof. If \([a+1:s] \cap B(i_0, \sqrt{\varepsilon\theta}) = \emptyset\), or if no active client in \([a+1:s]\) strictly increases its \(\alpha^c\)-value when \(i_0\) is opened, the total increment for all \(j \in D^*\) is exactly \(0\). Because weights and squared distances are non-negative, the bound \(0 \le \varepsilon\sum_{j\in D^*} w(j) d^2(j,i)\) holds trivially.

Next, we consider the case where \(\sum_{j\in L}w(j) > \varepsilon\cdot \sum_{j\in [a+1:s]}w(j)\).

Let \(U = [a+1:s] = A^F\) denote the set of clients in \(D^*\) that become inactive exactly when \(i\) is frozen (i.e., when \(i_0\) is opened in \(\mathcal{H}'\)). For any client \(j \in [1:a]\), \(j\) became inactive strictly before this step. By the algorithm’s rules, the dual values of inactive clients are never increased during Stage 1. Therefore, the total increment of \(\alpha^c_j\) across all \(j \in D^*\) is exactly the sum of the increments for the active clients in \(U\).

Right before \(i_0\) is opened, every \(j \in U\) is active, meaning its dual value is exactly \(\alpha_j = \theta\). When \(i_0\) is opened, its modified dual value \(\alpha^c_j\) is bounded by \(\tau_j\). By the second bullet of \(\eta\)-openability (3), the maximum increased value is bounded by \(\tau_j \le (1+\varepsilon^3)\theta\). Thus, for every \(j \in U\), the increment is bounded by \(\varepsilon^3 \theta\).

Summing this over all \(j \in U\), the total increment for \(D^*\) is bounded by: \[\sum_{j \in U} w(j)(\alpha^c_j - \alpha_j) \le \varepsilon^3 \theta \sum_{j \in U} w(j).\]

By our Subcase 2(a) assumption, we have \(\sum_{j\in L}w(j) > \varepsilon\sum_{j\in U}w(j)\), which algebraically rearranges to: \[\sum_{j \in U} w(j) < \frac{1}{\varepsilon} \sum_{j \in L} w(j).\]

Substituting this weight bound into our total increment strictly yields: \[\sum_{j \in U} w(j)(\alpha^c_j - \alpha_j) < \varepsilon^3 \theta \left( \frac{1}{\varepsilon} \sum_{j \in L} w(j) \right) = \varepsilon^2 \theta \sum_{j \in L} w(j).\]

Recall the definition of the subset \(L = \{j \in IC^F : d(j,i) > \sqrt{\varepsilon\theta}\}\). For every client \(j \in L\), we strictly have \(d^2(j,i) > \varepsilon\theta\), which rearranges to \(\theta < \frac{1}{\varepsilon} d^2(j,i)\). Substituting this geometric upper bound for \(\theta\) into our increment expression, we obtain: \[\sum_{j \in U} w(j)(\alpha^c_j - \alpha_j) < \varepsilon^2 \sum_{j \in L} w(j) \left( \frac{d^2(j,i)}{\varepsilon} \right) = \varepsilon\sum_{j \in L} w(j) d^2(j,i).\]

Finally, note that \(L \subseteq IC^F \subseteq [1:a] \subset D^*\). Because client weights \(w(j)\) are strictly positive and squared metric distances \(d^2(j,i)\) are non-negative, the sum over the subset \(L\) is trivially bounded by the sum over the entire set \(D^*\): \[\varepsilon\sum_{j \in L} w(j) d^2(j,i) \le \varepsilon\sum_{j \in D^*} w(j) d^2(j,i).\]

This matches the target inequality, completely resolving the claim. ◻

Applying [clm:robustnooverbidding] at the beginning of the stage that \(s\) becomes inactive, this lemma implies the following bound: \[\begin{align} w(s) (\alpha^c_s-\rho d^2(s,i)) + \sum_{\ell\in IC^s} w(\ell)(\alpha^c_\ell-\rho d^2(\ell,i)) + \sum_{j\in DC^s} w(j) (r^2_{js}-d^2(j,i)) \\ \leq (\hat{f} + 8n\eta) + \varepsilon\sum_{j\in D^*} w(j)d^2(j,i). \end{align}\]

Because we strictly redefined \(IC^s, DC^s,\) and \(S^s\) according to the sets \(IC, DC, S\) at the beginning of the stage that \(s\) becomes inactive, [clm:robust2nd-constraint-euclidean] perfectly generalizes for \(t=s\). Thus, we can cleanly apply [lem:dual-feasibility-simpler-euclidean-special], replacing \(\hat{f}\) with \((\hat{f} + 8n\eta) + \varepsilon\sum_{j\in D^*}w(j)d^2(j,i)\) and using \(L=\emptyset\) and \(\varepsilon'=0\) (the internal \(\varepsilon\)-parameter in the lemma). This directly gives: \[\sum_{j\in [s]}w(j)\cdot (\alpha_j^c - (\rho-1)R_j^2)\le (\hat{f} + 8n\eta) + (\Gamma + \varepsilon)\cdot\sum_{j\in [s]}w(j)\cdot d^2(j,i).\] This completes the proof for this subcase.

8.4.2.8 Subcase 2(b): \([a+1:s]\cap B(i_0,\sqrt{\varepsilon\theta})\neq \emptyset\) and \(\sum_{j\in L}w(j)\le \varepsilon\cdot\sum_{j\in [a+1:s]}w(j)\).

In this case, we again define \(DC^s = DC^F\) and \(IC^s = IC^F \cup A^F\) as the sets of directly connected and active/indirectly connected clients respectively, right before \(s\) becomes inactive (i.e., right before \(i_0\) is opened evaluated in the super-sequence \(\mathcal{H}'\)). Let \(S^s = S^F\).

We show that \(a\), \(L\), \((IC^t), (DC^t), (\alpha_j^c), (R_j),\) and \((r_{jt})\) strictly satisfy all the constraints of [lem:dual-feasibility-simpler-euclidean-special], with the capacity constraint relaxed by \(8n\eta\). Conditions (a), (b), (c), (1), (2), and (3) of the lemma hold by the same arguments established for Case 1 and the structural definitions of the sets. It remains to rigorously prove that condition (4) is satisfied. Because \(L \subseteq IC^F\), \(IC^F \subseteq [a]\), and \(IC^F \subseteq IC^s\), we have \(L \subseteq [a] \cap IC^s\). The following claim establishes the required algebraic bounds for condition (4).

The following claim is the analog of [clm:4th-constraint-euclidean].

The following hold:

  • \(\sum_{\ell\in L} w(\ell) \leq \varepsilon\cdot \sum_{\ell\in [a+1:s]} w(\ell)\);

  • for any \(j\in DC^s\) and \(\ell\in IC^F\setminus L\), we have \(\alpha^c_{\ell} \leq (1+20\sqrt{\varepsilon}) \cdot (r_{js}+d(j,\ell))^2\);

  • for any \(j\in DC^s\) and \(\ell \in [a+1:s]\), we have \(\alpha^c_{\ell} \leq (r_{js}+d(j,\ell))^2\);

  • for any \(j\in DC^s\), \(\ell\in L\), and \(\ell'\in [a+1:s]\), we have \(\alpha^c_{\ell} \leq (r_{js}+d(j,\ell'))^2\).

Proof. We prove the four bullets of the claim one by one.

8.4.2.9 First bullet.

By the definition of Subcase 2(b), this weight bound is our direct assumption. Substituting the dummy variable \(\ell\) directly yields the first bullet.

8.4.2.10 Second bullet.

Consider any \(j\in DC^s\) and \(\ell\in IC^F\setminus L\). Let \(\theta\) be the active dual parameter right before \(i_0\) is opened in \(\mathcal{H}'\). Because \(\ell \notin L\), its distance to \(i\) satisfies \(d(\ell, i) \le \sqrt{\varepsilon\theta}\). Because \(i_0\) freezes \(i\), we know \(d(i, i_0) \le 2\sqrt{\varepsilon\theta}\). By the metric triangle inequality, \(d(\ell, i_0) \le d(\ell, i) + d(i, i_0) \le 3\sqrt{\varepsilon\theta}\).

To bridge the distance to the open facilities \(S^s\), we instantiate an active client \(\ell' \in [a+1:s] \cap B(i_0, \sqrt{\varepsilon\theta})\), which is guaranteed to exist by the Subcase 2(b) definition. Because \(\ell'\) is active, we strictly know \(\theta \le (1-\delta)d^2(\ell', S^s)\), which geometrically implies \(d(\ell', S^s) \ge \sqrt{\theta}\).

Applying the triangle inequality across \(\ell, \ell',\) and \(S^s\) yields the core distance relationship: \[d(\ell, S^s) \ge d(\ell', S^s) - d(\ell, \ell') \ge d(\ell', S^s) - d(\ell, i_0) - d(i_0, \ell') \ge \sqrt{\theta} - 4\sqrt{\varepsilon\theta}~.\]

Applying the triangle inequality to \(j, \ell,\) and \(S^s\), and scaling by \(\sqrt{1-\delta}\), we directly obtain (because \(\delta = \varepsilon/2\)): \[(r_{js} + d(j, \ell))^2 \ge (1-\delta)d^2(\ell, S^s) \ge \theta (1-\delta) \left( 1 - 4\sqrt{\varepsilon} \right)^2 \ge \theta\left(1-\varepsilon/2\right)\left(1 - 8\sqrt{\varepsilon}\right) > \theta(1-9\sqrt{\varepsilon})~.\]

Squaring both sides and applying the Taylor expansion \((1 - 9\sqrt{\varepsilon})^{-1} \le 1 + 10\sqrt{\varepsilon}\) (valid for our sufficiently small \(\varepsilon\in (0, 10^{-100})\)) provides the exact upper bound for \(\theta\): \[\theta \le (1 + 10\sqrt{\varepsilon}) (r_{js} + d(j, \ell))^2~.\]

Because \(\ell \in IC^F\), it is indirectly connected right before \(i_0\) opens, meaning its modified dual value is strictly bounded by the active parameter: \(\alpha^c_{\ell} \le \alpha_\ell \le \theta\). Substituting our geometric bound yields the final inequality: \[\alpha^c_{\ell} \le (1+20\sqrt{\varepsilon}) (r_{js} + d(j, \ell))^2~.\]

8.4.2.11 Third bullet.

Consider any \(j\in DC^s\) and \(\ell\in [a+1:s] = A^F\). Because \(\ell\) is active right before \(i_0\) is opened, its maximum possible modified dual value is dictated by the second bullet of the \(\eta\)-openability condition (3), which strictly enforces \(\tau_\ell \le (1-\delta)d^2(\ell, S^s)\). By [clm:robustfrozenstay], we bypass the parameter \(\theta\) entirely: \[\alpha^c_\ell \le \tau_\ell \le (1-\delta)d^2(\ell, S^s)~.\]

Applying the triangle inequality to \(j, \ell,\) and \(S^s\), we have \(d(\ell, S^s) \le d(j, S^s) + d(j, \ell)\). Multiplying by \(\sqrt{1-\delta}\) and substituting \(r_{js} = \sqrt{1-\delta}d(j, S^s)\) yields: \[\sqrt{1-\delta}d(\ell, S^s) \le r_{js} + \sqrt{1-\delta}d(j, \ell) \le r_{js} + d(j, \ell)~.\]

Squaring both sides and substituting into our openability bound gives exactly: \[\alpha^c_\ell \le (1-\delta)d^2(\ell, S^s) \le (r_{js} + d(j, \ell))^2~,\] completing the proof of the third bullet.

8.4.2.12 Fourth bullet.

Consider any \(j\in DC^s\), \(\ell\in L\), and \(\ell'\in [a+1:s]\). Because \(\ell'\) is active right before \(i_0\) is opened, we strictly have \(\theta \le (1-\delta)d^2(\ell', S^s)\).

Applying the triangle inequality to \(j, \ell',\) and \(S^s\), we have \(d(\ell', S^s) \le d(j, S^s) + d(j, \ell')\). Multiplying by \(\sqrt{1-\delta}\) yields: \[\sqrt{1-\delta}d(\ell', S^s) \le r_{js} + \sqrt{1-\delta}d(j, \ell') \le r_{js} + d(j, \ell')~.\]

Squaring both sides provides the geometric upper bound for \(\theta\): \[\theta \le (1-\delta)d^2(\ell', S^s) \le (r_{js} + d(j, \ell'))^2~.\]

Finally, because \(\ell \in L \subseteq IC^F\), it is strictly indirectly connected before \(i_0\) opens. According to the algorithm, its dual value is never increased during Stage 1 updates, ensuring \(\alpha^c_{\ell} \le \alpha_\ell \le \theta\). Combining this with our geometric upper bound gives the exact final relation: \[\alpha^c_{\ell} \le \theta \le (r_{js} + d(j, \ell'))^2~,\] completing the proof of the fourth bullet. ◻

Because [clm:robust4th-constraint-euclidean] perfectly satisfies condition (4) of [lem:dual-feasibility-simpler-euclidean-special] (since \(IC^F \setminus L \cup [a+1:s] = IC^s \setminus L\), the second and third bullets map to the second condition of the lemma, while the fourth bullet maps directly to the third condition), we can apply [lem:dual-feasibility-simpler-euclidean-special].

Replacing the capacity bound \(\hat{f}\) with \(\hat{f} + 8n\eta\) throughout the linear combination evaluated in the lemma, we obtain: \[\sum_{j\in [s]}w(j)\cdot(\alpha_j^c-(\rho-1)R_j^2)\le \hat{f} + 8n\eta + (\Gamma + 200\sqrt{\varepsilon})\cdot\sum_{j\in [s]}w(j)\cdot d^2(j,i).\] This identically satisfies our targeted dual feasibility bound required for the robust algorithm. This completes the proof of 34 for the Euclidean metric, and therefore the proof of [thm:robust].

9 \(({4}+O(\sqrt{\varepsilon}))\)-Approximation for \((\frac{\zeta}{\log n})\)-Stable Instances↩︎

In this section, we give a \(({4}+O(\sqrt{\varepsilon}))\)-approximation algorithm for \((\frac{\zeta}{\log n})\)-stable metric \(k\)-means instances, hence proving 2. We will reuse most of the notation and proofs in [17], and only mention the main differences.

To simplify notation, we let \(\varepsilon\) be the minimum of \(\varepsilon\) and \(\zeta\) in the above theorem and further assume that \(\varepsilon<1/12\) is sufficiently small. With this notation, we present a \(({4}+O(\sqrt{\varepsilon})\)-approximation algorithm for \(\varepsilon/\log(n)\)-stable instances. This implies the above theorem as any \(\zeta/\log(n)\)-stable instance is also \(\zeta'/\log(n)\)-stable with \(\zeta' \leq \zeta\).

The algorithm and the proof of the above result follow several steps where we iteratively simplify the instance by adding more structure. Finally, we obtain enough structure to solve the problem by maximizing a submodular function subject to a partition matroid constraint. We have not optimized constants in favor of simplifying the description, and throughout this section we let \(O_\varepsilon(\log n)\) denote \(O(\log(n)/\varepsilon^{O(1)})\).

9.0.0.1 Definitions of leaders.

We use the following definitions throughout this section. Given a set of centers \(A\subseteq F\), we let \(\text{cost}(A):=\sum_{p\in D}d^2(p,A)\) denote the cost of the corresponding clustering (where each client \(p\) is assigned to the closest center in \(A\) and pays the corresponding distance). Sometimes we will consider a (possibly suboptimal) assignment \(\mu:D\rightarrow A\) of clients to centers in \(A\), and let \(\text{cost}(A,\mu):=\sum_{p\in D}d^2(p,\mu(p))\) be the corresponding cost. Let \(\text{OPT}\) be a fixed optimum solution for the \(k\)-means instance, and let \(\text{opt}= \text{cost}(\text{OPT})\) be its cost. For a client \(p\in D\), let \(\text{OPT}_p:=d^2(p,\text{OPT})\) be the cost paid by \(p\) in \(\text{OPT}\).

Let \(C^*\) be an \(\text{OPT}\) cluster with center \(c^*\in \text{OPT}\). We let \(\text{avg}_{C^*, \text{OPT}}\) be the squared distance from \(c^*\) to the \(\varepsilon|C^*|\)th closest client of \(C^*\) to \(c^*\). We further let \(C^*_\text{avg}\) be the set of clients of \(C^*\) at a squared distance at most \(\text{avg}_{C^*, \text{OPT}}\) from \(c^*\), we refer to these clients as leaders for \(C^*\). So \(\text{avg}_{C^*, \text{OPT}}\) is the maximum squared distance from a leader to its center \(c^*\). Also note that we have, \(|C^*_{avg}|\geq {\varepsilon}|C^*|\). We thus have that \(\text{avg}_{C^*, \text{OPT}}\) is upper bounded by \(\frac{1}{1-\varepsilon}\) times the average cost \(\frac{1}{|C^*|} \sum_{p\in C^*} d^2(p, c^*)\), and at the same time \(C^*_{avg}\) contains a constant fraction of the clients.

9.0.0.2 Partition matroids.

In 9.10, we formulate a submodular function that we then maximize over a partition matroid using known results. We define those concepts and also state the result that we will use. First, recall the definition of a matroid and partition matroid. A matroid is a tuple \((E, \mathcal{I})\) defined on a ground set \(E\) with a family of independent sets \(\mathcal{I}\) that satisfy: (1) if \(A \in \mathcal{I}\) and \(A' \subseteq A\), then \(A' \in \mathcal{I}\); and (2) if \(A, B \in \mathcal{I}\) and \(|A| < |B|\), then there exists an element \(e \in B - A\) such that \(A \cup \{e\} \in \mathcal{I}\). In the special case of a partition matroid, the ground set \(E\) is partitioned into disjoint subsets \(E_1, E_2, \dots, E_k\), and there are non-negative integers \(r_1, r_2, \dots, r_k\) such that:

  • A subset \(I \subseteq E\) is independent if and only if \(|I \cap E_i| \leq r_i\) for each \(i = 1, 2, \dots, k\).

In other words, each subset \(E_i\) has a capacity limit \(r_i\), and an independent set \(I\) cannot contain more than \(r_i\) elements from \(E_i\). To work with matroids (to get a running time that is polynomial in the size of the ground set \(E\)), we often use independence queries, which allow us to determine if a given subset \(A \subseteq E\) is independent (i.e., whether \(A \in \mathcal{I}\)). Specifically, an independence query on a subset \(A\) returns true if \(A\) is independent and false otherwise.

9.0.0.3 Submodular functions.

Having defined matroids, we proceed to define non-negative monotone submodular functions. For a finite ground set \(E\), a set function \(f: 2^E \to \mathbb{R}\) is submodular if it satisfies the diminishing returns property: for every pair of sets \(A \subseteq B \subseteq E\) and any element \(e \in E - B\), it holds that \[f(A \cup \{e\}) - f(A) \geq f(B \cup \{e\}) - f(B).\] Intuitively, this means that adding an element \(e\) to a smaller set \(A\) provides at least as much additional value as adding \(e\) to a larger set \(B\). In addition, \(f\) is called monotone if for any pair of sets \(A \subseteq B \subseteq E\), we have \(f(A) \leq f(B)\). In other words, adding elements to a set does not decrease the function value. Finally, \(f\) is non-negative if \(f(A) \geq 0\) for all \(A \subseteq E\).

A celebrated result [30] gives a polynomial-time \((1-1/e)\)-approximation algorithm for the problem of maximizing a non-negative monotone submodular function over a matroid constraint. While the original result was a randomized algorithm, a recent striking result [31], building upon the work of [32], gives a deterministic algorithm with the same guarantee. We remark that polynomial time here refers to a running time that is polynomial in the size of the ground set \(E\). To summarize, they show the following theorem.

Theorem 5. Let \(f: 2^E \to \mathbb{R}\) be a non-negative monotone submodular function that we can evaluate in polynomial time, and let \((E, \mathcal{I})\) be a matroid on the same groundset, for which we can answer independence queries in polynomial time. Then, for every \(\zeta>0\), there is a polynomial-time algorithm that outputs a set \(X\subseteq E\) with \(X \in \mathcal{I}\) so that \[f(X) \geq (1-1/e - \zeta) \cdot \max_{X^*\in \mathcal{I}} f(X^*)\,.\]

9.1 Properties of a Locally Optimal Solution↩︎

Let \(S\) be a locally optimal solution output by the following standard local search algorithm. We remark that its running time is polynomial since by 5 the cost of a solution is a polynomially bounded integer and, at each improving step, the cost decreases by at least one.

9.1.0.1 Classic Local Search Procedure for \(k\)-Means.


  1. \(S \gets\) Arbitrary solution for \(k\)-Means.

  2. While there exists a solution \(S'\) such that \(|S \Delta S'|\le 2\) and \(\text{cost}(S') <\text{cost}(S)\):  

    1. \(S \gets S'\).
  3. Output \(S\).

Local search achieves a \(26\) approximation for \(k\)-Means, see [15].

Lemma 37. \(\text{cost}(S) \leq 26\cdot \text{opt}\).

In the remaining part of the algorithm and its analysis we fix \(S\), and recall that we fixed the reference optimal solution \(\text{OPT}\). We distinguish different types of clusters of \(\text{OPT}\) and analyze their properties in the next two sections. We let \(S_p:=d^2(p,S)\) be the cost paid by \(p\) in \(S\) and recall that \(\text{OPT}_p\) denotes the cost \(p\in D\) pays in \(\text{OPT}\).

9.2 Pure Clusters↩︎

We say that a cluster \(C^*\) of \(\text{OPT}\) is pure (w.r.t. \(S\)) if there exists a cluster \(C'\) of \(S\) such that \(|C' \Delta C^*| \le {3\varepsilon} \min(|C^*|,|C'|)\). In which case we also say that \(C'\) is pure w.r.t. \(\text{OPT}\). We say that \(C'\) and \(C^*\) are associated. The following lemma follows from the fact that the input is \(\beta\)-stable for \(\beta := \varepsilon/\log n\) and that the solution \(S\) is a \(26\)-approximation by 37. Given a client or center \(a\) and a distance \(r\), we let \(B(a,r)\) be the set of clients and centers at distance at most \(r\) from \(a\).

Lemma 38. [17] The number \(k_{imp}\) of clusters of \(\text{OPT}\) that are not pure w.r.t. \(S\) (and thus the number of clusters of \(S\) which are not pure w.r.t \(\text{OPT}\)) is at most \(\frac{\log n}{\varepsilon^3}\).

Let \(C^*\) be a pure cluster of \(\text{OPT}\) and \(C'\) be the associated cluster of \(S\). Let \(c^*\) be the center of \(C^*\) and \({c'}\) be the center of \({C'}\). We define \(t(c^*) := {c'}\). For any client \(p \in C^*\), let \(r(p) := d^2(p, {c'}) = d^2(p, t(c^*))\). We have the following lemma which is the only lemma that requires that the solution \(S\) is obtained via the local search (the proof of the previous lemma only used that it was a constant-factor approximation). In words, it says that \(S\) approximates the connection cost of clients belonging to pure clusters of the optimal solution almost perfectly.

Lemma 39. [17] Let \(D^*_{\texttt{pure}}\subseteq D\) be the subset of clients that belong to pure clusters of the optimal solution \(\text{OPT}\). We have \[\begin{gather} \sum_{p\in D^*_{\texttt{pure}}} r(p) \leq \sum_{p\in D^*_{\texttt{pure}}} \text{OPT}_p + O(\sqrt{\varepsilon} \cdot \text{opt})\,. \end{gather}\]

9.3 Cheap Clusters and \(D\)-Sample Process to Hit Expensive Clusters↩︎

In the previous section, we showed that the cost of pure clusters in \(\text{OPT}\) is close to their optimal cost in our local search solution \(S\). Our goal in this section is to “hit” those non-pure clusters of \(\text{OPT}\) that have a high cost in \(S\). We say that a non-pure cluster \(C^*\) of \(\text{OPT}\) with center \(c^*\) is basic-cheap if the total cost in \(S\) of the clients in \(C^*_\text{avg}\) is less than \(\varepsilon^{5}\text{opt}/\log n\) or if there exists a center of \(S\) at squared distance at most \((1+\varepsilon)\text{avg}_{C^*,\text{OPT}} + \varepsilon\gamma_{C^*}\) from \(c^*\), where \(\gamma_{C^*} := \frac{1}{|C^*|} \sum_{p\in C^*} (\text{OPT}_p + S_p)\); in the latter case we also say that \(C^*\) is covered by \(S\).

The following procedure, that aims to “hit” all clusters of \(\text{OPT}\) that are non-pure and non-basic-cheap, is inspired by the classic \(k\)-means++ algorithm and its so called \(D^2\)-sampling procedure to sample clients proportional to their cost in solution \(S\).

9.3.0.1 \(s\)-\(D^2\)-Sample Process.


  1. Let \(W\) be the set obtained by taking \(s\) independent samples of clients where, in each sample, client \(p\) is sampled with probability \(\frac{d^2(p, S)}{\text{cost}(S)}\).

  2. Output \(W\).

Our algorithm obtains a set \(W\) of clients by sampling \(s^*\) using the \(s^*\)-\(D^2\)-sample process, where \[s^* = 26\cdot \frac{\log n}{\varepsilon^{5}}\ln\left( \frac{81}{\varepsilon^{2}}\right)\,.\] We have the following lemma that says that we hit all non-pure and non-basic-cheap clusters except for a set \(V\) of clusters that have an insignificant cost in \(S\).

For a non-pure cluster \(C^*\) of \(\text{OPT}\) with center \(c^*\in \text{OPT}\), we let \(t(c^*)\) be the closest center in \(S\) to \(c^*\), and for any \(p\in C^*\), we let the replacement cost of \(p\) be \(r(p):=d^2(p,t(c^*))\).

Lemma 40. [17] Consider the random set \(W\) of clients obtained from the \(s^*\)-\(D^2\)-sample process. Let \(V\) be the set of clusters \(C^*\) of \(\text{OPT}\) that are non-pure and non-basic-cheap such that \(C^*_\text{avg}\cap W = \emptyset\). With probability at least \(1-\varepsilon\), \[\begin{align} \sum_{C^* \in V} \sum_{p \in C^*} r(p) \le \varepsilon\cdot \text{opt}\,. \label{eq:probcost} \end{align}\tag{53}\]

9.3.0.2 Successful \(W\).

We say that the set of clients \(W\) obtained from the \(s^*\)-\(D^2\)-sample process is a successful sample if 53 holds. We define the following two types of \(\text{OPT}\) clusters. We say that a non-pure cluster \(C^*\) of \(\text{OPT}\) with center \(c^*\) is cheap if it is basic-cheap or is in \(V\); a non-pure cluster is expensive otherwise. In other words, a cluster \(C^*\) of the optimal solution is expensive if it is a non-pure and non-basic-cheap cluster such that \(C^*_{avg} \cap W \neq \emptyset\).

Assuming that \(W\) is successful, we have a good bound on the cost of the clients assigned to cheap centers in the optimal solution.

Lemma 41. [17] Let \(D^*_{\texttt{cheap}}\subseteq D\) be the subset of clients that belong to cheap clusters of the optimal solution \(\text{OPT}\). If \(W\) is a successful sample, \[\begin{gather} \sum_{p\in D^*_{\texttt{cheap}}} r(p) \leq \sum_{p\in D^*_{\texttt{cheap}}} 4\,\text{OPT}_p + O(\sqrt{\varepsilon} \cdot \text{opt})\,. \end{gather}\]

Given \(S\) and \(W\), the set of clusters of the optimal solution \(\text{OPT}\) is thus partitioned into pure clusters, cheap clusters, and expensive clusters. We let \(\hat{\text{OPT}}\) be the centers of \(\text{OPT}\) that are expensive. We further define the set \(D^*_{\texttt{exp}}\subseteq D\) to be the subset of clients that belong to the expensive clusters in \(\text{OPT}\). We have thus partitioned \(D\) into sets \(D^*_{\texttt{pure}}, D^*_{\texttt{cheap}}\), and \(D^*_{\texttt{exp}}\) depending on the type of optimal cluster they belong to. 39 bounds the cost of the clients in \(D^*_{\texttt{pure}}\) in \(S\) and 41 bounds the cost of the clients in \(D^*_{\texttt{cheap}}\). For future reference, we summarize these two lemmas (by weakening the upper bound for clients in \(D^*_{\texttt{pure}}\)).

Lemma 42. Assuming \(W\) is a successful sample, \[\sum_{p\in D - D^*_{\texttt{exp}}} r(p) \leq \sum_{p \in D - D^*_{\texttt{exp}}} 4 \text{OPT}_p + O(\sqrt{\varepsilon}) \cdot \text{opt}\,.\]

It follows that the connection cost in solution \(S\) of clients in \(D- D^*_{\texttt{exp}}\) is roughly within a factor \(4\) of their cost in the optimal solution. The remaining part of the algorithm is thus devoted to modifying \(S\) to obtain a small connection cost of the clients in \(D^*_{\texttt{exp}}\) without significantly increasing the cost of the other clients.

9.4 Identifying Balls of Expensive Clusters↩︎

By the definition of expensive clusters, each expensive cluster \(C^*\) of \(\text{OPT}\) satisfies \(C^*\cap W \neq \emptyset\) where \(W\) is the sample obtained by running the sampling procedure of the last subsection. Here, our goal is to guess a subset \(\mathcal{B}\) of balls so that for each expensive cluster \(C^*\) there is a ball \(B(\ell, \sqrt{\rho}) \in \mathcal{B}\) so that \(\ell\), which we refer to as a leader, is in \(C^*_{avg}\) and \(\rho\) is a very close approximation to \(\text{avg}_{C^*, \text{OPT}}\). This guarantees that the center \(c^* \in \hat{\text{OPT}}\) of cluster \(C^*\) is in \(B(\ell, \sqrt{\rho})\) and that no other center in \(B(\ell, \sqrt{\rho})\) is "too" far from \(c^*\) since the radius of the ball is \(\approx \sqrt{\text{avg}_{C^*, \text{OPT}}}\). The balls \(\mathcal{B}\) will then be used when we approximate the centers in \(\hat{\text{OPT}}\) via submodular function maximization subject to a partition matroid constraint (the balls will correspond to the partitions of the matroid). As the algorithm does not know the set of expensive clusters, it enumerates all subsets of \(W\), and for each guessed point, it enumerates a constant number of radii.

We say that a set of balls \(\mathcal{B}\) is a valid set of balls if it satisfies the following: For each expensive cluster \(C^*\) of \(\text{OPT}\), we have a ball \(B(\ell, \sqrt{\rho}) \in \mathcal{B}\) such that \(\ell\in C^*_{avg}\) is a leader and \[\text{avg}_{C^*,\text{OPT}} \leq \rho \leq \text{avg}_{C^*,\text{OPT}} + \varepsilon\gamma_{C^*},\] where we recall that \(\gamma_{C^*} = \frac{1}{|C^*|} \sum_{p \in C^*} (\text{OPT}_p + S_p)\).

Lemma 43 ([17]). In polynomial time \(n^{\varepsilon^{-O(1)}}\) one can compute a collection \(\mathcal{L}_{\texttt{bal}}\) of sets of balls such that at least one set \(\mathcal{B}\in \mathcal{L}_{\texttt{bal}}\) is a valid set of balls.

While our algorithm will try all possible sets in \(\mathcal{L}_{\texttt{bal}}\) (since it does not know which one is valid), we do our analysis by considering the run of the algorithm when it selects this set \(\mathcal{B}\) of valid balls.

9.5 Dummy Centers and Mixed Solutions \(M_O\) and \(M_D\)↩︎

Next, the algorithm creates, for each ball \(B(\ell, \sqrt{\rho}) \in \mathcal{B}\) with center \(\ell\) and radius \(\sqrt{\rho}\), a dummy center \(\delta\). The center \(\delta\) is at distance \(\sqrt{\rho}\) from \(\ell\) and at distance \(\sqrt{\rho} + d(\ell, p)\) from any other input point \(p\).

Let \(\Lambda\) be the set of dummy centers, so \(|\Lambda| = |\mathcal{B}|\). Recall that \(D^*_{\texttt{exp}}\) is the set of clients that are in an expensive cluster of \(\text{OPT}\), i.e., served by a center in \(\hat{\text{OPT}}\) in the optimal solution.

Lemma 44 ([17]). Suppose the sample \(W\) is successful, and that the set of balls \(\mathcal{B}\) is valid, then there exists a set of centers \(S_0\) of \(S\) that satisfies the following properties:

  1. \(|S_0| = |\hat{\text{OPT}}| \le \frac{\log n}{\varepsilon^3}\), and;

  2. \(\forall c \in S_0\), there is no \(c^* \in \text{OPT}-\hat{\text{OPT}}\) such that \(t(c^*) = c\), and;

  3. \(\text{cost}(S - S_0 \cup \Lambda) \le 9 \sum_{p \in D^*_{\texttt{exp}}}\text{OPT}_p + \sum_{p \in D{-} D^*_{\texttt{exp}}} r(p) + O(\varepsilon\cdot{\text{opt}})) \le (9+O(\sqrt{\varepsilon}))\text{opt}\).

9.5.0.1 Definition of the mixed solutions \(M_O\) and \(M_D\).

Next, let us analyze the cost of the swap \((\hat{\text{OPT}}, S_0)\). Namely, of the solution \(M_O = S - S_0 \cup \hat{\text{OPT}}\), where \(M\) in \(M_O\) stands for “mixed solution” and the subscript \(O\) stands for that the mixed solution is obtained by swapping in some elements from \(\text{OPT}\) (and removing \(S_0\)). We will also analyze the “dummy” version of \(M_O\) where instead of swapping in \(\hat{\text{OPT}}\), we swap in the dummy centers \({\Lambda}\). We denote that solution by \(M_D = S - S_0 \cup \Lambda\), where subscript \(D\) stands for “dummy”.

Lemma 45 ([17]). We have \(d^2(p, \hat{\text{OPT}}) \leq \text{OPT}_p\) if \(p\in D^*_{\texttt{exp}}\) and \(d^2(p, S- S_0)\leq r(p)\) if \(p\in D- D^*_{\texttt{exp}}\).

Notice that \(M_O\) contains \(S- S_0\) and \(\hat{\text{OPT}}\). Therefore, if we sum up the above bounds for all clients we get \[\begin{align} \text{cost}(M_O) & \leq \sum_{p\in D^*_{\texttt{exp}}} \text{OPT}_p + \sum_{p\in D{-} D^*_{\texttt{exp}}} r(p)\,, \end{align}\] which by 42 is at most \(\sum_{p\in D^*_{\texttt{exp}}} \text{OPT}_p + \sum_{p\in D{-}D^*_{\texttt{exp}}} 4 \text{OPT}_p + O(\sqrt{\varepsilon}) \cdot \text{opt}\) (assuming that that the sample \(W\) was successful). By swapping \(S_0\) with \(\hat{\text{OPT}}\) we thus get a \(1\)-approximation on the clients \(D^*_{\texttt{exp}}\) and a \(4\)-approximation of the remaining clients (plus a small error term). Our goal in the next sections will thus be to approximate this swap. The next few steps will be aimed at simplifying (or guessing parts of) \(S_0\). The last step will then approximate \(\hat{\text{OPT}}\) and the remaining part of \(S_0\) by submodular function maximization subject to a partition matroid constraint. For that part, it will be helpful to have a bound on the dummy solution as well; specifically, a modified version of it (see 47 and [claim:Mprimebounds]). For intuition of those statements, let us here say that one can show \[\begin{align} \text{cost}(M_D) & \leq \sum_{p\in D^*_{\texttt{exp}}} 9\,\text{OPT}_p + \sum_{p\in D- D^*_{\texttt{exp}}} r(p) + O({\sqrt{\varepsilon}}) \cdot \text{opt}\,\, \end{align}\] by observing that only the clients \(D^*_{\texttt{exp}}\) have a different connection cost in \(M_D\) than in \(M_O\). Moreover, each such client \(p\in D^*_{\texttt{exp}}\) that was previously assigned to a center \(c^* \in \hat{\text{OPT}}\), and belongs to cluster \(C^*\) of \(\text{OPT}\) with leader \(\ell\), has an associated dummy center \(\delta\) at squared distance \[d^2(p,\delta)\leq 3d^2(p, c^*)+3d^2(c^*,\ell)+3d^2(\ell,\delta)\leq 3d^2(p, c^*) + 6\text{avg}_{C^*, \text{OPT}} + 3\varepsilon\gamma_{C^*}\] (assuming the set \(\mathcal{B}\) of balls is valid and using 8 with \(\gamma=3\)). Simplifications then give the stated inequality as \(|C^*| \text{avg}_{C^*, \text{OPT}} \leq (1+2\varepsilon) \sum_{p\in C^*} \text{OPT}_p\) and \(|C^*| \varepsilon\gamma_{C^*} = \varepsilon\sum_{p\in C^*} ( \text{OPT}_p + S_p)\).

9.6 Removal of Expensive Centers of \(S_0\)↩︎

Thus, it remains to show that our algorithm can yield a good approximation to the gain that the swap \((\hat{\text{OPT}}, S_0)\) would provide. Of course, it will not necessarily be optimum, but we can show it is enough to conclude the proof of our theorem. We focus on the iteration of the algorithm that considers a valid ball set of balls \(\mathcal{B}\). In particular, at this point given that \(W\) is successful and \(\mathcal{B}\) valid, the number of balls in our ball guess is equal to \(|S_0|=|\hat{\text{OPT}}|=|\Lambda|\leq \frac{\log n}{\varepsilon^3}\). Our algorithm then makes use of the following Lemma in [17] that takes as input the local search solution \(S\) and the set \(\Lambda\) of dummy centers.

Lemma 46 ([17]). There is a procedure that runs in \(n^{1/\varepsilon^{O(1)}}\)-time and produces a collection \(\mathcal{L}_{\text{exp}}\) of at most \(n^{1/\varepsilon^{O(1)}}\) subsets of \(S\) such that with probability at least \(1-1/n\) there exists \(\mathcal{Q}\in \mathcal{L}_{\text{exp}}\) satisfying

  1. \(\mathcal{Q}\subseteq S_0\), and

  2. The total cost in the solution \(S - Q \cup \Lambda\) of the clusters with centers in \(S_0 - \mathcal{Q}\) is at most \(\varepsilon\cdot \text{opt}\).

9.7 Consistently Assigning Clients in Mixed Solutions and the sets \(\mathcal{U}\) and \(\mathcal{R}\)↩︎

While our algorithm tries all possible \(\mathcal{Q}\in \mathcal{L}_{\text{exp}}\), we focus on the execution path of a set \(\mathcal{Q}\) of centers satisfying the properties of 46, i.e.,

  1. \(\mathcal{Q}\subseteq S_0\), and

  2. the cost in the solution \(S - \mathcal{Q}\cup \Lambda\) of the clusters with centers in \(S_0 - \mathcal{Q}\) is at most \(\varepsilon\cdot \text{opt}\).

We define the solution \(S_{\mathcal{Q}} := S- \mathcal{Q}\cup \Lambda\) and for a center \(c\in S_{\mathcal{Q}}\) we let \(S_{\mathcal{Q}}(c)\) be the subset of clients closest to \(c\) (i.e., assigned to \(c\)) in the solution \(S_{\mathcal{Q}}\). The second property above allows us to consider each cluster \(S_{\mathcal{Q}}(c)\), \(c\in S_0 - \mathcal{Q}\), as contracted by paying a small extra cost of \(\varepsilon\cdot \text{opt}\). In particular, this allows us to give a “consistent” assignment \(\mu_O\) of clients in the mixed solutions. Here, consistent means that all clients in \(S_Q(c)\), for \(c\in S_0 - \mathcal{Q}\), are assigned to the same center in the mixed solutions where all of \(S_0\) is removed.

9.7.0.1 Definition of \(\mu_O\) and \(\mu_D\).

In the following we slightly deviate from the approach in [17]. More specifically, the constant \(4\) below is a \(5\) in [17]. The rest of the analysis remains however very similar. We modify how he clients are assigned in the solution \(M_O\) to obtain the assignment \(\mu_O\). For every \(c \in S_0 - \mathcal{Q}\), all the clients in \(S_{\mathcal{Q}}(c)\) are reassigned to the same center of \(M_O\) as follows. Let \(c_1\) be the cluster of \(\hat{\text{OPT}}\) that is the closest to \(c\) and let \(c_2\) be the center of \(M_O-\hat{\text{OPT}}= S - S_0\) that is the closest to \(c\). The clients of \(S_{\mathcal{Q}}(c)\) are all assigned to either \(c_1\) or \(c_2\):

  • If \(d^2(c,c_1) \le d^2(c,c_2)/{4}\), assign \(S_{\mathcal{Q}}(c)\) to \(c_1\); \(S_{\mathcal{Q}}(c)\) is called a type-1 cluster.

  • Otherwise (\(d^2(c,c_1) > d^2(c,c_2)/{4}\)), assign \(S_{\mathcal{Q}}(c)\) to \(c_2\); \(S_{\mathcal{Q}}(c)\) is called a type-2 cluster.

Let \(T_1\) be the set of clients in a type-1 cluster and \(T_2\) the set of clients in a type-2 cluster. The remaining clients in \(D^*_{\texttt{exp}}- (T_1 \cup T_2)\) are assigned to their closest centers in \(\hat{\text{OPT}}\), and the remaining clients in \((D- D^*_{\texttt{exp}})- (T_1 \cup T_2)\) are assigned to their closest centers in \(S- S_0\). Notice that, even neglecting the extra cost due to the consistent assignment, the above assignment of clients in \(T_2\) is suboptimal when \(d(c,c_2)>d(c,c_1)>d(c,c_2)/{4}\). The motivation for this reassignment is technical. More specifically, it will be used in Lemma 47 to have a better upper bound on the cost of clients in \(C^*\cap T_1\) for a non-expensive cluster \(C^*\) (case b2). This leads to a larger upper bound on the cost of clients in \(C^*\cap T_2\) for an expensive cluster \(C^*\) (case a3), which is however tolerable.

We further obtain an assignment \(\mu_D\) of clients in \(M_D\) by modifying \(\mu_O\) as follows: each client \(p\) with \(\mu_O(p) \in \hat{\text{OPT}}\) is assigned to the associated dummy center by \(\mu_D\). So for each client \(p\) we have \(\mu_D(p) = \mu_O(p)\) unless \(\mu_O(p)\in \hat{\text{OPT}}\) in which case \(\mu_D(p)\) equals the dummy center associated with \(\mu_O(p)\).

9.7.0.2 Sets \(\mathcal{R}\) and \(\mathcal{U}\).

By the definition of type-1 and type-2 cluster, we can split the set of centers of \(S_0 - \mathcal{Q}\) into two groups \(\mathcal{R}\) and \(\mathcal{U}\). Let \(\mathcal{R}\) be the set of centers of \(S_0- \mathcal{Q}\) whose set of clients is completely assigned to a center of \(\hat{\text{OPT}}\) in the assignment \(\mu_O\), and let \(\mathcal{U}= S_0 - \mathcal{Q}- \mathcal{R}\) be the remaining ones that are assigned to centers in \(S- S_0\).

We end this section by analyzing the costs of the assignments \(\mu_O\) and \(\mu_D\). Recall that we use the notation \(\text{cost}(M_O,\mu_O)\) to denote the cost of \(M_O\) equipped with assignment \(\mu_O\) and, similarly \(\text{cost}(M_D, \mu_D)\) for the cost of \(M_D\) equipped with assignment \(\mu_D\). We say that the selection of \((W, \mathcal{B}, \mathcal{Q})\) is successful, if the sample \(W\) selected in 9.3 is successful, the set of balls \(\mathcal{B}\) from 9.4 is valid, and \(\mathcal{Q}\) selected in this section satisfies the properties of 46. In [17] there is an analogue version of the next lemma, where (besides the mentioned difference in the constant \(4\) versus \(5\)) only the sum \(\text{cost}(M_O, \mu_O)+\text{cost}(M_D, \mu_D)\) is upper bounded. For reasons that will become clearer later, we need to bound the two quantities separately.

Lemma 47. If the selection of \((W, \mathcal{B}, \mathcal{Q})\) is successful, one has \[\begin{align} \text{cost}(M_O, \mu_O) & \leq \sum_{p\in D^*_{\texttt{exp}}- T_2} \text{OPT}_p + \sum_{p\in D^*_{\texttt{exp}}\cap T_2}{4}{\rm OPT}_p\\ & + \sum_{p\in (D-D^*_{\texttt{exp}})- T_1}r(p)+\sum_{p\in (D-D^*_{\texttt{exp}})\cap T_1}\frac{1}{{4}}r(p)+O(\sqrt{\varepsilon})\text{opt}{\leq O(1)\text{opt}}\, , \end{align}\] and \[\begin{align} \text{cost}(M_D, \mu_D) & \leq \sum_{p\in D^*_{\texttt{exp}}-T_2} 9\text{OPT}_p + \sum_{p\in D^*_{\texttt{exp}}\cap T_2}{4}{\rm OPT}_p\\ & + \sum_{p\in (D-D^*_{\texttt{exp}})- T_1}r(p)+\sum_{p\in (D-D^*_{\texttt{exp}})\cap T_1}\frac{9}{{4}}r(p)+O(\sqrt{\varepsilon})\text{opt}{\leq O(1)\text{opt}}\,. \end{align}\]

Proof. Throughout the proof of the lemma, we will repeatedly upper bound \(d^2(p,\mu_D(p))\) in terms of \(d^2(p,\mu_O(p))\) using the following bounds:

[17] Consider a client \(p\in S_{\mathcal{Q}}(c)\) with \(\mu_O(p) \neq \mu_D(p)\) and so \(\mu_O(p)\in \hat{\text{OPT}}\) is the center of an expensive cluster \(C^*\) of \(\text{OPT}\). Then

  1. \(d^2(p, \mu_D(p)) \leq 3d^2(p, \mu_O(p)) + 6 ( \text{avg}_{C^*, \text{OPT}} + \varepsilon\gamma_{C^*})\), and

  2. \(d^2(p,\mu_D(p)) \leq \frac{2}{\sqrt{\varepsilon}}d^2(p, S_\mathcal{Q}) + 9(1+\sqrt{\varepsilon})d^2(c, \mu_O(p))\).

We prove the lemma by distinguishing between expensive and non-expensive clusters \(C^*\) of \(\text{OPT}\).

9.7.0.3 Case a: \(C^*\) is an expensive cluster of \(\text{OPT}\).

Let \(c^*\in \hat{\text{OPT}}\) be the center of \(C^*\). Let \(p\in C^*\) be a client in \(C^*\) and let \(c\) be its closest center in \(S_\mathcal{Q}\), i.e., \(p\in S_\mathcal{Q}(c)\). We bound \(d^2(p, \mu_O(p))\) and \(d^2(p, \mu_D(p))\) by considering three cases:

Case a1: \(p\in C^* - (T_1 \cup T_2)\).

By definition, we have \(\mu_O(p)\) is the closest center in \(\hat{\text{OPT}}\). Moreover, \(\mu_O(p)\) equals the cluster center \(c^*\) of \(C^*\) since \(p\) is closest to \(c^*\) among all centers in \(\text{OPT}\supseteq \hat{\text{OPT}}\). 45 gives us \(d^2(p,\mu_O(p))=\text{OPT}_p\). Hence claim [clm:costboundofMOandMDwithassignments].1 implies, \[d^2(p, \mu_D(p)) \leq {3}\text{OPT}_p + 6 ( \text{avg}_{C^*, \text{OPT}} + \varepsilon\gamma_{C^*})\,.\]

Case a2: \(p\in C^* \cap T_1\).

By definition of type-1 clusters, \(\mu_{O}(p) = c_1\) is the closest center in \(\hat{\text{OPT}}\) to \(c\). Using 7 with \(\gamma=1+\sqrt{\varepsilon}\) twice,\[\begin{align} d^2(p, \mu_O(p)) & \leq \frac{2}{\sqrt{\varepsilon}}d^2(p, S_{\cal Q})+(1+\sqrt{\varepsilon})d^2(c,c_1)\\ & \leq \frac{2}{\sqrt{\varepsilon}}d^2(p, S_{\cal Q})+(1+\sqrt{\varepsilon})\left(\frac{2}{\sqrt{\varepsilon}}d^2(p,S_{\cal Q})+(1+\sqrt{\varepsilon})d^2(p,c_1)\right)\\ & \leq \frac{{5}}{\sqrt{\varepsilon}}d^2(p, S_{\cal Q})+(1+O(\sqrt{\varepsilon}))\text{OPT}_p. \end{align}\] Furthermore, by Claim [clm:costboundofMOandMDwithassignments].2 and using similarly as above 7 with \(\gamma=1+\sqrt{\varepsilon}\), \[\begin{align} d^2(p, \mu_D(p)) & \leq \frac{2}{\sqrt{\varepsilon}} d^2(p, S_{\mathcal{Q}}) + 9(1+\sqrt{\varepsilon}) d^2(c, c_1) \\ & \leq \frac{2}{\sqrt{\varepsilon}}d^2(p, S_\mathcal{Q})+9(1+\sqrt{\varepsilon})(\frac{2}{\sqrt{\varepsilon}}d^2(p, S_\mathcal{Q})+(1+\sqrt{\varepsilon})d^2(p,c_1))\\ & \leq \frac{{21}}{\sqrt{\varepsilon}}d^2(p, S_\mathcal{Q})+(9+O(\sqrt{\varepsilon}))\text{OPT}_p\,. \end{align}\]

Case a3: \(p\in C^*\cap T_2\).

By the definition of type-2 clusters, \(\mu_O(p) = c_2\) is the closest center to \(c\) in \(S- S_0\), and \(d^2(c, c_2) \leq {4} d^2(c, \hat{\text{OPT}})\). So, by 7 with \(\gamma=1+\sqrt{\varepsilon}\), \(d^2(c, c_2) \leq {4}(\frac{2}{\sqrt{\varepsilon}} d^2(c,p) + (1+\sqrt{\varepsilon})\text{OPT}_p)\) where we additionally used that \(d^2(p, \hat{\text{OPT}}) \leq \text{OPT}_p\) by 45. As \(\mu_O(p) = \mu_D(p)\) in this case, and using again 7 with \(\gamma=1+\sqrt{\varepsilon}\), \[\begin{align} d^2(p, \mu_O(p)) {=} d^2(p, \mu_D(p)) & \leq \frac{2}{\sqrt{\varepsilon}}d^2(p, c) + (1+\sqrt{\varepsilon})d^2(c,c_2) \\ & \leq \frac{2}{\sqrt{\varepsilon}}d^2(p, c) + (1+\sqrt{\varepsilon}){4}(\frac{2}{\sqrt{\varepsilon}}d^2(c,p) + (1+\sqrt{\varepsilon})\text{OPT}_p) \\ & \leq \frac{{11}}{\sqrt{\varepsilon}}d^2(p, S_\mathcal{Q}) + ({4}+O(\sqrt{\varepsilon})) \text{OPT}_p\,. \end{align}\]

By the above bounds, we have that \[\begin{align} & \sum_{p\in C^*} d^2(p, \mu_O(p)) \leq \sum_{p\in C^* - (T_1 \cup T_2)} \text{OPT}_p +O(\sqrt{\varepsilon})\sum_{p\in C^*}{\rm OPT}_p\\ & + \sum_{p\in C^*\cap T_1}\left(\text{OPT}_p + \frac{5}{\sqrt{\varepsilon}} d^2(p, S_\mathcal{Q})\right)+\sum_{p\in C^*\cap T_2}\left({4}\text{OPT}_p + \frac{{11}}{\sqrt{\varepsilon}} d^2(p, S_\mathcal{Q})\right). \end{align}\] Furthermore \[\begin{align} & \sum_{p\in C^*} d^2(p, \mu_D(p)) \leq \sum_{p\in C^* - (T_1 \cup T_2)} \left({3}\text{OPT}_p + 6(\text{avg}_{C^*, \text{OPT}} + \varepsilon\gamma_{C^*})\right) +O(\sqrt{\varepsilon})\sum_{p\in C^*}{\rm OPT}_p \\ & + \sum_{p\in C^*\cap T_1}\left({9}\text{OPT}_p + \frac{{21}}{\sqrt{\varepsilon}} d^2(p, S_\mathcal{Q})\right)+ \sum_{p\in C^*\cap T_2}\left({4}\text{OPT}_p + \frac{{11}}{\sqrt{\varepsilon}} d^2(p, S_\mathcal{Q})\right)\,. \end{align}\] To complete the analysis for an expensive cluster \(C^*\), it remains to upper bound the terms \(6\varepsilon\gamma_{C^*}\) and \(6\text{avg}_{C^*, \text{OPT}}\). By definition we have \(|C^* - (T_1 \cup T_2)| \cdot 6\varepsilon\gamma_{C^*}\leq 6\varepsilon\sum_{p\in C^*} (\text{OPT}_p + S_p)\). For the other term, we claim that \[6 |C^* - (T_1 \cup T_2)|\cdot \text{avg}_{C^*, \text{OPT}} \leq \sum_{p\in C^* - (T_1 \cup T_2)} 6\text{OPT}_p + 7\varepsilon\cdot \sum_{p\in C^*} \text{OPT}_p\,.\] This holds because there are at least \((1-\varepsilon)|C^*|\) clients in \(C^*\) such that \(\text{OPT}_p \geq \text{avg}_{C^*, \text{OPT}}\), which implies \[\begin{align} \sum_{p\in C^* - (T_1 \cup T_2)} 6\text{OPT}_p + 7\varepsilon\cdot \sum_{p\in C^*} \text{OPT}_p &\geq 6(|C^* - (T_1 \cup T_2)|-\varepsilon|C^*|)\cdot \text{avg}_{C^*, \text{OPT}} + 7\varepsilon(1-\varepsilon)|C^*|\cdot \text{avg}_{C^*, \text{OPT}} \\ & \geq 6 |C^*- (T_1 \cup T_2)|\cdot \text{avg}_{C^*, \text{OPT}}\,. \end{align}\] Combining this with a previous inequality, we obtain \[\begin{align} & \sum_{p\in C^*} d^2(p, \mu_D(p)) \leq \sum_{p\in C^* - (T_1 \cup T_2)} {9}\text{OPT}_p +O(\sqrt{\varepsilon})\sum_{p\in C^*}({\rm OPT}_p+S_p)\\ & + \sum_{p\in C^*\cap T_1}\left({9}\text{OPT}_p + \frac{{21}}{\sqrt{\varepsilon}} d^2(p, S_\mathcal{Q})\right)+ \sum_{p\in C^*\cap T_2}\left({4}\text{OPT}_p + \frac{{11}}{\sqrt{\varepsilon}} d^2(p, S_\mathcal{Q})\right)\,. \end{align}\] .

9.7.0.4 Case b: \(C^*\) is a non-expensive cluster of \(\text{OPT}\).

We proceed with a similar analysis. Indeed, consider a client \(p\in C^*\) and let \(c\) be its closest center in \(S_\mathcal{Q}\), i.e., \(p\in S_\mathcal{Q}(c)\). We again upper bound \(d^2(p, \mu_O(p))\) and \(d^2(p, \mu_D(p))\) by considering three cases:

Case b1: \(p\in C^* - (T_1 \cup T_2)\).

By the definition of \(\mu_O\), we have that \(\mu_O(p)\) is the closest center in \(S - S_0\) to \(p\). So \(\mu_D(p) = \mu_O(p)\) and one has by 45 \[d^2(p,\mu_O(p))=d^2(p,\mu_D(p))\leq r(p)\,.\]

Case b2: \(p\in C^* \cap T_1\).

By the definition of type-1 clusters, \(\mu_{O}(p) = c_1\) is the closest center in \(\hat{\text{OPT}}\) to \(c\). By 7 with \(\gamma=1+\sqrt{\varepsilon}\), \[\begin{align} d^2(p, \mu_O(p)) & \leq \frac{2}{\sqrt{\varepsilon}}d^2(p, S_{\mathcal{Q}})+(1+\sqrt{\varepsilon})d^2(c, c_1)\,. \end{align}\] Furthermore, by Claim [clm:costboundofMOandMDwithassignments].2, \[\begin{align} d^2(p, \mu_D(p)) & \leq \frac{2}{\sqrt{\varepsilon}}d^2(p, S_{\mathcal{Q}}) + 9(1+\sqrt{\varepsilon}) d^2(c, c_1)\,. \end{align}\] We proceed by upper bounding \(d^2(c, c_1)\). Here we critically use the fact that, by the definition of \(T_1\), one has \(d^2(c, c_1) \leq d^2(c, c_2)/{4}\) where \(c_2\) is the closest center to \(c\) in \(S- S_0\). Let \(c_3\) be the closest center to \(p\) in \(S - S_0\). Then, using 7 with \(\gamma=1+\sqrt{\varepsilon}\), we obtain that \[d^2(c, c_1) \leq \frac{1}{{4}}d^2(c, c_2)\leq \frac{1}{{4}}d^2(c,c_3) \leq \frac{2}{{4}\sqrt{\varepsilon}}d^2(p,S_\mathcal{Q}) + \frac{1+\sqrt{\varepsilon}}{{4}}d^2(p, c_3).\] Moreover, we have \(d^2(p, c_3) = d^2(p, S- S_0)\leq r(p)\) by 45 and so \(d^2(c,c_1) \le \frac{2}{{4}\sqrt{\varepsilon}}d^2(p, S_\mathcal{Q}) + \frac{1+\sqrt{\varepsilon}}{{4}}r(p)\), which gives us the bounds \[\begin{align} d^2(p, \mu_O(p)) \leq \frac{{5}}{\sqrt{\varepsilon}}d^2(p, S_{\mathcal{Q}})+ \frac{1+O(\sqrt{\varepsilon})}{{4}}r(p)\,. \end{align}\] and \[\begin{align} d^2(p, \mu_D(p)) \leq \frac{{21}}{\sqrt{\varepsilon}}d^2(p, S_{\mathcal{Q}}) + \frac{9+O(\sqrt{\varepsilon})}{{4}}r(p)\,. \end{align}\]

Case b3: \(p\in C^*\cap T_2\).

By the definition of type-2 clusters, \(\mu_O(p) = c_2\) is the closest center to \(c\) in \(S- S_0\), and so \(\mu_O(p) = \mu_D(p)\). Now by 45 and applying twice 7 with \(\gamma=1+\sqrt{\varepsilon}\), \[\begin{align} d^2(p, \mu_O(p)) {=d^2(p, \mu_D(p))}& \leq \frac{2}{\sqrt{\varepsilon}}d^2(p,c) + (1+\sqrt{\varepsilon})d^2(c, c_2)\\ & \leq \frac{2}{\sqrt{\varepsilon}}d^2(p,c ) + (1+\sqrt{\varepsilon})\left(\frac{2}{\sqrt{\varepsilon}}d^2(p,c )+(1+\sqrt{\varepsilon})d^2(p,c_2)\right)\\ & \leq \frac{5}{\sqrt{\varepsilon}}d^2(p,c ) + (1+\sqrt{\varepsilon})^2 d^2(p, S- S_0)\\ & \leq \frac{5}{\sqrt{\varepsilon}}d^2(p, S_\mathcal{Q}) + (1+O(\sqrt{\varepsilon}))r(p). \end{align}\]

Summing up the above bounds, for a non-expensive cluster \(C^*\) of \({\rm OPT}\) we get \[\begin{align} \sum_{p\in C^*} d^2(p, \mu_O(p)) & \leq \sum_{p\in C^*-(T_1\cup T_2)}r(p)+\sum_{p\in C^*\cap T_1}\left(\frac{{5}}{\sqrt{\varepsilon}}d^2(p, S_{\mathcal{Q}})+ \frac{1+O(\sqrt{\varepsilon})}{{4}}r(p)\right)\\ & + \sum_{p\in C^*\cap T_2}\left(\frac{5}{\sqrt{\varepsilon}}d^2(p, S_\mathcal{Q}) + (1+O(\sqrt{\varepsilon}))r(p) \right) \end{align}\] and \[\begin{align} \sum_{p\in C^*} d^2(p, \mu_D(p)) & \leq \sum_{p\in C^*-(T_1\cup T_2)}r(p)+\sum_{p\in C^*\cap T_1}\left(\frac{{21}}{\sqrt{\varepsilon}}d^2(p, S_{\mathcal{Q}})+ \frac{9+O(\sqrt{\varepsilon})}{{4}}r(p)\right)\\ & + \sum_{p\in C^*\cap T_2}\left(\frac{5}{\sqrt{\varepsilon}}d^2(p, S_\mathcal{Q}) + (1+O(\sqrt{\varepsilon}))r(p) \right) \end{align}\]

If we sum up the above inequality for all non-expensive clusters and the bound obtained before for the expensive clusters of \(\text{OPT}\) we thus get \[\begin{align} \text{cost}(M_O, \mu_O) & \leq \sum_{p\in D^*_{\texttt{exp}}- T_2} \text{OPT}_p + \sum_{p\in D^*_{\texttt{exp}}\cap T_2}{4}{\rm OPT}_p\\ & + \sum_{p\in (D-D^*_{\texttt{exp}})- T_1}r(p)+\sum_{p\in (D-D^*_{\texttt{exp}})\cap T_1}\frac{1}{{4}}r(p)+O(\sqrt{\varepsilon})\text{opt}\, , \end{align}\] and \[\begin{align} \text{cost}(M_D, \mu_D) & \leq \sum_{p\in D^*_{\texttt{exp}}-T_2} 9\text{OPT}_p + \sum_{p\in D^*_{\texttt{exp}}\cap T_2}{4}{\rm OPT}_p\\ & + \sum_{p\in (D-D^*_{\texttt{exp}})- T_1}r(p)+\sum_{p\in (D-D^*_{\texttt{exp}})\cap T_1}\frac{9}{{4}}r(p)+O(\sqrt{\varepsilon})\text{opt}\, . \end{align}\] Above we used that \(\sum_{c \in S_0 - \mathcal{Q}} \sum_{p \in S_{\mathcal{Q}}(c)} d^2(p, S_\mathcal{Q}) = \sum_{p\in T_1 \cup T_2} d^2(p, S_\mathcal{Q}) \leq \varepsilon\cdot \text{opt}\) (46) and \(\text{cost}(S) \leq 26\text{opt}\) (37) to bound the error term \(O(\sqrt{\varepsilon} \cdot \text{opt})\).

The global upper bound of \(O(1)\text{opt}\) simply follows in both cases from 42, which says that \(\sum_{p\in D- D^*_{\texttt{exp}}} r(p) \leq \sum_{p\in D- D^*_{\texttt{exp}}} 4\text{OPT}_p + O(\sqrt{\varepsilon} \cdot \text{opt})\) if the sample \(W\) is successful. ◻

9.8 Removal of Cheap Centers in \(S_0\)↩︎

At this stage we have defined a clustering \(S_{\mathcal{Q}} = S - \mathcal{Q}\cup \Lambda\), where \(\Lambda\) is the set of dummy centers. Recall that the mixed solution \(M_O\) equals \(S-S_0 \cup \hat{\text{OPT}}\). So \(S_\mathcal{Q}- \Lambda\) represents progress compared to \(S\) in that we have already removed a subset \(\mathcal{Q}\) of \(S_0\). Furthermore, with respect to the assignment of clients \(\mu_O\), we have that the remaining centers \(S_0 - Q\), which we want to remove, are divided into two sets \(\mathcal{R}\) and \(\mathcal{U}\). The clusters with centers in \(\mathcal{R}\) are completely assigned (by \(\mu_O\)) to centers in \(\hat{\text{OPT}}\), and every cluster with center in \(\mathcal{U}\) is completely assigned to a center in \(S - S_0\). The task of this section is to make further progress by guessing the centers in \(\mathcal{U}\) and their reassignment to centers in \(S- S_0\). This turns out to be a difficult task, and we will instead “approximately” guess a set \(\widetilde{\mathcal{U}}\) and reassignment \(\widetilde{\mu}\) of the clients of those clusters. Specifically, we will output a solution \(S_{\mathcal{Q}\cup \widetilde{\mathcal{U}}} = S_{\mathcal{Q}} - \widetilde{\mathcal{U}}\) (obtained by removing \(\widetilde{\mathcal{U}}\) from \(S_{\mathcal{Q}}\)) and an assignment of clients \(\widetilde{\mu}\) to centers in \(S_\mathcal{Q}-\widetilde{\mathcal{U}}\). This is done through the following lemma. Recall that for \(c\in S_{\mathcal{Q}}\), \(S_{\mathcal{Q}}(c)\) is the set of clients assigned to \(c\) in \(S_\mathcal{Q}\), i.e., closest to \(c\) among all centers in \(S_\mathcal{Q}\).

Lemma 48 ([17]). Given \(S\) and \(\mathcal{Q}\) as described above, there is a polynomial-time algorithm that produces a collection \(\mathcal{L}_{cheap}\) of subsets \(\widetilde{\mathcal{U}}\) of \(S-\mathcal{Q}\), and for each such \(\widetilde{\mathcal{U}}\) and assignment \(\widetilde{\mu}\) of clients to centers in \(S_{\mathcal{Q}\cup \widetilde{\mathcal{U}}} = S_\mathcal{Q}-\widetilde{\mathcal{U}}\), such that at least one such pair \((\widetilde{\mathcal{U}},\widetilde{\mu})\) satisfies the following properties:

  1. \(|\widetilde{\mathcal{U}}| = |\mathcal{U}|\).

  2. \(\widetilde{\mathcal{U}}\cap \mathcal{R}= \emptyset\), i.e., \(\widetilde{\mathcal{U}}\) does not contain any center of \(S_0 - \mathcal{Q}\) whose set of clients is completely assigned to a center of \(\hat{\text{OPT}}\) in the assignment \(\mu_O\).

  3. \(\widetilde{\mu}\) satisfies:

    1. For every center \(c\in S_{\mathcal{Q}} - \widetilde{\mathcal{U}}\), we have \(\widetilde{\mu}(p)= c\) for every \(p\in S_{\mathcal{Q}}(c)\).

    2. For a center \(c\in \widetilde{\mathcal{U}}\), the clients in \(S_\mathcal{Q}(c)\) are reassigned to a center \(c' \in S- \mathcal{Q}- \widetilde{\mathcal{U}}- \mathcal{R}\), i.e., \(\widetilde{\mu}(p) = c'\) for every \(p\in S_{\mathcal{Q}}(c)\).

    3. The cost increase of the reassignment \(\widetilde{\mu}\) of clients previously assigned to \(\widetilde{\mathcal{U}}\) compared to that of the reassignment \(\mu_O\) of clients previously assigned to \(\mathcal{U}\) is bounded by \(O({\sqrt{\varepsilon}}) \cdot \text{opt}\): \[\begin{gather} \sum_{c \in \mathcal{U}\cup \widetilde{\mathcal{U}}} \sum_{p\in S_\mathcal{Q}(c)} \left( d^2(p, \widetilde{\mu}(p)) - d^2(p, \mu_O(p)) \right) = O (\sqrt{\varepsilon}) \cdot \text{opt}\,. \end{gather}\]

In words, the above properties of \(\widetilde{\mu}\) say that we maintain the assignment of clients whose closest center remains the same, and the clients associated to the removed centers \(\widetilde{\mathcal{U}}\) are reassigned to centers not in \(\mathcal{R}\) at no higher cost (up to \(O(\sqrt{\varepsilon}) \cdot \text{opt}\)) than the cost of the reassignment of \(\mathcal{U}\) in the modified solution \(M_O\).

9.9 Mixed Solutions after the Removal of \(\widetilde{\mathcal{U}}\)↩︎

We next focus on a pair \((\widetilde{\mathcal{U}},\widetilde{\mu})\) that satisfies the properties in the claim of Lemma 48. Recall that \(S_{\mathcal{Q}\cup \widetilde{\mathcal{U}}}\) consists of the centers \(S' = S - \mathcal{Q}- \widetilde{\mathcal{U}}\) and the dummy centers \(\Lambda\). Further recall that \(M_O\) consists of centers \(S- S_0 = S - \mathcal{Q}- \mathcal{U}- \mathcal{R}\) and \(\hat{\text{OPT}}\). \(M_D\) is the same set of centers except that \(\hat{\text{OPT}}\) is replaced by \(\Lambda\). Notice that some centers of \(M_O\) and \(M_D\) are now removed if \(\widetilde{\mathcal{U}}- \mathcal{U}\neq \emptyset\). To take care of this, we modify these mixed solutions to obtain \(M'_O\) and \(M'_D\).

We first define \(M'_O\); the definition of \(M'_D\) is then very similar. The centers of \(M'_O\) are \(S- \mathcal{Q}- \widetilde{\mathcal{U}} - \mathcal{R}\) and \(\hat{\text{OPT}}\). Hence, the difference between \(M_O\) and \(M'_O\) is that in \(M_O\) we remove \(\mathcal{U}\) from \(S\) and in \(M'_O\) we remove \(\widetilde{\mathcal{U}}\). In other words, \(M'_O = M_O \cup \mathcal{U}- \widetilde{\mathcal{U}}\). Similarly, we let \(M'_D = M_D \cup \mathcal{U}- \widetilde{\mathcal{U}}\). We update the assignment \(\mu_O\) of \(M_O\) to an assignment \(\mu'_O\) of \(M'_O\) (and the assignment \(\mu_D\) to \(\mu'_D\)). Recall that \(\mu_O\) assigns each client \(p\) to its closest center in \(\hat{\text{OPT}}\) (if \(p\in D^*_{\texttt{exp}}\)) or its closest center in \(S- S_0\) (if \(p\in D- D^*_{\texttt{exp}}\)) except for those clients that belong to a cluster \(S_{\mathcal{Q}}(c)\) with \(c\in \mathcal{U}\cup \mathcal{R}\). Indeed, the clients in \(S_\mathcal{Q}(c)\) are all assigned to the center of \(\hat{\text{OPT}}\) that is closest to \(c\) if \(c\in \mathcal{R}\), and if \(c\in \mathcal{U}\) they are all assigned to the center in \(S - S_0\) that is closest to \(c\). We also recall that \(\mu_D\) is the same as \(\mu_O\) except when \(\mu_O(p) \in \hat{\text{OPT}}\) in which case \(\mu_O(p)\) is replaced by its corresponding dummy center.

9.9.0.1 Definitions of \(\mu_O'\) and \(\mu_D'\).

For clients \(p\in S_{\mathcal{Q}}(c)\) with \(c \not\in \mathcal{U}\cup \widetilde{\mathcal{U}}\cup \Lambda\), we define \(\mu_O'(p) = \mu_O(p)\). For \(p\in S_{\mathcal{Q}}(c)\) with \(c\in \Lambda\), we let \(\mu'_O(p)\) be the closest center in \(\hat{\text{OPT}}\). Finally, for \(p\in S_{\mathcal{Q}}(c)\) with \(c\in \mathcal{U}\cup \widetilde{\mathcal{U}}\), we define \(\mu'_O(p) = \widetilde{\mu}(p)\).

The assignment \(\mu'_D\) is obtained in the same way from \(\mu_D\) with the difference that we use \(\Lambda\) instead of \(\hat{\text{OPT}}\): For clients \(p\in S_{\mathcal{Q}}(c)\) with \(c \not\in \mathcal{U}\cup \widetilde{\mathcal{U}}\cup \Lambda\), we define \(\mu_D'(p) = \mu_D(p)\). For \(p\in S_{\mathcal{Q}}(c)\) with \(c\in \Lambda\), we let \(\mu'_D(p)\) be the closest center in \(\Lambda\). Finally, for \(p\in S_{\mathcal{Q}}(c)\) with \(c\in \mathcal{U}\cup \widetilde{\mathcal{U}}\), we define \(\mu'_D(p) = \widetilde{\mu}(p)\).

This completes the definition of \(\mu'_O\) and \(\mu'_D\). We remark that we have \(\mu'_O(p) = \mu_O(p)\) and \(\mu'_D(p) = \mu_D(p)\) for all \(p\in S_\mathcal{Q}(c)\) with \(c\not \in \mathcal{U}\cup \widetilde{\mathcal{U}}\cup \Lambda\).

We continue by arguing that \(\mu'_O\) is well-defined, i.e., that \(\mu'_O(p) \in M_O'\) for every \(p\in D\) (the proof for \(\mu'_D\) is the same). This is immediate for a client \(p\in S_\mathcal{Q}(c)\) with \(c \in \Lambda\). For a client \(p\in S_{{\mathcal{Q}}}(c)\) with \(c\in \cal U \cup \widetilde{\mathcal{U}}\), it holds because, by 48, \(\widetilde{\mu}(p)\) equals \(c\in M'_O\) if \(c \in \mathcal{U}- \widetilde{\mathcal{U}}\) and otherwise \(\widetilde{\mu}(p) \in S- \mathcal{Q}- \widetilde{\mathcal{U}}- \mathcal{R}\subseteq M'_O\). It remains to verify that \(\mu_O(p) \in M_O'\) for a client \(p\in S_\mathcal{Q}(c)\) with \(c\not \in \mathcal{U}\cup \widetilde{\mathcal{U}}\cup \Lambda\). If \(c\in \mathcal{R}\), we have \(\mu_O(p) \in \hat{\text{OPT}}\subseteq M'_O\). Similarly, if \(c \not \in \mathcal{U}\cup \widetilde{\mathcal{U}}\cup \Lambda \cup \mathcal{R}\) and \(p\in D^*_{\texttt{exp}}\) we have \(\mu_O(p) \in \hat{\text{OPT}}\subseteq M'_O\). In the remaining case when \(c \not \in \mathcal{U}\cup \widetilde{\mathcal{U}}\cup \Lambda \cup \mathcal{R}\) and \(p\in D- D^*_{\texttt{exp}}\), \(\mu_O(p)\) equals \(p\)’s closest center in \(S- S_0\). As \(p\in S_\mathcal{Q}(c)\), we thus have \(\mu_O(p) = c \in S - (S_0 \cup \widetilde{\mathcal{U}}) \subseteq M'_O\).

The following upper bound on \(\text{cost}(M'_O, \mu'_O) + \text{cost}(M'_D, \mu'_D)\) is a fairly immediate consequence of the assumption that the cheap-removal process is successful (Property 3c of Lemma 48). Similarly to before, we say that the selection of \((W, \mathcal{B}, \mathcal{Q}, \widetilde{\mathcal{U}},\widetilde{\mu})\) is successful, if the sample \(W\) selected in 9.3 is successful, the set of balls \(\mathcal{B}\) from 9.4 is valid, \(\mathcal{Q}\) selected in 9.6 satisfies the properties of 46, and \(\widetilde{\mathcal{U}},\widetilde{\mu}\) selected in this section satisfies the properties of 48. Again, there is an analogue of the next claim in [17], where however only the sum \(\text{cost}(M'_O, \mu'_O)+\text{cost}(M'_D, \mu'_D)\) is upper bounded. We need to upper bound the two quantities separately.

If \((W, \mathcal{B}, \mathcal{Q}, \widetilde{\mathcal{U}},\widetilde{\mu})\) is successful, \[\text{cost}(M'_O, \mu'_O)\leq \text{cost}(M_O, \mu_O)+O(\sqrt{\varepsilon}) \cdot \text{opt}\,,\] and \[\text{cost}(M'_D, \mu'_D)\leq \text{cost}(M_D, \mu_D)+O(\sqrt{\varepsilon}) \cdot \text{opt}\,.\]

Proof. For \(x\in \{O, D\}\) the only differences between \(\mu'_x\) and \(\mu_x\) are clients in \(S_{\mathcal{Q}}(c)\) with \(c\in \Lambda\cup \mathcal{U}\cup \widetilde{\mathcal{U}}\). Consider first a client \(p \in S_{\mathcal{Q}}(c)\) with \(c \in \Lambda\). Then, as \(c\) is the closest center among \((S - \mathcal{Q}) \cup \Lambda\), which both contains \(M_O - \hat{\text{OPT}}\) and \(M'_O - \hat{\text{OPT}}\), we have that the closest center to \(p\) in both \(M'_O\) and \(M_O\) is in \(\hat{\text{OPT}}\) (because by the definition of dummy centers, \(d^2(p, \hat{\text{OPT}}) \leq d^2(p, \Lambda)\)). Similarly, the closest center to \(p\) in both \(M'_D\) and \(M_D\) is in \(\Lambda\). Hence, the definitions of \(\mu'_O\) and \(\mu'_D\) to assign \(p\) to its closest center in \(\hat{\text{OPT}}\) and \(\Lambda\), respectively, cannot increase the cost, i.e., \(d^2(p, \mu'_O(p)) \leq d^2(p, \mu_O(p))\) and \(d^2(p, \mu'_D(p)) \leq d^2(p, \mu_D(p))\) for such a client \(p\).

Finally, for those clients \(p\in S_\mathcal{Q}(c)\) with \(c\in\mathcal{U}\cup \widetilde{\mathcal{U}}\) we have \(\mu'_x = \widetilde{\mu}\) by definition and \(d^2(p, \mu_O(p)) \leq d^2(p, \mu_D(p))\) since \(\mu_O(p) = \mu_D(p)\) unless \(\mu_O(p)\in \hat{\text{OPT}}\) in which case \(\mu_D(p)\) is the dummy center associated with \(\mu_O(p)\) that can only be farther away from \(p\) than \(\mu_O(p)\). Hence \[\begin{gather} \sum_{c \in \mathcal{U}\cup \widetilde{\mathcal{U}}} \sum_{p\in S_\mathcal{Q}(c)} \left( d^2(p, \widetilde{\mu}(p)) - d^2(p, \mu_D(p)) \right) \leq \sum_{c \in \mathcal{U}\cup \widetilde{\mathcal{U}}} \sum_{p\in S_\mathcal{Q}(c)} \left( d^2(p, \widetilde{\mu}(p)) - d^2(p, \mu_O(p)) \right) = O (\sqrt{\varepsilon} \cdot {\text{opt}})\,, \end{gather}\] where in the equality we used Property (c) of 48. ◻

To better understand \(\text{cost}(M'_O, \mu'_O)\), let us consider the cost \(d(p, \mu'_O(p))\) of a single client \(p\):

  • If \(p \in S_{\mathcal{Q}}(c)\) with \(c\not\in \widetilde{\mathcal{U}}\cup \mathcal{R}\) then \(\widetilde{\mu}(p) = c\) by Property 3a of 48. Moreover, \(\mu'_O(p)\) assigns \(p\) either to a center in \(\hat{\text{OPT}}\) or to one in \(S - \mathcal{Q}- \widetilde{\mathcal{U}}- \cal R\) and we have \(d^2(p, c) \leq d^2(p, S - \mathcal{Q}- \widetilde{\mathcal{U}}- \cal R)\). Hence, in either case, we have \[d^2(p, \mu'_O(p)) \geq d^2(p, \{\widetilde{\mu}(p)\} \cup \hat{\text{OPT}}) = d^2(p, \{\widetilde{\mu}(p)\} \cup \hat{\text{OPT}}\cup \Lambda) \,.\]

  • If \(p\in S_{\mathcal{Q}}(c)\) with \(c\in \mathcal{R}\) then \(\mu'_O(p) = \mu_O(p) = c^*\in \hat{\text{OPT}}\) where \(c^*\) is the center of \(\hat{\text{OPT}}\) that is closest to \(c\). So \[d^2(p, \mu_O'(p)) = d^2(p, c^*)\,.\]

  • If \(p \in S_{\mathcal{Q}}(c)\) with \(c\in \widetilde{\mathcal{U}}\) then \(\mu'_O(p) = \widetilde{\mu}(p)\) and so \[d^2(p, \mu_O'(p)) \geq d^2(p, \{\widetilde{\mu}(p)\} \cup \hat{\text{OPT}}\cup \Lambda).\]

Similarly, we can analyze \(d^2(p, \mu_D(p))\) by replacing \(\hat{\text{OPT}}\) with the set \(\Lambda\) of dummy centers (and \(c^*\) by its associated dummy center). Summarizing, we have \[\begin{align} \text{cost}(M'_O, \mu'_O) &\geq \sum_{c\in S_{\mathcal{Q}} - \mathcal{R}}\sum_{p\in S_{\mathcal{Q}}(c)} d^2\left(p, \{c\} \cup \hat{\text{OPT}}\cup \Lambda\right) + \sum_{c\in \mathcal{R}} \min_{c' \in \hat{\text{OPT}}} \sum_{p\in S_{\mathcal{Q}}(c)} d^2\left(p, c' \right)\\ \intertext{and} \text{cost}(M'_D, \mu'_D) &\geq \sum_{c\in S_{\mathcal{Q}} - \mathcal{R}}\sum_{p\in S_{\mathcal{Q}}(c)} d^2\left(p, \{c\} \cup \Lambda\right) + \sum_{c\in \mathcal{R}} \min_{c'\in \Lambda}\sum_{p\in S_{\mathcal{Q}}(c)} d^2\left(p, c'\right) \end{align}\]

Furthermore, by Properties 3a and 3b of 48, we have that, for every \(c\in \mathcal{R}\), the set \(S_{\mathcal{Q}}(c)\) of clients assigned to \(c\) in \(S_{\mathcal{Q}}\) equals the set \(\widetilde{\mu}^{-1}(c)\) of clients assigned by \(\widetilde{\mu}\). So, if we let \(\{C_c\}_{c\in S_{\mathcal{Q}\cup \widetilde{\mathcal{U}}}}\) be the partitioning of the set \(D\) of clients according to \(\widetilde{\mu}\), i.e., \(C_c = \{p\in D\mid \widetilde{\mu}(p) =c\}\), we can thus rewrite the above bounds on the cost as \[\begin{align} \text{cost}(M'_O, \mu'_O) &\geq \sum_{c\not \in \mathcal{R}}\sum_{p\in C_c} d^2\left(p, \{c\} \cup \hat{\text{OPT}}\cup \Lambda\right) + \sum_{c\in \mathcal{R}}\min_{c' \in \hat{\text{OPT}}}\sum_{p\in C_c} d^2\left(p, c'\right) \tag{54}\\ \intertext{and} \text{cost}(M'_D, \mu'_D) &\geq \sum_{c \not\in \mathcal{R}}\sum_{p\in C_c} d^2\left(p, \{c\} \cup \Lambda\right) + \sum_{c\in \mathcal{R}}\min_{c' \in \Lambda}\sum_{p\in C_c} d^2\left(p, c'\right)\,.\tag{55} \end{align}\] In the next section, we use these bounds to give a polynomial-time algorithm that outputs a solution \(S^*\) with \(k\) centers so that (see 49) \[\begin{align} \text{cost}(S^*) & \leq (1+6\sqrt{\varepsilon}) \left({(1-\frac{1}{e})}\text{cost}(M'_O, \mu'_O) +{\frac{1}{e}} \text{cost}(M'_D, \mu'_D) \right) + O(\sqrt{\varepsilon})\cdot \text{opt}\\ & \leq \sum_{p\in D} {4} \text{OPT}_p + O(\sqrt{\varepsilon}) \cdot \text{opt} \end{align}\] where the second inequality is by 47 and [claim:Mprimebounds]. So the proof of 49 in the next subsection is the final step in the proof of 2 (see also 9.11 where we put everything together to prove 2).

9.10 Finding \(S^*\) via Submodular Optimization↩︎

In this section, we give a polynomial-time algorithm for finding the solution \(S^*\) by reducing the problem to maximizing a submodular function subject to a partition matroid constraint. Specifically, we prove the following lemma:

Lemma 49. We can in polynomial-time find a clustering \(S^*\) with \(k\) centers of cost at most \((4+O(\sqrt{\varepsilon}))\cdot \text{opt}\).

Recall that at this point the algorithm calculated the local search solution \(S\), sampled \(W\), guessed \(\mathcal{B}\), \(\mathcal{Q}\), and \(\widetilde{\mathcal{U}}\) with the assignment \(\widetilde{\mu}\) of the clustering \(S_{\mathcal{Q}\cup \widetilde{\mathcal{U}}}\). We assume that all these choices were successful guesses, i.e., that \((W, \mathcal{B}, \mathcal{Q}, \widetilde{\mathcal{U}}, \widetilde{\mu})\) is successful. Further recall the notation that we partition the clients into the clusters \(\{C_c\}_{c\in S_{\mathcal{Q}\cup \widetilde{\mathcal{U}}}}\) where \(C_c = \{ p\in D: \widetilde{\mu}(p) =c\}\).

Our goal is to give a polynomial-time algorithm that finds approximations of the sets \(\hat{\text{OPT}}\) and \(\mathcal{R}\) that only have slightly worse cost. We start by defining the feasible set of candidates for \(\hat{\text{OPT}}\) as a partition matroid. Recall that \(\hat{\text{OPT}}\) contains one center from each ball in \(\mathcal{B}\).

9.10.0.1 Definition of partition matroid \(\mathcal{M}_\mathcal{B}\).

We define the partition matroid that captures the constraint that we wish to open a center in each ball in \(\mathcal{B}\). Let \(F_\mathcal{B}\) be the (multi) subset of facility/center locations containing \(B\cap F\) for each ball \(B\in \mathcal{B}\). If a center \(c\) is in multiple balls in \(\mathcal{B}\), then \(F_\mathcal{B}\) contains one distinct copy of \(c\) for each ball. We let \(F_{\mathcal{B}}(B) \subseteq F_\mathcal{B}\) denote the centers associated with \(B\in \mathcal{B}\). These sets satisfy the following two properties:

  • The sets \(F_{\mathcal{B}}(B)\) partition \(F_\mathcal{B}\).

  • For \(B \in \mathcal{B}\), \(F_{\mathcal{B}}(B)\) contains (a copy of) every center in \(F\cap B\).

The first property holds since we took a unique copy of each center for each ball, and they are thus disjoint: \(F_\mathcal{B}(B) \cap F_\mathcal{B}(B') = \emptyset\) for distinct \(B,B' \in \mathcal{B}\). Indeed, while it is not better for the cost to open multiple copies of a center, we make the copies to ensure the above two properties. This allows us to define the partition matroid \(\mathcal{M}_\mathcal{B}= (F_\mathcal{B}, \mathcal{I})\) where \[\mathcal{I}= \{X \subseteq F_\mathcal{B}: |X\cap F_\mathcal{B}(B)| \leq 1for everyB\in \mathcal{B}\}\,.\] Moreover, since there is exactly one ball in \(\mathcal{B}\) for each center in \(\hat{\text{OPT}}\), we have \(\hat{\text{OPT}}\in \mathcal{I}\) (where we slightly abuse notation as we should take the copy of center \(c^*\in \hat{\text{OPT}}\) that belongs to its associated ball).

9.10.0.2 Core, concentrated and hit clusters.

Our goal is now to define a submodular function \(f\) so that we obtain a good approximation to \(\hat{\text{OPT}}\) by maximizing \(f\) over the matroid constraint \(\mathcal{M}_\mathcal{B}\). In particular, the domain of \(f\) is every subset of \(F_\mathcal{B}\). However, we need some additional steps before defining \(f\). In particular, we introduce the concept of the core of a cluster \(C_c\) and the notions of concentrated and hit clusters, which allow us to simplify the structure of centers in \(\mathcal{R}\). For a cluster \(C_c\), we define the core of \(C_c\) as \[\begin{gather} C^{\text{core}}_c = \left\{p \in C_c: d^2(p, c) \leq \varepsilon\cdot \frac{\text{cost}(S)}{|\mathcal{R}|\cdot |C_c|}\right\}\,. \end{gather}\] We further say that cluster \(C_c\) is concentrated if \[\begin{gather} |C^{\text{core}}_c| \geq (1-\varepsilon) |C_c| \end{gather}\] and it is hit by a set \(X\) of centers if there is a point \(p \in C^{\text{core}}_c\) such that \[\begin{gather} d^2(p, X) < d^2(p,c)\,. \end{gather}\] For shortness we will sometimes say that a center is concentrated (resp., hit), if the corresponding cluster is so.

9.10.0.3 Guessing the centers of \(\mathcal{R}\) that are not concentrated.

We further simplify the task of finding the set of centers \(\mathcal{R}\) by guessing the centers of \(\mathcal{R}\) that are not concentrated. Specifically, partition the set \(\mathcal{R}\) into \(\mathcal{R}_0\) and \(\mathcal{R}_1\), where \(\mathcal{R}_1\) contains those centers of \(\mathcal{R}\) that are concentrated and \(\mathcal{R}_0\) contains those that are not. We can correctly guess \(\mathcal{R}_0\) in polynomial time since the following simple claim shows that it is a subset of the centers whose cluster costs at least \(\varepsilon^2 \cdot \text{opt}/|\mathcal{R}|\), of which there are only \(O(|\mathcal{R}|/\varepsilon^2)\) many, and so guessing \(\mathcal{R}_0\) can thus be done in time \(2^{O(|\mathcal{R}|/\varepsilon^2)}\).

Suppose that \(C_c\) is not concentrated. Then the cost of \(C_c\) is at least \(\varepsilon^2 \cdot \text{opt}/|\mathcal{R}|\).

Now let \(\mathcal{P}\) be the potential centers that can be in \(\mathcal{R}\). Specifically, we let \(\mathcal{P}\) be the set that contains a center \(c\) in \(S -\mathcal{Q}- \widetilde{\mathcal{U}}\) if \(C_c\) equals the set of clients in \(S_{\mathcal{Q}}(c)\), where we recall that \(S_{\mathcal{Q}}(c)\) is the set of clients that are closest to \(c\) in the clustering \(S_{\mathcal{Q}}\). Notice that the algorithm has all the information \(S, \mathcal{B}, \mathcal{Q}, \widetilde{\mathcal{U}}\) and \(\widetilde{\mu}\) to calculate \(\mathcal{P}\). Furthermore, by 48, we have that no clients from \(\widetilde{\mathcal{U}}\) were reassigned by \(\widetilde{\mu}\) to a center in \(\mathcal{R}\). So for \(c\in \mathcal{R}\) we have \(C_c = S_{\mathcal{Q}}(c)\). Hence, \(\cal R \subseteq \mathcal{P}\) and we can guess \(\mathcal{R}_0\) as follows:

9.10.0.4 Guessing \(\mathcal{R}_0\)


  1. Let \(\mathcal{C}\) be the clusters of \(\mathcal{P}\) whose cost is at least \(\varepsilon^2 \cdot \text{opt}/|\mathcal{R}|\).

  2. Output each subset of \(\mathcal{C}\).

By the above claim and the definition of \(\mathcal{P}\), one of the outputs is \(\mathcal{R}_0\). Furthermore, the above guessing procedure outputs a family of polynomial many subsets. Indeed, we have \(|\mathcal{R}| \leq \log(n)/\varepsilon^3\) by 38. Moreover, the total cost of the clusters in \(\mathcal{P}\) is \(O(\text{opt})\). To see this notice that the clusters corresponding to \(\mathcal{P}\) is a subset of the clusters of \(S_{\mathcal{Q}}\) and the cost of \(S_{\mathcal{Q}}\) is at most \(\text{cost}(S - S_0 \cup \Lambda)\) (since \(S_{\mathcal{Q}}\supseteq S- S_0 \cup \Lambda\)), which has cost at most \(O(\text{opt})\) by [lemma:S0properties]. This implies that \(|\mathcal{C}| = O(\log(n)/\varepsilon^5)\), so the total number of subsets is \(n^{\varepsilon^{-O(1)}}\). The algorithm proceeds by trying all possible subsets in the output, and we analyze the algorithm when it takes the correct guess of \(\mathcal{R}_0\).

9.10.0.5 Definition of the submodular function \(f\).

We first define another function \(g\) on the same domain as \(f\), i.e., on all subsets \(X\) of \(F_\mathcal{B}\). We will then define \(f\) by \(f(X) = g(\emptyset) - g(X)\). Let the closed cost of a cluster \(C_c\) be defined as \[\text{closedcost}_c(X) := \begin{cases} \sum_{p\in C_c} d^2(p, \{c\} \cup X \cup \Lambda) & if C_c is hit by X, \\ \min_{c'\in X \cup \Lambda} \sum_{p\in C^{\text{core}}_c} d^2(p, c') + \sum_{p\in C_c - C^{\text{core}}_c} d^2(p, \{c\} \cup X \cup \Lambda) & otherwise. \end{cases}\] Further, let \(\mathcal{P}_1\) be the potential centers for \(\mathcal{R}_1\): it contains each center \(c\in \mathcal{P}- \mathcal{R}_0\) so that \(c\) is concentrated, i.e., \(|C^{\text{core}}_c| \geq (1-\varepsilon) |C_c|\). We remark that the algorithm can calculate this set \(\mathcal{P}_1\) as it only depends on \(\mathcal{P}\), the guessed set \(\mathcal{R}_0\), the value \(\text{cost}(S)\), and the clusters \(C_c\) defined by \(\widetilde{\mu}\). Moreover, by definition, we have \(\mathcal{R}_1 \subseteq \mathcal{P}_1\). For a subset \(X \subseteq F_\mathcal{B}\), we then define \(g(X)\) to be the minimum value of \[\begin{gather} \sum_{c \not \in \mathcal{R}_0 \cup \mathcal{R}'_1}\sum_{p\in C_c} d^2\left(p, \{c\} \cup X \cup \Lambda\right) + \sum_{c\in \mathcal{R}_0} \sum_{p\in C_c} d^2(p, X \cup \Lambda) + \sum_{c\in \mathcal{R}'_1} \text{closedcost}_c(X) \end{gather}\] over all subsets \(\mathcal{R}'_1 \subseteq \mathcal{P}_1\) with \(|\mathcal{R}_1'| = |\mathcal{R}_1| = |\mathcal{R}| - |\mathcal{R}_0|\). In words, over the best \(\mathcal{R}_1'\), \(g(X)\) is the cost of the solution obtained by removing the centers \(\mathcal{R}_0 \cup \mathcal{R}_1'\) and assigning clients as follows:

  • If \(p\in C_c\) for a remaining center \(c \not\in \mathcal{R}_0 \cup \mathcal{R}_1'\) or \(p \not \in C^{\text{core}}_c\) with \(c\in \mathcal{R}'_1\), \(p\) is assigned to its closest center in \(\{c\} \cup X \cup \Lambda\).

  • If \(p \in C_c\) for a removed center \(c\in \mathcal{R}_0\), \(p\) is assigned to its closest center in \(X \cup \Lambda\).

  • If \(p \in C^{\text{core}}_c\) for a removed center \(c\in \mathcal{R}'_1\), \(p\) is assigned to its closest center in \(\{c\} \cup X \cup \Lambda\) if \(X\) hits \(C_c\), and otherwise all clients in \(C^{\text{core}}_c\) are assigned to the same center \(c'\in X \cup \Lambda\) that minimizes the cost.

We remark that this assignment is infeasible in the sense that it may assign clients to removed centers in \(\mathcal{R}_1\). Nevertheless, we relate the values of \(g(\emptyset)\) and \(g(\hat{\text{OPT}})\) to \(\text{cost}(M'_D, \mu'_D)\) and \(\text{cost}(M'_O, \mu'_O)\), respectively; and, we show that given an \(X \subseteq F_\mathcal{B}\) that is independent in \(M_\mathcal{B}\), i.e., \(X\in \mathcal{I}\), we can in polynomial-time output \(k\) centers \(S^*\) whose cost is at most \((1+6\sqrt{\varepsilon})g(X) + O(\sqrt{\varepsilon}) \text{opt}\). Finally, the definition of \(g\) allows us to prove that \(f\) (defined by \(f(X) = g(\emptyset) - g(X)\)) is a non-negative monotone submodular function.

Lemma 50 ([17]). We have that \(g\) and \(f\) satisfy the following properties:

  1. We can evaluate \(g(X)\) in polynomial time for every given \(X \subseteq F_\mathcal{B}\), and we can thus evaluate \(f(X)\) in polynomial time.

  2. \(f\) is a non-negative monotone submodular function.

  3. The value \(g(\emptyset)\) is at most \(\text{cost}(M'_D, \mu'_D)\).

  4. The value \(g(\hat{\text{OPT}})\) is at most \(\text{cost}(M'_O, \mu'_O)\).

  5. Given an \(X \subseteq F_\mathcal{B}\) that is independent in \(M_\mathcal{B}\), i.e., \(X\in \mathcal{I}\), we can in polynomial-time output \(k\) centers \(S^*\) whose associated cost is at most \((1+6\sqrt{\varepsilon}) g(X) + O(\sqrt{\varepsilon}) \text{opt}\).

This directly implies 49.

Proof of 49. By the first property of 50, we can evaluate \(f\) in polynomial time. Moreover, it is easy to see that we can answer independence queries in polynomial time for any partition matroid, particularly for \(\mathcal{M}_\mathcal{B}\). We can thus apply 5 on \(f\) and \(\mathcal{M}_\mathcal{B}\) with \(\zeta = {\varepsilon}\) to find a solution \(X \in \mathcal{I}\) such that \[\begin{gather} g(\emptyset) - g(X) = f(X) \geq (1-1/e - {\varepsilon})f(\hat{\text{OPT}}) = (1-1/e - {\varepsilon})( g(\emptyset) - g(\hat{\text{OPT}}))\,, \end{gather}\] where we used that \(\hat{\text{OPT}}\) is one feasible solution, i.e., \(\hat{\text{OPT}}\in \mathcal{I}\). This in turn implies that \[g(X)\leq (\frac{1}{e}+\varepsilon)g(\emptyset)+(1-\frac{1}{e}-\varepsilon)g(\hat{\text{OPT}}).\]

Using the upper bounds on \(g(\emptyset)\) and \(g(\hat{\text{OPT}})\) of the above lemma we thus have found a set \(X\) such that \[\begin{align} g(X) & \leq (\frac{1}{e}+\varepsilon)\text{cost}(M'_D, \mu'_D)+(1-\frac{1}{e}-\varepsilon)\text{cost}(M'_O, \mu'_O)\\ & \overset{\text{Claim \ref{claim:Mprimebounds}}}{\leq} \frac{1}{e}\text{cost}(M_D, \mu_D)+(1-\frac{1}{e})\text{cost}(M_O, \mu_O)+O(\sqrt{\varepsilon})\text{opt}\,, \end{align}\] where in the last inequality we also used that \(\text{cost}(M_D, \mu_D)\) and \(\text{cost}(M_O, \mu_O)\) are \(O(1)\text{opt}\) by Lemma 47. Now using the last property of the above lemma we can output a solution \(S^*\) whose cost is at most \[\begin{align} & (1+6\sqrt{\varepsilon})\left(\frac{1}{e}\text{cost}(M_D, \mu_D)+(1-\frac{1}{e})\text{cost}(M_O, \mu_O)+O(\sqrt{\varepsilon})\text{opt}\right)+O(\sqrt{\varepsilon})\cdot \text{opt}\\ \leq & \frac{1}{e}\text{cost}(M_D, \mu_D)+(1-\frac{1}{e})\text{cost}(M_O, \mu_O)+O(\sqrt{\varepsilon})\cdot \text{opt}\\ \overset{\text{Lem. \ref{lemma:costboundofMOandMDwithassignments}}}{\leq} & \sum_{p\in D^*_{\texttt{exp}}- T_2}(1+\frac{8}{e})\text{OPT}_p+\sum_{p\in D^*_{\texttt{exp}}\cap T_2}{4}{\rm OPT}_p\\ & +\sum_{p\in (D-D^*_{\texttt{exp}})- T_1}r(p)+\sum_{p\in (D-D^*_{\texttt{exp}})\cap T_1}\frac{1}{{4}}(1+\frac{8}{e})r(p)+O(\sqrt{\varepsilon})\cdot \text{opt}\\ \leq & \sum_{p\in D^*_{\texttt{exp}}}4\text{OPT}_p+\sum_{p\in D-D^*_{\texttt{exp}}}r(p)+O(\sqrt{\varepsilon})\cdot \text{opt} \overset{\text{Lem. \ref{lemma:convenience95upper95bound}}}{\leq} \sum_{p\in D}4\text{OPT}_p +O(\sqrt{\varepsilon})\cdot \text{opt} \end{align}\] as required.

Finally, each of the above steps runs in polynomial time: the algorithm of 5 is polynomial time, and the last property of 50 used to obtain \(S^*\) is polynomial-time. Moreover, the number of guesses of \(\mathcal{R}_0\) is at most \(n^{\varepsilon^{-O(1)}}\), as argued after the description of that procedure. So we can, in polynomial time, try all possibilities and, among all solutions found (one for each guess of \(\mathcal{R}_0\)), return one that minimizes the cost and, in particular, has cost at most that of \(S^*\) (which was analyzed assuming the guess of \(\mathcal{R}_0\) was correct). We thus have a polynomial time algorithm that returns a solution that satisfies the guarantee of the lemma. ◻

9.11 Putting Everything Together – Proof of 2↩︎

We now turn to proving 2. We first describe the algorithm we analyse.

9.11.0.1 A \(({4}+O(\sqrt{\varepsilon}))\)-Approximation for \(k\)-Means on \(\varepsilon/\log n\)- Stable Instances \(k, D, F, d\).


  1. \(S \gets\) Local Search on \((k, D, F, d)\), see 9.1

  2. Let \(W\) be the set produced by the \(s^*\)-\(D^2\)-Sample process (9.3) on \(S\).

  3. For each \(\mathcal{B}{\in \mathcal{L}_{\texttt{bal}}}\) produced as in 43 on \(W\) (9.4)

    1. Compute the set of dummy centers \(\Lambda\).

    2. For each \(Q\in \mathcal{L}_{\text{exp}}\) produced as in 46 (9.6):

      1. For each \(\widetilde{\mathcal{U}}{\in \mathcal{L}_{cheap}}\), with the associated \(\widetilde{\mu}\), produced as in 48 (9.8):
        solve the Submodular Instance associated with \((W,\mathcal{B},\mathcal{Q},\widetilde{\mathcal{U}},\widetilde{\mu})\) and compute the resulting solution \(S_{(W,\mathcal{B},\mathcal{Q},\widetilde{\mathcal{U}},\widetilde{\mu})}\) for the \(k\)-Means problem (9.10)
  4. Output the solution \(S_{(W,\mathcal{B},\mathcal{Q},\widetilde{\mathcal{U}},\widetilde{\mu})}\) of smallest cost.

Our approach consists of running the above algorithm \(\log n\) times and take the minimum cost solution output. In the remaining, we argue that the above algorithm yields a \(({4}+O(\sqrt{\varepsilon}))\)-approximation with probability at least \((1-\varepsilon)(1-1/n)\). 2 then follows as the probability that all \(\log n\) executions of the above algorithm would fail is at most \(\left( 1- (1-\varepsilon)(1-1/n)\right)^{\log n} < 1/n\), and so with high probability we output a \(({4}+O(\sqrt{\varepsilon}))\)-approximation.

We first discuss the algorithm’s running time. The local search algorithm runs in polynomial time. The submodular optimization step also runs in polynomial time by 49. The output of the \(s^*\)-\(D^2\)-Sample process (which is clearly a polynomial time procedure) is a subset of size \(s^*\). By 43, we construct \(\mathcal{L}_{\texttt{bal}}\) in polynomial time, and \(|\mathcal{L}_{\texttt{bal}}| \leq n^{\varepsilon^{-O(1)}}\). Similarly, by 46, we construct \(\mathcal{L}_{\text{exp}}\) in polynomial time and \(|\mathcal{L}_{\text{exp}}| \leq n^{\varepsilon^{-O(1)}}\). Finally, by 48, we construct in polynomial-time \(n^{\varepsilon^{-O(1)}}\) candidate pairs \(\widetilde{\mathcal{U}},\widetilde{\mu}\). It follows that we solve \(n^{\varepsilon^{-O(1)}}\) submodular function optimization problems, each in polynomial time, and thus the total running time is polynomial.

We turn to proving the approximation guarantee. We aim to show that there exists a \((W,\mathcal{B}, \mathcal{Q}, \widetilde{\mathcal{U}}, \widetilde{\mu})\) that is successful with probability at least \((1-\varepsilon/2)\). Assuming this, the \(({4}+O(\sqrt{\varepsilon}))\)-approximation follows by 49.

Our algorithm runs the local search algorithm and thus provides us with a \(26\) approximation \(S\) that satisfies 39. Our algorithm next applies the \(s^*\)-\(D^2\)-Sample process and by 40 finds a successful \(W\) with probability at least \(1-\varepsilon\). Condition on having a successful \(W\), we then have that 41 holds, and so does 42 by combining 39 and 41.

Next, 43 implies that one set of balls \(\mathcal{B}\) is a valid set of balls. This set of balls induces a set of dummy centers \(\Lambda\). From there, by 46 we have that with probability at least \(1-1/n\), the procedure from 46 produces a set of centers \(\mathcal{Q}\) such that

  1. \(\mathcal{Q}\subseteq S_0\), and

  2. The total cost in solution \(S {-} Q \cup \Lambda\) of the clusters in \(S_0 {-} \mathcal{Q}\) is at most \(\varepsilon\cdot \text{opt}\).

and so we have obtained a successful \((W,\mathcal{B},\mathcal{Q})\) and 47 applies. Condition on the event that we obtain a successful \((W, \mathcal{B}, \mathcal{Q})\), then, the procedure from 48 outputs a pair \((\widetilde{\mathcal{U}}, \widetilde{\mu})\) satisfying the properties in the claim of the lemma. We thus have a \((W, \mathcal{B}, \mathcal{Q}, \widetilde{\mathcal{U}},\widetilde{\mu})\) such that \(W\) is successful, the set of balls \(\mathcal{B}\) from 9.4 is valid, \(\mathcal{Q}\) selected in 9.6 satisfies the properties of 46, and \(\widetilde{\mathcal{U}},\widetilde{\mu}\) selected in this section satisfies the properties of 48 and so \((W, \mathcal{B}, \mathcal{Q}, \widetilde{\mathcal{U}},\widetilde{\mu})\) is successful. Finally, note that the only probabilistic steps were the sampling of \(W\) and of \(\mathcal{Q}\), and both steps are successful with probability at least \((1-\varepsilon) \cdot (1-1/n)\), as required.

10 \((2+O(\sqrt{\varepsilon}))\)-Approximation for \((\frac{\zeta}{\log n})\)-Stable Euclidean Instances↩︎

In this section, we prove Theorem 3. Recall that our goal is to compute a \(2+O(\sqrt{\varepsilon})\) approximate solution for \(O(\zeta/\log n)\) stable instances. This improves on the \(4+O(\sqrt{\varepsilon})\) approximation in [21], that however works in the more general metric setting, under the only restriction that the client locations are valid facility locations (while our improvement only works for the Euclidean case). Our algorithm is the same as in [21], and our analysis is very similar too: in the following we will only focus on the differences in the analysis.

10.0.0.1 Notation and Preliminaries.

To simplify the formulas, we let \(\varepsilon\) be the minimum of \(\varepsilon\) and \(\zeta\) in the claim of Theorem 3 and further assume that \(\varepsilon<1/12\) is sufficiently small. With this notation, we present a \((2+O(\sqrt{\varepsilon}))\)-approximation algorithm for \(\varepsilon/\log(n)\)-stable instances. This implies the above theorem as any \(\zeta/\log(n)\)-stable instance is also \(\zeta'/\log(n)\)-stable with \(\zeta' \leq \zeta\).

Recall that, by known reductions, we can assume that we are given a set \(F\) of tentative centers, with \(D\subseteq F\), and we have to choose centers from that set. Recall also that non-zero distances are between \(1\) and \(n^2/\varepsilon^2\) according to Lemma 6. We also assume w.l.o.g. that the optimal cost is positive (hence at least \(1\)).

Given a cluster \(C^*\) with center \(c^*\in F\), in the analysis it is convenient to consider the actual center of mass \(\mu(C^*)\) of \(C^*\). Obviously \(\sum_{p\in C^*}d^2(\mu(C^*),p)\leq \sum_{p\in C^*}d^2(c^*,p)\). We will also need the following standard fact.

Lemma 51. For any \(C^*\subseteq D\) and for any \(c{,c^*}\in \Re^t\), \[\sum_{p\in C^*}d^2(c,p)\leq |C^*|d^2(c,\mu(C))+\sum_{p\in C^*}d^2(\mu(C^*),p){\leq |C^*|d^2(c,\mu(C^*))+\sum_{p\in C^*}d^2(c^*,p)}.\]

Given a set of centers \(A\subseteq F\) (not necessarily of cardinality \(k\)), we let \(A_p=d^2(p,A)\) denote the cost associated to \(p\) in the clustering induced by \(A\), and \(\text{cost}(A):=\sum_{p\in D}A_p\) be the total cost of \(A\). The cluster in \(A\) associated with \(c\in A\) is denoted by \(A(c)\). Sometimes we will consider a (possibly suboptimal) assignment \(\mu:D\rightarrow A\) of clients to centers in \(A\), and let \(\text{cost}(A,\mu):=\sum_{p\in D}d^2(p,\mu(p))\) be the corresponding cost. Let \(\text{OPT}\) be a fixed optimum solution under the restriction \(\text{OPT}\subseteq F\). Let also \(\text{opt}= \text{cost}(\text{OPT})\) be its cost.

10.0.0.2 Overview of our approach.

Our algorithm consists of a few steps which are discussed in the following subsections. The first step (see Section 10.1) is to compute a candidate solution \(S\) via standard local search. We will show that the points in almost all the clusters in \(\text{OPT}\) (excluding a logarithmic size set) pay in \(S\) roughly the same cost as in \(\text{OPT}\). We call the centers \(OPT_{pure}\) of such clusters pure. More precisely, we will show that all the points in \(OPT(c^*)\) with \(c^*\in \text{OPT}_{pure}\) can be reassigned to the same center \(c'\in S\) without increasing too much their cost.

For each remaining impure center \(c\), we identify a core set of clients in \(\text{OPT}(c)\), the leaders, which are sufficiently close to \(c\). We distinguish the impure clusters depending on whether the cost in \(S\) of the leaders is small (core-cheap) or large (core-expensive). The next step (see Section 10.2) is to identify one leader in most of the core-expensive clusters of \(\text{OPT}\). Let \(\Lambda\) be the set of such leaders, and \(\text{OPT}_{exp}\) be the core-expensive centers for which one leader was discovered. One can reassign all the clients \(\text{OPT}(c^*)\) with \(c^*\in \text{OPT}_{exp}\) to the corresponding leader while increasing their cost at most by a factor (roughly) \(2\). Let \(\text{OPT}_{cheap}\) be the remaining impure centers of \(\text{OPT}\). We show that we can reassign all the clients \(OPT(c^*)\) with \(c^*\in \text{OPT}_{cheap}\) to the same center in \(S\) while increasing their cost, again, by at most a factor (roughly) \(2\). The latter two mentioned factors \(2\) are replaced by \(4\) in the analysis in [21].

Consider next the solution that contains the leaders \(\Lambda\) plus the centers in \(S\) to which the points in the clusters of \(\text{OPT}_{pure}\cup \text{OPT}_{cheap}\) are reassigned (which are at most \(|\text{OPT}_{pure}|+|\text{OPT}_{cheap}|\) many). Notice that this is a feasible solution since \(|\Lambda|=|\text{OPT}_{exp}|\). Furthermore, it is (roughly) \(2\)-approximate by the previous discussion. Our final goal is to identify such a solution, or some good enough approximation of it. More precisely, we start with the solution \(\Lambda\cup S\) (which is infeasible), and remove a set \(S'_{disc}\subseteq S\) of \(|\Lambda|\) many carefully chosen centers. This removal is done in two steps. First (see Section 10.3), we remove a set \(\mathcal{Q}\subseteq S\) of centers which are expensive in \(S\). Then (see Section 10.4), we remove other \(\widetilde{\mathcal{U}}\) centers from \(S\), with \(|\widetilde{\mathcal{U}}|=|\Lambda|-|\mathcal{Q}|\).

10.1 Locally Optimal Solution and Pure Clusters↩︎

Let \(S\) be a locally optimal solution output by the following standard local search algorithm. Here, for technical reasons and differently from [33], we use a truncated version of local search: this way we do not need to assume that distances are integers.

10.1.0.1 \(localSearch()\)


\(S \gets\) Arbitrary solution for \(k\)-Means \(S \gets S'\) return \(S\)

We remark that the running time of the above procedure is polynomial. It is standard fact that local search achieves a \(26\) approximation for \(k\)-Means, see [15] (as we will see, the specific constant in not very relevant for us).

Lemma 52 ([15]). The procedure \(localSearch()\) runs in polynomial time and returns a feasible solution \(S\) with \(\text{cost}(S) \leq 26\cdot \text{opt}\).

We next fix \(S\), and recall that we also fixed a reference optimal solution \(\text{OPT}\). We identify in \(\text{OPT}\) a set of pure clusters as follows. We say that a cluster \(C^*\) of \(\text{OPT}\) is pure (w.r.t. \(S\)) if there exists a cluster \(C'\) of \(S\) such that \(|C' \Delta C^*| \le {3\varepsilon} \min(|C^*|,|C'|)\). In which case we also say that \(C'\) is pure w.r.t. \(\text{OPT}\). We say that \(C'\) and \(C^*\) are associated. By \(\text{OPT}_{pure}\subseteq \text{OPT}\) we denote the set of the centers of pure clusters (that we also call pure). The centers (resp, clusters) which are not pure are impure. The impure centers of \(\text{OPT}\) are denoted by \(\text{OPT}_{imp}\). We use a similar notation for the centers and clusters of \(S\). The following lemma follows from the fact that the input is \(\beta\)-stable for \(\beta := \varepsilon/\log n\) and that the solution \(S\) is a \(26\)-approximation by 52. Given a client or center \(a\) and a distance \(r\), we let \(B(a,r)\) be the set of clients and centers at distance at most \(r\) from \(a\). We will use the following Lemma from [17] (for technical reasons the original proof uses \(25\) as the approximation ratio of the local search solution, however their proof works exactly in the same way with \(26\)).

Lemma 53 ([17]). \(|\text{OPT}_{imp}|\leq \frac{\log n}{\varepsilon^3}\).

We next define a replacement cost \(r(p)\) for each client \(p\in D\). Let \(C^*\) be a pure cluster of \(\text{OPT}\) and \(C'\) be the associated cluster of \(S\). Let \(c^*\) be the center of \(C^*\) and \({c'}\) be the center of \({C'}\). We define \(t(c^*) := {c'}\). For any client \(p \in C^*\), let \(r(p) := d^2(p, {c'}) = d^2(p, t(c^*))\). For any impure cluster \(C^*\) with center \(c^*\), we let \(t(c^*)\) be the center of \(S\) closest to \({\mu(C^*)}\), and define \(r(p)=d^2(p,t(c^*))\) for each \(p\in C^*\).

The following lemma is the only one that requires that the solution \(S\) is obtained via local search (the proof of the previous lemma only used that it was a constant-factor approximation). In words, it says that \(S\) approximates the connection cost of clients belonging to pure clusters of the optimal solution almost perfectly. We will use the following Lemma from [17].

Lemma 54 ([17]). \(\sum_{c^*\in \text{OPT}_{pure}}\sum_{p\in \text{OPT}(c^*)} r(p) \leq \sum_{c^*\in \text{OPT}_{pure}}\sum_{p\in \text{OPT}(c^*)} \text{OPT}_p + O(\sqrt{\varepsilon}) \cdot \text{opt}\,.\)

10.2 Leaders’ Sampling of Leader-Expensive Clusters of \(\text{OPT}\)↩︎

Let \(\text{OPT}_{imp}=\text{OPT}-\text{OPT}_{pure}\) be the impure centers of \(\text{OPT}\). We next partition \(\text{OPT}_{imp}\) according to the following definition. Consider any \(c^*\in \text{OPT}_{imp}\) and set \(C^*=\text{OPT}(c^*)\). We let \(\text{avg}(c^*)\) be the squared distance from \({\mu(C^*)}\) to the \(\varepsilon|C^*|\)-th closest client of \(C^*\) to \({\mu(C^*)}\). We further let \(\text{OPT}_{lead}(c^*)\) be the set of clients of \(C^*\) at a squared distance at most \(\text{avg}(c^*)\) from \({\mu(C^*)}\): we call such clients leaders of the cluster. So \(\text{avg}(c^*)\) is the maximum squared distance from a leader to \({\mu(C^*)}\). Also note that we have, \(|\text{OPT}_{lead}(c^*)|\geq \varepsilon|C^*|\). We thus have that \(\text{avg}(c^*)\) is roughly upper bounded by the average optimal cost of \(C^*\), namely \[\label{eqn:boundavg95eucl} \text{avg}(c^*)\leq {\frac{1}{(1-\varepsilon)|C^*|}\sum_{p\in C^*} d^2(p, \mu(C^*))}\leq \frac{1}{(1-\varepsilon)|C^*|}\sum_{p\in C^*} \text{OPT}_p.\tag{56}\] At the same time \(\text{OPT}_{lead}(c^*)\) contains a constant fraction of the clients in \(\text{OPT}(c^*)\). We say that an impure center \(c^*\in \text{OPT}_{imp}\) is leader-cheap if the total cost in \(S\) of the clients in \(\text{OPT}_{lead}(c^*)\) is less than \(\varepsilon^{5}\text{opt}/\log n\), i.e., \(\sum_{p\in \text{OPT}_{\text{avg}}(c^*)}S_p\leq \frac{\varepsilon^5}{\log n}\text{opt}\). The remaining impure centers are called leader-expensive. We name similarly the respective clusters. Let \(\text{OPT}_{lcheap}\) and \(\text{OPT}_{lexp}\) be the leader-cheap and leader-expensive centers, resp. The next lemma shows that leader-cheap clusters have a small replacement cost. There is a similar lemma in [21] where the factor \(2\) is replaced by \(4\).

Lemma 55. \(\sum_{c^*\in \text{OPT}_{lcheap}} \sum_{p\in \text{OPT}(c^*)} r(p) \leq \sum_{c^*\in \text{OPT}_{lcheap}} \sum_{p\in \text{OPT}(c^*)} 2\,\text{OPT}_p + O(\sqrt{\varepsilon}) \text{opt}.\)

Proof. Consider any \(c^*\in \text{OPT}_{lcheap}\), and let \(C^*:=\text{OPT}(c^*)\) and \(C^*_{lead}:=\text{OPT}_{lead}(c^*)\). One has \[\sum_{p\in C^*}d^2(p,t(c^*))\overset{\text{Lem. }\ref{lem:centerMass}}{\leq} |C^*|d^2({\mu(C^*)},t(c^*))+\sum_{p\in C^*}\text{OPT}_p.\] Consider any \(\ell\in C^*_{lead}\) and let \(c(\ell)\) be the center closest to \(\ell\) in \(S\). Using 7 with \(\gamma=1+\sqrt{\varepsilon}\), \[\begin{align} d^2({\mu(C^*)},t(c^*)) & \leq d^2({\mu(C^*)},c(\ell))\overset{\text{Lem. }\ref{lem:apxTriangleInequality2}}{\leq} (1+\sqrt{\varepsilon})d^2({\mu(C^*)},\ell)+\frac{2}{\sqrt{\varepsilon}}d^2(\ell,c(\ell))\\ & \leq (1+\sqrt{\varepsilon})\text{avg}(c^*)+\frac{2}{\sqrt{\varepsilon}}S_\ell. \end{align}\] Averaging over \(\ell\in C^*_{lead}\), \[d^2({\mu(C^*)},t(c^*))\leq (1+\sqrt{\varepsilon})avg(c^*)+\frac{2}{\sqrt{\varepsilon}|C^*_{lead}|}\sum_{\ell\in C^*_{lead}}S_\ell\leq (1+\sqrt{\varepsilon})avg(c^*)+\frac{2}{\varepsilon^{1.5}|C^*|}\frac{\varepsilon^5}{\log n}\text{opt},\] where in the last inequality we used that \(|C^*_{lead}|\geq \varepsilon|C^*|\) and that \(C^*\) is leader-cheap. Recall that \(\text{avg}(c^*)\leq \frac{1}{(1-\varepsilon)|C^*|}\sum_{p\in C^*}\text{OPT}_p\) by 56 . Altogether \[\begin{align} \sum_{p\in C^*}d^2(p,t(c^*))\leq \sum_{p\in C^*}\text{OPT}_p+\frac{1+\sqrt{\varepsilon}}{1-\varepsilon}\sum_{p\in C^*}\text{OPT}_p+\frac{2\varepsilon^{3.5}}{\log n}\text{opt}. \end{align}\] The claim follows by summing over \(c^*\in \text{OPT}_{lcheap}\) and recalling that \(|\text{OPT}_{lcheap}|\leq |\text{OPT}_{imp}|\leq \frac{\log n}{\varepsilon^3}\) by Lemma 53. ◻

Our next goal is to identify one leader for each leader-expensive center. We will actually miss each one of the latter centers with some small probability, however this is not a problem as we will see. The idea is to sample each client \(p\) with probability proportional to its cost \(S_p\) for a sufficiently large number of times: this way it is unlikely to not hit each set \(\text{OPT}_{lead}(c^*)\) of a leader-expensive center \(c^*\). Then one extracts a proper set of leaders by brute force. Here we critically exploit the fact that there is only a logarithmic number of impure centers (by 53), hence of leader-expensive centers. We will use the following result in [21] that works when \(S\) is \(O(1)\) approximate.

Lemma 56. [21] There is a polynomial-time procedure to compute a collection \(\mathcal{L}_{lead}\) of subsets of clients such that, with probability at least \(1-\varepsilon\), at least one \(\Lambda\in \mathcal{L}_{lead}\) is valid, i.e., it satisfies the following property. Let \(\text{OPT}_{exp}\subseteq \text{OPT}_{lexp}\) be the centers with exactly one leader in \(\Lambda\) and \(\text{OPT}_{miss}=\text{OPT}_{lexp}-\text{OPT}_{exp}\). Then \[\sum_{c^*\in \text{OPT}_{miss}}\sum_{p\in \text{OPT}(c^*)}r(p)\leq 4\varepsilon\, \text{opt}.\]

We next assume that the event in the above lemma happens, and focus on the corresponding value of \(\Lambda\). For \(c^*\in \text{OPT}_{exp}\), we let \(lead(c^*)\) be the leader in \(\text{OPT}(c^*)\cap \Lambda\). Let us define \(\text{OPT}_{exp}\) and \(\text{OPT}_{miss}\) as in the above lemma. Let also \(\text{OPT}_{cheap}=\text{OPT}_{lcheap}\cup \text{OPT}_{miss}\). We call expensive and cheap the centers in \(\text{OPT}_{exp}\) and \(\text{OPT}_{cheap}\), resp. Similarly for the respective clusters. The next lemma upper bounds the distance of the points in expensive clusters to the corresponding leaders. There is an analogous lemma in [21] where the \(2\) is replaced by a \(4\).

Lemma 57. Assume that \(\Lambda\) is valid. One has \[\sum_{c^*\in \text{OPT}_{exp}}\sum_{p\in \text{OPT}(c^*)}d^2(p,\Lambda)\leq \sum_{c^*\in \text{OPT}_{exp}}\sum_{p\in \text{OPT}(c^*)}2\text{OPT}_p+O(\varepsilon)\text{opt}\].

Proof. Consider any \(c^*\in \text{OPT}_{exp}\). Let \(C^*:=\text{OPT}(c^*)\) and \(\ell{=lead(c^*)}\in \text{OPT}_{lead}(c^*)\cap \Lambda\). Notice that \(\ell\) is well-defined by the definition of \(\text{OPT}_{exp}\). Then \[\begin{align} \sum_{p\in C^*}d^2(p,\Lambda) & \overset{\text{Lem. }\ref{lem:centerMass}}{\leq} |C^*|d^2({\mu(C^*)},\ell)+\sum_{p\in C^*}\text{OPT}_p \leq |C^*|\text{avg}(c^*)+\sum_{p\in C^*}\text{OPT}_p \\ & \overset{\eqref{eqn:boundavg95eucl}}{\leq} (1+O(\varepsilon))\sum_{p\in C^*}\text{OPT}_p. \end{align}\] ◻

The next lemma shows that there exists a choice of \(|\text{OPT}_{exp}|\) many centers \(S_{disc}\subseteq S\), such that, replacing \(S_{disc}\) with \(\Lambda\) in \(S\) leads to a roughly \(2\) approximate solution. Let \(D_{exp}=\cup_{c^*\in \text{OPT}_{exp}}\text{OPT}(c^*)\) and \(D_{cheap}=D-D_{exp}\). The proof of the following lemma is almost identical to the one of an analogous lemma in [21] (where the \(2\) is replaced by a \(4\)).

Lemma 58. Suppose that \(\Lambda\) is valid. Then there exists a set \(S_{disc}\subseteq S\) that satisfies the following properties:

  1. \(|S_{disc}| = |\text{OPT}_{exp}|=|\Lambda| \le \frac{\log n}{\varepsilon^3}\);

  2. for every \(c \in S_{disc}\), there is no \(c^* \in \text{OPT}-\text{OPT}_{exp}\) such that \(t(c^*) = c\);

  3. \(\text{cost}(S - S_{disc} \cup \Lambda) \le 2 \sum_{p \in D_{exp}}\text{OPT}_p + \sum_{p \in D_{cheap}} r(p) \le (2+O(\sqrt{\varepsilon}))\text{opt}\).

Proof. By definition, the centers in \(\text{OPT}_{exp}\) are not pure, hence \(|\Lambda|=|\text{OPT}_{exp}|\leq \frac{\log n}{\varepsilon^3}\) by 53. For each center \(c^*\in \text{OPT}_{pure}\cup \text{OPT}_{cheap}\), there is one associated center \(t(c^*)\) in \(S\), hence the total number of the latter centers \(S'\subseteq S\) is at most \(|\text{OPT}_{pure}|+|\text{OPT}_{cheap}|=k-|\text{OPT}_{exp}|\). Let us set \(S_{disc}\) to any subset of \(|\text{OPT}_{exp}|\) centers in \(S- S'\). The first two bullets follow.

Let us turn to the last bullet. By 57 \[\sum_{p\in D_{exp}}d^2(p,S\cup \Lambda-S_{disc})\leq \sum_{p\in D_{exp}}d^2(p,\Lambda) \leq \sum_{p\in D_{exp}}2\text{OPT}_p +O(\varepsilon) \text{opt}.\] From the second bullet, for each client \(p\) in a cluster of the optimum solution whose center is \(c^* \in \text{OPT}_{cheap}\), we have that \(t(c^*) \in S-S_{disc}\) and so its cost is at most \(r(p)\). Thus, by Lemmas 55 and 56, \[\sum_{p\in D_{cheap}}d^2(p,S\cup \Lambda-S_{disc})\leq \sum_{p\in D_{cheap}}r(p)\leq \sum_{p\in D_{cheap}}2\text{OPT}_p+O(\sqrt{\varepsilon})\text{opt}.\] The last bullet follows. ◻

10.3 Removal of Expensive Centers of \(S_{disc}\)↩︎

Let us start with the tentative solution \(S\cup \Lambda\) (which is infeasible since it contains more than \(k\) centers). Our goal is to remove a proper subset \(S'_{disc}\) of \(|\Lambda|\) many centers from \(S\), so that \(S\cup \Lambda -S'_{disc}\), which is a feasible solution, is roughly \(2\)-approximate. Ideally we would like to choose \(S'_{disc}=S_{disc}\), so that Lemma 58 directly gives what we need. We will rather find some \(S'_{disc}\) which is comparably good. For a subset \(A\subseteq S\), let \(S_{A}:=S\cup \Lambda-A\). As usual, we let \(S_A(c)\) be the cluster in \(S_A\) associated with the center \(c\in S_A\).

Consider any cluster \(C\) of \(S\cup \Lambda\) with center \(c\in S_{disc}\). For reasons that will become clearer later, if we remove \(c\) (which is then added to \(S'_{disc}\)), we would like to assign all the clients in \(C\) to the same center \(c'\) in \(S\cup \Lambda-\{c\}\). Similarly for the later steps. However, this might be too expensive when the cost of \(C\) in \(S\cup \Lambda\) is large. Our next goal is to identify a subset \(\mathcal{Q}\subseteq S_{disc}\) of centers such that, after removing \(\mathcal{Q}\) from \(S\cup \Lambda\), we enforce in some sense the above property. More precisely, we desire that the cost of the clusters with center in \(S_{disc}-\mathcal{Q}\) in the solution \(S_{\mathcal{Q}}:=S\cup \Lambda-\mathcal{Q}\) is very small compared with \(\text{opt}\). This is done via the following lemma in [33] that is based on the fact that \(\text{cost}(\Lambda\cup S-S_{disc})\leq O(1)\cdot\text{opt}\).

Lemma 59 ([21]). There is a procedure that runs in time \(n^{1/\varepsilon^{O(1)}}\) and produces a collection \(\mathcal{L}_{\text{exp}}\) of at most \(n^{1/\varepsilon^{O(1)}}\) subsets of \(S\) such that with probability at least \(1-1/n\) there exists \(\mathcal{Q}\in \mathcal{L}_{\text{exp}}\) satisfying

  1. \(\mathcal{Q}\subseteq S_{disc}\), and

  2. The total cost in \(S_{\mathcal{Q}}\) of the clusters with centers in \(\mathcal{U}:=S_{disc} - \mathcal{Q}\) is at most \(\varepsilon\cdot \text{opt}\), namely \(\sum_{c\in \mathcal{U}}\sum_{p\in S_{\mathcal{Q}}(c)}d^2(p,c)\leq \varepsilon\cdot \text{opt}\).

10.4 Removal of Cheap Centers from \(S\)↩︎

Our algorithm considers each choice of \(\mathcal{Q}\in \mathcal{L}_{exp}\). We next assume that there exists at least one such \(Q\) that satisfies the properties in Lemma 59 (event which happens with high probability), and focus on the execution of the algorithm corresponding to the latter \(\mathcal{Q}\). Consider the (possibly infeasible) solution \(S_{\mathcal{Q}}\). Our target reference solution is \(S_{S_{disc}}\), which is roughly \(2\)-approximate. Let \(\mathcal{U}:=S_{disc}-\mathcal{Q}\). Ideally we would like to remove \(\mathcal{U}\) from \(S_{\mathcal{Q}}\), hence getting the desired solution \(S_{\mathcal{Q}\cup \mathcal{U}}=S_{S_{disc}}\). We will rather remove a subset \(\mathcal{U}'\) of the same cardinality, whose removal leads to a solution of cost only marginally larger than the cost of \(S_{S_{disc}}\). In order to simplify our argument, for each candidate set of centers \(\mathcal{U}'\subseteq S-\mathcal{Q}\) with \(|\mathcal{U}'|=|\mathcal{U}|\), we will restrict our attention to suboptimal assignments \(\mu_{\mathcal{U}'}\) of points to centers in \(S_{\mathcal{Q}\cup \mathcal{U}'}\) such that, for each \(c\in \mathcal{U}'\), all the points \(p\in S_{\mathcal{Q}}(c)\) are assigned to the closest center \(t(c,\mathcal{U}')\in S_{\mathcal{Q}\cup \mathcal{U}'}\) to \(c\). The remaining points are assigned by \(\mu_{\mathcal{U}'}\) to the same center as in \(S_{\mathcal{Q}}\). We call consistent an assignment \(\mu_{\mathcal{U}'}\) of this type, and we denote the consistent cost of the corresponding solution by \[cost'(S_{\mathcal{Q}\cup \mathcal{U}'})=\sum_{p\in D}d^2(p,\mu_{\mathcal{U}'}(p)).\] Obviously \(cost'(S_{\mathcal{Q}\cup \mathcal{U}'})\) is an upper bound on the actual cost \(cost(S_{\mathcal{Q}\cup \mathcal{U}'})\) of the solution \(S_{\mathcal{Q}\cup \mathcal{U}'}\). The next lemma shows that, for \(\mathcal{U}'=\mathcal{U}\), the consistent cost is small enough. The first inequality in the following lemma follows directly from an analogous lemma in [21], while the second from 58.3.

Lemma 60. \(cost'(S_{\mathcal{Q}\cup \mathcal{U}})\leq cost(S_{\mathcal{Q}\cup \mathcal{U}})+O(\sqrt{\varepsilon}) \text{opt} \leq (2+O(\sqrt{\varepsilon}))\text{opt}.\)

Our next goal is to compute a set \(\widetilde{\mathcal{U}}\) of cardinality \(|\mathcal{U}|\) such that \[cost'(S_{\mathcal{Q}\cup \widetilde{\mathcal{U}}})\leq cost'(S_{\mathcal{Q}\cup \mathcal{U}})+O(\sqrt{\varepsilon})\text{opt}.\] This is done via the following lemma from [21].

Lemma 61 ([21]). Assume that \(\Lambda\) and \(\mathcal{Q}\) satisfy the properties mentioned before. Then there is a polynomial-time procedure that computes a polynomial size collection \(\mathcal{L}_{cheap}\) of subsets of \(S-\mathcal{Q}\), each of size \(|\Lambda|-|\mathcal{Q}|\), such that at least one \(\widetilde{\mathcal{U}}\in \mathcal{L}_{cheap}\) satisfies \(cost'(S_{\mathcal{Q}\cup \widetilde{\mathcal{U}}})\leq cost'(S_{\mathcal{Q}\cup \mathcal{U}})+O(\sqrt{\varepsilon})\text{opt}\).

10.5 Putting Everything Together – Proof of 3↩︎

We next summarize the overall algorithm:

10.5.0.1 \(apxStableEuclideankMeans()\)


\(\mathcal{L}_{apx}\leftarrow \emptyset\) \(S \gets localSearch()\) (see 10.1) Compute \(\mathcal{L}_{lead}\) according to Lemma 56 (see 10.2) Compute \(\mathcal{L}_{exp}\) according to Lemma 59 (see 10.3) Compute \({\cal L}_{cheap}\) according to Lemma 61 (see 10.4) \(\mathcal{L}_{apx}\leftarrow \mathcal{L}_{axp}\cup \{S\cup \Lambda - \mathcal{Q}-\widetilde{\mathcal{U}}\}\) return the cheapest solution \(APX\in \mathcal{L}_{apx}\)

We are now ready to prove Theorem 3.

Proof of Theorem 3. Consider the algorithm \(apxStableEuclideankMeans()\). Its running time is polynomial since the called procedures run in polynomial time (see Lemmas 52, 56, 59, and 61), which also implies that each considered set \(\mathcal{L}_{lead}\), \(\mathcal{L}_{exp}\) and \(\mathcal{L}_{cheap}\) has polynomial size.

Notice that all the solutions in \(\mathcal{L}_{apx}\) (including \(APX\)) contain at most \(k\) centers, hence they are deterministically feasible. Consider one execution of the outer for loop. Suppose that the event from Lemma 56 holds for some \(\Lambda\in \mathcal{L}_{lead}\), which happens with probability at least \(1-\varepsilon\), and focus on that choice of \(\Lambda\) in Line [line:apxStablekMeans:forLambda]. Notice that under this condition Lemmas 57 and 58 hold. Suppose also that the event from Lemma 59 holds for some \(\mathcal{Q}\in \mathcal{L}_{exp}\), which happens with probability at least \(1-1/n\), and focus on that choice of \(\mathcal{Q}\) in Line [line:apxStablekMeans:forQ]. Under these assumptions, which hold with probability at least \(1-2\varepsilon\) altogether, there exists \(\widetilde{\mathcal{U}}\in \mathcal{L}_{cheap}\) which satisfies the conditions of Lemma 61: let us focus on the execution of Line [line:apxStablekMeans:forU] for this value of \(\widetilde{\mathcal{U}}\), and consider the corresponding solution \(APX=S\cup \Lambda-\mathcal{Q}-\widetilde{\mathcal{U}}\). Observe that, under the above assumptions, Lemma 60 also holds. Thus \[cost(APX)\leq cost'(APX) \overset{Lem. \ref{lem:successcheapremove95eucl}}{\leq} cost'(S_{\mathcal{Q}\cup \mathcal{U}})+O(\sqrt{\varepsilon})\text{opt}\overset{Lem. \ref{lem:consistentCost}}{\leq} (2+O(\sqrt{\varepsilon}))\text{opt}.\] Since the outer for loop is executed \(\frac{1}{2\varepsilon}\ln n\) many times, the probability that no \(APX\in \mathcal{L}_{apx}\) is \(2+O(\sqrt{\varepsilon})\) approximate is at most \(1/n\). The claim follows. ◻

Acknowledgement↩︎

The authors developed the new algorithm, found evidence that it might improve upon the previous work, and established the \((3+\ln 2+\varepsilon)\)-approximation for the Euclidean case without any help of AI.

For the metric case, the authors developed a \((5+\varepsilon)\)-analysis without any help of AI. The better \((4.9+\varepsilon)\)-analysis was obtained by GPT 5.2/5.4 Pro/Thinking after several rounds of communication between the authors and it. The writeup for the \((4.9+\varepsilon)\)-analysis has been verified and revised by the authors. The two analyses follow quite different routes within the spectral analysis framework and were found by different authors simultaneously.

Aditya Anand, Euiwoong Lee, and Amatya Sharma were supported in part by NSF grant 2236669. Ruiquan Gao was supported by NSF CCF-2112824 and Aviad Rubinstein’s David and Lucile Packard Fellowship. Fabrizio Grandoni was partially supported by the SNF Grants 200021-200731 and 200021-236706. Ernest van Wijland was supported in part by the French PEPR integrated projects EPIQ (ANR-22-PETQ-0007).

11 Proof of Theorems [thm:main95euclidean] and [thm:main95metric]↩︎

Proofs of [thm:main_metric,thm:main_euclidean]. We compute a set of feasible solutions, and return the cheapest one. Let \(\Delta\) be the maximum extra number of centers computed by the algorithm from Theorem 1 (this number is independent from \(k\)). Let \(k'=\max\{1,k-\Delta\}\). Obtain a solution by computing the optimum solution with one center if \(k'=1\), and otherwise by running the algorithm from Theorem 1 with target number of centers being \(k'\) (notice that it returns a solution with at most \(k\) centers, and is hence feasible).

We run the algorithm from either of [thr:mainMetricStable,thr:mainEuclideanStable] for every integer \(k''\in (k',k]\) (thus obtaining solutions with \(k''\leq k\) centers, hence feasible).

If \(\text{OPT}_{k'}\leq {(1+\varepsilon)}\text{OPT}_k\), the first solution is \({(1+\varepsilon)}\Gamma\) approximate. Otherwise, \({\text{OPT}}_{k'} > (1+\varepsilon)\text{OPT}_k.\) Thus there exists an integer \(k''\in (k',k]\) such that \({\text{OPT}}_{k''}\leq (1+\varepsilon){\text{OPT}}_{k}\) and \({\text{OPT}}_{k''-1}\geq (1+\beta){\text{OPT}}_{k''}\) for \(\beta = \Omega(\varepsilon/\Delta)=\Omega(\varepsilon^4/\log n)\). For that value of \(k''\) the corresponding instance of Metric \(k\)-Means is \(\beta\)-stable, hence we can compute a solution with cost at most \((4+O({\sqrt{\varepsilon}})){\text{OPT}}_{k''}\leq (1+\varepsilon)(4+O({\sqrt{\varepsilon}})){\text{OPT}}_k\) using 2, which yields a \((1 + \varepsilon)(4 + \sqrt{\varepsilon})\) approximation. Similarly, in the Euclidean case, we get a \((1 + \varepsilon)(2 + O(\sqrt{\varepsilon}))\) approximation using 3. The proof is then complete after suitably rescaling \(\varepsilon\). ◻

12 Missing Proofs in 5↩︎

12.1 Proof of [lem:stoc-key-lemma]↩︎

In this appendix, we prove [lem:stoc-key-lemma] for the sake of completeness. Our proof works for the more general case where \(x_i\in \mathbb{R}^{\mathsf{dim}}\) for some \(\mathsf{dim}\geq 1\).

12.1.1 Preliminaries on weighted \(k\)-means↩︎

We define the weighted versions of Euclidean \(k\)-Means that will be useful later in the proof.

Definition 6 (weighted discrete Euclidean \(k\)-Means). The input consists of a set of clients \(D\), a set of facilities \(\mathcal{F}\) and their locations \(x:D\cup\mathcal{F}\to \mathbb{R}^{\mathsf{dim}}\). In addition there is a weight function \(w:D\to \mathbb{R}_{>0}\) mapping each client to a positive weight. The goal of the discrete Euclidean k-Means problem is to find a set of \(k\) centers \(S \subseteq \mathcal{F}\) such that \(|S|=k\) and the following objective is minimized: \[\begin{align} \sum_{j\in D} w(j) \min_{i\in S} \|x_i-x_j\|_2^2~. \end{align}\]

Definition 7 (weighted continuous Euclidean \(k\)-Means). The input consists of a set of clients \(D\) and their locations \(x:D \to \mathbb{R}^{\mathsf{dim}}\). In addition there is a weight function \(w:D\to \mathbb{R}_{>0}\) mapping each client to a positive weight. The goal of the weighted continuous Euclidean \(k\)-Means problem is to find a set of \(k\) centers \(S\subseteq\mathbb{R}^{\mathsf{dim}}\) such that \(|S|=k\) and the following objective is minimized: \[\begin{align} \sum_{j\in D} w(j) \cdot \min_{c\in S} \|c-x_j\|_2^2~. \end{align}\] In particular, an instance is unweighted if \(w(j)=1\) for any client \(j\in D\).

One technical lemma we will use later is a characterization of the optimal cost of a cluster consisting of a set of clients among all possible choices of the center.

Lemma 62 (single-cluster cost of weighted continuous Euclidean \(k\)-Means). Suppose the set \(C\subseteq D\) forms a cluster. Suppose that \(W=\sum_{j\in C} w(j)\). The optimal center is the weighted average of the points \(\sum_{j \in C} \frac{w(j)}{W} x_j\), and the cost is \[\begin{align} \mathsf{cost}_w(C) = \frac{1}{W} \cdot \sum_{j, \ell \in \binom{C}{2}} w(j) w(l) \|x_j-x_\ell\|_2^2 \end{align}\] In particular, if the instance is unweighted, we will use the notation \(\text{cost}(C)\) for simplicity.

Proof. The optimal center is given by optimizing the following the total weighted cost \[\begin{align} {2} f(c) = \sum_{j\in C} w(j) \cdot \|c-x_j\|^2_2 &= \sum_{j\in C} w(j) \cdot (\|c\|_2^2 - 2\langle x_j, c\rangle + \|x_j\|_2^2) \\ &= W\|c\|_2^2 - 2 \cdot \sum_{j\in C} \langle w(j) \cdot x_j, c\rangle + \sum_{j\in C} w(j) \cdot \|x_j \|_2^2~. \end{align}\] It is clear that \(f(c)\) is convex and the gradient is \[\nabla f(c) = 2 W c - 2\cdot \sum_{j\in C} w(j) \cdot x_j~.\] Therefore, the optimal center is \(c^* = \frac{\sum_{j\in C} w(j)\cdot x_j}{W}\). In particular, the total weighted cost: \[\begin{align} f(c^*) &= - \frac{1}{W} \cdot \left\| \sum_{j\in C} w(j) \cdot x_j\right\|_2^2 + \sum_{j\in C} w(j) \cdot \|x_j \|_2^2\\ &= \frac{1}{W} \cdot \sum_{j,\ell\in C} w(j) \cdot w(\ell) \cdot (\|x_j\|_2^2 - \langle x_j, x_\ell\rangle) \\ &= \frac{1}{W} \cdot \sum_{j,\ell\in \binom{C}{2}} w(j) \cdot w(\ell) \cdot (\|x_j\|_2^2 - 2\langle x_j, x_\ell\rangle + \|x_\ell\|_2^2) \\ &= \frac{1}{W} \cdot \sum_{j,\ell\in \binom{C}{2}} w(j) \cdot w(\ell) \cdot \|x_j-x_\ell\|_2^2~. \end{align}\] This completes the proof. ◻

Lemma 63. For any sets \(C_1\subseteq C_2\) of clients and any weight function \(w\), we have \(\text{cost}_w(C_1) \leq \text{cost}_w(C_2)\).

Proof. Suppose \(c_2\) is the optimal center for \(C_2\). Then, we have \[\begin{align} \text{cost}_w(C_1) \leq \sum_{j\in C_1} w(j) \cdot \|x_j-c_2\|_2^2 \leq \sum_{j\in C_2} w(j) \cdot \|x_j-c_2\|_2^2 = \text{cost}_w(C_2)~.&\hfill \qedhere \end{align}\] ◻

Lemma 64. Consider any set \(C\) of clients, any client \(j\notin C\) and any weight function \(w\). Let \(W=\sum_{\ell\in C} w(\ell)\). Then, we have \[\text{cost}_w(C\cup \{j\}) = \frac{W}{W+w(j)} \text{cost}_w(C) + \frac{w(j)}{W+w(j)} \cdot \sum_{\ell\in C} w(\ell)\|x_j-x_\ell\|_2^2~.\]

Proof. Using 62, we have \[\begin{align} \text{cost}_w(C\cup \{j\}) &= \frac{1}{W+w(j)} \cdot \sum_{\ell, \ell'\in \binom{C}{2}} w(\ell) w(\ell') \|x_\ell-x_{\ell'}\|_2^2 + \frac{w(j)}{W+w(j)} \cdot \sum_{\ell\in C} w(\ell)\|x_j-x_\ell\|_2^2\\ &= \frac{W}{W+w(j)} \text{cost}_w(C) + \frac{w(j)}{W+w(j)} \cdot \sum_{\ell\in C} w(\ell) \|x_j-x_\ell\|_2^2~. &\hfill \qedhere \end{align}\] ◻

12.1.2 The proof↩︎

Let \(a\in [s-1]\) be the smallest integer such that \(a\in DC^t\) for some \(t\in [s]\). If no such \(a\) exists, we set \(a=s\) (note that otherwise \(a<s\)). We will prove by induction on \(a\).

12.1.2.1 Inductive hypothesis.

For any \(s'\in [s]\) and any client \(j\in [s]\), we let \(w_{s'}(j)=\sum_{t\in [s']} \beta_t\eta_{tj}\). The inductive hypothesis is then: for any \(s'\in [s]\), we have \[\begin{align} \label{eqn:stoc-inductive-hypothesis} \sum_{t\in [s']} \beta_t \sum_{j\in DC^t} w(j) \sum_{\ell\in IC^t\cup \{t\}} p_{tj\ell} \cdot \|x_j-x_\ell\|^2 \leq \text{cost}_{w_{s'}}([a:s])~. \end{align}\tag{57}\] Because of recurrence relation of \(\beta_t\) (19 ), we have \(w_s(j)=w(j)\) for each \(j\in [s]\). We also have \(P_{j\ell} = \sum_{t\in [s]: j\in DC^t} \beta_t p_{tj\ell}\). Therefore, the LHS of 57 equals \(\sum_{j\in [s]} w(j) \sum_{\ell\in [s]} P_{j\ell} \cdot \|x_j-x_\ell\|^2\). [lem:stoc-key-lemma] then follows from the inductive hypothesis for \(s'=s\): \[\begin{align} \sum_{j<\ell} P_{j\ell} \cdot \|x_j-x_\ell\|^2 \leq \text{cost}_w([a:s]) \leq \text{cost}_w([s]) \leq \sum_{j\in [s]} w(j) \|x_j\|^2~, \end{align}\] where the last inequality follows from the fact that \(\sum_{j\in [s]} w(j) \|x_j\|^2\) is the total weighted cost of opening the center at \(0^{\mathsf{dim}}\).

12.1.2.2 Base case.

The base case is when \(a=s\). In this case, because \(DC^t=\emptyset\) for any \(t\in [s]\), we have \(p_{tj\ell}=0\) for any \(t,j,\ell\in [s]\), \(j\in DC^t\). The proof of the base case is then straightforward because the LHS of 57 equals \(0\).

12.1.2.3 Inductive step.

We assume that the inductive hypothesis holds for any \(a'>a\) and we will prove that it also holds for \(a\). Let \(t_{a}\) the smallest index \(t\) such that \(a\in DC^t\). Note that we have \(a<t_a\leq s\) because \(DC^a\subseteq [a-1]\) and \(a\in DC^t\) for some \(t\in [s]\).

Consider the case \((\widetilde{DC}, \widetilde{IC}, w)\), where the weights are the same, but for each \(t\in [s]\), we have \(\widetilde{DC}^t = DC^t\setminus \{a\}\) and \(\widetilde{IC}^t = IC^t\cup \{a\}\). We will use \(\tilde{p}_{tj\ell}, \tilde{\eta}_{tj}, \tilde{\beta}_t, \tilde{a}\) to denote the corresponding \(p_{tj\ell}, \eta_{tj}, \beta_t, a\) in the case \((\widetilde{DC}, \widetilde{IC}, w)\). In this case, we have \(\tilde{a}>a\). Let \(\tilde{w}_{s'}(j) = \sum_{t\in [s']} \tilde{\beta}_t \tilde{\eta}_{tj}\) for any \(s'\in [s]\) and any client \(j\in [s]\). Hence, according to the inductive hypothesis, we have \[\begin{align} \sum_{t\in [s']} \tilde{\beta}_t \sum_{j\in \widetilde{DC}^t} w(j) \sum_{\ell\in \widetilde{IC}^t\cup \{t\}} \tilde{p}_{tj\ell} \cdot \|x_j-x_\ell\|^2 \leq \text{cost}_{\tilde{w}_{s'}}([\tilde{a}:s]) \end{align}\] Next, we compare the parameters in the case \((DC, IC, w)\) and the case \((\widetilde{DC}, \widetilde{IC}, w)\).

  • For \(t<t_a\), we have \(\widetilde{DC}^t = DC^t\) and \(\widetilde{IC}^t = IC^t\). Therefore, we have \(\tilde{p}_{tj\ell} = p_{tj\ell}\) for any \(j,\ell\in [s]\).

  • For \(t\geq t_a\), we have \(DC^t = \widetilde{DC}^t\cup \{a\}\) and \(\widetilde{IC}^t = IC^t\setminus \{a\}\). Therefore, we have the following properties for such \(t\).

    • We have \(\pi_t(j) = \frac{\mathsf{suf}(a)}{\mathsf{suf}(a+1)} \cdot \tilde{\pi}_{t}(j)\) for any \(j\in [a+1:s]\) and \(\pi_t(j)=\tilde{\pi}_t(j)=1\) for \(j\in [a]\).

    • We have \(\eta_{tj} = \frac{\mathsf{suf}(a)}{\mathsf{suf}(a+1)} \cdot \tilde{\eta}_{tj}\) for any \(j\in [a+1:s]\). We have \(\eta_{ta} = 0\), \(\tilde{\eta}_{ta}=1\). We have \(\eta_{tj}=\tilde{\eta}_{tj}=1\) for any \(j\in [a-1]\).

    • We have \(\sigma_t(j) = \frac{\mathsf{suf}(a)}{\mathsf{suf}(a+1)} \cdot \tilde{\sigma}_t(j)\) for any \(j\in [a+1:s]\) and \(\sigma_t(j)=\tilde{\sigma}_t(j)\) for \(j\in [a]\). In particular, we have \(\sigma_t(a) = \mathsf{suf}(a)\).

    • We have \(p_{tj\ell} = \tilde{p}_{tj\ell}\) for any \(j\in [a+1:s]\cap DC^t\) and \(\ell\in IC^t\cup \{t\}\). We have \(p_{ta\ell}=\eta_{t\ell}/\mathsf{suf}(a) = \tilde{\eta}_{t\ell}/\mathsf{suf}(a+1)\) and \(\tilde{p}_{ta\ell} = 0\) for any \(\ell\in [a+1:s]\cap IC^t\). We have \(p_{tj\ell}=\tilde{p}_{tj\ell}=0\) for all other cases.

Using the above properties, we have \(\beta_t = \frac{\mathsf{suf}(a+1)}{\mathsf{suf}(a)} \cdot \tilde{\beta}_t\) for \(t\geq t_a\) and \(\beta_t=\tilde{\beta}_t\) for \(a<t<t_a\). In addition, we have \(\beta_a=1-\sum_{j>a} \beta_j\). It can be verified by the recurrence relation of \(\beta_t\) (19 ). Therefore, we have \(\beta_t \eta_{tj} = \tilde{\beta}_t \tilde{\eta}_{tj}\) for any \(t\in [s]\), \(j\in [a+1:s]\). This implies that \(w_{s'}(j) = \tilde{w}_{s'}(j)\) for any \(s'\in [s]\) and any \(j\in [a+1:s]\).

12.1.2.4 case 1: \(s'<t_a\).

In this case, we have \(DC^t=\widetilde{DC}^t\) for any \(t\in [s']\), and we have \(\beta_t=\tilde{\beta}_t\) for any \(t\in [s']\) except for \(t=a\) (if \(s'\geq a\)). Because \(DC^a=\emptyset\) and 63, we have \[\begin{align} \sum_{t\in [s']} \beta_t \sum_{j\in DC^t} w(j) \sum_{\ell\in IC^t\cup \{t\}} p_{tj\ell} \|x_j-x_\ell\|^2 &= \sum_{t\in [s']} \tilde{\beta}_t \sum_{j\in \widetilde{DC}^t} w(j) \sum_{\ell\in \widetilde{IC}^t\cup \{t\}} \tilde{p}_{tj\ell} \|x_j-x_\ell\|^2\\ &\leq \text{cost}_{\tilde{w}_{s'}}([\tilde{a}:s]) = \text{cost}_{w_{s'}}([\tilde{a}:s]) \leq \text{cost}_{w_{s'}}([a:s]). \end{align}\]

12.1.2.5 case 2: \(s'\geq t_a\).

In this case, we have \(w_{s'}(a) = w(a)\) because \(\eta_{ta}=0\) for any \(t>s'\). Using the above properties, we have \[\begin{align} &\sum_{t\in [s']} \beta_t \sum_{j\in DC^t} w(j) \sum_{\ell\in IC^t\cup \{t\}} p_{tj\ell} \|x_j-x_\ell\|^2 \\ =\;& \sum_{t\in [t_a-1]} \beta_t \sum_{j\in DC^t} w(j) \sum_{\ell\in IC^t\cup \{t\}} p_{tj\ell} \|x_j-x_\ell\|^2 + \sum_{t\in [t_a:s']} \beta_t \sum_{j\in DC^t} w(j) \sum_{\ell\in IC^t\cup \{t\}} p_{tj\ell} \|x_j-x_\ell\|^2 \\ =\;& \sum_{t\in [t_a-1]} \tilde{\beta}_t \sum_{j\in \widetilde{DC}^t} w(j) \sum_{\ell\in \widetilde{IC}^t\cup \{t\}} \tilde{p}_{tj\ell} \|x_j-x_\ell\|^2 + \sum_{t\in [t_a:s']} \beta_t w(a) \sum_{\ell\in IC^t\cup \{t\}} p_{ta\ell} \|x_a-x_\ell\|^2 \\ & + \sum_{t\in [t_a:s']} \frac{\mathsf{suf}(a+1)}{\mathsf{suf}(a)}\tilde{\beta}_t \sum_{j\in \widetilde{DC}^t} w(j) \sum_{\ell\in \widetilde{IC}^t\cup \{t\}} \tilde{p}_{tj\ell} \|x_j-x_\ell\|^2 _{tja}=0}\\ =\;& \frac{w(a)}{\mathsf{suf}(a)} \sum_{t\in [t_a-1]} \tilde{\beta}_t \sum_{j\in \widetilde{DC}^t} w(j) \sum_{\ell\in \widetilde{IC}^t\cup \{t\}} \tilde{p}_{tj\ell} \|x_j-x_\ell\|^2 + \sum_{t\in [t_a:s']} \beta_t w(a) \sum_{\ell\in IC^t\cup \{t\}} p_{ta\ell} \|x_a-x_\ell\|^2 \\ & \frac{\mathsf{suf}(a+1)}{\mathsf{suf}(a)} \sum_{t\in [s']} \tilde{\beta}_t \sum_{j\in \widetilde{DC}^t} w(j) \sum_{\ell\in \widetilde{IC}^t\cup \{t\}} \tilde{p}_{tj\ell} \|x_j-x_\ell\|^2\\ \leq\;& \frac{w(a)}{\mathsf{suf}(a)} \cdot \text{cost}_{w_{t_a-1}}([\tilde{a}:s]) + \frac{\mathsf{suf}(a+1)}{\mathsf{suf}(a)} \cdot \text{cost}_{w_{s'}}([\tilde{a}:s]) + \underbrace{\sum_{t\in [t_a:s']} \beta_t w(a) \sum_{\ell\in IC^t\cup \{t\}} p_{ta\ell} \|x_a-x_\ell\|^2}_{S_3}and w_{\cdot}(j)=\tilde{w}_{\cdot}(j) for j\in [a+1:s]} \end{align}\] Next, we consider the new term \(S_3\). We have \[\begin{align} S_3 &= \sum_{t\in [t_a:s']} \beta_t w(a) \sum_{\ell\in IC^t\cup \{t\}} p_{ta\ell} \|x_a-x_\ell\|^2 \\ &= \frac{\mathsf{suf}(a+1) w(a)}{\mathsf{suf}(a)} \sum_{t\in [t_a:s']} \tilde{\beta}_t \sum_{\ell>a:\ell\in IC^t\cup \{t\}} \frac{\tilde{\eta}_{t\ell}}{\mathsf{suf}(a+1)} \|x_a-x_\ell\|^2~. \\ &= \frac{w(a)}{\mathsf{suf}(a)} \sum_{t\in [t_a:s']} \tilde{\beta}_t \sum_{\ell>a} \tilde{\eta}_{t\ell} \|x_a-x_\ell\|^2 _{t\ell}=0 for \ell\in DC^t} \\ &= \frac{w(a)}{\mathsf{suf}(a)} \sum_{\ell>a} \|x_a-x_\ell\|^2 \cdot \sum_{t\in [t_a:s']}\tilde{\beta}_t \tilde{\eta}_{t\ell} \\ &= \frac{w(a)}{\mathsf{suf}(a)} \sum_{\ell>a} \|x_a-x_\ell\|^2 \cdot \left(\sum_{t\in [s']}\tilde{\beta}_t \tilde{\eta}_{t\ell} - \sum_{t\in [t_a-1]}\tilde{\beta}_t \tilde{\eta}_{t\ell} \right) \\ &= \frac{w(a)}{\mathsf{suf}(a)} \sum_{\ell>a} \|x_a-x_\ell\|^2 \cdot \left(\tilde{w}_{s'}(\ell) - \tilde{w}_{t_a-1}(\ell) \right) \\ &= \frac{w_{s'}(a)}{\mathsf{suf}(a)} \sum_{\ell>a} w_{s'}(\ell) \|x_a-x_\ell\|^2 - \frac{w(a)}{\mathsf{suf}(a)} \sum_{\ell>a} w_{t_a-1}(\ell) \|x_a-x_\ell\|^2~. \end{align}\] According to 64 63, we have \[\begin{align} &\frac{w_{s'}(a)}{\mathsf{suf}(a)} \sum_{\ell>a} w_{s'}(\ell) \|x_a-x_\ell\|^2 + \frac{\mathsf{suf}(a+1)}{\mathsf{suf}(a)} \cdot \text{cost}_{w_{s'}}([\tilde{a}:s]) \\ &\quad \leq \frac{w_{s'}(a)}{\mathsf{suf}(a)} \sum_{\ell>a} w_{s'}(\ell) \|x_a-x_\ell\|^2 + \frac{\mathsf{suf}(a+1)}{\mathsf{suf}(a)} \cdot \text{cost}_{w_{s'}}([a+1:s]) = \text{cost}_{w_{s'}}([a:s])~. \end{align}\] Note that \(\sum_{t>a} w_{t_a-1}(t) \|x_a-x_t\|^2\) is the cost of the cluster \([a+1:s]\) with the center at \(x_a\). Therefore, we have \(\sum_{t>a} w_{t_a-1}(t) \|x_a-x_t\|^2 \geq \text{cost}_{w_{t_a-1}}([a+1:s])\). Therefore, putting \(S_3\) back to the earlier inequality, we have completed the inductive step: \[\begin{align} \sum_{t\in [s']} \beta_t \sum_{j\in DC^t} w(j) \sum_{\ell\in IC^t\cup \{t\}} p_{tj\ell} \|x_j-x_\ell\|^2 \leq \text{cost}_{w_s'}([a:s])~. \end{align}\]

12.2 Proof of [lem:dual-feasibility-simpler-euclidean-special]↩︎

In the rest of this subsection, we will prove the above lemma. We will use the same set of non-negative parameters \(p_{tj\ell}\) and \(\beta_t\) as in the proof of [lem:dual-feasibility-simpler-euclidean] (in terms of \((w(t))_{t\in [s]}\), \((DC^t)_{t\in [s]}\) and \((IC^t)_{t\in [s]}\)). One property we will use about the \(\beta\)-parameters is the following:

Lemma 65. For any \(t\in [a+1:s-1]\), we have \(\beta_t=0\).

Proof. For any \(t\in [a+1:s-1]\), we have \(t\in IC^s\). Therefore, according to our definition of \(\pi_t(\ell)\), we have \(\pi_t(\ell)=\pi_t(s)\) for any \(\ell\in [a+1:s]\). Further, \(\eta_{s\ell} = w(\ell)\pi_t(s)\) for any \(\ell\in [a+1:s]\). Note that \(\beta_s\) is defined by \(\beta_s \eta_{ss} = w(s)\). We have \(\beta_s = 1/\pi_t(s)\). Therefore, for any \(\ell\in [a+1:s-1]\), we have \(\beta_s\eta_{s\ell} = w(\ell)\). Using the recurrence relation in 19 , we have \(\beta_t \eta_{t\ell} = 0\) for any \(\ell\in [a+1:s-1]\). Because \(\eta_{tt}>0\), we have \(\beta_t=0\) for any \(t\in [a+1:s-1]\). ◻

We also consider adding one term that is no greater than \(0\) to the LHS of the third constraint [constr:euclidean-special-third] for each \(t\in [a]\cup\{s\}\), using the same parameters \(p_{tj\ell}\) as in the proof of [lem:dual-feasibility-simpler-euclidean]. More specifically, we will consider the term on the LHS of 58 in the following lemma. This is only slightly different from the term we considered in the proof of [lem:dual-feasibility-simpler-euclidean], with a \((1+2\varepsilon)\) factor before each \((r_jt+d(j,\ell))^2\).

Lemma 66. For each \(t\in [a]\cup \{s\}\), we have \[\begin{align} \label{eqn:adding-to-LHS-euclidean-special} \sum_{j\in DC^t} w(j) \cdot \sum_{\ell\in IC^t\cup\{t\}} p_{tj\ell}(\alpha^*_\ell - (1+2\varepsilon)(r_{jt}+d(j,\ell))^2) \leq 0~. \end{align}\tag{58}\]

Proof. Because the second constraint [constr:euclidean-special-second] holds for \(t\in [a]\), it is straightforward to verify that the above term is upper bounded by \(0\) for \(t\in [a]\). Next, we will consider the case when \(t=s\).

Let \(W^I=\sum_{\ell\in [a+1:s]} w(\ell)\) and \(W^L=\sum_{\ell\in L} w(\ell)\). According to the first bullet of the fourth constraint [constr:euclidean-special-second-approximate], we have \(W^L \leq \varepsilon\cdot W^I\). Using the second and the third bullet of the fourth constraint, we have \[\begin{align} \begin{aligned} 0\geq \sum_{j\in DC^s} w(j)& \cdot \sum_{\ell\in (IC^s\cup\{s\})\setminus L} p_{sj\ell}(\alpha^*_\ell - (1+\varepsilon)(r_{js}+d(j,\ell))^2) \\ + &\sum_{j\in DC^s} w(j) \sum_{\ell\in L} p_{sj\ell}\left(\alpha^*_\ell - \sum_{\ell'\in [a+1:s]} \frac{w(\ell')}{W^I} \cdot (r_{js}+d(j,\ell'))^2\right) \end{aligned} \label{eqn:additive-term-euclidean-special} \end{align}\tag{59}\] For the second part of the RHS of the above inequality, we have \[\begin{align} \sum_{j\in DC^s} &w(j) \sum_{\ell\in L} p_{sj\ell}\left(\alpha^*_\ell - \sum_{\ell'\in [a+1:s]} \frac{w(\ell')}{W^I} \cdot (r_{js}+d(j,\ell'))^2\right) \\ &= \sum_{j\in DC^s} w(j) \sum_{\ell\in L} p_{sj\ell} \alpha^*_\ell - \sum_{j\in DC^s} w(j) \sum_{\ell\in L} p_{sj\ell} \sum_{\ell'\in [a+1:s]} \frac{w(\ell')}{W^I} \cdot (r_{js}+d(j,\ell'))^2 \\ &= \sum_{j\in DC^s} w(j) \sum_{\ell\in L} p_{sj\ell} \alpha^*_\ell - \sum_{j\in DC^s} w(j) \sum_{\ell'\in [a+1:s]} \left(\sum_{\ell\in L} p_{sj\ell}\right) \cdot \frac{w(\ell')}{W^I} \cdot (r_{js}+d(j,\ell'))^2~. \end{align}\] Note that if \(\ell\in [a], \ell'\in [a+1:s]\), we have \(p_{sj\ell} \leq \frac{w(\ell)}{w(\ell')} \cdot p_{sj\ell'}\) according to our definition of \(p_{tj\ell}\) (see 15 16 ). Therefore, we have \[\begin{align} \sum_{j\in DC^s} &w(j) \sum_{\ell\in L} p_{sj\ell}\left(\alpha^*_\ell - \sum_{\ell'\in [a+1:s]} \frac{w(\ell')}{W^I} \cdot (r_{js}+d(j,\ell'))^2\right) \\ &\geq \sum_{j\in DC^s} w(j) \sum_{\ell\in L} p_{sj\ell} \alpha^*_\ell - \sum_{j\in DC^s} w(j) \sum_{\ell'\in [a+1:s]} p_{sj\ell'} \left(\sum_{\ell\in L} \frac{w(\ell)}{w(\ell')}\right) \cdot \frac{w(\ell')}{W^I} \cdot (r_{js}+d(j,\ell'))^2 \\ &= \sum_{j\in DC^s} w(j) \sum_{\ell\in L} p_{sj\ell} \alpha^*_\ell - \sum_{j\in DC^s} w(j) \sum_{\ell'\in [a+1:s]} p_{sj\ell'} \cdot \frac{W^L}{W^I} \cdot (r_{js}+d(j,\ell'))^2 \\ &\geq \sum_{j\in DC^s} w(j) \sum_{\ell\in L} p_{sj\ell} \alpha^*_\ell - \sum_{j\in DC^s} w(j) \sum_{\ell'\in [a+1:s]} \varepsilon\cdot p_{sj\ell'} (r_{js}+d(j,\ell'))^2 \end{align}\] Putting this back to 59 , we have \[\begin{align} 0&\geq \sum_{j\in DC^s} w(j) \cdot \sum_{\ell\in (IC^s\cup\{s\})\setminus L} p_{sj\ell}(\alpha^*_\ell - (1+\varepsilon)(r_{js}+d(j,\ell))^2) \\ &+ \sum_{j\in DC^s} w(j) \sum_{\ell\in L} p_{sj\ell} \alpha^*_\ell - \sum_{j\in DC^s} w(j) \sum_{\ell'\in [a+1:s]} \varepsilon\cdot p_{sj\ell'} (r_{js}+d(j,\ell'))^2 \\ & \geq \sum_{j\in DC^s} w(j) \cdot \sum_{\ell\in (IC^s\cup\{s\})} p_{sj\ell}(\alpha^*_\ell - (1+2\varepsilon)(r_{js}+d(j,\ell))^2) \end{align}\] Hence, we have completed the proof of this lemma. ◻

By adding the LHS of 58 to the LHS of the third constraint [constr:euclidean-special-third] for each \(t\in [a]\cup\{s\}\), we have the following inequality (for each \(t\in [a]\cup\{s\}\)): \[\begin{align} &\text{LHS of constraint \ref{constr:euclidean-special-third}} \\ &\geq \sum_{\ell\in[t:s]} w(\ell) \alpha^*_t + \sum_{\ell \in IC^t} w(\ell)\alpha^*_\ell + \sum_{j\in DC^t} w(j) \left(r_{jt}^2 + \sum_{\ell\in IC^t\cup\{t\}} p_{tj\ell}(\alpha^*_\ell - (1+2\varepsilon)(r_{jt}+d(j,\ell))^2)\right) \\ &= \sum_{\ell\in[t:s]} w(\ell) \alpha^*_t + \sum_{\ell \in IC^t} w(\ell)\alpha^*_\ell + \sum_{j\in DC^t} w(j) \sum_{\ell\in IC^t\cup \{t\}} p_{tj\ell}\alpha^*_\ell \\ & - \sum_{j\in DC^t} w(j) \left(2\varepsilon r_{jt}^2 + \sum_{\ell\in IC^t\cup\{t\}} p_{tj\ell} (1+2\varepsilon)(2r_{jt}d(j,\ell)+d^2(j,\ell))\right)p_{tj\ell} = 1} \\ &= \sum_{\ell\in IC^t\cup\{t\}} \eta_{t\ell} \alpha^*_\ell - \sum_{j\in DC^t} w(j) \left(2\varepsilon r_{jt}^2 + \sum_{\ell\in IC^t\cup\{t\}} p_{tj\ell} (1+2\varepsilon)(2r_{jt}d(j,\ell)+d^2(j,\ell))\right) } \\ &\geq \sum_{\ell\in IC^t\cup\{t\}} \eta_{t\ell} \alpha^*_\ell - \sum_{j\in DC^t} w(j) \left(2\varepsilon R_j^2 + \sum_{\ell\in IC^t\cup\{t\}} p_{tj\ell} (1+2\varepsilon)(2R_jd(j,\ell)+d^2(j,\ell))\right) \leq R_j} \end{align}\]

Despite not having the above inequality of \(t\in [a+1:s-1]\), because we have \(\beta_t=0\) for any \(t\in [a+1:s-1]\) (65), we have the following inequality for any \(t\in [s]\): \[\begin{align} \beta_t\cdot \left[\sum_{\ell\in IC^t\cup\{t\}} \eta_{t\ell} \alpha^*_\ell - \sum_{j\in DC^t} w(j) \left(2\varepsilon R_j^2 + \sum_{\ell\in IC^t\cup\{t\}} p_{tj\ell} (1+2\varepsilon)(2R_jd(j,\ell)+d^2(j,\ell))\right)\right] \\ \leq \beta_t \cdot \left(\hat{f} + \sum_{\ell \in IC^t \cup [t:s]} \rho w(\ell)d^2(\ell,i) + \sum_{j\in DC^t} w(j) d^2(j,i)\right)~. \end{align}\] Summing over all \(t\in [s]\), because of [obv:beta-eta-sum], \(\rho=2\), \(\Phi=\sum_{\ell} w(\ell)d^2(j,\ell)\), and \(\sum_{t\in [s]} \beta_t \leq 1\) (7), we have \[\begin{align} \sum_{\ell\in [s]} w(\ell)\alpha^*_\ell - \sum_{t\in [s]} \beta_t \cdot \sum_{j\in DC^t} w(j) \left(2\varepsilon R_j^2 + \sum_{\ell\in IC^t\cup\{t\}} p_{tj\ell} (1+2\varepsilon)(2R_jd(j,\ell)+d^2(j,\ell))\right) \\ \leq \hat{f} + 2\Phi - \sum_{t\in [s]} \beta_t \sum_{j\in DC^t} w(j) d^2(j,i) = \hat{f} + 2\Phi - \sum_{j\in [s]} w(j) d^+_j d^2(j,i)~. } \end{align}\] Therefore, we have \[\begin{align} &\sum_{j\in [s]} w(j) \cdot (\alpha^*_j - (\rho-1)R_j^2) - \hat{f} - 2\Phi\leq - \sum_{j\in [s]} w(j) R_j^2 - \sum_{j\in [s]} w(j) d^+_j d^2(j,i) \\ &+ \sum_{t\in [s]} \beta_t \sum_{j\in DC^t} w(j) \left(2\varepsilon R_j^2 + \sum_{\ell\in IC^t\cup\{t\}} p_{tj\ell} (1+2\varepsilon)(2R_jd(j,\ell)+d^2(j,\ell))\right) \\ &\leq \sum_{j\in [s]} w(j) \left(-(1-2\varepsilon) R_j^2 - d^+_j d^2(j,i) + \sum_{t\in [s]:j\in DC^t} \beta_t \sum_{\ell \in IC^t\cup\{t\}} p_{tj\ell} (1+2\varepsilon)(2R_jd(j,\ell)+d^2(j,\ell))\right)\beta_t =d^+_j \leq 1, by \ref{obv:dplus-vs46-sum-beta} \ref{cor:dplus-upperbound}} \\ &= \sum_{j\in [s]} w(j) \left(-(1-2\varepsilon) R_j^2 - d^+_j d^2(j,i) + \sum_{\ell>j} P_{j\ell} (1+2\varepsilon)(2R_jd(j,\ell)+d^2(j,\ell))\right) } \\ &\leq \sum_{j\in [s]} w(j) \left(- d^+_j d^2(j,i) + (1+2\varepsilon)\sum_{\ell>j} P_{j\ell} d^2(j,\ell) + \frac{(1+2\varepsilon)^2}{1-2\varepsilon} \cdot \left(\sum_{\ell>j} P_{j\ell} d(j,\ell)\right)^2 \right) \\ &\leq (1+2\varepsilon)\Phi + \sum_{j\in [s]} w(j) \cdot \left(-d^+_j d^2(j,i) + \frac{(1+2\varepsilon)^2}{1-2\varepsilon} \cdot \left(\sum_{\ell>j} P_{j\ell} d(j,\ell)\right)^2\right) } \\ &\leq (1+2\varepsilon)\Phi + \sum_{j\in [s]} w(j) \cdot \left(-d^+_j d^2(j,i) + (1+7\varepsilon) \cdot \sum_{\ell>j} d^+_j P_{j\ell} d^2(j,\ell)\right) \\ &\leq (1+9\varepsilon)\Phi + \sum_{j<\ell} w(j) d^+_j P_{j\ell} d^2(j,\ell) - \sum_{j\in [s]} w(j) d^+_j d^2(j,i) } \\ & \leq (1+\ln(2)+9\varepsilon)\Phi~. } \end{align}\]

13 Missing Proofs in 6↩︎

13.1 Proof of 23↩︎

Define \[Q(x)\stackrel{\text{def}}{=}288x^4 - 235\tau x^3 - 1071x - 792 + 1128\tau.\] Differentiating 33 gives \[\label{eq:FQ-derivatives} F'(x)=\frac{x}{2178}Q(x),\qquad Q'(x)=1152x^3-705\tau x^2-1071,\qquad Q''(x)=x(3456x-1410\tau).\tag{60}\] We shall use the rational bounds \[\label{eq:xi-rational-bounds} \frac{22894}{10000}<\tau<\frac{228943}{100000},\qquad \Bigl(\frac{22894}{10000}\Bigr)^3<12< \Bigl(\frac{228943}{100000}\Bigr)^3.\tag{61}\]

We split the interval into three pieces.

From 61 , \[3456-1410\tau > 3456 - 1410\cdot \frac{228943}{100000} = \frac{2279037}{10000} >0.\] Hence \(Q''(x)>0\) on \([1,\tau]\), so \(Q'\) is increasing. Therefore on \([1,\frac{4}{3}]\), \[Q'(x)\le Q'\Bigl(\frac{4}{3}\Bigr) = \frac{4979-3760\tau}{3} < \frac{4979-3760\cdot (22894/10000)}{3} = -\frac{453643}{375} <0.\] Thus \(Q\) is strictly decreasing on \([1,\frac{4}{3}]\).

At the endpoints, \[Q(1)=893\tau-1575 > 893\cdot \frac{22894}{10000} - 1575 = \frac{2347171}{5000} >0,\] while \[Q\Bigl(\frac{4}{3}\Bigr) = \frac{15416\tau-35364}{27} < \frac{15416\cdot (228943/100000)-35364}{27} = -\frac{876839}{337500} <0.\] Therefore there is a unique \(r\in (1,\frac{4}{3})\) such that \(Q(r)=0\). Since \(F'(x)\) has the sign of \(Q(x)\) by 60 , the function \(F\) increases on \([1,r]\) and decreases on \([r,\frac{4}{3}]\). Hence \[\max_{1\le x\le 4/3} F(x)=F(r).\]

We now compare \(F(r)\) with \(F(\frac{4}{3})\). By the mean value theorem, there exists \(\zeta\in (r,\frac{4}{3})\) such that \[Q\Bigl(\frac{4}{3}\Bigr)-Q(r)=Q'(\zeta)\Bigl(\frac{4}{3}-r\Bigr).\] Since \(Q(r)=0\) and \(Q'(\zeta)\le -453643/375\), while \[-Q\Bigl(\frac{4}{3}\Bigr) = \frac{35364-15416\tau}{27} < \frac{35364-15416\cdot (22894/10000)}{27} = \frac{44131}{16875},\] we get \[\frac{4}{3}-r = \frac{-Q(\frac{4}{3})}{-Q'(\zeta)} < \frac{44131/16875}{453643/375}.\] Because \(Q\) is decreasing on \([r,\frac{4}{3}]\) and vanishes at \(r\), one has \[0\le -Q(x)< \frac{44131}{16875}\qquad (r\le x\le 4/3).\] Therefore \[\begin{align} 0\le F(r)-F\Bigl(\frac{4}{3}\Bigr) &= \int_r^{4/3} -F'(x)\,dx = \int_r^{4/3}\frac{x(-Q(x))}{2178}\,dx \\ &\le \frac{4/3}{2178}\cdot \frac{44131}{16875}\cdot \Bigl(\frac{4}{3}-r\Bigr) \\ &< \frac{4/3}{2178}\cdot \frac{44131}{16875}\cdot \frac{44131/16875}{453643/375} \\ &= \frac{3895090322}{1125432995259375} <4\times 10^{-6}. \end{align}\] Next, \[F\Bigl(\frac{4}{3}\Bigr) = \frac{97760\tau}{264627} + \frac{822427}{529254} < \frac{97760\cdot (228943/100000)}{264627} + \frac{822427}{529254} = \frac{793785221}{330783750} <2.39971045.\] Hence \[\max_{1\le x\le 4/3} F(x) < 2.39971045 + 4\times 10^{-6} < \frac{12}{5}.\]

Since \(Q''>0\), the function \(Q\) is convex. We already know that \(Q(\frac{4}{3})<0\). Also, \[Q(2)=1674-752\tau < 1674-752\cdot \frac{22894}{10000} = -\frac{29768}{625} <0.\] A convex function that is negative at both endpoints of an interval is negative throughout that interval, so \(Q(x)<0\) on \([\frac{4}{3},2]\). By 60 , the function \(F\) is therefore strictly decreasing on \([\frac{4}{3},2]\), and hence \[\max_{4/3\le x\le 2}F(x)=F\Bigl(\frac{4}{3}\Bigr)<\frac{12}{5}.\]

Again \(Q''>0\), so \(Q'\) is increasing. Moreover, \[Q'(2)=8145-2820\tau > 8145-2820\cdot \frac{228943}{100000} = \frac{8444037}{5000} >0.\] Thus \(Q'(x)>0\) on \([2,\tau]\), so \(Q\) is increasing there. Since also \[Q(2)=1674-752\tau < 1674-752\cdot \frac{22894}{10000} = -\frac{29768}{625} <0,\] the function \(Q\) can cross zero at most once on \([2,\tau]\), and if it does, it crosses from negative to positive. Therefore \(F'(x)=xQ(x)/2178\) can change sign at most once, from negative to positive, so the maximum of \(F\) on \([2,\tau]\) is attained at one of the endpoints.

At \(x=2\), \[F(2)=\frac{752\tau+3297}{2178} < \frac{752\cdot (228943/100000)+3297}{2178} = \frac{31366571}{13612500} <\frac{12}{5}.\] At \(x=\tau\), using \(\tau^3=12\) and \(\tau^6=144\), we obtain \[F(\tau) = \frac{48\tau^6-47\tau^6-357\tau^3+(564\tau-396)\tau^2+4665}{2178} = \frac{\tau^6+207\tau^3-396\tau^2+4665}{2178} = \frac{221}{66}-\frac{2}{11}\tau^2.\] Hence, from the lower bound in 61 , \[F(\tau) < \frac{221}{66} - \frac{2}{11}\Bigl(\frac{22894}{10000}\Bigr)^2 = \frac{988148573}{412500000} <\frac{12}{5}.\] So \(F(x)<\frac{12}{5}\) throughout \([2,\tau]\) as well.

Combining the three steps proves the lemma.

13.2 Weighted: Full Proof↩︎

In this subsection, we prove [lem:dual-feasibility-simpler-metric]. Define \[a_t \stackrel{\text{def}}{=}d(t,i), \qquad W(S)\stackrel{\text{def}}{=}\sum_{j\in S} w(j) \quad (S\subseteq [s]), \qquad W_t \stackrel{\text{def}}{=}\sum_{u=t}^s w(u).\]

As briefly discussed in the overview in 2.1, the proof has four steps. First, from the inequalities at time \(\alpha_t-\varepsilon\) given in condition (3) of [lem:dual-feasibility-simpler-metric], we derive a family of constraints \(\eqref{eq:Pk-weighted}\) by using the triangle inequality to lower bound the terms involving \(r_{jt}\). Second, we choose coefficients \((\beta)_{t\in[s]}\) so that, in the weighted combination of these constraints, the coefficient of each \(\alpha_t^*\) is exactly \(w(t)\). Third, after collecting terms, we obtain a quadratic form in the distances to the facility \(i\). After rescaling by \(\sqrt{w(t)}\), the quadratic form is represented by an ordinary symmetric nonnegative matrix. Finally, we bound the top eigenvalue of the corresponding matrix by the Collatz–Wielandt Formula, which yields the claimed constant.

13.2.0.1 Step 1: From \((I_t^w)\) to \((P_t^w)\).

For each \(t\in[s]\), condition (3) gives \[\label{eq:Ik-weighted}\sum_{j\in DC^t} w(j)(r_{jt}^2-a_j^2) + \sum_{j\in IC^t} w(j)(\alpha_j^*-\rho a_j^2) + \sum_{j\ge t} w(j)(\alpha_t^*-\rho a_j^2) \le \hat{f}.\tag{62}\] Fix \(t\in[s]\). For each \(j\in DC^t\), conditions (1)–(2) and the triangle inequality imply \[\alpha_t^* \le (r_{jt}+d(j,t))^2 \le (r_{jt}+a_j+a_t)^2 \le r_{jt}^2 + (a_j+a_t)^2 + 2(a_j+a_t)R_j.\] Rearranging and using \(2a_ja_t\le a_j^2+a_t^2\), we obtain \[r_{jt}^2-a_j^2 \ge \alpha_t^* - 2a_t^2 - 3a_j^2 - 2(a_j+a_t)R_j.\] Substituting into 62 , we obtain \[\begin{align} &(W(DC^t)+W_t)\alpha_t^* + \sum_{j\in IC^t} w(j)\alpha_j^* - \hat{f} \notag\\ &\qquad\le 2W(DC^t)a_t^2 + \sum_{j\in DC^t} w(j)\bigl(3a_j^2+2(a_t+a_j)R_j\bigr) + \sum_{j\in IC^t}\rho w(j)a_j^2 + \sum_{j\ge t}\rho w(j)a_j^2. \label{eq:Pk-weighted} \end{align}\tag{63}\]

13.2.0.2 Step 2: Choice of the coefficients.

We now choose nonnegative coefficients \(\beta_1,\dots,\beta_s\) and multiply each inequality \(\eqref{eq:Pk-weighted}\) with \(\beta_t\) and sum over all \({t\in[s]}\) such that the coefficient of each \(\alpha_t^*\) is exactly \(w(t)\).

Lemma 67. For each \(t\in[s]\), define \[M_t\stackrel{\text{def}}{=}W(DC^t), \qquad c_t\stackrel{\text{def}}{=}\frac{W_t+M_t}{w(t)}, \qquad g_t\stackrel{\text{def}}{=}\sum_{u\ge t} \beta_u,\] \[\eta_t\stackrel{\text{def}}{=}\sum_{u>t:\,t\in DC^u} \beta_u, \qquad A_t\stackrel{\text{def}}{=}\frac{M_t\beta_t}{w(t)}.\] Then there exist nonnegative coefficients \(\beta_1,\dots,\beta_s\) such that, for every \(t\in[s]\), \[\label{eq:alphatcoeff-weighted} \beta_t c_t + \sum_{u>t:\,t\in IC^u} \beta_u = 1,\tag{64}\] and moreover, \[0\le \eta_t\le g_t, \qquad \sum_{t=1}^s \beta_t = 1, \qquad A_t+g_t \le 1.\]

Proof. Define the coefficients recursively, for \(t=s,s-1,\dots,1\), by \[\label{eq:focsreccur-weighted} \beta_t= \frac{1-\sum_{u>t:\,t\in IC^u} \beta_u}{c_t}.\tag{65}\] Since 64 is triangular, this is the unique solution of the system. We verify that the resulting coefficients are nonnegative.

Fix \(t\in\{0\}\cup[s]\) and consider the suffix \(\{\alpha^*_{t+1},\dots,\alpha_s^*\}\). In the final weighted combination, its total coefficient is \(W_{t+1}\), where by convention \(W_{s+1}=0\). On the other hand, for each \(u>t\), the contribution of the \(u\)th inequality 63 to this suffix is \[W_u + W(DC^u) + W(IC^u\cap [t+1,u-1]).\] Since \(IC^u\) and \(DC^u\) partition \([u-1]\), we have \[\begin{align} &W_u + W(DC^u) + W(IC^u\cap [t+1,u-1]) \\ &\qquad = W_u + W(DC^u) + W([t+1,u-1]) - W(DC^u\cap [t+1,u-1]) \\ &\qquad = W_{t+1} + W(DC^u\cap [1,t]) \\ &\qquad \ge W_{t+1}+M_t, \end{align}\] where we used \(DC^t\subseteq DC^u\) and \(DC^t\subseteq [t-1]\). Summing over \(u>t\) gives \[(W_{t+1}+M_t)\sum_{u>t} \beta_u \le W_{t+1},\] and hence \[\sum_{u>t} \beta_u \le \frac{W_{t+1}}{W_{t+1}+M_t} \le 1.\] Therefore, \[\sum_{u>t:\,t\in IC^u} \beta_u \le \sum_{u>t} \beta_u \le 1,\] so the numerator in 65 is nonnegative, and hence \(\beta_t\ge 0\).

The inequality \(0\le \eta_t\le g_t\) is immediate from the definitions.

To prove \(\sum_{t=1}^s \beta_t=1\), sum the coefficients of all \(\alpha^*\)-variables in the weighted combination of 63 . Each inequality contributes total coefficient \(W_1\), while by construction each \(\alpha_u^*\) has coefficient \(w(u)\). Hence \[W_1\sum_{t=1}^s \beta_t = W_1,\] so \(\sum_{t=1}^s \beta_t=1\), and in particular \(g_t\le 1\).

Finally, fix \(t\in[s]\) and consider the suffix \(\{\alpha_t^*,\dots,\alpha_s^*\}\). Its total coefficient in the final weighted combination is \(W_t\). For each \(u\ge t\), the contribution of the \(u\)th inequality to this suffix is \[W_u + W(DC^u) + W(IC^u\cap [t,u-1]).\] Again using that \(IC^u\) and \(DC^u\) partition \([u-1]\), we obtain \[\begin{align} &W_u + W(DC^u) + W(IC^u\cap [t,u-1]) \\ &\qquad = W_u + W(DC^u) + W([t,u-1]) - W(DC^u\cap [t,u-1]) \\ &\qquad = W_t + W(DC^u\cap [1,t-1]) \\ &\qquad \ge W_t + M_t = c_t w(t). \end{align}\] Summing over \(u\ge t\) yields \(c_t w(t) g_t\le W_t\), so \[g_t\le \frac{W_t}{c_t w(t)}.\] Since 64 implies \(c_t\beta_t\le 1\), we also have \(\beta_t\le 1/c_t\). Therefore, \[A_t+g_t = \frac{M_t\beta_t}{w(t)} + g_t \le \frac{M_t}{c_t w(t)} + \frac{W_t}{c_t w(t)} =1.\] ◻

13.2.0.3 Step 3: The weighted quadratic form.

We now compute the quadratic form.

Lemma 68. For each \(t\in[s]\) and each \(x\in\mathbb{R}^s\), define \[U_t(x) \stackrel{\text{def}}{=}\sum_{u:\,t\in DC^u} \beta_u x_u.\] Then the weighted sum of all inequalities 63 over \(t\in[s]\) implies \[\sum_{t\in[s]} w(t)\bigl(\alpha_t^*-(\rho-1)R_t^2\bigr) - \hat{f} \le \rho \sum_{t\in[s]} w(t)a_t^2 + Q_\rho^w(a),\] where, for every \(x\in\mathbb{R}^s\), \[\label{eq:Qrho-weighted} Q_\rho^w(x) = \sum_{t\in[s]} w(t)\bigl(2A_t+(3-\rho)\eta_t\bigr)x_t^2 + \frac{1}{\rho-1}\sum_{t\in[s]} w(t)\bigl(U_t(x)+\eta_t x_t\bigr)^2.\tag{66}\]

Proof. By 64 , the weighted sum of the left-hand sides of \(\eqref{eq:Pk-weighted}_{t\in[s]}\) is \(\sum_t w(t)\alpha_t^*-\hat{f}\). Let \(\mathcal{R}\) denote the weighted sum of the right-hand sides. Then \[\sum_{t\in[s]} w(t)\alpha_t^*-\hat{f} \le \mathcal{R}.\] We now collect the terms in \(\mathcal{R}\).

First, \[\sum_{t\in[s]} \beta_t\, 2W(DC^t)a_t^2 = \sum_{t\in[s]} 2w(t)A_ta_t^2.\] Second, \[\sum_{t\in[s]} \beta_t\sum_{j\in DC^t} 3w(j)a_j^2 = \sum_{t\in[s]} 3w(t)\eta_ta_t^2.\] Third, \[\sum_{t\in[s]} \beta_t\sum_{j\in DC^t} 2w(j)(a_t+a_j)R_j = 2\sum_{t\in[s]} w(t)R_t\bigl(U_t(a)+\eta_ta_t\bigr).\] Finally, for each fixed \(t\), the sets \[\{u\in[s]: t\in IC^u\}, \qquad \{u\in[s]: t\in DC^u\}, \qquad \{u\in[s]: u\le t\}\] partition \([s]\). Since \(\sum_{u=1}^s \beta_u=1\) by 67, it follows that \[\sum_{u:\,t\in IC^u} \beta_u + \sum_{u\le t} \beta_u = 1-\eta_t,\] and hence \[\sum_{u\in[s]} \beta_u\left(\sum_{j\in IC^u}\rho w(j)a_j^2 + \sum_{j\ge u}\rho w(j)a_j^2\right) = \rho\sum_{t\in[s]} w(t)(1-\eta_t)a_t^2.\] Therefore, \[\mathcal{R} = \rho\sum_{t\in[s]} w(t)a_t^2 + \sum_{t\in[s]} w(t)\bigl(2A_t+(3-\rho)\eta_t\bigr)a_t^2 + 2\sum_{t\in[s]} w(t)R_t\bigl(U_t(a)+\eta_ta_t\bigr).\] Hence \[\begin{align} &\sum_{t\in[s]} w(t)\bigl(\alpha_t^*-(\rho-1)R_t^2\bigr) - \hat{f} \\ &\qquad\le \rho\sum_{t\in[s]} w(t)a_t^2 + \sum_{t\in[s]} w(t)\bigl(2A_t+(3-\rho)\eta_t\bigr)a_t^2 \\ &\qquad\qquad + \sum_{t\in[s]} w(t)\Bigl(2R_t\bigl(U_t(a)+\eta_ta_t\bigr)- (\rho-1)R_t^2\Bigr). \end{align}\] As in the warm-up, we absorb the mixed term using \[2Rx-(\rho-1)R^2 \le \frac{x^2}{\rho-1} \qquad (R,x\in\mathbb{R}).\] Applying this with \(x=U_t(a)+\eta_ta_t\) for each \(t\), we obtain exactly the claimed inequality. ◻

13.2.0.4 Step 4: Weighted matrix form.

It remains to bound \(Q_\rho^w(x)\) by a multiple of \[\sum_{t\in[s]} w(t)x_t^2.\] For \(x\in\mathbb{R}^s\), write \[\widetilde{x} \stackrel{\text{def}}{=}\bigl(\sqrt{w(1)}\,x_1,\dots,\sqrt{w(s)}\,x_s\bigr).\]

Lemma 69. Let \(B\) be the unique symmetric matrix such that \[Q_\rho^w(x)=\widetilde{x}^\top B\,\widetilde{x} \qquad\text{for all }x\in\mathbb{R}^s.\] Then, for every \(t\in[s]\) and every \(x\in\mathbb{R}_+^s\), \[(B\widetilde{x})_t = \sqrt{w(t)}\Biggl[ \Bigl(2A_t+(3-\rho)\eta_t+\frac{\eta_t^2}{\rho-1}\Bigr)x_t + \frac{\eta_t}{\rho-1}U_t(x) + \frac{\beta_t}{(\rho-1)w(t)}\sum_{u\in DC^t} w(u)\bigl(U_u(x)+\eta_u x_u\bigr) \Biggr].\] Moreover, \(B\) is entrywise nonnegative for all \(1<\rho\le 3\). Consequently, \[Q_\rho^w(x)\le \lambda_{\max}(B)\sum_{t\in[s]} w(t)x_t^2 \qquad\text{for all }x\in\mathbb{R}_+^s.\]

Proof. Since \(Q_\rho^w(x)=\widetilde{x}^\top B\,\widetilde{x}\), we have \[\frac{\partial Q_\rho^w(x)}{\partial x_t}=2\sqrt{w(t)}\,(B\widetilde{x})_t.\] Differentiating 66 gives \[\begin{align} \frac{(B\widetilde{x})_t}{\sqrt{w(t)}} &= \bigl(2A_t+(3-\rho)\eta_t\bigr)x_t + \frac{\eta_t}{\rho-1}\bigl(U_t(x)+\eta_t x_t\bigr) + \frac{\beta_t}{(\rho-1)w(t)}\sum_{u\in DC^t} w(u)\bigl(U_u(x)+\eta_u x_u\bigr) \\ &= \Bigl(2A_t+(3-\rho)\eta_t+\frac{\eta_t^2}{\rho-1}\Bigr)x_t + \frac{\eta_t}{\rho-1}U_t(x) + \frac{\beta_t}{(\rho-1)w(t)}\sum_{u\in DC^t} w(u)\bigl(U_u(x)+\eta_u x_u\bigr). \end{align}\] Every coefficient in this expression is nonnegative when \(1<\rho\le 3\), so \(B\) is entrywise nonnegative. The final claim follows from the variational characterization of \(\lambda_{\max}(B)\). ◻

We now fix \(\rho=5/2\) and replace \(\eta_t\) by \(g_t\), since \(\eta_t\le g_t\) by 67. For every \(t\in[s]\) and every \(x\in\mathbb{R}_+^s\), 69 gives \[\label{eq:finalkentry-weighted} \frac{(B\widetilde{x})_t}{\sqrt{w(t)}} \le \Bigl(2A_t + \frac{1}{2} g_t + \frac{2}{3} g_t^2\Bigr)x_t + \frac{2}{3} g_t U_t(x) + \frac{2\beta_t}{3w(t)}\sum_{u\in DC^t} w(u)U_u(x) + \frac{2\beta_t}{3w(t)}\sum_{u\in DC^t} w(u)g_u x_u.\tag{67}\]

Lemma 70. Fix \(\tau=\sqrt[3]{12}\). Then \[\lambda_{\max}(B)\le \max_{1\le x\le \tau} F(x),\] where \[\label{eq:function-weighted} F(x)= \frac{48x^6-47\tau x^5-357x^3+(564\tau-396)x^2+4665}{2178}.\tag{68}\]

Proof. Choose \[h_t=(1+11g_t)^{-2/3} \qquad (t\in[s]), \qquad \widetilde{h}_t=\sqrt{w(t)}\,h_t.\] Since \(B\) is symmetric and entrywise nonnegative, the Collatz–Wielandt Formula [29] for the spectral radius \(\rho(B)\) of nonnegative matrix \(B\geq 0\) gives \[\lambda_{\max}(B) = \rho(B)= \min_{x\in \mathbb{R}_+^s}\max_{t\in[s], x_t \neq 0} \frac{(B\widetilde{x})_t}{\widetilde{x}_t}\le \max_{t\in[s]} \frac{(B\widetilde{h})_t}{\widetilde{h}_t}.\]

We claim that, for every \(t\in[s]\), \[\begin{align} \frac{2g_tU_t(h)}{3h_t} &\le \frac{2}{11}g_t\Bigl((1+11g_t)-(1+11g_t)^{2/3}\Bigr),\tag{69}\\ \frac{2\beta_t}{3w(t)h_t}\sum_{u\in DC^t} w(u)g_uh_u &\le A_t\cdot \frac{2}{3}(1+11g_t)^{2/3}\tau^{-2},\tag{70}\\ \frac{2\beta_t}{3w(t)h_t}\sum_{u\in DC^t} w(u)U_u(h) &\le A_t(1+11g_t)^{2/3}\cdot \frac{2}{11}(\tau-1).\tag{71} \end{align}\]

To prove 69 , note that the sets \(DC^u\) are monotone in \(u\), so the set \(\{u\in[s]: t\in DC^u\}\) is a suffix of \(\{t+1,\dots,s\}\). Let \(u_t\) be its first element, with the convention \(u_t=s+1\) if \(t\notin DC^u\) for every \(u\). Then \[U_t(h)=\sum_{u\ge u_t} \beta_u h_u = \sum_{u\ge u_t} (g_u-g_{u+1})(1+11g_u)^{-2/3}.\] Since the function \(z\mapsto (1+11z)^{-2/3}\) is decreasing, this sum is bounded by the corresponding integral: \[\label{eq:ukh-weighted} U_t(h) \le \int_0^{\eta_t} (1+11z)^{-2/3}\,dz \le \frac{3}{11}\Bigl((1+11\eta_t)^{1/3}-1\Bigr).\tag{72}\] Together with \(\eta_t\le g_t\), this gives 69 .

For 70 , the function \(g\mapsto g(1+11g)^{-2/3}\) is increasing on \([0,1]\), so \[g_u h_u = g_u(1+11g_u)^{-2/3} \le 12^{-2/3}=\tau^{-2}.\] Hence \[\sum_{u\in DC^t} w(u)g_uh_u \le W(DC^t)\tau^{-2}=M_t\tau^{-2},\] and therefore \[\frac{2\beta_t}{3w(t)h_t}\sum_{u\in DC^t} w(u)g_uh_u \le \frac{2\beta_tM_t}{3w(t)}(1+11g_t)^{2/3}\tau^{-2} = A_t\cdot \frac{2}{3}(1+11g_t)^{2/3}\tau^{-2}.\]

For 71 , 72 implies \[U_u(h) \le \frac{3}{11}\Bigl((1+11\eta_u)^{1/3}-1\Bigr) \le \frac{3}{11}(\tau-1),\] since \(\eta_u\in[0,1]\). Therefore, \[\frac{2\beta_t}{3w(t)h_t}\sum_{u\in DC^t} w(u)U_u(h) \le \frac{2\beta_t}{3w(t)}(1+11g_t)^{2/3}\,M_t\cdot \frac{3}{11}(\tau-1) = A_t(1+11g_t)^{2/3}\cdot \frac{2}{11}(\tau-1).\]

Dividing 67 by \(h_t\) and combining [eq:lambda1-weighted,eq:lambda2-weighted,eq:lambda3-weighted], we obtain \[\begin{align} \frac{(B\widetilde{h})_t}{\widetilde{h}_t} &\le \Bigl(2A_t+\frac{1}{2} g_t+\frac{2}{3} g_t^2\Bigr) + \frac{2g_tU_t(h)}{3h_t} + \frac{2\beta_t}{3w(t)h_t}\sum_{u\in DC^t} w(u)U_u(h) + \frac{2\beta_t}{3w(t)h_t}\sum_{u\in DC^t} w(u)g_uh_u \\ &\le 2A_t+\frac{1}{2} g_t+\frac{2}{3} g_t^2 + \frac{2}{11}g_t\Bigl((1+11g_t)-(1+11g_t)^{2/3}\Bigr) \\ &\qquad + A_t(1+11g_t)^{2/3}\cdot \frac{2}{11}(\tau-1) + A_t\cdot \frac{2}{3}(1+11g_t)^{2/3}\tau^{-2} \\ &\le G(g_t), \end{align}\] where \[\begin{align} G(g) \stackrel{\text{def}}{=}{}& 2(1-g)+\frac{1}{2} g+\frac{2}{3} g^2 + \frac{2}{3}(1-g)(1+11g)^{2/3}\tau^{-2} \notag\\ &+ \frac{2}{11}(1-g)(1+11g)^{2/3}(\tau-1) + \frac{2}{11}g\Bigl((1+11g)-(1+11g)^{2/3}\Bigr). \label{eq:scalar-majorant-g-weighted} \end{align}\tag{73}\] The last inequality uses \(A_t+g_t\le 1\) from 67.

Substituting \(g=(x^3-1)/11\) and \(\tau^{-2}=\tau/12\) and simplifying yields \[\frac{(B\widetilde{h})_t}{\widetilde{h}_t}\le G(g) = F(x) \qquad\text{for some }x\in[1,\tau].\] This proves the claim. ◻

Since \(F(x)\) is identical to its unweighted counterpart, from 23, we know that \[\label{eq:functionupperbound-weighted} \max_{x\in[1,\tau]} F(x) < \frac{12}{5}.\tag{74}\]

We can now finish the proof of [lem:dual-feasibility-simpler-metric]. Using 68 with \(\rho=5/2\), we obtain \[\begin{align} &\sum_{t\in[s]} w(t)\bigl(\alpha_t^*-(\rho-1)R_t^2\bigr) - \hat{f} \\ &\qquad\le \frac{5}{2} \sum_{t\in[s]} w(t)a_t^2 + Q_{5/2}^w(a) } \\ &\qquad\le \frac{5}{2} \sum_{t\in[s]} w(t)a_t^2 + \lambda_{\max}(B)\sum_{t\in[s]} w(t)a_t^2 } \\ &\qquad\le \frac{5}{2} \sum_{t\in[s]} w(t)a_t^2 + \left(\max_{x\in[1,\tau]}F(x)\right)\sum_{t\in[s]} w(t)a_t^2 } \\ &\qquad\le \frac{5}{2} \sum_{t\in[s]} w(t)a_t^2 + \frac{12}{5}\sum_{t\in[s]} w(t)a_t^2 } \\ &\qquad= 4.9\sum_{t\in[s]} w(t)a_t^2. \end{align}\] This proves [lem:dual-feasibility-simpler-metric].

References↩︎

[1]
J. Matoušek, “On approximate geometric k-clustering,” Discrete & Computational Geometry, vol. 24, no. 1, pp. 61–84, 2000.
[2]
W. F. De La Vega, M. Karpinski, C. Kenyon, and Y. Rabani, “Approximation schemes for clustering problems,” in Proceedings of the thirty-fifth annual ACM symposium on theory of computing, 2003, pp. 50–58.
[3]
M. Charikar, S. Guha, Éva Tardos, and D. B. Shmoys, “A constant-factor approximation algorithm for the k-median problem (extended abstract),” in Proceedings of the thirty-first annual ACM symposium on theory of computing, may 1-4, 1999, atlanta, georgia, USA, 1999, pp. 1–10, doi: 10.1145/301250.301257.
[4]
M. Charikar and S. Li, “A dependent LP-rounding approach for the k-median problem,” in Automata, languages, and programming - 39th international colloquium, ICALP 2012, warwick, UK, july 9-13, 2012, proceedings, part I, 2012, vol. 7391, pp. 194–205.
[5]
K. Jain and V. Vazirani, “Approximation algorithms for metric facility location and k-median problems using the primal-dual schema and Lagrangian relaxation,” J. ACM, vol. 48, no. 2, pp. 274–296, 2001, doi: 10.1145/375827.375845.
[6]
K. Jain, M. Mahdian, and A. Saberi, “A new greedy approach for facility location problems,” in Proceedings on 34th annual ACM symposium on theory of computing, may 19-21, 2002, montréal, québec, canada, 2002, pp. 731–740, doi: 10.1145/509907.510012.
[7]
K. Jain, M. Mahdian, E. Markakis, A. Saberi, and V. V. Vazirani, “Greedy facility location algorithms analyzed using dual fitting with factor-revealing LP,” J. ACM, vol. 50, no. 6, pp. 795–824, 2003, doi: 10.1145/950620.950621.
[8]
V. Cohen-Addad Viallat, F. Grandoni, E. Lee, and C. Schwiegelshohn, “Breaching the 2 LMP approximation barrier for facility location with applications to k-median,” in Proceedings of the 2023 annual ACM-SIAM symposium on discrete algorithms (SODA), 2023, pp. 940–986.
[9]
V. Arya, N. Garg, R. Khandekar, A. Meyerson, K. Munagala, and V. Pandit, “Local search heuristics for k-median and facility location problems,” SIAM J. Comput., vol. 33, no. 3, pp. 544–562, 2004, doi: 10.1137/S0097539702416402.
[10]
S. Li and O. Svensson, “Approximating k-median via pseudo-approximation,” in Symposium on theory of computing conference, STOC’13, palo alto, CA, USA, june 1-4, 2013, 2013, pp. 901–910, doi: 10.1145/2488608.2488723.
[11]
J. Byrka, T. W. Pensyl, B. Rybicki, A. Srinivasan, and K. Trinh, “An improved approximation for k-median, and positive correlation in budgeted optimization,” in Proceedings of the twenty-sixth annual ACM-SIAM symposium on discrete algorithms, SODA 2015, san diego, CA, USA, january 4-6, 2015, 2015, pp. 737–756, doi: 10.1137/1.9781611973730.50.
[12]
K. N. Gowda, T. W. Pensyl, A. Srinivasan, and K. Trinh, “Improved bi-point rounding algorithms and a golden barrier for k-median,” in Proceedings of the 2023 ACM-SIAM symposium on discrete algorithms, SODA 2023, florence, italy, january 22-25, 2023, 2023, pp. 987–1011, doi: 10.1137/1.9781611977554.CH38.
[13]
V. Cohen-Addad, F. Grandoni, E. Lee, C. Schwiegelshohn, and O. Svensson, “A (2+\(\epsilon\))-approximation algorithm for metric k-median,” in Proceedings of the 57th annual ACM symposium on theory of computing, STOC 2025, prague, czechia, june 23-27, 2025, 2025, pp. 615–624, doi: 10.1145/3717823.3718299.
[14]
S. Guha and S. Khuller, “Greedy strikes back: Improved facility location algorithms,” Journal of algorithms, vol. 31, no. 1, pp. 228–248, 1999.
[15]
A. Gupta and K. Tangwongsan, “Simpler analyses of local search algorithms for facility location,” CoRR, vol. abs/0809.2554, 2008, [Online]. Available: http://arxiv.org/abs/0809.2554.
[16]
S. Ahmadian, A. Norouzi-Fard, O. Svensson, and J. Ward, “Better guarantees for k-means and Euclidean k-median by primal-dual algorithms,” SIAM J. Comput., vol. 49, no. 4, 2020, doi: 10.1137/18M1171321.
[17]
M. Charikar, V. Cohen-Addad, R. Gao, F. Grandoni, E. Lee, and E. van Wijland, “An improved greedy approximation for (metric) k-means,” in Proceedings of the 66th IEEE symposium on foundations of computer science, FOCS 2025, 2025, pp. 233–240.
[18]
T. Kanungo, D. M. Mount, N. S. Netanyahu, C. D. Piatko, R. Silverman, and A. Y. Wu, “A local search approximation algorithm for k-means clustering,” Comput. Geom., vol. 28, no. 2–3, pp. 89–112, 2004, doi: 10.1016/j.comgeo.2004.03.003.
[19]
F. Grandoni, R. Ostrovsky, Y. Rabani, L. J. Schulman, and R. Venkat, “A refined approximation for euclidean k-means,” Inf. Process. Lett., vol. 176, p. 106251, 2022, doi: 10.1016/J.IPL.2022.106251.
[20]
V. Cohen-Addad, H. Esfandiari, V. Mirrokni, and S. Narayanan, “Improved approximations for euclidean k-means and k-median, via nested quasi-independent sets,” in Proceedings of the 54th ACM symposium on theory of computing, STOC 2022, 2022.
[21]
M. Charikar, V. Cohen-Addad, R. Gao, F. Grandoni, E. Lee, and E. van Wijland, To appear“A (4+\(\epsilon\))-approximation for euclidean k-means via non-monotone dual-fitting,” in Proceedings of the 57th ACM symposium on theory of computing, STOC 2026, 2026.
[22]
V. Cohen-Addad and Karthik C. S., “Inapproximability of clustering in lp metrics,” in 60th IEEE annual symposium on foundations of computer science, FOCS 2019, baltimore, maryland, USA, november 9-12, 2019, 2019, pp. 519–539, doi: 10.1109/FOCS.2019.00040.
[23]
V. Cohen-Addad, K. C. S, and E. Lee, “Johnson coverage hypothesis: Inapproximability of k-means and k-median in lp-metrics,” in Proceedings of the 2022 annual ACM-SIAM symposium on discrete algorithms (SODA), 2022, pp. 1493–1530.
[24]
Z. Friggstad, M. Rezapour, and M. R. Salavatipour, “Local search yields a PTAS for k-means in doubling metrics,” in IEEE 57th annual symposium on foundations of computer science, FOCS 2016, hyatt regency, new brunswick, new jersey, USA, october 9-11, 2016, 2016, pp. 365–374, doi: 10.1109/FOCS.2016.47.
[25]
V. Cohen-Addad, P. N. Klein, and C. Mathieu, “Local search yields approximation schemes for k-means and k-median in euclidean and minor-free metrics,” in IEEE 57th annual symposium on foundations of computer science, FOCS 2016, hyatt regency, new brunswick, new jersey, USA, october 9-11, 2016, 2016, pp. 353–364, doi: 10.1109/FOCS.2016.46.
[26]
V. Cohen-Addad, “A fast approximation scheme for low-dimensional k-means,” in Proceedings of the twenty-ninth annual ACM-SIAM symposium on discrete algorithms, SODA 2018, new orleans, LA, USA, january 7-10, 2018, 2018, pp. 430–440, doi: 10.1137/1.9781611975031.29.
[27]
E. Lee and K. Shin, “Facility location on high-dimensional euclidean spaces,” in 16th innovations in theoretical computer science conference (ITCS 2025), 2025, pp. 70–1.
[28]
J. Byrka, Y. Guo, Y. Hu, S. Li, C. Wan, and Z. Wang, To appear“K-clustering via iterative randomized rounding,” in Proceedings of the 67th IEEE symposium on foundations of computer science, FOCS 2026, 2026.
[29]
C. D. Meyer, Matrix analysis and applied linear algebra. Society for Industrial; Applied Mathematics (SIAM, 3600 Market Street, Floor 6, Philadelphia, PA 19104), 2000.
[30]
G. Cualinescu, C. Chekuri, M. Pál, and J. Vondrák, “Maximizing a monotone submodular function subject to a matroid constraint,” SIAM J. Comput., vol. 40, no. 6, pp. 1740–1766, 2011, doi: 10.1137/080733991.
[31]
N. Buchbinder and M. Feldman, “Deterministic algorithm and faster algorithm for submodular maximization subject to a matroid constraint,” CoRR, vol. abs/2408.03583, 2024, doi: 10.48550/ARXIV.2408.03583.
[32]
Y. Filmus and J. Ward, “Monotone submodular maximization over a matroid via non-oblivious local search,” SIAM J. Comput., vol. 43, no. 2, pp. 514–542, 2014, doi: 10.1137/130920277.
[33]
M. Charikar, C. Chekuri, A. Goel, and S. Guha, “Rounding via trees: Deterministic approximation algorithms for group Steiner trees and k-median,” in Proceedings of the thirtieth annual ACM symposium on the theory of computing, dallas, texas, USA, may 23-26, 1998, 1998, pp. 114–123, doi: 10.1145/276698.276719.

  1. Sometimes this is called the continuous Euclidean \(k\)-Means problem in the literature.↩︎

  2. For example, we know that \(\rho=1.96, \Gamma=3.692\) works for Euclidean metrics, and \(\rho\approx 2.430,\Gamma=4.865\) works for general metrics.↩︎

  3. The only condition for validity is that \(DC_t \subseteq DC_{t+1}\) for all \(t\), since the algorithm moves clients only from \(IC\) and \(A\) to \(DC\), while never moving from \(DC\) to \(IC\).↩︎

  4. These parameters are corresponding to the parameters \(\phi^{(t)}_{j,\ell}\) in [21]. We are using a slightly different notation here.↩︎

  5. These parameters are corresponding to the parameters \(\beta_t\) in [21].↩︎

  6. The definitions in [21] follow a recursion way. Properties here are either based on the explicit form or only implicitly proved in [21].↩︎

  7. When we use CompleteSolution\((H_1,\dots, H_{p-1}, H''_p)\), we are actually referring to CompleteSolution\((\mathcal{H}''=(H_1,\dots, H_{p-1}, H''_p), \mathcal{D}\mathcal{H}''=(\mathcal{D}_0,\dots,\mathcal{D}_{p-1}))\). When we use CompleteSequence\((H''_p)\), we are actually referring to CompleteSequence\((\mathcal{H}''=(H_1,\dots, H_{p-1}), H''_{p}, \mathcal{D}\mathcal{H}''=(\mathcal{D}_0,\dots,\mathcal{D}_{p-1}))\).↩︎