Part I: The Power of General Bids
Introduction
The metric k k k -median problem is the following classical clustering problem: Given a set D D D of n n n clients, a set F \mathrm{F} F of facilities, metric distances d ( ⋅ , ⋅ ) d(\cdot,\cdot) d ( ⋅ , ⋅ ) on D ∪ F D \cup\mathrm{F} D ∪ F , and an integer parameter k ≥ 1 k \ge1 k ≥ 1 , the goal is to choose a set S ⊆ F S \subseteq\mathrm{F} S ⊆ F of k k k open facilities minimizing
cost ( S ) : = ∑ j ∈ D d ( j , S ) = ∑ j ∈ D min i ∈ S d ( i , j ) , \operatorname{cost}(S) := \sum_{j \in D} d(j,S) = \sum_{j \in D} \min_{i \in S} d(i,j), cost ( S ) := j ∈ D ∑ d ( j , S ) = j ∈ D ∑ i ∈ S min d ( i , j ) ,
where we use d ( j , S ) d(j,S) d ( j , S ) as a shorthand for min i ∈ S d ( i , j ) \min_{i \in S} d(i,j) min i ∈ S d ( i , j ) . We further denote by opt \operatorname{opt} opt the cost of an optimal solution. Metric k k k -median is well-known to be hard to approximate within a factor better than 1 + 2 / e 1 + 2/e 1 + 2/ e [17 , 22 , 21 ] , and achieving matching algorithmic guarantees has been the subject of intense study over the last two decades.
Most work has focused on two algorithmic paradigms. On the one hand, the basic local-search algorithm of Arya, Garg, Khandekar, Meyerson, Munagala, and Pandit (swap O ( 1 ) O(1) O ( 1 ) centers while improving the solution) gives a ( 3 + ε ) (3+\varepsilon) ( 3 + ε ) -approximation, and for a long time this was the best known polynomial-time guarantee [2 ] . On the other hand, the influential primal-dual/Lagrangian framework initiated by Jain and Vazirani [23 ] and sharpened by Jain, Mahdian, Markakis, Saberi and Vazirani [22 , 21 ] reduces k k k -median to the task of devising Lagrangian-multiplier-preserving (LMP) approximation algorithms for uncapacitated facility location.
Here, one first considers facility location with a uniform opening cost f f f , where a solution S ⊆ F S \subseteq\mathrm{F} S ⊆ F pays cost ( S ) + f ∣ S ∣ \operatorname{cost}(S)+f|S| cost ( S ) + f ∣ S ∣ . Since a higher opening cost f f f leads to fewer open facilities and a lower cost leads to more, one can binary search on f f f to find two consecutive solutions, one opening fewer than k k k facilities and one opening more, whose convex combination opens exactly k k k facilities in a fractional sense. If the facility location algorithm used is an α L M P \alpha_{\mathrm{LMP}} α LMP -LMP approximation, this already gives a solution of cost at most α L M P ⋅ opt \alpha_{\mathrm{LMP}} \cdot\operatorname{opt} α LMP ⋅ opt that opens k k k centers in expectation . A second step, bi-point rounding, is then needed to obtain a feasible k k k -median solution with at most k k k open centers, and this incurs an additional multiplicative factor of 2, as shown by [23 ] . The overall approximation factor is therefore 2 α L M P 2\alpha_{\mathrm{LMP}} 2 α LMP . In this language, the original Jain, Vazirani framework yields a factor 6 algorithm, while the Greedy algorithm of [22 , 21 ] improves the LMP stage to 2 and hence gives a factor 4 algorithm [23 , 22 , 21 ] .
Li and Svensson [25 ] improved the bi-point rounding step by allowing the algorithm to open k + O ( 1 ) k+O(1) k + O ( 1 ) centers. They also showed that any α \alpha α -approximation opening k + c k+c k + c centers can be transformed into an ( α + ε ) (\alpha+\varepsilon) ( α + ε ) -approximation opening exactly k k k centers in time n O ( c / ε ) n^{O(c/\varepsilon)} n O ( c / ε ) . This sparked a sequence of refinements of bi-point rounding algorithms opening k + O ( 1 ) k+O(1) k + O ( 1 ) centers [7 , 19 ] ; combined with the small but important improvement to a ( 2 − η ) (2-\eta) ( 2 − η ) -LMP approximation, where η = 2.25 ⋅ 10 − 7 \eta=2.25 \cdot10^{-7} η = 2.25 ⋅ 1 0 − 7 by Cohen-Addad, Grandoni, Lee, and Schwiegelshohn [13 ] , this line eventually led to a 2.613-approximation [13 , 19 ] .
Recently, Cohen-Addad, Grandoni, Lee, Schwiegelshohn, and Svensson [12 ] achieved a significantly improved ( 2 + ε ) (2+\varepsilon) ( 2 + ε ) -approximation for metric k k k -median (for every ε > 0 \varepsilon>0 ε > 0 ). Their result has two ingredients. First, they give a “smooth” (so called log-adaptive) implementation of the Greedy algorithm that opens at most k + O ( log η / ε 2 ) k+O(\log\eta/\varepsilon^2) k + O ( log η / ε 2 ) centers while keeping the approximation ratio at ( 2 + ε ) (2+\varepsilon) ( 2 + ε ) . Second, they complement this with a polynomial-time ( 2 + ε ) (2+\varepsilon) ( 2 + ε ) -approximation for so-called ( ζ / log η ) (\zeta/\log\eta) ( ζ / log η ) -stable instances, for every ε , ζ > 0 \varepsilon,\zeta>0 ε , ζ > 0 , which is exactly the ingredient needed to turn the quasi-polynomial algorithm into a polynomial-time one. In a separate development, Byrka, Guo, Hu, Li, Wan and Wang [6 ] came up with a novel approach based on an iterative rounding procedure for the standard LP relaxation to reproduce the ( 2 + ε ) (2+\varepsilon) ( 2 + ε ) -approximation ratio. Thus, by now the gap between what we know how to achieve with k k k centers in expectation and with at most k k k centers is essentially closed at factor 2. This raises the question whether the factor 2 is a natural barrier or if it is possible to close the gap between 2 and 1 + 2 / e 1+2/e 1 + 2/ e ? We answer the first part of the question and show that there is a 1.95-approximation algorithm for k k k -median.
Our Contribution
Our main contribution is an improved approximation algorithm for k k k -median with an approximation ratio below 2:
Theorem 1.1. There is a randomized polynomial-time 1.95-approximation algorithm for k k k -median.
To explain how we obtain this result, we first outline the two-pronged framework from [12 ] giving the ( 2 + ϵ ) (2+\epsilon) ( 2 + ϵ ) -approximation; this framework was first used by [25 ] . Given a metric space ( D ∪ F , d ) (D \cup F,d) ( D ∪ F , d ) , define opt ℓ \operatorname{opt}_{\ell} opt ℓ to be the optimal cost of ℓ \ell ℓ -median on this instance. Naturally, fewer centers result in a larger cost, and hence opt k ≤ opt k − c \operatorname{opt}_{k} \le\operatorname{opt}_{k-c} opt k ≤ opt k − c for any c ≥ 0 c \ge0 c ≥ 0 . The framework is the following:
Use a greedy algorithm (or some other approach) to give a ( 2 + ϵ ) (2+\epsilon) ( 2 + ϵ ) -pseudo-approximation for k k k -median: i.e., instead of returning a solution S S S with k k k centers having cost ( 2 + ϵ ) ⋅ opt k (2+\epsilon)\cdot\operatorname{opt}_{k} ( 2 + ϵ ) ⋅ opt k , return a pseudo-solution—a set S 1 S_{1} S 1 with k k k centers, which has a cost at most ( 2 + ϵ ) ⋅ opt k − c (2+\epsilon)\cdot\operatorname{opt}_{k-c} ( 2 + ϵ ) ⋅ opt k − c , where c = O ( ( log n ) / poly ( ϵ ) ) c = O((\log n)/\operatorname{poly}(\epsilon)) c = O (( log n ) / poly ( ϵ )) . Equivalently, we are interested in an approximation algorithm that finds a solution S 2 S_{2} S 2 with k + c k+c k + c centers and cost at most ( 2 + ϵ ) opt k (2+\epsilon)\operatorname{opt}_{k} ( 2 + ϵ ) opt k . Indeed, invoking such an algorithm with k ′ = k − c k' = k-c k ′ = k − c will return a pseudo-approximation.
Next, observe that if opt k − c ≤ ( 1 + ϵ ) opt k \operatorname{opt}_{k-c} \le(1+\epsilon)\operatorname{opt}_{k} opt k − c ≤ ( 1 + ϵ ) opt k , then the solution S 1 S_{1} S 1 has cost ( 2 + O ( ϵ ) ) opt k (2+O(\epsilon))\operatorname{opt}_{k} ( 2 + O ( ϵ )) opt k , and we have the desired approximation. If not, then reducing the number of centers from k k k to k − c k-c k − c causes the optimal value to increase by at least a factor of ( 1 + ϵ ) (1+\epsilon) ( 1 + ϵ ) . In other words, there exists k ′ ∈ [ k − c , k ] k' \in[k-c,k] k ′ ∈ [ k − c , k ] such that (a) opt k ′ ≤ ( 1 + ϵ ) opt k \operatorname{opt}_{k'} \le(1+\epsilon)\operatorname{opt}_{k} opt k ′ ≤ ( 1 + ϵ ) opt k , and moreover, (b) opt k ′ − 1 ≥ ( 1 + Ω ( ϵ / c ) ) opt k ′ \operatorname{opt}_{k'-1} \ge(1+\Omega(\epsilon/c))\operatorname{opt}_{k'} opt k ′ − 1 ≥ ( 1 + Ω ( ϵ / c )) opt k ′ . I.e., the optimal cost increases by at least a ( 1 + β ) (1+\beta) ( 1 + β ) -factor when one reduces the number of available centers by 1 1 1 —from k ′ k' k ′ to k ′ − 1 k'-1 k ′ − 1 . (Here β = Ω ( ϵ / c ) \beta= \Omega(\epsilon/c) β = Ω ( ϵ / c ) .) Such an instance of k ′ k' k ′ -median is called a β \beta β -stable instance, and stable instances can allow for better-than-worst-case approximations given their structural properties [1 , 16 ] .
The final ingredient is a ( 2 + ϵ ) (2+\epsilon) ( 2 + ϵ ) -approximation algorithm for β \beta β -stable instances running in time exp ( ( β ⋅ poly ( ϵ ) ) − 1 ) poly ( n ) \exp((\beta\cdot\operatorname{poly}(\epsilon))^{-1})\operatorname{poly}(n) exp (( β ⋅ poly ( ϵ ) ) − 1 ) poly ( n ) . Using this, one gets a k ′ k' k ′ -median solution S 2 S_{2} S 2 (which for k ′ ≤ k k' \le k k ′ ≤ k is also a k k k -median solution) with cost ( 2 + ϵ ) opt k ′ ≤ ( 2 + O ( ϵ ) ) opt k (2+\epsilon)\operatorname{opt}_{k'} \le(2+O(\epsilon))\operatorname{opt}_{k} ( 2 + ϵ ) opt k ′ ≤ ( 2 + O ( ϵ )) opt k in time n poly ( 1 / ϵ ) n^{\operatorname{poly}(1/\epsilon)} n poly ( 1/ ϵ ) .
Note that step (ii) is completely generic; however, both the other steps (i) and (iii) lose a factor of ( 2 + ϵ ) (2+\epsilon) ( 2 + ϵ ) . To do better, we need to improve both these steps. In this paper we improve upon step (i) and show that we can find a ( 1.9499 + ϵ ) (1.9499+\epsilon) ( 1.9499 + ϵ ) -approximation that opens k + c k+c k + c centers.
Theorem 1.2 (See Theorem 5.16 for full version). For any ϵ > 0 \epsilon> 0 ϵ > 0 , there exists a polynomial-time algorithm for k k k -median that outputs a solution with at most k + O ( log n / ϵ 2 ) k+O(\log n/\epsilon^{2}) k + O ( log n / ϵ 2 ) centers and cost at most ( 1.9499 + ϵ ) ⋅ opt (1.9499+\epsilon)\cdot\operatorname{opt} ( 1.9499 + ϵ ) ⋅ opt .
In a companion paper [5 ] we address (iii) and prove the following theorem for β \beta β -stable instances.
Theorem 1.3 (Stable Instances [5 ] ). Let ( D ∪ F , d ) (D \cup F,d) ( D ∪ F , d ) be a β \beta β -stable instance of k k k -median and ϵ ∈ ( 0 , 1 / 200 ) \epsilon\in(0,1/200) ϵ ∈ ( 0 , 1/200 ) . There exists an algorithm running in exp { O ( β − 1 poly ( 1 / ϵ ) ) } n poly ( 1 / ϵ ) \exp\{O(\beta^{-1}\operatorname{poly}(1/\epsilon))\}n^{\operatorname{poly}(1/\epsilon)} exp { O ( β − 1 poly ( 1/ ϵ ))} n poly ( 1/ ϵ ) time which with probability 1 − ϵ 1-\epsilon 1 − ϵ outputs S ⊆ F S \subseteq F S ⊆ F with ∣ S ∣ = k |S|=k ∣ S ∣ = k such that
cost ( S ) ≤ ( 1.89 + O ( ϵ ) ) opt k . \operatorname{cost}(S) \le(1.89+O(\epsilon))\operatorname{opt}_{k}. cost ( S ) ≤ ( 1.89 + O ( ϵ )) opt k .
Similar to previous work, we use the LMP-framework by [23 ] . First, we give an improved LMP approximation algorithm for the uncapacitated facility location problem. Here, we take a different route than [13 ] who augment the Greedy algorithm with local-search post-processing to arrive at their ( 2 − η ) (2-\eta) ( 2 − η ) -LMP approximation. Instead, we revisit the greedy algorithm itself and modify the bidding rule. In our unified notation, the classical choice is the linear bid β ( α , d ) = [ α − d ] + \beta(\alpha,d)=[\alpha-d]^{+} β ( α , d ) = [ α − d ] + . We generalize this to broader bidding functions β ( α , d ) \beta(\alpha,d) β ( α , d ) and in particular, bidding functions of the form β ( α , d ) = [ α − γ d ] + \beta(\alpha,d)=[\alpha-\gamma d]^{+} β ( α , d ) = [ α − γ d ] + , parametrized by γ > 1 \gamma>1 γ > 1 . A similar approach has been applied to improve the approximation ratio for the k k k -means problem that asks to minimize the sum of the squared distances (as opposed to the sum of distances) [8 , 9 ] . They employ a dual fitting analysis while we, on the other hand, study how the choice of β ( α , d ) \beta(\alpha,d) β ( α , d ) changes the factor-revealing program. Indeed, their kind of dual fitting analysis doesn’t work for k k k -median; there exists an example (Figure 3 ) where bounding the algorithm’s cost by the sum of dual variables ∑ j ∈ C α j \sum_{j\in C}\alpha_j ∑ j ∈ C α j results in an LMP ratio approaching 2 2 2 (both for our variant and their variant of the greedy algorithm).
Figure 3. A 2 lower bound when replacing cost j \operatorname{cost}_j cost j with α j \alpha_j α j for bidding functions: [ α − γ d ] + [\alpha-\gamma d]^+ [ α − γ d ] + .
Intuitively, our bids allow clients to discount distant facilities more aggressively, which already breaks the tight examples behind the classical factor-2 analysis. This added flexibility comes, however, at a price: the classical Greedy analysis is governed by a single factor-revealing LP, whereas general bids lead to genuinely non-linear programs, and even piecewise-linear bids lead to a family of LPs rather than one LP. This viewpoint appears surprisingly powerful even for very simple families of bids. We show that Algorithm 1 with bidding function β ( α , d ) = [ α − 1.224 d ] + \beta(\alpha,d)=[\alpha-1.224d]^{+} β ( α , d ) = [ α − 1.224 d ] + is a 1.9499-LMP approximation algorithm.
Theorem 1.4 (See Theorem 4.3 for full version). There exists a polynomial-time 1.9499-LMP approximation algorithm for uncapacitated facility location.
Remark 1.5. Building on the results described above, GPT-6 Astra managed to improve the LMP approximation ratio to 1.844. The bidding function used to achieve this ratio is
β ( α , d ) = 1 10 8 ∑ s = 1 13 W s [ α − γ s d ] + , (1) \beta(\alpha,d)=\frac{1}{10^{8}}\sum_{s=1}^{13}W_s[\alpha-\gamma_s d]^+, \tag*{(1)} β ( α , d ) = 1 0 8 1 s = 1 ∑ 13 W s [ α − γ s d ] + , (1)
where the multipliers γ s \gamma_s γ s and weights W s W_s W s are specified in Table 1 . Furthermore, GPT-6 Astra managed to prove that for any admissible bidding function, as in Definition 3.1 , the supremum of the factor revealing program used in our analysis over all n ≥ 1 n \ge1 n ≥ 1 has value at least 1.8. Therefore, our approach cannot immediately yield an approximation ratio below 1.8. Lean proofs for these claims can be found at https://github.com/epfl-thl2/project-k-median .
Table 1. The bidding function. Each coefficient of [ x − γ s y ] + [x-\gamma_s y]^+ [ x − γ s y ] + is W s / 10 8 W_s/10^8 W s /1 0 8 .
Our second contribution is to make these generalized bids smooth (more specifically, low in terms of adaptivity). We adapt and generalize the recent log-adaptive framework of [12 ] to our broader class of bidding functions. A key conceptual point is that we do not redo the (in our case, complex) approximation analysis of the log-adaptive algorithm from scratch. Instead, we prove a black-box transfer statement: if the factor-revealing mathematical program with a bidding function β = [ a − γ d ] + \beta=[a-\gamma d]^+ β = [ a − γ d ] + has value at most ρ \rho ρ , then the corresponding smooth version opens at most k + O ( log n / ε 2 ) k+O(\log n/\varepsilon^2) k + O ( log n / ε 2 ) centers while losing only an additive ε \varepsilon ε in the approximation guarantee. In other words, the smooth analysis inherits the bound from the original factor-revealing program almost for free. Combined with Theorem 1.4, this yields Theorem 1.2 .
Further Related Work
Facility location and dual fitting. The connection between k k k -median and facility location dates back to the primal-dual schema of Jain and Vazirani [23 ] and the dual-fitting framework of Jain, Mahdian, Markakis, Saberi, and Vazirani [22 , 21 ] . These ideas have been highly influential for facility location itself, leading to improved approximation algorithms culminating in the 1.488-approximation of Li [24 ] ; see also [14 , 15 , 4 ] . The factor-revealing LP technique introduced in [21 ] is a key tool underlying both the classical Greedy analysis and our generalization to broader bidding functions.
Local search. The ( 3 + ε ) (3+\varepsilon) ( 3 + ε ) -approximation of Arya et al. [2 ] via multi-swap local search remained the best polynomial-time guarantee for metric k k k -median for over a decade. Cohen-Addad, Gupta, Hu, Oh, and Saulpic [11 ] introduced a non-oblivious local-search approach that beats the classical factor 3, though it does not yet improve the best overall guarantee for the problem.
Bi-point rounding. As discussed in the introduction, converting an LMP solution into an exact-k k k solution via bi-point rounding has been a major bottleneck. The line of work by Li and Svensson [25 ] , Byrka et al. [7 ] , and Gowda et al. [GPTS23] progressively refined this step, eventually reaching a 2.613-approximation in combination with the LMP improvement of [13 ] . It is known that no LMP-based bi-point rounding approach can breach the ( 1 + 2 / e ) ϕ ≈ 2.208 (1+2/e)\sqrt{\phi}\approx2.208 ( 1 + 2/ e ) ϕ ≈ 2.208 barrier [19 ] , which further motivates the smooth/log-adaptive approach that avoids bi-point rounding altogether.
Euclidean k k k -Median. A different approach to the rounding loss was used by Ahmadian, Norouzi-Fard, Svensson, and Ward [3 ] and further developed by Cohen-Addad, Esfandiari, Mirrokni, and Narayanan [10 ] and Grandoni, Ostrovsky, Rabani, Schulman and Venkat [18 ] , who improved guarantees for k k k -means and Euclidean k k k -median by showing how to run the simpler primal-dual algorithm [23 ] in a “smooth” way so as to respect the hard cardinality constraint without paying the bi-point rounding loss.
Outline
The remainder of the paper is organized as follows. We start with some additional definitions in § 2 . We then, in § 3 , present the Greedy algorithm with general bidding functions and use simple examples to illustrate why modified bids can avoid the classical factor-2 lower-bound constructions. In § 4 , we formulate the corresponding factor-revealing mathematical program (for general bidding functions), and give an outline of the proof of our 1.9499-LMP guarantee for the bid β ( α , d ) = [ α − 1.224 d ] + \beta(\alpha,d)=[\alpha-1.224d]^+ β ( α , d ) = [ α − 1.224 d ] + .
In § 5 we show how to transfer any upper bound on the factor-revealing program to a log-adaptive version of the algorithm, and we state the resulting polynomial-time k k k -median guarantee that opens at most k + O ( log n ) k+O(\log n) k + O ( log n ) centers (which then follows from adapting the recipe of [12 ] ). Finally, in § 6 we give the full, more technically involved, dual-fitting proof of the 1.9499 bound.
AI Acknowledgment and Concurrent Work
The mathematical proofs presented in this work (apart from Remark 1.5) were developed solely by the authors without the use of AI. GPT-5.6 Sol and GPT-6 Astra were used for proof-checking, to assist the writing process and to obtain feedback on the presentation. In particular, AI has been used to reformulate paragraphs in § 1 , § 2 , and in the introductory parts of the other sections. The lean certificates mentioned in Remark 1.5 and the certificate for Theorem 4.4 were obtained by GPT-6 Astra.
In concurrent work announced on October 6, 2026, OpenAI presented two different better-than-two approximations for general k k k -median instances [26 , 27 ] . The first extends the iterative rounding-based ( 2 + ε ) (2+\varepsilon) ( 2 + ε ) -approximation of [6 ] to achieve an optimal ( 1 + 2 / e + ε ) (1+2/e+\varepsilon) ( 1 + 2/ e + ε ) -approximation. The other instead builds on the stable instance/pseudo-approximation framework of [12 ] giving a ( 2 − σ ) (2-\sigma) ( 2 − σ ) -approximation for some absolute constant σ > 0 \sigma>0 σ > 0 , thus sharing many similarities with this work and its companion paper. Finally, through personal communication, we learned that Jaroslaw Byrka, Yuhao Guo, Yang Hu, Shi Li, Yongho Shin, Phanu Vajanapath, Chengzhang Wan and Zaxuan Wang have independently achieved a 2 − σ 2-\sigma 2 − σ -approximation algorithm for a small but constant σ > 0 \sigma>0 σ > 0 . Their approach further develops the iterative randomized rounding framework of [6 ] , providing an alternative route to a better-than-2 approximation.
Preliminaries
We are given a metric d ( ⋅ , ⋅ ) d(\cdot,\cdot) d ( ⋅ , ⋅ ) on the union of a set of clients D D D and a set of facilities F \mathbb{F} F . For a set of facilities (also referred to as centers) S ⊆ F S\subseteq\mathbb{F} S ⊆ F and a client j ∈ D j\in D j ∈ D , we write
d ( j , S ) : = min i ∈ S d ( i , j ) , d(j,S):=\min_{i\in S}d(i,j), d ( j , S ) := i ∈ S min d ( i , j ) ,
with the convention d ( j , ∅ ) = + ∞ d(j,\varnothing)=+\infty d ( j , ∅ ) = + ∞ . For a facility i ∈ F i\in\mathbb{F} i ∈ F and radius r ≥ 0 r\geq0 r ≥ 0 , we let
B ( i , r ) : = { j ∈ D : d ( i , j ) ≤ r } B(i,r):=\{j\in D:d(i,j)\leq r\} B ( i , r ) := { j ∈ D : d ( i , j ) ≤ r }
be the ball around i i i of radius r r r . We also use the shorthand [ x ] + : = max { x , 0 } [x]^+:=\max\{x,0\} [ x ] + := max { x , 0 } for x ∈ R x\in\mathbb{R} x ∈ R .
In general, we will denote sets of clients by capital letters such as A , B A,B A , B , and sets of facilities by blackboard-bold capital letters such as A , B \mathbb{A},\mathbb{B} A , B .
Facility location and k k k -median. In the metric uncapacitated facility location problem (UFL) with uniform facility opening cost f ≥ 0 f\geq0 f ≥ 0 , the goal is to choose a set S ⊆ F S\subseteq\mathbb{F} S ⊆ F minimizing
cost f ( S ) : = ∑ j ∈ D d ( j , S ) + f ⋅ ∣ S ∣ . \operatorname{cost}_f(S):=\sum_{j\in D}d(j,S)+f\cdot|S|. cost f ( S ) := j ∈ D ∑ d ( j , S ) + f ⋅ ∣ S ∣.
We denote by O P T f \mathrm{OPT}_f OPT f the optimum value of this facility-location instance. We omit the subscript when it is clear from context.
In the metric k k k -median problem, we are given in addition an integer k ≥ 1 k \ge1 k ≥ 1 , and the goal is to choose a set S ⊆ F S \subseteq F S ⊆ F of at most k k k facilities minimizing the connection cost
cost ( S ) : = ∑ j ∈ D d ( j , S ) . \operatorname{cost}(S) := \sum_{j \in D} d(j,S). cost ( S ) := j ∈ D ∑ d ( j , S ) .
We denote by opt k \operatorname{opt}_k opt k the optimum value of the k k k -median instance. Whenever the value of k k k is clear from context, we simply write opt \operatorname{opt} opt .
The standard Lagrangian viewpoint relates the two problems by regarding the cardinality constraint ∣ S ∣ ≤ k |S| \le k ∣ S ∣ ≤ k as a penalty term f ⋅ ∣ S ∣ f \cdot|S| f ⋅ ∣ S ∣ . A facility-location algorithm therefore yields a family of solutions parameterized by the opening cost f f f , and one tries to recover a near-optimal k k k -median solution from this family.
Definition 2.1 (LMP approximation ratio). A facility-location algorithm A \mathcal{A} A is a ρ \rho ρ -Lagrangian-multiplier-preserving approximation (or ρ \rho ρ -LMP approximation) if for every instance with uniform opening cost f f f , the algorithm outputs a set S ⊆ F S \subseteq F S ⊆ F satisfying
∑ j ∈ D d ( j , S ) ≤ ρ ( O P T f − f ⋅ ∣ S ∣ ) . \sum_{j \in D} d(j,S) \le\rho\bigl(\mathrm{OPT}_f - f \cdot|S|\bigr). j ∈ D ∑ d ( j , S ) ≤ ρ ( OPT f − f ⋅ ∣ S ∣ ) .
Intuitively, a ρ \rho ρ -LMP guarantee says that after fully paying the facility opening costs the algorithm is still a ρ \rho ρ -approximation in the connectivity cost.
By a standard reduction as in Lemma 2.1 in [12 ] , we may assume that all distances are polynomially bounded and bounded away from zero; concretely, we assume
1 ≤ d ( i , j ) ≤ poly ( ∣ D ∣ ) ∀ i ∈ F , j ∈ D . (2) 1 \le d(i,j) \le\operatorname{poly}(|D|) \qquad\forall i \in F,\ j \in D . \tag*{(2)} 1 ≤ d ( i , j ) ≤ poly ( ∣ D ∣ ) ∀ i ∈ F , j ∈ D . (2)
We also denote M = max i ∈ F , j ∈ D d ( i , j ) M = \max_{i \in F,j \in D} d(i,j) M = max i ∈ F , j ∈ D d ( i , j ) .
Greedy Algorithm with General Bids
In this section we revisit the Greedy algorithm of [22 , 21 ] and present its generalized version with more flexible bidding functions. The classical Greedy algorithm maintains a set A A A of active clients, a set S S S of opened facilities, and for each client j j j a total initial budget α j \alpha_j α j that grows uniformly while j j j remains active. As time increases, one of two events can occur. Either some unopened facility receives enough total bids to pay for its opening cost, in which case the facility is opened, or some active client reaches an already opened facility and becomes inactive. In the standard Greedy algorithm, an active client j j j first reserves d ( i , j ) d(i,j) d ( i , j ) units of its budget to pay for connecting to a candidate facility i i i , and then contributes all of its remaining budget, namely [ α j − d ( i , j ) ] + [\alpha_j - d(i,j)]^+ [ α j − d ( i , j ) ] + , towards opening i i i . Likewise, an inactive client that is currently connected at cost d ( j , S ) d(j,S) d ( j , S ) contributes the full improvement [ d ( j , S ) − d ( i , j ) ] + [d(j,S) - d(i,j)]^+ [ d ( j , S ) − d ( i , j ) ] + that opening i i i would offer.
It is therefore natural to ask what happens if clients are not forced to bid their entire remaining budget to a candidate facility, but are instead allowed to contribute only a fraction of it. Intuitively, one would like clients to support nearby facilities more aggressively and discount their bids to facilities that are farther away.
Our goal is to understand the power of the bidding function in the Greedy algorithm. For a client with value α \alpha α , we denote its bid towards a facility at distance d d d by β ( α , d ) \beta(\alpha,d) β ( α , d ) , and for an inactive client we use the same function with α = d ( j , S ) \alpha= d(j,S) α = d ( j , S ) , namely β ( d ( j , S ) , d ) \beta(d(j,S),d) β ( d ( j , S ) , d ) . We give the pseudocode of the Generalized Greedy algorithm in Algorithm 1. Of course, the bidding function β ( α , d ) \beta(\alpha,d) β ( α , d ) must satisfy some natural properties, e.g. the bids should be non-negative and should not surpass the remaining budget. We outline these properties in Section 3.2 and from this point onwards, whenever we refer to the Generalized Greedy algorithm (Algorithm 1), we assume that its bidding function satisfies these properties.
Algorithm 1 Greedy Algorithm with a Generalized Bidding Strategy
Initialization: Set $A = D$ (set of active clients), $S = \emptyset$ (set of opened facilities), $\alpha = 0$ (global time).
For each client $j \in D$, let $\alpha_j = \alpha$ while $j \in A$, and freeze $\alpha_j$ when $j$ first becomes inactive.
For any client $j$ and facility $i$, define the bid:
\operatorname{bid}(j,i) =
\begin{cases}
\beta(\alpha_j,d(i,j)) & \text{if } j \in A\\
\beta(d(j,S),d(i,j)) & \text{if } j \notin A.
\end{cases}
while $A \ne \emptyset$ do
Increase $\alpha$ uniformly until one of the following events occurs:
Event 1: An unopened facility $i \in F$ is fully paid for: $\sum_{j \in D} \operatorname{bid}(j,i) = f$
Open facility $i$: $S \gets S \cup \{i\}$
Mark all clients $j \in A$ such that $\alpha_j \ge d(j,S)$ as served (i.e., remove them from $A$).
Event 2: An active client $j \in A$ reaches an open facility $i \in S$: $\alpha_j = d(i,j)$
Mark $j$ as served (i.e., remove $j$ from $A$).
(If multiple events occur simultaneously, process them in an arbitrary order)
end while
Motivation for General Bidding Functions
In this section we recall the classic factor-2 lower bound for the standard Greedy algorithm of [22 JMM⁺03] and show how a slightly different bidding function can help us break the barrier of 2. The examples we present do not have uniform opening costs for the facilities, i.e. every facility has a different opening cost f i f_i f i and it opens when the total bids towards it are equal to f i f_i f i . This is done purely for presentational simplicity as similar examples can be obtained for uniform opening costs.
In these examples, the quantity that “reveals” the LMP factor of the algorithm is the following. Let i i i be an optimal facility with opening cost f f f , and d 1 , … , d n d_1,\ldots,d_n d 1 , … , d n be the distances between the facility and the clients connected to it in the optimal solution. Furthermore, let cost j \operatorname{cost}_j cost j be the total cost attributed to client j j j : its final connection cost plus all its bids towards the facility opening costs. We are interested in bounding the following ratio:
∑ j = 1 n cost j − f ∑ j = 1 n d j \frac{\sum_{j=1}^{n} \operatorname{cost}_j-f}{\sum_{j=1}^{n} d_j} ∑ j = 1 n d j ∑ j = 1 n cost j − f
The above quantity is a crucial ingredient in the analysis of the algorithm and is essentially equal to the final LMP approximation. In fact, when cost j = α j \operatorname{cost}_j=\alpha_j cost j = α j this is equal to the objective of the Factor Revealing program developed in [22 JMM⁺03] to analyze the standard Greedy algorithm.
In the classical tight example, depicted in Figure 1 , we have two facilities at distance 2 from each other with opening costs f f f and f ′ f' f ′ . The instance consists of n − 1 n-1 n − 1 clients that are co-located with the facility f f f (i.e. at distance 0) and one client that is at distance 1 from both facilities. On a high level, in this example the standard Greedy algorithm might open the facility f ′ f' f ′ using only the bid of the separated client, which then forces the n − 1 n-1 n − 1 clients to raise to a higher level in order to pay for the opening of f f f .
Figure 1. A 2 lower bound for standard Greedy with bidding function: [ α − d ] + [\alpha-d]^+ [ α − d ] + .
Indeed, when the active clients reach value α = 2 − 1 n \alpha=2-\frac{1}{n} α = 2 − n 1 , the separated client bids exactly 1 − 1 n 1-\frac{1}{n} 1 − n 1 to both facilities, while each of the n − 1 n-1 n − 1 co-located clients bids 2 − 2 n 2-\frac{2}{n} 2 − n 2 to f f f and 0 to f ′ f' f ′ . Therefore, both facilities receive bids that are exactly equal to their opening costs. If Greedy chooses to open f ′ f' f ′ first, then only the n n n -th client becomes inactive. The other n − 1 n-1 n − 1 clients are still at distance 2 from the open facility, so they remain active (as their budget cannot yet pay for their connection cost) and keep increasing their values until α = 2 \alpha=2 α = 2 , when they can either open facility f f f by themselves or simply connect to f ′ f' f ′ . In the resulting execution, the final client values are
α n = 2 − 1 n and α j = 2 for every j ≤ n − 1. \alpha_n = 2 - \frac{1}{n}
\qquad\text{and}\qquad
\alpha_j = 2 \quad\text{for every } j \le n - 1. α n = 2 − n 1 and α j = 2 for every j ≤ n − 1.
At the same time, the optimal solution opens only f f f , paying opening cost 2 ( n − 1 ) 2(n - 1) 2 ( n − 1 ) and connection cost 1 1 1 for the n n n -th client. As a result, the factor of the algorithm for this example is
∑ j = 1 n α j − f ∑ j = 1 n d j = 2 ( n − 1 ) + 2 − 1 n − 2 ( n − 1 ) 1 = 2 − 1 n . \frac{\sum_{j=1}^{n}\alpha_j-f}{\sum_{j=1}^{n}d_j}
=
\frac{2(n-1)+2-\frac{1}{n}-2(n-1)}{1}
=
2-\frac{1}{n}. ∑ j = 1 n d j ∑ j = 1 n α j − f = 1 2 ( n − 1 ) + 2 − n 1 − 2 ( n − 1 ) = 2 − n 1 .
This same example can be generalized to any similar algorithm whose clients end up paying cost j = α j \operatorname{cost}_j=\alpha_j cost j = α j , as long as f = 2 ( n − 1 ) f=2(n-1) f = 2 ( n − 1 ) and changing appropriately the value of f ′ f' f ′ .
Consider now a slightly different bidding rule, namely β ( α , d ) = [ α − ( 1 + ε ) d ] + \beta(\alpha,d)=[\alpha-(1+\varepsilon)d]^+ β ( α , d ) = [ α − ( 1 + ε ) d ] + , for some 0 < ε < 1 0<\varepsilon<1 0 < ε < 1 . The main difference is that the facility f ′ f' f ′ can no longer be opened at time α = 2 − 1 n \alpha=2-\frac{1}{n} α = 2 − n 1 , because the isolated client does not contribute its full remaining budget but contributes only
[ 2 − 1 n − ( 1 + ε ) ] + = [ 1 − ε − 1 n ] + < 1 − 1 n . \left[2-\frac{1}{n}-(1+\varepsilon)\right]^+
=
\left[1-\varepsilon-\frac{1}{n}\right]^+
<
1-\frac{1}{n}. [ 2 − n 1 − ( 1 + ε ) ] + = [ 1 − ε − n 1 ] + < 1 − n 1 .
On the other hand, the facility f f f can open as soon as ( n − 1 ) α + [ α − ( 1 + ε ) ] + = 2 ( n − 1 ) (n-1)\alpha+[\alpha-(1+\varepsilon)]^+=2(n-1) ( n − 1 ) α + [ α − ( 1 + ε ) ] + = 2 ( n − 1 ) , that is, at time α = 2 − 1 − ε n \alpha=2-\frac{1-\varepsilon}{n} α = 2 − n 1 − ε . At this time, the facility f ′ f' f ′ still does not receive enough bids, as the isolated client’s contribution is
[ α − ( 1 + ε ) ] + = ( n − 1 ) ( 1 − ε ) n < 1 − 1 n . [\alpha-(1+\varepsilon)]^+
=
\frac{(n-1)(1-\varepsilon)}{n}
<
1-\frac{1}{n}. [ α − ( 1 + ε ) ] + = n ( n − 1 ) ( 1 − ε ) < 1 − n 1 .
As a result, Greedy opens f f f first and terminates as all the clients connect to f f f . Therefore, the final client values for this execution are
cost j ≤ α j = 2 − 1 − ε n , for every j ≤ n . \operatorname{cost}_j\le\alpha_j=2-\frac{1-\varepsilon}{n},
\qquad\text{for every }j\le n. cost j ≤ α j = 2 − n 1 − ε , for every j ≤ n .
The final factor for this example is thus
∑ j = 1 n cost j − f ∑ j = 1 n d j ≤ n ( 2 − 1 − ε n ) − 2 ( n − 1 ) = 1 + ε . \frac{\sum_{j=1}^{n}\operatorname{cost}_j-f}{\sum_{j=1}^{n}d_j}
\le
n\left(2-\frac{1-\varepsilon}{n}\right)-2(n-1)
=
1+\varepsilon. ∑ j = 1 n d j ∑ j = 1 n cost j − f ≤ n ( 2 − n 1 − ε ) − 2 ( n − 1 ) = 1 + ε .
Hence, even this simple modification already improves the first example from 2 − 1 n 2-\frac{1}{n} 2 − n 1 to 1 + ε 1+\varepsilon 1 + ε . In fact, for any γ ∈ ( 1 , 2 ) \gamma\in(1,2) γ ∈ ( 1 , 2 ) , one can follow the same analysis and get that the bidding function [ α − γ d ] + [\alpha-\gamma d]^+ [ α − γ d ] + gives an upper bound of γ \gamma γ on this example, which is strictly better than standard Greedy for sufficiently large n n n .
Of course, the previous example (Figure 1 ) is tailored to the standard Greedy algorithm, or equivalently to γ = 1 \gamma=1 γ = 1 , as the “bad event” (i.e. that f ′ f' f ′ can be opened before f f f ) only happens for γ = 1 \gamma=1 γ = 1 . Following the same rationale, this example can be generalized so that f ′ f' f ′ and f f f become tight exactly at the same time for any γ ∈ ( 1 , 1.224 ] \gamma\in(1,1.224] γ ∈ ( 1 , 1.224 ] . We present this generalized example in Figure 2 . However, even in this case the resulting ratio is 2 − ( 1 − γ ) 2 2-(1-\gamma)^2 2 − ( 1 − γ ) 2 which is strictly better than 2 2 2 for any γ ∈ ( 1 , 1.224 ] \gamma\in(1,1.224] γ ∈ ( 1 , 1.224 ] . In fact, we later prove that the aforementioned ratio is exactly tight for γ ∈ ( 1 , 1.224 ] \gamma\in(1,1.224] γ ∈ ( 1 , 1.224 ] ; this proves that Algorithm 1 with the bidding function β 1.224 ( α , d ) = [ α − 1.224 d ] + \beta_{1.224}(\alpha,d)=[\alpha-1.224d]^+ β 1.224 ( α , d ) = [ α − 1.224 d ] + is a 1.9499-LMP approximation.
Figure 2. A 2 − ( γ − 1 ) 2 2-(\gamma-1)^2 2 − ( γ − 1 ) 2 lower bound for Greedy with the bidding rule β γ ( α , d ) = [ α − γ d ] + \beta_\gamma(\alpha,d)=[\alpha-\gamma d]^+ β γ ( α , d ) = [ α − γ d ] + .
We show that the example of Figure 2 gives indeed a lower bound of 2 − ( 1 − γ ) 2 − 1 n 2-(1-\gamma)^2-\frac{1}{n} 2 − ( 1 − γ ) 2 − n 1 for the bidding functions β γ ( α , d ) = [ α − γ d ] + \beta_\gamma(\alpha,d)=[\alpha-\gamma d]^+ β γ ( α , d ) = [ α − γ d ] + with γ ∈ ( 1 , 1.224 ] \gamma\in(1,1.224] γ ∈ ( 1 , 1.224 ] . Let us define τ = 1 + γ − 1 n \tau=1+\gamma-\frac{1}{n} τ = 1 + γ − n 1 . At time α = τ \alpha=\tau α = τ , the co-located clients do not yet bid towards f ′ f' f ′ because τ − γ ( 1 + γ ) = 1 − γ 2 − 1 n < 0 \tau-\gamma(1+\gamma)=1-\gamma^2-\frac{1}{n}<0 τ − γ ( 1 + γ ) = 1 − γ 2 − n 1 < 0 . At the same time, the isolated client bids [ τ − γ 2 ] + = 1 + γ − γ 2 − 1 n [\tau-\gamma^2]^+=1+\gamma-\gamma^2-\frac{1}{n} [ τ − γ 2 ] + = 1 + γ − γ 2 − n 1 towards facility f ′ f' f ′ and [ τ − γ ] + = 1 − 1 n [\tau-\gamma]^+ = 1-\frac{1}{n} [ τ − γ ] + = 1 − n 1 towards facility f f f . Notice that at this time, both facilities can be paid for since
[ τ − γ 2 ] + = f ′ and ( n − 1 ) τ + [ τ − γ ] + = f . [\tau-\gamma^2]^+ = f' \qquad\text{and} \qquad(n-1)\tau+[\tau-\gamma]^+ = f. [ τ − γ 2 ] + = f ′ and ( n − 1 ) τ + [ τ − γ ] + = f .
Suppose Greedy breaks the tie by opening f ′ f' f ′ first. Then the n n n -th client becomes inactive, while the other n − 1 n-1 n − 1 clients remain active because they are still at distance 1 + γ > τ 1+\gamma>\tau 1 + γ > τ from the opened facility. Moreover, the isolated client, now inactive, does not contribute to facility f f f anymore, because its current distance to f ′ f' f ′ is γ \gamma γ and its bid under the bidding function is [ γ − 1 ⋅ γ ] + = 0 [\gamma-1\cdot\gamma]^+=0 [ γ − 1 ⋅ γ ] + = 0 . Therefore only the n − 1 n-1 n − 1 co-located clients continue to bid for f f f and they open f f f by time
f n − 1 = 1 + γ . \frac{f}{n-1}=1+\gamma. n − 1 f = 1 + γ .
At time α = 1 + γ \alpha=1+\gamma α = 1 + γ , the co-located clients can either open f f f or connect to f ′ f' f ′ . Suppose that they connect to f ′ f' f ′ ; notice that opening f f f would result in a smaller final cost because the isolated client would get its connection distance dropped to 1 1 1 without extra bidding. At the end of the execution, the n n n -th client has paid τ − γ 2 \tau-\gamma^2 τ − γ 2 in its first bid and γ \gamma γ for its connection cost. The n − 1 n-1 n − 1 co-located clients together pay exactly the opening cost of f f f , and therefore the factor of this example is
∑ j = 1 n cost j − f ∑ j = 1 n d j = τ − γ 2 + γ = 2 − ( 1 − γ ) 2 − 1 n . \frac{\sum_{j=1}^{n}\operatorname{cost}_j-f}{\sum_{j=1}^{n}d_j}
=\tau-\gamma^2+\gamma
=2-(1-\gamma)^2-\frac{1}{n}. ∑ j = 1 n d j ∑ j = 1 n cost j − f = τ − γ 2 + γ = 2 − ( 1 − γ ) 2 − n 1 .
Here, it is important that we use cost j \operatorname{cost}_j cost j instead of the upper bound cost j ≤ α j \operatorname{cost}_j\leq\alpha_j cost j ≤ α j . In particular, there is an example where the ratio
∑ j = 1 n α j − f ∑ j = 1 n d j \frac{\sum_{j=1}^{n}\alpha_j-f}{\sum_{j=1}^{n}d_j} ∑ j = 1 n d j ∑ j = 1 n α j − f
is approaching 2 2 2 ; it is the same example as in Figure 1 with f ′ f' f ′ adjusted to f ′ = ( 2 − γ ) ( 1 − 1 n ) f'=(2-\gamma)\left(1-\frac{1}{n}\right) f ′ = ( 2 − γ ) ( 1 − n 1 ) .
Indeed, consider an execution of the greedy algorithm with β ( α , d ) = [ α − γ d ] + \beta(\alpha,d)=[\alpha-\gamma d]^+ β ( α , d ) = [ α − γ d ] + for the example in Figure 3 . When α = 2 − 2 − γ n \alpha=2-\frac{2-\gamma}{n} α = 2 − n 2 − γ both facilities are tight:
[ α − γ ] + = f ′ and ( n − 1 ) α + [ α − γ ] + = f . [\alpha-\gamma]^+=f' \qquad\text{and} \qquad(n-1)\alpha+[\alpha-\gamma]^+=f. [ α − γ ] + = f ′ and ( n − 1 ) α + [ α − γ ] + = f .
Again, we assume that f ′ f' f ′ is opened first. The bid from client n n n towards facility f f f drops to β ( 1 , 1 ) = 0 \beta(1,1)=0 β ( 1 , 1 ) = 0 . Thus the remaining active clients j ≤ n − 1 j\leq n-1 j ≤ n − 1 increase their budget to α j = 2 \alpha_j=2 α j = 2 at which point they can either open f f f or connect to facility f ′ f' f ′ . In the latter case the ratio becomes,
∑ j = 1 n α j − f ∑ j = 1 n d j = α n = 2 − 2 − γ n . \frac{\sum_{j=1}^{n}\alpha_j-f}{\sum_{j=1}^{n}d_j}
=\alpha_n=2-\frac{2-\gamma}{n}. ∑ j = 1 n d j ∑ j = 1 n α j − f = α n = 2 − n 2 − γ .
However, for client n n n it holds that
cost n = β ( α , 1 ) + 1 = 2 − 2 − γ n − γ + 1 ≤ 2 − ( γ − 1 ) . \operatorname{cost}_n=\beta(\alpha,1)+1
=2-\frac{2-\gamma}{n}-\gamma+1
\leq2-(\gamma-1). cost n = β ( α , 1 ) + 1 = 2 − n 2 − γ − γ + 1 ≤ 2 − ( γ − 1 ) .
For all other j ≤ n − 1 j\leq n-1 j ≤ n − 1 , however, the cost remains unchanged, cost j = α j \operatorname{cost}_j=\alpha_j cost j = α j . Thus, if we consider cost j \operatorname{cost}_j cost j instead, one achieves a ratio of
∑ j = 1 n cost j − f ∑ j = 1 n d j = cost n ≤ 2 − ( γ − 1 ) . \frac{\sum_{j=1}^{n}\operatorname{cost}_j-f}{\sum_{j=1}^{n}d_j}
=\operatorname{cost}_n\leq2-(\gamma-1). ∑ j = 1 n d j ∑ j = 1 n cost j − f = cost n ≤ 2 − ( γ − 1 ) .
Properties of Bidding Functions
We now state a number of natural structural properties that the bidding functions must satisfy. These are precisely the properties used later in the analysis, and they capture the basic intuition that bids should behave smoothly, monotonically, and consistently under rescaling.
Definition 3.1 (Admissible bidding functions). A bidding function β : R ≥ 0 2 → R ≥ 0 \beta:\mathbb{R}_{\geq0}^{2}\to\mathbb{R}_{\geq0} β : R ≥ 0 2 → R ≥ 0 must satisfy the following properties.
Non-negative: β ( α , d ) ≥ 0 \beta(\alpha,d)\geq0 β ( α , d ) ≥ 0 for every α , d ≥ 0 \alpha,d\geq0 α , d ≥ 0 .
Budget-feasible: β ( α , d ) ≤ [ α − d ] + \beta(\alpha,d)\leq[\alpha-d]^{+} β ( α , d ) ≤ [ α − d ] + for every α , d ≥ 0 \alpha,d\geq0 α , d ≥ 0 .
Continuous: β \beta β is continuous in both arguments.
Monotonic: β \beta β is non-decreasing in its first argument and non-increasing in its second argument.
Scale equivariant: for every α > 0 \alpha>0 α > 0 and d ≥ 0 d\geq0 d ≥ 0 , it holds that
β ( α , d ) = α ⋅ β ( 1 , d / α ) \beta(\alpha,d)=\alpha\cdot\beta(1,d/\alpha) β ( α , d ) = α ⋅ β ( 1 , d / α ) Superadditive: whenever x 1 ≥ x 2 ≥ x 3 ≥ 0 x_{1}\geq x_{2}\geq x_{3}\geq0 x 1 ≥ x 2 ≥ x 3 ≥ 0 ,
β ( x 1 , x 2 ) + β ( x 2 , x 3 ) ≤ β ( x 1 , x 3 ) . \beta(x_{1},x_{2})+\beta(x_{2},x_{3})\leq\beta(x_{1},x_{3}). β ( x 1 , x 2 ) + β ( x 2 , x 3 ) ≤ β ( x 1 , x 3 ) .
The first four properties are immediate from the intended interpretation of a bid. A client should never make a negative contribution or contribute more than its remaining budget after paying for its distance. Bids should also not change discontinuously under an infinitesimal perturbation of either the client’s value or the distance to the facility. Additionally, the monotonicity guarantees that a client with larger value should not bid less while a farther facility should also not receive a larger bid.
Scale equivariance expresses that the bidding rule should be invariant under a uniform rescaling of the metric and of the opening costs. This is natural both algorithmically and analytically: if all distances and opening costs are multiplied by the same factor, then the algorithm should simply scale its bids by the same factor and preserve the same approximation guarantee. Finally, superadditivity formalizes the idea that reconnecting through an intermediate facility should not cost more than connecting directly to the final facility. If a client with current value x 1 x_{1} x 1 first freezes at distance x 2 x_{2} x 2 and later improves its connection to distance x 3 x_{3} x 3 , then the total amount it bids along this two-step process, which is β ( x 1 , x 2 ) + β ( x 2 , x 3 ) \beta(x_{1},x_{2})+\beta(x_{2},x_{3}) β ( x 1 , x 2 ) + β ( x 2 , x 3 ) , should be at most the amount it would bid if it connected directly from x 1 x_{1} x 1 to x 3 x_{3} x 3 , i.e. β ( x 1 , x 3 ) \beta(x_{1},x_{3}) β ( x 1 , x 3 ) .
Cost of the algorithm. Having formally defined Algorithm 1 and the properties of the bidding function, we can now calculate the total cost in an execution of the algorithm. Fix an execution of Algorithm 1, and let i 0 , i 1 , … , i t i_{0},i_{1},\ldots,i_{t} i 0 , i 1 , … , i t be the successive facilities that strictly improve the connection of a client j j j , ordered by time of appearance. Thus
d ( i 0 , j ) > d ( i 1 , j ) > ⋯ > d ( i t , j ) , d(i_{0},j)>d(i_{1},j)>\cdots>d(i_{t},j), d ( i 0 , j ) > d ( i 1 , j ) > ⋯ > d ( i t , j ) ,
where i 0 i_{0} i 0 is the facility to which j j j first connects, and i t i_{t} i t is the facility serving j j j at termination. If j j j becomes inactive when its value is α j ⋆ \alpha_{j}^{\star} α j ⋆ , its total cost is
cost j ( S ⋆ ) = β ( α j ⋆ , d ( i 0 , j ) ) + ∑ ℓ = 0 t − 1 β ( d ( i ℓ , j ) , d ( i ℓ + 1 , j ) ) + d ( i t , j ) . \operatorname{cost}_{j}(S^{\star})=\beta(\alpha_{j}^{\star},d(i_{0},j))+\sum_{\ell=0}^{t-1}\beta(d(i_{\ell},j),d(i_{\ell+1},j))+d(i_{t},j). cost j ( S ⋆ ) = β ( α j ⋆ , d ( i 0 , j )) + ℓ = 0 ∑ t − 1 β ( d ( i ℓ , j ) , d ( i ℓ + 1 , j )) + d ( i t , j ) .
The first term corresponds to the amount paid when the client first becomes inactive, the intermediate terms account for later improvements of its connection as new facilities open, and the final term is the remaining connection cost to the facility that serves the client in the final solution. The total cost of the algorithm is then
cost ( S ⋆ ) = ∑ j ∈ D cost j ( S ⋆ ) . \operatorname{cost}(S^{\star})=\sum_{j\in D}\operatorname{cost}_{j}(S^{\star}). cost ( S ⋆ ) = j ∈ D ∑ cost j ( S ⋆ ) .
For the standard Greedy, which corresponds to the bid function β ( α , d ) = [ α − d ] + \beta(\alpha,d)=[\alpha-d]^+ β ( α , d ) = [ α − d ] + , the summation of subsequent bids in a client’s cost telescopes exactly. Indeed, every term is of the form “old distance minus new distance”, and therefore
cost j ( S ⋆ ) = ( α j ⋆ − d ( i 0 , j ) ) + ∑ ℓ = 0 t − 1 ( d ( i ℓ , j ) − d ( i ℓ + 1 , j ) ) + d ( i t , j ) = α j ⋆ . \operatorname{cost}_j(S^\star)=(\alpha_j^\star-d(i_0,j))+\sum_{\ell=0}^{t-1}(d(i_\ell,j)-d(i_{\ell+1},j))+d(i_t,j)=\alpha_j^\star. cost j ( S ⋆ ) = ( α j ⋆ − d ( i 0 , j )) + ℓ = 0 ∑ t − 1 ( d ( i ℓ , j ) − d ( i ℓ + 1 , j )) + d ( i t , j ) = α j ⋆ .
This is the reason why the classical Greedy analysis is especially clean: the total cost of the algorithm is simply
cost ( S ⋆ ) = ∑ j ∈ D α j ⋆ . \operatorname{cost}(S^\star)=\sum_{j\in D}\alpha_j^\star. cost ( S ⋆ ) = j ∈ D ∑ α j ⋆ .
For general bidding functions, this exact telescoping identity no longer holds, and this introduces one of the main difficulties in the analysis: even for β γ ( α , d ) = [ α − γ d ] + \beta_\gamma(\alpha,d)=[\alpha-\gamma d]^+ β γ ( α , d ) = [ α − γ d ] + , the approximation ratio of the algorithm can no longer be upper bounded by the value of the same linear program, but instead must be upper bounded by the maximum of a family of 2 Θ ( n 2 ) 2^{\Theta(n^2)} 2 Θ ( n 2 ) linear programs.
Approximation Guarantees
In this section we develop the approximation analysis for Algorithm 1. In the classical Greedy analysis of [22 , 21 ] , the guarantee is captured by a factor-revealing linear program. For a general bidding function β \beta β , the same high-level approach still applies, but the resulting optimization problem is no longer linear in general. We therefore begin by formulating a factor-revealing mathematical program whose optimum controls the worst-case LMP ratio of the algorithm.
This framework will be used as the starting point for a rigorous proof for the one parameter family of bidding functions β ( α , d ) = [ α − γ d ] + \beta(\alpha,d)=[\alpha-\gamma d]^+ β ( α , d ) = [ α − γ d ] + , yielding our provable 1.9499-LMP guarantee. We first state the general factor-revealing program and its implication for the approximation ratio.
Definition 4.1 (Factor-revealing Program). Fix n ≥ 1 n\ge1 n ≥ 1 .
max ∑ j = 1 n ( ∑ k = j n β ( r j , k , r j , k + 1 ) + r j , n + 1 ) − f (3) \max\quad\sum_{j=1}^{n}\left(\sum_{k=j}^{n}\beta(r_{j,k},r_{j,k+1})+r_{j,n+1}\right)-f \tag*{(3)} max j = 1 ∑ n k = j ∑ n β ( r j , k , r j , k + 1 ) + r j , n + 1 − f (3) s . t . ∑ i = 1 n d i = 1 (normalization) r j , k + 1 ≤ r j , k ∀ 1 ≤ j ≤ k ≤ n (monotonicity of r ) r k , k ≤ r j , k + d k + d j ∀ 1 ≤ j < k ≤ n (triangle constraint) r j , ℓ ≤ r k , ℓ + d k + d j ∀ 1 ≤ j ≠ k < ℓ ≤ n + 1 (metric inequalities of r ) (4) \begin{aligned}
\mathrm{s.t.}\quad&\sum_{i=1}^{n}d_i=1 &&\text{(normalization)}\\
&r_{j,k+1}\le r_{j,k} &&\forall\,1\le j\le k\le n &&\text{(monotonicity of }r\text{)}\\
&r_{k,k}\le r_{j,k}+d_k+d_j &&\forall\,1\le j<k\le n &&\text{(triangle constraint)}\\
&r_{j,\ell}\le r_{k,\ell}+d_k+d_j &&\forall\,1\le j\ne k<\ell\le n+1 &&\text{(metric inequalities of }r\text{)} \tag*{(4)}
\end{aligned} s.t. i = 1 ∑ n d i = 1 r j , k + 1 ≤ r j , k r k , k ≤ r j , k + d k + d j r j , ℓ ≤ r k , ℓ + d k + d j (normalization) ∀ 1 ≤ j ≤ k ≤ n ∀ 1 ≤ j < k ≤ n ∀ 1 ≤ j = k < ℓ ≤ n + 1 (monotonicity of r ) (triangle constraint) (metric inequalities of r ) (4) ∑ j = 1 k − 1 β ( r j , k , d j ) + ∑ j = k n β ( r k , k , d j ) ≤ f ∀ 1 ≤ k ≤ n (facility constraint) (5) \sum_{j=1}^{k-1}\beta(r_{j,k},d_j)+\sum_{j=k}^{n}\beta(r_{k,k},d_j)\le f\qquad\forall\,1\le k\le n\qquad\text{(facility constraint)} \tag*{(5)} j = 1 ∑ k − 1 β ( r j , k , d j ) + j = k ∑ n β ( r k , k , d j ) ≤ f ∀ 1 ≤ k ≤ n (facility constraint) (5) d j , f , r j , k ≥ 0 ∀ j , k in range. (nonnegativity) (6) d_j,f,r_{j,k}\ge0\qquad\forall\,j,k\text{ in range.}\qquad\text{(nonnegativity)} \tag*{(6)} d j , f , r j , k ≥ 0 ∀ j , k in range. (nonnegativity) (6)
As in the classical analysis of [22 , 21 ] , the analysis can be reduced to a worst-case local configuration around a single facility of an optimal solution. Fix such a facility i i i and index the clients D ′ D' D ′ assigned to it. To motivate the definition of the factor-revealing program in Definition 4.1, consider an execution of Algorithm 1 where we order the clients in D ′ D' D ′ from 1 to n = ∣ D ′ ∣ n=|D'| n = ∣ D ′ ∣ in increasing order of their final α \alpha α -values, α 1 ⋆ ≤ α 2 ⋆ ≤ ⋯ ≤ α n ⋆ \alpha_1^\star\le\alpha_2^\star\le\cdots\le\alpha_n^\star α 1 ⋆ ≤ α 2 ⋆ ≤ ⋯ ≤ α n ⋆ . Equivalently, one can order the clients according to the order of events in which they become inactive. For the sake of the presentation we assume that no two clients become inactive in the same event.
We set d j = d ( i , j ) d_j=d(i,j) d j = d ( i , j ) to be the distance of client j ∈ D ′ j\in D' j ∈ D ′ to the fixed facility i i i . Note that the program is scale-invariant and we can normalize the distances by imposing (4) . For two clients j < k j<k j < k , set r j , k r_{j,k} r j , k as the connection distance to the closest open facility of j j j at the time of the algorithm just before k k k becomes inactive. Moreover, r j , j = α j ⋆ r_{j,j}=\alpha_j^\star r j , j = α j ⋆ will be equal to the final α \alpha α -value of a client j j j . The first term of the objective
∑ j = 1 n ( ∑ k = j n β ( r j , k , r j , k + 1 ) + r j , n + 1 ) (7) \sum_{j=1}^{n}\left(\sum_{k=j}^{n}\beta(r_{j,k},r_{j,k+1})+r_{j,n+1}\right) \tag*{(7)} j = 1 ∑ n k = j ∑ n β ( r j , k , r j , k + 1 ) + r j , n + 1 (7)
is an upper bound to the cost of Algorithm 1 for clients in D ′ D' D ′ . For each client j j j , the sum
β ( r j , j , r j , j + 1 ) + ∑ k = j + 1 n β ( r j , k , r j , k + 1 ) + r j , n + 1 \beta(r_{j,j}, r_{j,j+1}) + \sum_{k=j+1}^{n} \beta(r_{j,k}, r_{j,k+1}) + r_{j,n+1} β ( r j , j , r j , j + 1 ) + k = j + 1 ∑ n β ( r j , k , r j , k + 1 ) + r j , n + 1
upper bounds
cost j ( S ∗ ) = β ( α j ∗ , d ( i 0 , j ) ) + ∑ ℓ = 0 t − 1 β ( d ( i ℓ , j ) , d ( i ℓ + 1 , j ) ) + d ( i t , j ) . \operatorname{cost}_{j}(S^*) = \beta(\alpha^*_j, d(i_0,j)) + \sum_{\ell=0}^{t-1} \beta(d(i_\ell,j),d(i_{\ell+1},j)) + d(i_t,j). cost j ( S ∗ ) = β ( α j ∗ , d ( i 0 , j )) + ℓ = 0 ∑ t − 1 β ( d ( i ℓ , j ) , d ( i ℓ + 1 , j )) + d ( i t , j ) .
To verify this claim, we repeatedly use the superadditivity of the bidding function as per Definition 3.1 to go from the exact cost to the upper bound. This property implies that, for any two times p < q p < q p < q , we can bound ∑ ℓ = p q − 1 β ( d ( i ℓ , j ) , d ( i ℓ + 1 , j ) ) \sum_{\ell=p}^{q-1} \beta(d(i_\ell,j),d(i_{\ell+1},j)) ∑ ℓ = p q − 1 β ( d ( i ℓ , j ) , d ( i ℓ + 1 , j )) by β ( d ( i p , j ) , d ( i q , j ) ) \beta(d(i_p,j),d(i_q,j)) β ( d ( i p , j ) , d ( i q , j )) , and thus β ( r j , k , r j , k + 1 ) \beta(r_{j,k},r_{j,k+1}) β ( r j , k , r j , k + 1 ) upper bounds all contributions done by the clients for the corresponding distance changes between r j , k r_{j,k} r j , k and r j , k + 1 r_{j,k+1} r j , k + 1 . Moreover, r j , n + 1 r_{j,n+1} r j , n + 1 is equal to the connection cost of that client at the end of the algorithm, d ( i t , j ) d(i_t,j) d ( i t , j ) .
Next, we will argue that ( r , d , f ) (r,d,f) ( r , d , f ) is indeed feasible for the factor revealing program (Definition 4.1 ). The monotonicity constraint (5) follows from the monotonicity of d ( j , S ) d(j,S) d ( j , S ) . For the triangle constraint (6) note that the algorithm never increases the α \alpha α -value of an active client j j j past d ( j , S ) d(j,S) d ( j , S ) . Now, just before k k k becomes inactive, let i 0 ∈ S i_0 \in S i 0 ∈ S be the facility client j j j is connected to, so d ( j , i 0 ) = r j , k d(j,i_0) = r_{j,k} d ( j , i 0 ) = r j , k . Then,
r k , k = α k ∗ ≤ d ( k , S ) ≤ d ( k , i 0 ) ≤ d ( k , i ) + d ( j , i ) + d ( j , i 0 ) = r j , k + d j + d k . r_{k,k} = \alpha^*_k \leq d(k,S) \leq d(k,i_0) \leq d(k,i) + d(j,i) + d(j,i_0) = r_{j,k} + d_j + d_k. r k , k = α k ∗ ≤ d ( k , S ) ≤ d ( k , i 0 ) ≤ d ( k , i ) + d ( j , i ) + d ( j , i 0 ) = r j , k + d j + d k .
Similarly, for the metric inequality constraint (7), let i 1 i_1 i 1 and i 2 i_2 i 2 be the facilities j j j and k k k are connected to when ℓ > j , k \ell> j,k ℓ > j , k becomes inactive, respectively. Then
r j , ℓ = d ( j , i 1 ) ≤ d ( j , i 2 ) ≤ d ( j , i ) + d ( k , i ) + d ( k , i 2 ) = r k , ℓ + d k + d j . r_{j,\ell} = d(j,i_1) \leq d(j,i_2) \leq d(j,i) + d(k,i) + d(k,i_2) = r_{k,\ell} + d_k + d_j. r j , ℓ = d ( j , i 1 ) ≤ d ( j , i 2 ) ≤ d ( j , i ) + d ( k , i ) + d ( k , i 2 ) = r k , ℓ + d k + d j .
Next, we consider the facility constraint (5) and the time in the algorithm when client k k k becomes inactive. Again, by the simplifying assumption, no other client becomes inactive together with k k k . Then all clients j < k j < k j < k are already inactive and their bids are equal to β ( d ( j , S ) , d ( j , i ) ) = β ( r j , k , d j ) \beta(d(j,S),d(j,i)) = \beta(r_{j,k},d_j) β ( d ( j , S ) , d ( j , i )) = β ( r j , k , d j ) . Similarly, all clients j ≥ k j \geq k j ≥ k are still active and bid with the current α \alpha α -value which is equal to α k ∗ \alpha^*_k α k ∗ as k k k becomes inactive at that time. Thus, all clients j ≥ k j \geq k j ≥ k bid β ( α k ∗ , d ( i , j ) ) = β ( r k , k , d j ) \beta(\alpha^*_k,d(i,j)) = \beta(r_{k,k},d_j) β ( α k ∗ , d ( i , j )) = β ( r k , k , d j ) . The inequality holds because the sum of bids towards a facility never exceeds the opening cost.
An upper bound on the optimum of the factor-revealing program immediately yields an LMP-approximation guarantee for Algorithm 1. The following theorem states this reduction for our generalized bidding setting.
Theorem 4.2. Let ρ ≥ 1 \rho\geq1 ρ ≥ 1 be an upper bound on the optimal value of the factor-revealing program in Definition 4.1 over all n ≥ 1 n \geq1 n ≥ 1 . Then, Algorithm 1 run with facility cost f ^ = ρ ⋅ f \hat{f} = \rho\cdot f f ^ = ρ ⋅ f is a ρ \rho ρ -LMP approximation algorithm for UFL instances with facility cost f f f .
The proof of Theorem 4.2 is similar to the proof of Lemma 3 in [22 ] and relies on the observations made above. The proof is left for the Appendix A.
Given Theorem 4.2, to upper bound the LMP-approximation ratio of Algorithm 1 it is enough to upper bound the optimum of the factor-revealing program in Definition 4.1 over all n ≥ 1 n \geq1 n ≥ 1 . For a general bidding function, obtaining such an upper bound appears difficult analytically, and is non-trivial even computationally.
We now turn to the analysis of the LMP-approximation ratio for a simple generalization of the linear bidding function in [22 , 21 ] which changes the slope of d d d :
β γ ( α , d ) = [ α − γ ⋅ d ] + . \beta_\gamma(\alpha,d) = [\alpha- \gamma\cdot d]^+. β γ ( α , d ) = [ α − γ ⋅ d ] + .
For a small value of γ \gamma γ , the algorithms created by this family of bidding functions can be well analyzed, as the following theorem shows.
Theorem 4.3. Algorithm 1 run with facility cost f ^ = 1.9499 ⋅ f \hat{f} = 1.9499 \cdot f f ^ = 1.9499 ⋅ f and the bidding function β ( α , d ) = [ α − 1.224 ⋅ d ] + \beta(\alpha,d) = [\alpha- 1.224 \cdot d]^+ β ( α , d ) = [ α − 1.224 ⋅ d ] + is a 1.9499-LMP approximation algorithm for UFL instances with facility cost f f f .
To prove this result, Theorem 4.2 needs an upper bound on the factor-revealing program. This is what the following technical theorem describes.
Theorem 4.4. For values of γ ∈ [ 1 , 1.224 ] \gamma\in[1,1.224] γ ∈ [ 1 , 1.224 ] , the factor-revealing program from Definition 4.1 with β γ ( α , d ) = [ α − γ ⋅ d ] + \beta_\gamma(\alpha,d) = [\alpha- \gamma\cdot d]^+ β γ ( α , d ) = [ α − γ ⋅ d ] + is upper-bounded by 2 − ( γ − 1 ) 2 2 - (\gamma- 1)^2 2 − ( γ − 1 ) 2 for all n ≥ 1 n \geq1 n ≥ 1 .
Note that this constant makes the program tight, given the lower bound from § 3 . Let us outline the proof of Theorem 4.4; the full proof is deferred to § 6 . Moreover, a lean certificate for Theorem 4.4 can be found at https://github.com/epfl-thl2/project-k-median . First, we substitute the bidding function into the factor revealing objective function from Definition 4.1 , obtaining:
∑ j = 1 n ( ∑ i = j n β ( r j , i , r j , i + 1 ) + r j , n + 1 ) − f = ∑ j = 1 n ( ∑ i = j n [ r j , i − γ ⋅ r j , i + 1 ] + + r j , n + 1 ) − f . \sum_{j=1}^{n}\left(\sum_{i=j}^{n}\beta(r_{j,i},r_{j,i+1})+r_{j,n+1}\right)-f=\sum_{j=1}^{n}\left(\sum_{i=j}^{n}[r_{j,i}-\gamma\cdot r_{j,i+1}]^{+}+r_{j,n+1}\right)-f. j = 1 ∑ n ( i = j ∑ n β ( r j , i , r j , i + 1 ) + r j , n + 1 ) − f = j = 1 ∑ n ( i = j ∑ n [ r j , i − γ ⋅ r j , i + 1 ] + + r j , n + 1 ) − f .
The main difference between this objective function and that of the original program of [22 , 21 ] is that the latter can be reduced to a single linear program, while ours cannot. This makes it difficult to directly analyze the program through its dual, as it cannot be easily worked with. Thus, we reduce our program to a family of exponentially many linear programs, to then upper bound each one in a similar way as they will all share some structure which we can exploit.
First, the constraints can be easily linearized, just as in the original analysis in [22 , 21 ] . The only nonlinear terms in the constraints are β ( r j , k , d j ) \beta(r_{j,k},d_j) β ( r j , k , d j ) or β ( r k , k , d j ) \beta(r_{k,k},d_j) β ( r k , k , d j ) . Introducing an auxiliary variable using its epigraph does the trick.
The problem is in the objective, as we mentioned earlier. To linearize it, we introduce new binary variables b i , j ∈ { 0 , 1 } b_{i,j}\in\{0,1\} b i , j ∈ { 0 , 1 } indicating whether each bid β ( r j , i , r j , i + 1 ) \beta(r_{j,i},r_{j,i+1}) β ( r j , i , r j , i + 1 ) in the objective is positive; hence, β ( r j , i , r j , i + 1 ) = b i , j ⋅ [ r j , i − γ ⋅ r j , i + 1 ] \beta(r_{j,i},r_{j,i+1})=b_{i,j}\cdot[r_{j,i}-\gamma\cdot r_{j,i+1}] β ( r j , i , r j , i + 1 ) = b i , j ⋅ [ r j , i − γ ⋅ r j , i + 1 ] . Hiding the constraints, this transforms the program into:
max ∀ b i , j ∈ { 0 , 1 } ∀ i , j : 1 ≤ j ≤ i ≤ n max r , f , d ∑ j = 1 n ( ∑ i = j n b i , j ⋅ ( r j , i − γ ⋅ r j , i + 1 ) + r j , n + 1 ) − f . \max_{\substack{\forall b_{i,j}\in\{0,1\}\\ \forall i,j:1\leq j\leq i\leq n}}\ \max_{r,f,d}\ \sum_{j=1}^{n}\left(\sum_{i=j}^{n}b_{i,j}\cdot(r_{j,i}-\gamma\cdot r_{j,i+1})+r_{j,n+1}\right)-f. ∀ b i , j ∈ { 0 , 1 } ∀ i , j : 1 ≤ j ≤ i ≤ n max r , f , d max j = 1 ∑ n ( i = j ∑ n b i , j ⋅ ( r j , i − γ ⋅ r j , i + 1 ) + r j , n + 1 ) − f .
This program will now be interpreted as a maximization of an LP program value over all possible choices of the binary variables b i , j b_{i,j} b i , j . As we are interested in finding an upper bound to the whole program, we define and work with the dual of each inner linear program. After eliminating auxiliary dual variables, we obtain the following family of dual programs, which we denote all together as the dual of the whole program.
Definition 4.5 (Factor-revealing dual). Fix n ≥ 1 n\geq1 n ≥ 1 .
max ∀ b i , j ∈ { 0 , 1 } ∀ i , j : 1 ≤ j ≤ i ≤ n min ρ subject to: ∑ i = 1 n g ^ i ≤ 1 ( f ) ∀ 1 ≤ j , i ≤ n : g ^ i ≥ g i , j ( γ i , j and β i , j ) ∀ 1 ≤ j ≤ i ≤ n : ∑ q = j + 1 n g j , q + ∑ p = j i ( g p , j + t p , j − s p , j ) ≥ b i , j − ( γ − 1 ) ∑ p = j i − 1 b p , j ( r j , i ) ∀ 1 ≤ i ≤ n : ∑ p = 1 i ∑ j = 1 p s p , j − ∑ p = 1 i ∑ j = 1 p t p , j ≥ 0 ( m i ) ∀ 1 ≤ j ≤ n : ρ ≥ γ ⋅ ∑ i = 1 n g i , j + ∑ i = j n s i , j + ∑ i = j n t i , j ( d j ) ∀ 1 ≤ i , j ≤ n : g ^ i , g i , j , t i , j , s i , j ≥ 0 , s i , i = 0 \begin{aligned}
&\max_{\substack{\forall b_{i,j}\in\{0,1\}\\ \forall i,j:1\leq j\leq i\leq n}}\ \min\ \rho\\
&\text{subject to:}\quad\sum_{i=1}^{n}\widehat{g}_i\leq1 && (f)\\
&\forall\ 1\leq j,i\leq n:\quad\widehat{g}_i\geq g_{i,j} && (\gamma_{i,j}\text{ and }\beta_{i,j})\\
&\forall\ 1\leq j\leq i\leq n:\quad\sum_{q=j+1}^{n}g_{j,q}+\sum_{p=j}^{i}(g_{p,j}+t_{p,j}-s_{p,j})\geq b_{i,j}-(\gamma-1)\sum_{p=j}^{i-1}b_{p,j} && (r_{j,i})\\
&\forall\ 1\leq i\leq n:\quad\sum_{p=1}^{i}\sum_{j=1}^{p}s_{p,j}-\sum_{p=1}^{i}\sum_{j=1}^{p}t_{p,j}\geq0 && (m_i)\\
&\forall\ 1\leq j\leq n:\quad\rho\geq\gamma\cdot\sum_{i=1}^{n}g_{i,j}+\sum_{i=j}^{n}s_{i,j}+\sum_{i=j}^{n}t_{i,j} && (d_j)\\
&\forall\ 1\leq i,j\leq n:\quad\widehat{g}_i,g_{i,j},t_{i,j},s_{i,j}\geq0,\ s_{i,i}=0
\end{aligned} ∀ b i , j ∈ { 0 , 1 } ∀ i , j : 1 ≤ j ≤ i ≤ n max min ρ subject to: i = 1 ∑ n g i ≤ 1 ∀ 1 ≤ j , i ≤ n : g i ≥ g i , j ∀ 1 ≤ j ≤ i ≤ n : q = j + 1 ∑ n g j , q + p = j ∑ i ( g p , j + t p , j − s p , j ) ≥ b i , j − ( γ − 1 ) p = j ∑ i − 1 b p , j ∀ 1 ≤ i ≤ n : p = 1 ∑ i j = 1 ∑ p s p , j − p = 1 ∑ i j = 1 ∑ p t p , j ≥ 0 ∀ 1 ≤ j ≤ n : ρ ≥ γ ⋅ i = 1 ∑ n g i , j + i = j ∑ n s i , j + i = j ∑ n t i , j ∀ 1 ≤ i , j ≤ n : g i , g i , j , t i , j , s i , j ≥ 0 , s i , i = 0 ( f ) ( γ i , j and β i , j ) ( r j , i ) ( m i ) ( d j )
Appendix B gives the derivation.
Lemma 4.6. The optimum value of the factor-revealing dual in Definition 4.5 upper bounds the optimum value of the factor-revealing program in Definition 4.1 for the bidding function β γ ( α , d ) = [ α − γ ⋅ d ] + \beta_\gamma(\alpha,d)=[\alpha-\gamma\cdot d]^+ β γ ( α , d ) = [ α − γ ⋅ d ] + .
The remaining goal is to find a feasible solution of value at most ρ \rho ρ for each inner linear program. There appears to be no single dual solution that can work for all choices of b i , j ∈ { 0 , 1 } b_{i,j}\in\{0,1\} b i , j ∈ { 0 , 1 } , since the constraints depend on these values. To work around this issue, we need to design an adaptive dual solution that depends on the values of b i , j b_{i,j} b i , j .
Our construction adapts specifically to the first nonzero bidding time f j f_j f j , i.e. the first time i i i that has b i , j = 1 b_{i,j}=1 b i , j = 1 , while ignoring the rest of values b i , j b_{i,j} b i , j after that time instance. This simplifies the dual as we can upper bound the right hand side of the ( r j , i ) (r_{j,i}) ( r j , i ) constraint as: 0 for i < f j i < f_j i < f j , 1 for i = f j i = f_j i = f j and 2 − γ 2-\gamma 2 − γ for i > f j i > f_j i > f j ; reducing the complexity of finding a solution a lot.
Given these values of f j f_j f j , a central obstacle is finding a correct profile to the values of g ^ j \hat{g}_j g ^ j that appear in the dual. We create a group of indices D D D that all have g ^ j = 0 \hat{g}_j=0 g ^ j = 0 for all j ∈ D j\in D j ∈ D , and all indices out of this group having a different kind of behavior with g ^ j > 0 \hat{g}_j>0 g ^ j > 0 . The group D D D is defined through a threshold t 3 ∗ t^*_3 t 3 ∗ , such that all j j j with f j > t 3 ∗ f_j>t^*_3 f j > t 3 ∗ and some with f j = t 3 ∗ f_j=t^*_3 f j = t 3 ∗ are in D D D . We group the values of t 3 ∗ t^*_3 t 3 ∗ and the memberships in D D D of elements with f j = t 3 ∗ f_j=t^*_3 f j = t 3 ∗ together in some advice variables Γ \Gamma Γ . Then, we run our procedure with the generated D D D and if at the end we indeed have ∑ i = 1 n g ^ i = 1 \sum_{i=1}^n \hat{g}_i=1 ∑ i = 1 n g ^ i = 1 then we prove that we get a correct solution. This is summarized in the following lemma.
Lemma 4.7. For an assignment of the b i , j ∈ { 0 , 1 } b_{i,j}\in\{0,1\} b i , j ∈ { 0 , 1 } values, correct advice variables Γ \Gamma Γ and a value of γ ∈ ( 1 , 1.224 ] \gamma\in(1,1.224] γ ∈ ( 1 , 1.224 ] , there exists a procedure that generates a 2 − ( γ − 1 ) 2 2-(\gamma-1)^2 2 − ( γ − 1 ) 2 feasible solution for the corresponding inner program of the factor-revealing dual from Definition 4.5.
The second part of the proof relies on proving that there do exist correct advice variables Γ \Gamma Γ such that through them, the final check ∑ i = 1 n g ^ i = 1 \sum_{i=1}^n \hat{g}_i=1 ∑ i = 1 n g ^ i = 1 follows. This follows from a continuity argument. We make the memberships in D D D for the clients with f j = t 3 ∗ f_j=t^*_3 f j = t 3 ∗ fractional, so that we can continuously interpolate between all the different possible advice variables. For example, suppose that two clients p < q p<q p < q have f p = f q = t 3 ∗ < n f_p=f_q=t^*_3<n f p = f q = t 3 ∗ < n , and assume that both of them are in D D D . Increasing by one the value of t 3 ∗ t^*_3 t 3 ∗ changes their assignments discretely. Instead, we can first decrease the fractional membership μ q ∗ \mu^*_q μ q ∗ continuously from 1 to 0, and then decrease μ p ∗ \mu^*_p μ p ∗ from 1 to 0. This shows how we can continuously interpolate between all choices.
We prove that the resulting value of ∑ i = 1 n g ^ i \sum_{i=1}^n \hat{g}_i ∑ i = 1 n g ^ i also varies continuously, with two endpoints that satisfy that the quantity is at least 1 on one and at most 1 on the other. Then, applying the intermediate value theorem alone does the trick. This is summarized by the following lemma.
Lemma 4.8. For any assignment of the b i , j ∈ { 0 , 1 } b_{i,j}\in\{0,1\} b i , j ∈ { 0 , 1 } values with γ ∈ ( 1 , 1.224 ] \gamma\in(1,1.224] γ ∈ ( 1 , 1.224 ] , there always exist correct advice variables Γ \Gamma Γ with respect to the procedure from Lemma 4.7 .
These are simplified versions of the lemmas that we use in the full proof; see § 6 for the full statements and proofs. We can now combine these lemmas to achieve the final result:
Proof sketch of Theorem 4.3 . The combination of Lemma 4.7 and Lemma 4.8 implies that there always exists a solution of cost at most 2 − ( γ − 1 ) 2 2-(\gamma-1)^2 2 − ( γ − 1 ) 2 to each of the dual inner programs. This gives an upper bound of 2 − ( γ − 1 ) 2 2-(\gamma-1)^2 2 − ( γ − 1 ) 2 on the general dual program. Using this together with Lemma 4.6 that states that this dual program is an upper bound on the factor revealing, it proves the theorem, given that 2 − ( 1.224 − 1 ) 2 ≤ 1.9499 2-(1.224-1)^2\leq1.9499 2 − ( 1.224 − 1 ) 2 ≤ 1.9499 . □
Log-Adaptive Algorithm
In this section we present a smooth version (Algorithm 2) of our greedy algorithm with general bids (Algorithm 1), which we call the log-adaptive algorithm. Thus, we follow the recipe of [12 ] for obtaining an approximation algorithm for k k k -median that opens k + O ( log n ) k+O(\log n) k + O ( log n ) centers: they first develop a log-adaptive version of the Greedy algorithm, and then combine it with a merging procedure that walks between solutions to find one that opens k + O ( log n ) k+O(\log n) k + O ( log n ) centers. We also follow these two steps, although our strategy for analyzing the log-adaptive algorithm is substantially different from theirs. We then state our guarantees for k k k -median in Subsection 5.6; the merging procedure is deferred to Section D.
The analysis of [12 ] derives the guarantees of their log-adaptive algorithm from scratch, by redoing the analysis of [22 , 21 ] in the log-adaptive context. In contrast, our goal is to connect the approximation ratio of the log-adaptive algorithm to the factor-revealing program in Definition 4.1 . Thus, we show that the log-adaptive algorithm induces a feasible solution to the factor-revealing program, and transfer the upper bound on the value of that program to an upper bound on the cost of our algorithm.
To make the Greedy algorithm smoother, [12 ] increase the α \alpha α -values in geometrically spaced steps, i.e., the time parameter θ \theta θ takes values in { 1 , ( 1 + ϵ 2 ) , ( 1 + ϵ 2 ) 2 , ( 1 + ϵ 2 ) 3 , … } \{1,(1+\epsilon^2),(1+\epsilon^2)^2,(1+\epsilon^2)^3,\ldots\} { 1 , ( 1 + ϵ 2 ) , ( 1 + ϵ 2 ) 2 , ( 1 + ϵ 2 ) 3 , … } . With this strategy, however, it is possible for clients to significantly overbid for facilities when θ \theta θ jumps to ( 1 + ϵ 2 ) θ (1+\epsilon^2)\theta ( 1 + ϵ 2 ) θ . To fix this issue, [12 ] scale down the metric d d d by a 1 − δ 1-\delta 1 − δ factor, which leads to a multiplicative ( 1 − O ( δ ) ) (1-O(\delta)) ( 1 − O ( δ )) loss in the LMP-approximation ratio. That still only resolves the issue for clients that are far from facilities, so they choose to allow clients that are close to facilities to raise their α \alpha α -value in-between steps. We also apply these fixes, but in addition we will need stronger structural properties in our analysis, and thus our algorithm will alternate between two stages of opening facilities which use different scalings of the metric. This gives us a clusterability property that we prove in Lemma 5.8 .
Below, we define two notions of openable facilities, which we call 1-openable (Definition 5.1 ) and 2-openable (Definition 5.2 ), used in Stage 1 and Stage 2 of the algorithm, respectively. Similarly to Algorithm 1, we maintain a set of active clients A A A and a set of open facilities S S S , initialized to A = D A = D A = D and S = ∅ S = \varnothing S = ∅ , respectively. Moreover, the state of the algorithm can be identified with the triple ( S , A , θ ) (S, A, \theta) ( S , A , θ ) where θ \theta θ is the time parameter.
Definition 5.1 (1-openable facility). Fix a state ( S , A , θ ) (S, A, \theta) ( S , A , θ ) where S ⊆ F S \subseteq F S ⊆ F is the set of opened facilities, A ⊆ D A \subseteq D A ⊆ D are the active clients, I : = D ∖ A I := D \setminus A I := D ∖ A are the inactive clients, and α j = θ \alpha_j = \theta α j = θ for all j ∈ A j \in A j ∈ A . A facility i ∈ F ∖ S i \in F \setminus S i ∈ F ∖ S is 1-openable w.r.t. ( S , A , θ ) (S, A, \theta) ( S , A , θ ) if it satisfies:
∑ j ∈ A β ( θ , ( 1 − δ ) d ( i , j ) ) + ∑ j ∈ I β ( ( 1 − δ ) d ( j , S ) , ( 1 − δ ) d ( i , j ) ) ≥ f . \sum_{j \in A} \beta\bigl(\theta, (1-\delta)d(i,j)\bigr) + \sum_{j \in I} \beta\bigl((1-\delta)d(j,S), (1-\delta)d(i,j)\bigr) \geq f. j ∈ A ∑ β ( θ , ( 1 − δ ) d ( i , j ) ) + j ∈ I ∑ β ( ( 1 − δ ) d ( j , S ) , ( 1 − δ ) d ( i , j ) ) ≥ f .
Definition 5.2 (2-openable facility). Fix a state ( S , A , θ ) (S, A, \theta) ( S , A , θ ) where S ⊆ F S \subseteq F S ⊆ F is the set of opened facilities, A ⊆ D A \subseteq D A ⊆ D are the active clients, I : = D ∖ A I := D \setminus A I := D ∖ A are the inactive clients, and α j = θ \alpha_j = \theta α j = θ for all j ∈ A j \in A j ∈ A . A facility i ∈ F ∖ S i \in F \setminus S i ∈ F ∖ S is 2-openable w.r.t. ( S , A , θ ) (S, A, \theta) ( S , A , θ ) if there exist bids ( τ j ) j ∈ A (\tau_j)_{j \in A} ( τ j ) j ∈ A satisfying:
(i) (Only nearby clients may increase)
τ j = α j ∀ j ∈ A ∖ B ( i , ε θ ) . \tau_j = \alpha_j \qquad\forall j \in A \setminus B(i,\varepsilon\theta). τ j = α j ∀ j ∈ A ∖ B ( i , εθ ) . (ii) (Nearby clients increase only slightly)
α j ≤ τ j ≤ min { ( 1 − δ ) d ( j , S ) , ( 1 + ε 2 ) θ } ∀ j ∈ A ∩ B ( i , ε θ ) . \alpha_j \leq\tau_j \leq\min\left\{(1-\delta)d(j,S), (1+\varepsilon^2)\theta\right\} \qquad\forall j \in A \cap B(i,\varepsilon\theta). α j ≤ τ j ≤ min { ( 1 − δ ) d ( j , S ) , ( 1 + ε 2 ) θ } ∀ j ∈ A ∩ B ( i , εθ ) . (iii) (Facility i i i is paid for in the ( 1 − δ / 2 ) (1-\delta/2) ( 1 − δ /2 ) -scaled metric)
∑ j ∈ A β ( τ j , ( 1 − δ / 2 ) d ( i , j ) ) + ∑ j ∈ I β ( ( 1 − δ ) d ( j , S ) , ( 1 − δ / 2 ) d ( i , j ) ) ≥ f . \sum_{j \in A} \beta\bigl(\tau_j,(1-\delta/2)d(i,j)\bigr) + \sum_{j \in I} \beta\bigl((1-\delta)d(j,S),(1-\delta/2)d(i,j)\bigr) \geq f. j ∈ A ∑ β ( τ j , ( 1 − δ /2 ) d ( i , j ) ) + j ∈ I ∑ β ( ( 1 − δ ) d ( j , S ) , ( 1 − δ /2 ) d ( i , j ) ) ≥ f . (iv) (No-overbidding after updating to τ \tau τ )
∀ i 0 ∈ F : ∑ j ∈ A β ( τ j , d ( i 0 , j ) ) + ∑ j ∈ I β ( ( 1 − δ ) d ( j , S ) , d ( i 0 , j ) ) ≤ f . \forall i_0 \in F:\qquad\sum_{j \in A} \beta\bigl(\tau_j,d(i_0,j)\bigr) + \sum_{j \in I} \beta\bigl((1-\delta)d(j,S),d(i_0,j)\bigr) \leq f. ∀ i 0 ∈ F : j ∈ A ∑ β ( τ j , d ( i 0 , j ) ) + j ∈ I ∑ β ( ( 1 − δ ) d ( j , S ) , d ( i 0 , j ) ) ≤ f . (v) (Triangle inequality)
τ j ≤ τ k + d ( j , k ) ∀ j , k ∈ A . \tau_j \leq\tau_k + d(j,k) \qquad\forall j,k \in A. τ j ≤ τ k + d ( j , k ) ∀ j , k ∈ A .
Here, 1-openable facilities are facilities that are paid for with the current value of θ \theta θ , when the existing active clients contribute enough in the scaled metric. Thus, Stage 1 captures facilities that can be opened immediately. On the other hand, 2-openable facilities are facilities where we have to raise the bids of clients that are close to the facility in order to pay for the opening cost: clients in B ( i , ε θ ) B(i,\varepsilon\theta) B ( i , εθ ) may increase their bid from θ \theta θ to intermediate values τ j \tau_j τ j . The no-overbidding constraint ensures that we do not overbid towards another facility when raising the α \alpha α -values to τ \tau τ . Furthermore, the triangle constraints are necessary because the factor-revealing program requires triangle inequalities on the α \alpha α -values, see constraint (6).
The log-adaptive algorithm (Algorithm 2) has a three-stage structure within each phase. Stage 1 greedily opens 1-openable facilities. Stage 2 opens 2-openable facilities, potentially raising the α \alpha α -values of some clients. Then, once there are no more 2-openable facilities, we proceed to Stage 3, increasing θ \theta θ to ( 1 + ε 2 ) θ (1+\varepsilon^2)\theta ( 1 + ε 2 ) θ .
Algorithm 2 Log-Adaptive Algorithm
Initialization: Set S = ∅ S = \emptyset S = ∅ , A = D A = D A = D , θ = 1 \theta= 1 θ = 1 , and α j = θ \alpha_j = \theta α j = θ for every j ∈ A = D j \in A = D j ∈ A = D .
Repeat the following while A ≠ ∅ A \ne\emptyset A = ∅ :
While there is an unopened facility i i i that is 1-openable (chosen arbitrarily if there are many):
Open i i i (i.e., add it to S S S ) and mark all clients j ∈ A j \in A j ∈ A such that α j ≥ ( 1 − δ ) d ( j , S ) \alpha_j \ge(1-\delta)d(j,S) α j ≥ ( 1 − δ ) d ( j , S ) as served (i.e., remove them from A A A ).
While there is an unopened facility i i i that is 2-openable (chosen arbitrarily if there are many):
Calculate ( τ j ) j ∈ A (\tau_j)_{j\in A} ( τ j ) j ∈ A so that i i i is openable with bids ( τ j ) j ∈ A (\tau_j)_{j\in A} ( τ j ) j ∈ A . Open i i i (i.e., add it to S S S ), let α j ← τ j \alpha_j \leftarrow\tau_j α j ← τ j for every j ∈ A j \in A j ∈ A (note that only the values of the clients in A ∩ B ( i , ε θ ) A \cap B(i,\varepsilon\theta) A ∩ B ( i , εθ ) change), and mark all clients j ∈ A j \in A j ∈ A such that α j ≥ ( 1 − δ ) d ( j , S ) \alpha_j \ge(1-\delta)d(j,S) α j ≥ ( 1 − δ ) d ( j , S ) as served (i.e., remove them from A A A ).
Perform the following step and proceed to the next phase:
For every remaining j ∈ A j \in A j ∈ A , let
α j ← min ( ( 1 + ε 2 ) θ , ( 1 − δ ) d ( j , S ) ) , \alpha_j \leftarrow\min\left((1+\varepsilon^2)\theta,(1-\delta)d(j,S)\right), α j ← min ( ( 1 + ε 2 ) θ , ( 1 − δ ) d ( j , S ) ) , remove j j j from A A A when α j = ( 1 − δ ) d ( j , S ) \alpha_j = (1-\delta)d(j,S) α j = ( 1 − δ ) d ( j , S ) , and update θ ← ( 1 + ε 2 ) θ \theta\leftarrow(1+\varepsilon^2)\theta θ ← ( 1 + ε 2 ) θ .
Output S S S .
Remark 5.3. In Stage 2 , if a client j ∈ A j \in A j ∈ A has τ j > θ \tau_j > \theta τ j > θ , then it is ε θ \varepsilon\theta εθ -close to the facility that is opened at that step and it immediately becomes inactive. Therefore, it is valid to assume in Definition 5.2 that α j = θ \alpha_j = \theta α j = θ for all $j \in A.
In this section, we will prove the following main theorem that states that the log-adaptive algorithm (Algorithm 2) is indeed an LMP-approximation algorithm with factor ( 1 + 2 δ ) ρ (1+2\delta)\rho ( 1 + 2 δ ) ρ , where ρ \rho ρ is an upper bound on the factor revealing program. In other words, the connection cost of the algorithm is bounded by ( O P T − ∣ S ∗ ∣ ⋅ f ) (\mathrm{OPT}-|S^*|\cdot f) ( OPT − ∣ S ∗ ∣ ⋅ f ) times the approximation factor ( 1 + 2 δ ) ρ (1+2\delta)\rho ( 1 + 2 δ ) ρ .
Theorem 5.4. Let γ ≥ 1 \gamma\ge1 γ ≥ 1 and let β ( α , d ) = [ α − γ ⋅ d ] + \beta(\alpha,d)=[\alpha-\gamma\cdot d]_+ β ( α , d ) = [ α − γ ⋅ d ] + . Let ρ ≥ 1.01 γ \rho\ge1.01\gamma ρ ≥ 1.01 γ be an upper bound on the optimal value of the factor-revealing program in Definition 4.1 over all n ≥ 1 n \ge1 n ≥ 1 . For any δ > 0 \delta> 0 δ > 0 small enough compared to 1 / γ 1/\gamma 1/ γ as well as any ε > 0 \varepsilon> 0 ε > 0 small enough compared to 1 / γ 1/\gamma 1/ γ and δ \delta δ , Algorithm 2 run with facility cost f ^ = ρ ⋅ f \hat f=\rho\cdot f f ^ = ρ ⋅ f is a ( 1 + 2 δ ) ρ (1+2\delta)\rho ( 1 + 2 δ ) ρ -LMP approximation for UFL instances with facility cost f f f .1
This theorem is analogous to Theorem 4.2, with an additional loss of 2 δ 2\delta 2 δ because of the log-adaptivity. We will prove the theorem in the following sections. The proof is concluded in § 5.8 . We remark that, if f = 0 f=0 f = 0 , then Stage 1 opens all facilities and the resulting solution is optimal; therefore, for the rest of this section we assume f > 0 f>0 f > 0 .
Preliminaries
Throughout this section we use two small absolute constants δ , ε > 0 \delta,\varepsilon> 0 δ , ε > 0 . We write
1 / γ ≫ δ ≫ ε > 0 , 1/\gamma\gg\delta\gg\varepsilon> 0, 1/ γ ≫ δ ≫ ε > 0 ,
where “≫ \gg ≫ ” means that each quantity is chosen sufficiently small as a function of the preceding one.
We define an atomic step in the algorithm as the execution of one iteration in Stage 1, the execution of one iteration in Stage 2, or the execution of Stage 3. When we say something holds at “every step” in the algorithm, we mean before and after every atomic step.
For a client j ∈ D j \in D j ∈ D , we denote by α j ∗ \alpha_j^* α j ∗ its final α j \alpha_j α j value. For the purposes of the analysis, we order the clients from 1 to n n n by the order of the atomic steps in which they become inactive. In case two clients become inactive in the same atomic step, we order them non-decreasingly by their α j ⋆ \alpha_j^\star α j ⋆ value. We denote by S ( k ) S^{(k)} S ( k ) the set of open facilities at the beginning of the atomic step in which client k k k becomes inactive. We denote by S ( n + 1 ) = S ⋆ S^{(n+1)} = S^\star S ( n + 1 ) = S ⋆ the set of open facilities at the end of the algorithm. For $1 \le j \le k \le n$, we set
r j k = { α j ⋆ if j is active at the beginning of the atomic step in which k becomes inactive , ( 1 − δ ) d ( j , S ( k ) ) otherwise . r_{jk} =
\begin{cases}
\alpha_j^\star& \text{if } j \text{ is active at the beginning of the atomic step in which } k \text{ becomes inactive},\\
(1-\delta)d(j,S^{(k)}) & \text{otherwise}.
\end{cases} r j k = { α j ⋆ ( 1 − δ ) d ( j , S ( k ) ) if j is active at the beginning of the atomic step in which k becomes inactive , otherwise .
In other words, if j ≤ k j \le k j ≤ k become inactive in the same atomic step, then r j k = α j ⋆ r_{jk} = \alpha_j^\star r j k = α j ⋆ and otherwise r j k = ( 1 − δ ) d ( j , S ( k ) ) r_{jk} = (1-\delta)d(j,S^{(k)}) r j k = ( 1 − δ ) d ( j , S ( k ) ) . We also set r j , n + 1 = ( 1 − δ ) d ( j , S ⋆ ) r_{j,n+1} = (1-\delta)d(j,S^\star) r j , n + 1 = ( 1 − δ ) d ( j , S ⋆ ) .
Observation 5.5. We have r j k ≥ r j k + 1 r_{jk} \ge r_{jk+1} r j k ≥ r j k + 1 for all $1 \le j \le k \le n$.
Proof. We have trivially that α j ⋆ ≤ α j ⋆ ′ \alpha_j^\star\le\alpha_j^{\star\prime} α j ⋆ ≤ α j ⋆ ′ and ( 1 − δ ) d ( j , S ( k ) ) ≥ ( 1 − δ ) d ( j , S ( k ′ ) ) (1-\delta)d(j,S^{(k)}) \ge(1-\delta)d(j,S^{(k')}) ( 1 − δ ) d ( j , S ( k ) ) ≥ ( 1 − δ ) d ( j , S ( k ′ ) ) for k < k ′ k < k' k < k ′ as S ( k ) S^{(k)} S ( k ) is monotone. Moreover, α j ⋆ ≥ ( 1 − δ ) d ( j , S ) \alpha_j^\star\ge(1-\delta)d(j,S) α j ⋆ ≥ ( 1 − δ ) d ( j , S ) for the set S S S of open facilities after the atomic step when j j j becomes inactive, so the claim follows.
Our analysis will also use the notion of candidate facilities which are facilities that are paid for as in the definition of 2-openable.
Definition 5.6. We say that a facility i i i is a candidate at some point of the algorithm if it satisfies
∑ j ∈ A β ( ( 1 + ε 2 ) θ , ( 1 − δ / 2 ) d ( i , j ) ) + ∑ j ∈ I β ( ( 1 − δ ) d ( j , S ) , ( 1 − δ / 2 ) d ( i , j ) ) ≥ f ^ . \sum_{j\in A}\beta((1+\varepsilon^2)\theta,(1-\delta/2)d(i,j))+\sum_{j\in I}\beta((1-\delta)d(j,S),(1-\delta/2)d(i,j))\ge\hat{f}. j ∈ A ∑ β (( 1 + ε 2 ) θ , ( 1 − δ /2 ) d ( i , j )) + j ∈ I ∑ β (( 1 − δ ) d ( j , S ) , ( 1 − δ /2 ) d ( i , j )) ≥ f ^ . In other words, a candidate has the possibility to be paid for by increasing all the active clients to the maximum of that stage. In particular, all facilities that are opened in Stage 2 will be candidate facilities at that point of the algorithm.
Algorithm Properties
First, we prove that at every step of the algorithm the clients do not overbid toward any facility.
Lemma 5.7 (No overbidding). At any step of the algorithm, for every facility i ∈ F i \in F i ∈ F ,
∑ j ∈ A β ( θ , d ( i , j ) ) + ∑ j ∈ I β ( ( 1 − δ ) d ( j , S ) , d ( i , j ) ) ≤ f ^ . \sum_{j\in A}\beta(\theta,d(i,j))+\sum_{j\in I}\beta((1-\delta)d(j,S),d(i,j))\le\hat{f}. j ∈ A ∑ β ( θ , d ( i , j )) + j ∈ I ∑ β (( 1 − δ ) d ( j , S ) , d ( i , j )) ≤ f ^ . Proof. The inequality holds at the beginning of the algorithm because α j = 1 ≤ d ( i , j ) \alpha_j=1\le d(i,j) α j = 1 ≤ d ( i , j ) for every client j j j by assumption (2) . We will show that invariant holds after every atomic step of the algorithm. The atomic step might happen in each of the three stages.
Stage 1 and Stage 2 Opening up a facility i 0 i_0 i 0 decreases the left hand side since d ( j , S ) d(j,S) d ( j , S ) is monotonically decreasing with S S S . The only other change to the left hand side that can happen is that a client j j j becomes inactive. In that case, however, either θ = α j ⋆ ≥ ( 1 − δ ) d ( j , S ∪ { i 0 } ) \theta=\alpha_j^\star\ge(1-\delta)d(j,S\cup\{i_0\}) θ = α j ⋆ ≥ ( 1 − δ ) d ( j , S ∪ { i 0 }) or j ∈ B ( i 0 , ε θ ) j\in B(i_0,\varepsilon\theta) j ∈ B ( i 0 , εθ ) and ε θ ≥ d ( j , i 0 ) ≥ ( 1 − δ ) d ( j , S ∪ { i 0 } ) \varepsilon\theta\ge d(j,i_0)\ge(1-\delta)d(j,S\cup\{i_0\}) εθ ≥ d ( j , i 0 ) ≥ ( 1 − δ ) d ( j , S ∪ { i 0 }) . Thus, the left hand side decreases by the monotonicity of β \beta β .
Stage 3 Let A , I A,I A , I be the sets of active and inactive clients after raising all α j \alpha_j α j to min ( ( 1 + ε 2 ) θ , ( 1 − δ ) d ( j , S ) ) \min((1+\varepsilon^2)\theta,(1-\delta)d(j,S)) min (( 1 + ε 2 ) θ , ( 1 − δ ) d ( j , S )) for all j j j that are active at the beginning of this step. Assume for contradiction that after raising θ \theta θ to ( 1 + ε 2 ) θ (1+\varepsilon^2)\theta ( 1 + ε 2 ) θ the invariant is violated for some facility, and let F 0 F_0 F 0 be the set of all such facilities, such that for all i ∈ F 0 i\in F_0 i ∈ F 0
∑ j ∈ A β ( ( 1 + ε 2 ) θ , d ( i , j ) ) + ∑ j ∈ I β ( ( 1 − δ ) d ( j , S ) , d ( i , j ) ) > f ^ . \sum_{j\in A}\beta((1+\varepsilon^2)\theta,d(i,j))+\sum_{j\in I}\beta((1-\delta)d(j,S),d(i,j))>\hat{f}. j ∈ A ∑ β (( 1 + ε 2 ) θ , d ( i , j )) + j ∈ I ∑ β (( 1 − δ ) d ( j , S ) , d ( i , j )) > f ^ .
Note that none of the facilities i ∈ F 0 i\in F_0 i ∈ F 0 are open because otherwise there would be no client with a positive bid to i i i (for clients j ∈ A j\in A j ∈ A we would have ( 1 + ε 2 ) θ < ( 1 − δ ) d ( j , S ) ≤ ( 1 − δ ) d ( j , i ) (1+\varepsilon^2)\theta<(1-\delta)d(j,S)\le(1-\delta)d(j,i) ( 1 + ε 2 ) θ < ( 1 − δ ) d ( j , S ) ≤ ( 1 − δ ) d ( j , i ) , and for clients j ∈ I j\in I j ∈ I we would have ( 1 − δ ) d ( j , S ) ≤ ( 1 − δ ) d ( j , i ) ≤ d ( j , i ) (1-\delta)d(j,S)\le(1-\delta)d(j,i)\le d(j,i) ( 1 − δ ) d ( j , S ) ≤ ( 1 − δ ) d ( j , i ) ≤ d ( j , i ) ).
Also let A ′ ⊇ A A'\supseteq A A ′ ⊇ A and I ′ ⊆ I I'\subseteq I I ′ ⊆ I be the active and inactive sets at the beginning of Stage 3, respectively. For each facility i 0 ∈ F 0 i_0\in F_0 i 0 ∈ F 0 compute θ ≤ τ ( i 0 ) ≤ ( 1 + ε 2 ) θ \theta\le\tau^{(i_0)}\le(1+\varepsilon^2)\theta θ ≤ τ ( i 0 ) ≤ ( 1 + ε 2 ) θ such that for α i 0 , j ′ = min ( τ ( i 0 ) , ( 1 − δ ) d ( j , S ) ) \alpha'_{i_0,j}=\min(\tau^{(i_0)},(1-\delta)d(j,S)) α i 0 , j ′ = min ( τ ( i 0 ) , ( 1 − δ ) d ( j , S )) we have
∑ j ∈ A ′ β ( α i 0 , j ′ , d ( i 0 , j ) ) + ∑ j ∈ I ′ β ( ( 1 − δ ) d ( j , S ) , d ( i 0 , j ) ) = f ^ . \sum_{j\in A'}\beta(\alpha'_{i_0,j},d(i_0,j))+\sum_{j\in I'}\beta((1-\delta)d(j,S),d(i_0,j))=\hat{f}. j ∈ A ′ ∑ β ( α i 0 , j ′ , d ( i 0 , j )) + j ∈ I ′ ∑ β (( 1 − δ ) d ( j , S ) , d ( i 0 , j )) = f ^ .
Let us prove that such τ ( i 0 ) \tau^{(i_0)} τ ( i 0 ) exists: We know by the invariant before this atomic step that
∑ j ∈ A ′ β ( θ , d ( i 0 , j ) ) + ∑ j ∈ I ′ β ( ( 1 − δ ) d ( j , S ) , d ( i 0 , j ) ) ≤ f ^ , \sum_{j\in A'} \beta(\theta,d(i_0,j))+\sum_{j\in I'}\beta((1-\delta)d(j,S),d(i_0,j))\le\hat{f}, j ∈ A ′ ∑ β ( θ , d ( i 0 , j )) + j ∈ I ′ ∑ β (( 1 − δ ) d ( j , S ) , d ( i 0 , j )) ≤ f ^ ,
so it also holds for α i 0 , j ′ \alpha'_{i_0,j} α i 0 , j ′ with the choice τ ( i 0 ) = θ \tau^{(i_0)}=\theta τ ( i 0 ) = θ . We also show that the invariant is violated for α i 0 , j ′ \alpha'_{i_0,j} α i 0 , j ′ with the choice τ ( i 0 ) = ( 1 + ε 2 ) θ \tau^{(i_0)}=(1+\varepsilon^2)\theta τ ( i 0 ) = ( 1 + ε 2 ) θ , and then the existence of τ ( i 0 ) \tau^{(i_0)} τ ( i 0 ) follows by continuity. Recall that
∑ j ∈ A β ( ( 1 + ε 2 ) θ , d ( i 0 , j ) ) + ∑ j ∈ I β ( ( 1 − δ ) d ( j , S ) , d ( i 0 , j ) ) > f ^ . \sum_{j\in A}\beta((1+\varepsilon^2)\theta,d(i_0,j))+\sum_{j\in I}\beta((1-\delta)d(j,S),d(i_0,j))>\hat{f}. j ∈ A ∑ β (( 1 + ε 2 ) θ , d ( i 0 , j )) + j ∈ I ∑ β (( 1 − δ ) d ( j , S ) , d ( i 0 , j )) > f ^ .
Then, for j ∈ A j\in A j ∈ A we have ( 1 + ε 2 ) θ < ( 1 − δ ) d ( j , S ) (1+\varepsilon^2)\theta<(1-\delta)d(j,S) ( 1 + ε 2 ) θ < ( 1 − δ ) d ( j , S ) and so α i 0 , j ′ = ( 1 + ε 2 ) θ \alpha'_{i_0,j}=(1+\varepsilon^2)\theta α i 0 , j ′ = ( 1 + ε 2 ) θ , and for j ∈ A ′ ∩ I j\in A'\cap I j ∈ A ′ ∩ I we have ( 1 + ε 2 ) θ ≥ ( 1 − δ ) d ( j , S ) (1+\varepsilon^2)\theta\ge(1-\delta)d(j,S) ( 1 + ε 2 ) θ ≥ ( 1 − δ ) d ( j , S ) and so α i 0 , j ′ = ( 1 − δ ) d ( j , S ) \alpha'_{i_0,j}=(1-\delta)d(j,S) α i 0 , j ′ = ( 1 − δ ) d ( j , S ) , so also
∑ j ∈ A ′ β ( α i 0 , j ′ , d ( i 0 , j ) ) + ∑ j ∈ I ′ β ( ( 1 − δ ) d ( j , S ) , d ( i 0 , j ) ) > f ^ . \sum_{j\in A'}\beta(\alpha'_{i_0,j},d(i_0,j))+\sum_{j\in I'}\beta((1-\delta)d(j,S),d(i_0,j))>\hat{f}. j ∈ A ′ ∑ β ( α i 0 , j ′ , d ( i 0 , j )) + j ∈ I ′ ∑ β (( 1 − δ ) d ( j , S ) , d ( i 0 , j )) > f ^ .
Therefore τ ( i 0 ) \tau^{(i_0)} τ ( i 0 ) exists by continuity.
Now select the facility i ∈ F 0 i\in F_0 i ∈ F 0 that minimizes τ ( i ) \tau^{(i)} τ ( i ) . This implies that α i , j ′ ≤ α i 0 , j ′ \alpha'_{i,j}\le\alpha'_{i_0,j} α i , j ′ ≤ α i 0 , j ′ for all i 0 ∈ F 0 i_0\in F_0 i 0 ∈ F 0 and j ∈ D j\in D j ∈ D , so
∑ j ∈ A ′ β ( α i , j ′ , d ( i 0 , j ) ) + ∑ j ∈ I ′ β ( ( 1 − δ ) d ( j , S ) , d ( i 0 , j ) ) ≤ f ^ . (8) \sum_{j\in A'}\beta(\alpha'_{i,j},d(i_0,j))+\sum_{j\in I'}\beta((1-\delta)d(j,S),d(i_0,j))\le\hat{f}. \tag*{(8)} j ∈ A ′ ∑ β ( α i , j ′ , d ( i 0 , j )) + j ∈ I ′ ∑ β (( 1 − δ ) d ( j , S ) , d ( i 0 , j )) ≤ f ^ . (8)
From now on, let α j ′ = α i , j ′ \alpha'_j=\alpha'_{i,j} α j ′ = α i , j ′ . We will show that i i i was 2-openable at the end of Stage 2 with bids τ j = min ( τ ( i ) , ( 1 − δ ) d ( j , S ) , ( 1 + ε ) θ − d ( j , i ) ) \tau_j=\min(\tau^{(i)},(1-\delta)d(j,S),(1+\varepsilon)\theta-d(j,i)) τ j = min ( τ ( i ) , ( 1 − δ ) d ( j , S ) , ( 1 + ε ) θ − d ( j , i )) for all j ∈ A ′ ∩ B ( i , ε θ ) j\in A'\cap B(i,\varepsilon\theta) j ∈ A ′ ∩ B ( i , εθ ) and τ j = θ \tau_j=\theta τ j = θ for all j ∈ A ′ ∖ B ( i , ε θ ) j\in A'\setminus B(i,\varepsilon\theta) j ∈ A ′ ∖ B ( i , εθ ) . Let us check the conditions one by one,
(i) - (ii) Clearly holds by the definition of τ \tau τ .
(iii) We have that
f ^ = ∑ j ∈ A ′ β ( α j ′ , d ( i , j ) ) + ∑ j ∈ I ′ β ( ( 1 − δ ) d ( j , S ) , d ( i , j ) ) ≤ ∑ j ∈ A ′ β ( τ j , ( 1 − δ / 2 ) d ( i , j ) ) + ∑ j ∈ I ′ β ( ( 1 − δ ) d ( j , S ) , ( 1 − δ / 2 ) d ( i , j ) ) . \begin{aligned}
\hat{f}=\sum_{j\in A'}\beta(\alpha'_j,d(i,j))+\sum_{j\in I'}\beta((1-\delta)d(j,S),d(i,j)) \\
&\le\sum_{j\in A'}\beta(\tau_j,(1-\delta/2)d(i,j))+\sum_{j\in I'}\beta((1-\delta)d(j,S),(1-\delta/2)d(i,j)).
\end{aligned} f ^ = j ∈ A ′ ∑ β ( α j ′ , d ( i , j )) + j ∈ I ′ ∑ β (( 1 − δ ) d ( j , S ) , d ( i , j )) ≤ j ∈ A ′ ∑ β ( τ j , ( 1 − δ /2 ) d ( i , j )) + j ∈ I ′ ∑ β (( 1 − δ ) d ( j , S ) , ( 1 − δ /2 ) d ( i , j )) .
Let us verify that the inequality holds. First, consider j ∈ B ( i , ε θ ) j\in B(i,\varepsilon\theta) j ∈ B ( i , εθ ) . In the case where τ j = α j ′ \tau_j=\alpha'_j τ j = α j ′ we have by the monotonicity of β \beta β that β ( α j ′ , d ( i , j ) ) ≤ β ( τ j , ( 1 − δ / 2 ) d ( i , j ) ) \beta(\alpha'_j,d(i,j))\le\beta(\tau_j,(1-\delta/2)d(i,j)) β ( α j ′ , d ( i , j )) ≤ β ( τ j , ( 1 − δ /2 ) d ( i , j )) . In the other case when τ j = ( 1 + ε ) θ − d ( i , j ) \tau_j=(1+\varepsilon)\theta-d(i,j) τ j = ( 1 + ε ) θ − d ( i , j ) observe that
β ( α j ′ , d ( i , j ) ) ≤ [ ( 1 + ε 2 ) θ − γ d ( i , j ) ] + ≤ [ ( 1 + ε ) θ − d ( i , j ) − γ ( 1 − δ / 2 ) d ( i , j ) ] + = β ( τ j , ( 1 − δ / 2 ) d ( i , j ) ) \begin{aligned}
\beta(\alpha'_j,d(i,j))\le[(1+\varepsilon^2)\theta-\gamma d(i,j)]^+ \\
&\le[(1+\varepsilon)\theta-d(i,j)-\gamma(1-\delta/2)d(i,j)]^+ \\
&=\beta(\tau_j,(1-\delta/2)d(i,j))
\end{aligned} β ( α j ′ , d ( i , j )) ≤ [( 1 + ε 2 ) θ − γ d ( i , j ) ] + ≤ [( 1 + ε ) θ − d ( i , j ) − γ ( 1 − δ /2 ) d ( i , j ) ] + = β ( τ j , ( 1 − δ /2 ) d ( i , j ))
because using that γ ≥ γ ( 1 − δ / 2 ) + ε \gamma\ge\gamma(1-\delta/2)+\varepsilon γ ≥ γ ( 1 − δ /2 ) + ε for δ ≫ ε \delta\gg\varepsilon δ ≫ ε we have
( 1 + ε ) θ − d ( i , j ) − ( γ ( 1 − δ / 2 ) ) d ( i , j ) = ( 1 + ε ) θ − ( 1 − ε ) d ( i , j ) − ( γ ( 1 − δ / 2 ) + ε ) d ( i , j ) ≥ ( 1 + ε 2 ) θ − ( γ ( 1 − δ / 2 ) + ε ) d ( i , j ) ≥ ( 1 + ε 2 ) θ − γ d ( i , j ) ≥ α j ′ − γ d ( i , j ) . \begin{aligned}
(1+\varepsilon)\theta-d(i,j)-(\gamma(1-\delta/2))d(i,j)=(1+\varepsilon)\theta-(1-\varepsilon)d(i,j)-(\gamma(1-\delta/2)+\varepsilon)d(i,j) \\
&\ge(1+\varepsilon^2)\theta-(\gamma(1-\delta/2)+\varepsilon)d(i,j) \\
&\ge(1+\varepsilon^2)\theta-\gamma d(i,j) \\
&\ge\alpha'_j-\gamma d(i,j).
\end{aligned} ( 1 + ε ) θ − d ( i , j ) − ( γ ( 1 − δ /2 )) d ( i , j ) = ( 1 + ε ) θ − ( 1 − ε ) d ( i , j ) − ( γ ( 1 − δ /2 ) + ε ) d ( i , j ) ≥ ( 1 + ε 2 ) θ − ( γ ( 1 − δ /2 ) + ε ) d ( i , j ) ≥ ( 1 + ε 2 ) θ − γ d ( i , j ) ≥ α j ′ − γ d ( i , j ) .
For j ∈ A ′ ∖ B ( i , ε θ ) j\in A'\setminus B(i,\varepsilon\theta) j ∈ A ′ ∖ B ( i , εθ ) , using that ε 2 θ ≤ ε γ δ / 2 θ ≤ γ δ / 2 d ( i , j ) \varepsilon^2\theta\le\varepsilon\gamma\delta/2\,\theta\le\gamma\delta/2\,d(i,j) ε 2 θ ≤ ε γ δ /2 θ ≤ γ δ /2 d ( i , j ) ,
β ( α j ′ , d ( i , j ) ) = [ α j ′ − γ d ( i , j ) ] + ≤ [ θ − γ ( 1 − δ / 2 ) d ( i , j ) ] + = β ( τ j , ( 1 − δ / 2 ) d ( i , j ) ) . \beta(\alpha'_j,d(i,j))=[\alpha'_j-\gamma d(i,j)]^+\le[\theta-\gamma(1-\delta/2)d(i,j)]^+=\beta(\tau_j,(1-\delta/2)d(i,j)). β ( α j ′ , d ( i , j )) = [ α j ′ − γ d ( i , j ) ] + ≤ [ θ − γ ( 1 − δ /2 ) d ( i , j ) ] + = β ( τ j , ( 1 − δ /2 ) d ( i , j )) .
(iv) Assume that the no-overbidding inequality is violated for some facility i 0 ∈ F 0 i_0\in F_0 i 0 ∈ F 0 ,
f ^ < ∑ j ∈ A ′ β ( τ j , d ( i 0 , j ) ) + ∑ j ∈ I ′ β ( ( 1 − δ ) d ( j , S ) , d ( i 0 , j ) ) ≤ ∑ j ∈ A ′ β ( α j ′ , d ( i 0 , j ) ) + ∑ j ∈ I ′ β ( ( 1 − δ ) d ( j , S ) , d ( i 0 , j ) ) . \begin{aligned}
\hat{f}<\sum_{j\in A'}\beta(\tau_j,d(i_0,j))+\sum_{j\in I'}\beta((1-\delta)d(j,S),d(i_0,j)) \\
&\le\sum_{j\in A'} \beta(\alpha'_j,d(i_0,j))+\sum_{j\in I'}\beta((1-\delta)d(j,S),d(i_0,j)).
\end{aligned} f ^ < j ∈ A ′ ∑ β ( τ j , d ( i 0 , j )) + j ∈ I ′ ∑ β (( 1 − δ ) d ( j , S ) , d ( i 0 , j )) ≤ j ∈ A ′ ∑ β ( α j ′ , d ( i 0 , j )) + j ∈ I ′ ∑ β (( 1 − δ ) d ( j , S ) , d ( i 0 , j )) .
The last inequality holds by the monotonicity of β \beta β . We arrive at a contradiction to the minimal choice of i i i . In particular, a contradiction to (10).
On the other hand, for i 0 ∈ F ∖ F 0 i_0\in F\setminus F_0 i 0 ∈ F ∖ F 0 , the claim follows because we have
∑ j ∈ A β ( ( 1 + ε 2 ) θ , d ( i 0 , j ) ) + ∑ j ∈ I β ( ( 1 − δ ) d ( j , S ) , d ( i 0 , j ) ) ≤ f ^ \sum_{j\in A}\beta((1+\varepsilon^2)\theta,d(i_0,j))+\sum_{j\in I}\beta((1-\delta)d(j,S),d(i_0,j))\le\hat f j ∈ A ∑ β (( 1 + ε 2 ) θ , d ( i 0 , j )) + j ∈ I ∑ β (( 1 − δ ) d ( j , S ) , d ( i 0 , j )) ≤ f ^
and we have ( 1 + ε 2 ) θ ≥ τ j (1+\varepsilon^2)\theta\ge\tau_j ( 1 + ε 2 ) θ ≥ τ j and for j ∈ A ′ ∩ I j\in A'\cap I j ∈ A ′ ∩ I we have ( 1 − δ ) d ( j , S ) ≥ τ j (1-\delta)d(j,S)\ge\tau_j ( 1 − δ ) d ( j , S ) ≥ τ j so also
∑ j ∈ A ′ β ( τ j , d ( i 0 , j ) ) + ∑ j ∈ I ′ β ( ( 1 − δ ) d ( j , S ) , d ( i 0 , j ) ) ≤ f ^ . \sum_{j\in A'}\beta(\tau_j,d(i_0,j))+\sum_{j\in I'}\beta((1-\delta)d(j,S),d(i_0,j))\le\hat f. j ∈ A ′ ∑ β ( τ j , d ( i 0 , j )) + j ∈ I ′ ∑ β (( 1 − δ ) d ( j , S ) , d ( i 0 , j )) ≤ f ^ .
(v) We have to show that
τ j ≤ τ k + d ( j , k ) ∀ j , k ∈ A ′ \tau_j\le\tau_k+d(j,k)\qquad\forall j,k\in A' τ j ≤ τ k + d ( j , k ) ∀ j , k ∈ A ′
which is clearly true if τ j = θ \tau_j=\theta τ j = θ or τ k = τ ( i ) \tau_k=\tau^{(i)} τ k = τ ( i ) . Moreover, if τ k = ( 1 + ε ) θ − d ( i , k ) \tau_k=(1+\varepsilon)\theta-d(i,k) τ k = ( 1 + ε ) θ − d ( i , k ) then
τ j ≤ ( 1 + ε ) θ − d ( i , j ) ≤ ( 1 + ε ) θ − ( d ( i , k ) − d ( j , k ) ) = τ k + d ( j , k ) . \tau_j\le(1+\varepsilon)\theta-d(i,j)\le(1+\varepsilon)\theta-(d(i,k)-d(j,k))=\tau_k+d(j,k). τ j ≤ ( 1 + ε ) θ − d ( i , j ) ≤ ( 1 + ε ) θ − ( d ( i , k ) − d ( j , k )) = τ k + d ( j , k ) .
From now on we assume that j ∈ B ( i , ε θ ) j\in B(i,\varepsilon\theta) j ∈ B ( i , εθ ) . Consider the two remaining cases where either τ k = θ \tau_k=\theta τ k = θ and k ∈ A ′ ∖ B ( i , ε θ ) k\in A'\setminus B(i,\varepsilon\theta) k ∈ A ′ ∖ B ( i , εθ ) or τ k = ( 1 − δ ) d ( k , S ) = ( 1 − δ ) d ( k , i 0 ) \tau_k=(1-\delta)d(k,S)=(1-\delta)d(k,i_0) τ k = ( 1 − δ ) d ( k , S ) = ( 1 − δ ) d ( k , i 0 ) for some open facility i 0 i_0 i 0 . In the first case,
τ j ≤ ( 1 + ε ) θ − d ( j , i ) ≤ ( 1 + ε ) θ − ( d ( k , i ) − d ( j , k ) ) ≤ θ + d ( j , k ) = τ k + d ( j , k ) . \tau_j\le(1+\varepsilon)\theta-d(j,i)\le(1+\varepsilon)\theta-(d(k,i)-d(j,k))\le\theta+d(j,k)=\tau_k+d(j,k). τ j ≤ ( 1 + ε ) θ − d ( j , i ) ≤ ( 1 + ε ) θ − ( d ( k , i ) − d ( j , k )) ≤ θ + d ( j , k ) = τ k + d ( j , k ) .
In the second case,
τ j ≤ ( 1 − δ ) d ( j , S ) ≤ ( 1 − δ ) d ( j , i 0 ) ≤ ( 1 − δ ) ( d ( i 0 , k ) + d ( j , k ) ) ≤ τ k + d ( j , k ) . \tau_j\le(1-\delta)d(j,S)\le(1-\delta)d(j,i_0)\le(1-\delta)(d(i_0,k)+d(j,k))\le\tau_k+d(j,k). τ j ≤ ( 1 − δ ) d ( j , S ) ≤ ( 1 − δ ) d ( j , i 0 ) ≤ ( 1 − δ ) ( d ( i 0 , k ) + d ( j , k )) ≤ τ k + d ( j , k ) .
Next, we will show that without 1-openable facilities, which is the case after finishing Stage 1, all facilities that are candidates in Stage 2 are either far apart or close together. This structural property will be crucial to prove feasibility for the factor revealing program.
Lemma 5.8. Suppose two facilities i 1 i_1 i 1 and i 2 i_2 i 2 are candidates at the same step during Stage 2. Then either d ( i 1 , i 2 ) ≤ δ θ d(i_1,i_2)\le\delta\theta d ( i 1 , i 2 ) ≤ δ θ or d ( i 1 , i 2 ) ≥ θ / γ d(i_1,i_2)\ge\theta/\gamma d ( i 1 , i 2 ) ≥ θ / γ .
Proof. If i 1 = i 2 i_1=i_2 i 1 = i 2 then the claim is immediate so we assume i 1 ≠ i 2 i_1\ne i_2 i 1 = i 2 . Let N 1 = A ∩ B ( i 1 , ε θ ) N_1=A\cap B(i_1,\varepsilon\theta) N 1 = A ∩ B ( i 1 , εθ ) and N 2 = A ∩ B ( i 2 , ε θ ) N_2=A\cap B(i_2,\varepsilon\theta) N 2 = A ∩ B ( i 2 , εθ ) . Let us assume without loss of generality that ∣ N 1 ∣ ≤ ∣ N 2 ∣ \lvert N_1\rvert\le\lvert N_2\rvert ∣ N 1 ∣ ≤ ∣ N 2 ∣ . Let us also assume for the sake of contradiction that δ θ < d ( i 1 , i 2 ) < θ / γ \delta\theta<d(i_1,i_2)<\theta/\gamma δ θ < d ( i 1 , i 2 ) < θ / γ , which implies that N 1 N_1 N 1 and N 2 N_2 N 2 are disjoint as δ ≫ ε \delta\gg\varepsilon δ ≫ ε .*
Let
P = ∑ j ∈ A β ( ( 1 + ε 2 ) θ , ( 1 − δ / 2 ) d ( i 1 , j ) ) + ∑ j ∈ I β ( ( 1 − δ ) d ( j , S ) , ( 1 − δ / 2 ) d ( i 1 , j ) ) P=\sum_{j\in A}\beta((1+\varepsilon^2)\theta,(1-\delta/2)d(i_1,j))+\sum_{j\in I}\beta((1-\delta)d(j,S),(1-\delta/2)d(i_1,j)) P = j ∈ A ∑ β (( 1 + ε 2 ) θ , ( 1 − δ /2 ) d ( i 1 , j )) + j ∈ I ∑ β (( 1 − δ ) d ( j , S ) , ( 1 − δ /2 ) d ( i 1 , j )) and
Q = ∑ j ∈ A β ( θ , ( 1 − δ ) d ( i 1 , j ) ) + ∑ j ∈ I β ( ( 1 − δ ) d ( j , S ) , ( 1 − δ ) d ( i 1 , j ) ) . Q=\sum_{j\in A}\beta(\theta,(1-\delta)d(i_1,j))+\sum_{j\in I}\beta((1-\delta)d(j,S),(1-\delta)d(i_1,j)). Q = j ∈ A ∑ β ( θ , ( 1 − δ ) d ( i 1 , j )) + j ∈ I ∑ β (( 1 − δ ) d ( j , S ) , ( 1 − δ ) d ( i 1 , j )) . Because i 1 i_1 i 1 is a candidate, P ≥ f ^ P\ge\hat f P ≥ f ^ . We also claim that Q < f ^ Q<\hat f Q < f ^ . If i 1 ∉ S i_1\notin S i 1 ∈ / S , we claim that this is true because otherwise facility i 1 i_1 i 1 would have been 1-openable in Stage 1. Let S ′ ⊆ S S'\subseteq S S ′ ⊆ S be the set of open facilities at the beginning of Stage 2, and let A ′ , I ′ A',I' A ′ , I ′ be the set of active and inactive clients at the beginning of Stage 2. Note that A ′ ⊇ A A'\supseteq A A ′ ⊇ A and I ′ ⊆ I I'\subseteq I I ′ ⊆ I . For j ∈ I ′ j\in I' j ∈ I ′ we use ( 1 − δ ) d ( j , S ) ≤ ( 1 − δ ) d ( j , S ′ ) (1-\delta)d(j,S)\le(1-\delta)d(j,S') ( 1 − δ ) d ( j , S ) ≤ ( 1 − δ ) d ( j , S ′ ) , and for j ∈ A ′ ∩ I j\in A'\cap I j ∈ A ′ ∩ I we use ( 1 − δ ) d ( j , S ) ≤ θ (1-\delta)d(j,S)\le\theta ( 1 − δ ) d ( j , S ) ≤ θ . The last inequality is immediate if α j ∗ = θ \alpha_j^*=\theta α j ∗ = θ , and if α j ∗ > θ \alpha_j^*>\theta α j ∗ > θ then j j j must have been ε θ \varepsilon\theta εθ -close to some facility in S S S and hence d ( j , S ) ≤ ε θ d(j,S)\le\varepsilon\theta d ( j , S ) ≤ εθ . Then
Q = ∑ j ∈ A β ( θ , ( 1 − δ ) d ( i 1 , j ) ) + ∑ j ∈ I β ( ( 1 − δ ) d ( j , S ) , ( 1 − δ ) d ( i 1 , j ) ) Q=\sum_{j\in A}\beta(\theta,(1-\delta)d(i_1,j))+\sum_{j\in I}\beta((1-\delta)d(j,S),(1-\delta)d(i_1,j)) Q = j ∈ A ∑ β ( θ , ( 1 − δ ) d ( i 1 , j )) + j ∈ I ∑ β (( 1 − δ ) d ( j , S ) , ( 1 − δ ) d ( i 1 , j )) ≤ ∑ j ∈ A ′ β ( θ , ( 1 − δ ) d ( i 1 , j ) ) + ∑ j ∈ I ′ β ( ( 1 − δ ) d ( j , S ′ ) , ( 1 − δ ) d ( i 1 , j ) ) . \le\sum_{j\in A'}\beta(\theta,(1-\delta)d(i_1,j))+\sum_{j\in I'}\beta((1-\delta)d(j,S'),(1-\delta)d(i_1,j)). ≤ j ∈ A ′ ∑ β ( θ , ( 1 − δ ) d ( i 1 , j )) + j ∈ I ′ ∑ β (( 1 − δ ) d ( j , S ′ ) , ( 1 − δ ) d ( i 1 , j )) .
so the last term would have been at least f ^ \hat{f} f ^ if Q ≥ f ^ Q \ge\hat{f} Q ≥ f ^ , and then facility i 1 i_1 i 1 would have been 1-openable in Stage 1. On the other hand, if i 1 ∈ S i_1 \in S i 1 ∈ S , the claim is true simply because θ < ( 1 − δ ) d ( i 1 , j ) \theta< (1-\delta)d(i_1,j) θ < ( 1 − δ ) d ( i 1 , j ) for j ∈ A j \in A j ∈ A and d ( j , S ) ≤ d ( i 1 , j ) d(j,S) \le d(i_1,j) d ( j , S ) ≤ d ( i 1 , j ) for j ∈ I j \in I j ∈ I , so the left-hand side would be zero. Hence Q < f ^ Q < \hat{f} Q < f ^ .
We will prove that Q ≥ P Q \ge P Q ≥ P , which is impossible because Q < f ^ ≤ P Q < \hat{f} \le P Q < f ^ ≤ P , and thus we reach the desired contradiction. Note that the inactive term of P P P is trivially upper bounded by the inactive term of Q Q Q , so it suffices to prove that this is also true for their active terms. We consider three cases:
Case j ∈ N 1 j \in N_1 j ∈ N 1 . Then, because d ( i 1 , j ) ≤ ε θ d(i_1,j) \le\varepsilon\theta d ( i 1 , j ) ≤ εθ , we have that β ( ( 1 + ε 2 ) θ , ( 1 − δ / 2 ) d ( i 1 , j ) ) \beta((1+\varepsilon^2)\theta,(1-\delta/2)d(i_1,j)) β (( 1 + ε 2 ) θ , ( 1 − δ /2 ) d ( i 1 , j )) and β ( θ , ( 1 − δ ) d ( i 1 , j ) ) \beta(\theta,(1-\delta)d(i_1,j)) β ( θ , ( 1 − δ ) d ( i 1 , j )) are both positive and
[ θ − γ ( 1 − δ ) d ( i 1 , j ) ] + − [ ( 1 + ε 2 ) θ − γ ( 1 − δ / 2 ) d ( i 1 , j ) ] + = − ε 2 θ + ( γ δ / 2 ) d ( i 1 , j ) ≥ − ε 2 θ . [\theta-\gamma(1-\delta)d(i_1,j)]^+-[(1+\varepsilon^2)\theta-\gamma(1-\delta/2)d(i_1,j)]^+
= -\varepsilon^2\theta+(\gamma\delta/2)d(i_1,j) \ge-\varepsilon^2\theta. [ θ − γ ( 1 − δ ) d ( i 1 , j ) ] + − [( 1 + ε 2 ) θ − γ ( 1 − δ /2 ) d ( i 1 , j ) ] + = − ε 2 θ + ( γ δ /2 ) d ( i 1 , j ) ≥ − ε 2 θ .
Case j ∈ N 2 j \in N_2 j ∈ N 2 . Then δ θ − ε θ ≤ d ( i 1 , j ) ≤ θ / γ + ε θ \delta\theta-\varepsilon\theta\le d(i_1,j) \le\theta/\gamma+\varepsilon\theta δ θ − εθ ≤ d ( i 1 , j ) ≤ θ / γ + εθ , and we have again that β ( ( 1 + ε 2 ) θ , ( 1 − δ / 2 ) d ( i 1 , j ) ) \beta((1+\varepsilon^2)\theta,(1-\delta/2)d(i_1,j)) β (( 1 + ε 2 ) θ , ( 1 − δ /2 ) d ( i 1 , j )) and β ( θ , ( 1 − δ ) d ( i 1 , j ) ) \beta(\theta,(1-\delta)d(i_1,j)) β ( θ , ( 1 − δ ) d ( i 1 , j )) are both positive and
[ θ − γ ( 1 − δ ) d ( i 1 , j ) ] + − [ ( 1 + ε 2 ) θ − γ ( 1 − δ / 2 ) d ( i 1 , j ) ] + = − ε 2 θ + ( γ δ / 2 ) d ( i 1 , j ) ≥ − ε 2 θ + ( γ δ / 2 ) ( δ − ε ) θ ≥ ε 2 θ , [\theta-\gamma(1-\delta)d(i_1,j)]^+-[(1+\varepsilon^2)\theta-\gamma(1-\delta/2)d(i_1,j)]^+
= -\varepsilon^2\theta+(\gamma\delta/2)d(i_1,j) \ge-\varepsilon^2\theta+(\gamma\delta/2)(\delta-\varepsilon)\theta\ge\varepsilon^2\theta, [ θ − γ ( 1 − δ ) d ( i 1 , j ) ] + − [( 1 + ε 2 ) θ − γ ( 1 − δ /2 ) d ( i 1 , j ) ] + = − ε 2 θ + ( γ δ /2 ) d ( i 1 , j ) ≥ − ε 2 θ + ( γ δ /2 ) ( δ − ε ) θ ≥ ε 2 θ ,
where we used δ ≫ ε \delta\gg\varepsilon δ ≫ ε .
Case j ∈ A ∖ ( N 1 ∪ N 2 ) j \in A \setminus(N_1 \cup N_2) j ∈ A ∖ ( N 1 ∪ N 2 ) . Then d ( i 1 , j ) ≥ ε θ d(i_1,j) \ge\varepsilon\theta d ( i 1 , j ) ≥ εθ . First, we claim that β ( ( 1 + ε 2 ) θ , ( 1 − δ / 2 ) d ( i 1 , j ) ) \beta((1+\varepsilon^2)\theta,(1-\delta/2)d(i_1,j)) β (( 1 + ε 2 ) θ , ( 1 − δ /2 ) d ( i 1 , j )) is positive only if β ( θ , ( 1 − δ ) d ( i 1 , j ) ) \beta(\theta,(1-\delta)d(i_1,j)) β ( θ , ( 1 − δ ) d ( i 1 , j )) is positive: Suppose
( 1 + ε 2 ) θ − γ ( 1 − δ / 2 ) d ( i 1 , j ) ≥ 0. (1+\varepsilon^2)\theta-\gamma(1-\delta/2)d(i_1,j) \ge0. ( 1 + ε 2 ) θ − γ ( 1 − δ /2 ) d ( i 1 , j ) ≥ 0.
Then
θ − γ ( 1 − δ ) d ( i 1 , j ) ≥ γ ( 1 − δ / 2 ) 1 + ε 2 d ( i 1 , j ) − γ ( 1 − δ ) d ( i 1 , j ) ≥ 0 , \theta-\gamma(1-\delta)d(i_1,j) \ge\frac{\gamma(1-\delta/2)}{1+\varepsilon^2}d(i_1,j)-\gamma(1-\delta)d(i_1,j) \ge0, θ − γ ( 1 − δ ) d ( i 1 , j ) ≥ 1 + ε 2 γ ( 1 − δ /2 ) d ( i 1 , j ) − γ ( 1 − δ ) d ( i 1 , j ) ≥ 0 ,
where we used δ ≫ ε \delta\gg\varepsilon δ ≫ ε . So it suffices to consider the case when both are positive. In that case,
[ θ − γ ( 1 − δ ) d ( i 1 , j ) ] + − [ ( 1 + ε 2 ) θ − γ ( 1 − δ / 2 ) d ( i 1 , j ) ] + = − ε 2 θ + ( γ δ / 2 ) d ( i 1 , j ) ≥ − ε 2 θ + ( γ δ / 2 ) ε θ ≥ 0 , [\theta-\gamma(1-\delta)d(i_1,j)]^+-[(1+\varepsilon^2)\theta-\gamma(1-\delta/2)d(i_1,j)]^+
= -\varepsilon^2\theta+(\gamma\delta/2)d(i_1,j) \ge-\varepsilon^2\theta+(\gamma\delta/2)\varepsilon\theta\ge0, [ θ − γ ( 1 − δ ) d ( i 1 , j ) ] + − [( 1 + ε 2 ) θ − γ ( 1 − δ /2 ) d ( i 1 , j ) ] + = − ε 2 θ + ( γ δ /2 ) d ( i 1 , j ) ≥ − ε 2 θ + ( γ δ /2 ) εθ ≥ 0 ,
where we used again δ ≫ ε \delta\gg\varepsilon δ ≫ ε .
Summing up these contributions over all j ∈ A j \in A j ∈ A , and using that ∣ N 1 ∣ ≤ ∣ N 2 ∣ |N_1| \le|N_2| ∣ N 1 ∣ ≤ ∣ N 2 ∣ , we get that Q ≥ P Q \ge P Q ≥ P , finishing the proof.
Finally, we prove a structural that is rather technical but is essential in the proof that our solution is feasible for the factor-revealing program: For any fixed facility i ⋆ i^\star i ⋆ , if one considers the subset of clients that are not too far from i ⋆ i^\star i ⋆ when they become inactive, then if any of these clients j j j is active in Stage 2 with τ j > θ \tau_j > \theta τ j > θ , then all other active clients in this subset also become inactive in the same atomic step.
Lemma 5.9. Assume ρ ≥ 1.01 γ \rho\ge1.01\gamma ρ ≥ 1.01 γ . Consider a facility i ⋆ i^\star i ⋆ and a subset of clients D ⋆ ⊆ [ n ] D^\star\subseteq[n] D ⋆ ⊆ [ n ] such that for all j ∈ D ⋆ j \in D^\star j ∈ D ⋆ it holds that α j ⋆ ≥ ρ ⋅ d ( j , i ⋆ ) \alpha_j^\star\ge\rho\cdot d(j,i^\star) α j ⋆ ≥ ρ ⋅ d ( j , i ⋆ ) . Suppose that a client j ∈ D ⋆ j \in D^\star j ∈ D ⋆ becomes inactive in Stage 2 and has α j ⋆ > θ \alpha_j^\star> \theta α j ⋆ > θ at that step. Suppose also that facility i ⋆ i^\star i ⋆ was a candidate at that step. Then, for the facility i 0 i_0 i 0 that was opened at that step, we have d ( i ⋆ , i 0 ) ≤ δ θ d(i^\star,i_0) \le\delta\theta d ( i ⋆ , i 0 ) ≤ δ θ . Furthermore, all other clients in D ⋆ D^\star D ⋆ that were active before this atomic step become inactive in this atomic step.
Proof. Both i ⋆ i^\star i ⋆ and i 0 i_0 i 0 are candidates, so by Lemma 5.8 we have that either d ( i ⋆ , i 0 ) ≤ δ θ d(i^\star,i_0) \le\delta\theta d ( i ⋆ , i 0 ) ≤ δ θ or d ( i ⋆ , i 0 ) > θ / γ d(i^\star,i_0) > \theta/\gamma d ( i ⋆ , i 0 ) > θ / γ . Note that, because α j ⋆ > θ \alpha_j^\star> \theta α j ⋆ > θ , we have d ( j , i 0 ) ≤ ε θ d(j,i_0) \le\varepsilon\theta d ( j , i 0 ) ≤ εθ . In Stage 2 we have α j ⋆ ≤ ( 1 + ε 2 ) θ \alpha_j^\star\le(1+\varepsilon^2)\theta α j ⋆ ≤ ( 1 + ε 2 ) θ , so combining with α j ⋆ ≥ ρ ⋅ d ( j , i ⋆ ) \alpha_j^\star\ge\rho\cdot d(j,i^\star) α j ⋆ ≥ ρ ⋅ d ( j , i ⋆ ) we get that ( 1 + ε 2 ) θ ≥ ρ ⋅ d ( j , i ⋆ ) (1+\varepsilon^2)\theta\ge\rho\cdot d(j,i^\star) ( 1 + ε 2 ) θ ≥ ρ ⋅ d ( j , i ⋆ ) .
If d ( i ⋆ , i 0 ) ≥ θ / γ d(i^\star,i_0) \ge\theta/\gamma d ( i ⋆ , i 0 ) ≥ θ / γ , we have that d ( j , i ⋆ ) ≥ d ( i ⋆ , i 0 ) − d ( j , i 0 ) ≥ θ / γ − ε θ ≥ 0.999 ⋅ θ / γ d(j,i^\star) \ge d(i^\star,i_0)-d(j,i_0) \ge\theta/\gamma-\varepsilon\theta\ge0.999\cdot\theta/\gamma d ( j , i ⋆ ) ≥ d ( i ⋆ , i 0 ) − d ( j , i 0 ) ≥ θ / γ − εθ ≥ 0.999 ⋅ θ / γ (using 1 / γ ≫ ε 1/\gamma\gg\varepsilon 1/ γ ≫ ε ), which violates the assumption that d ( j , i ⋆ ) ≤ ( 1 + ε 2 ) θ / ρ d(j,i^\star) \le(1+\varepsilon^2)\theta/\rho d ( j , i ⋆ ) ≤ ( 1 + ε 2 ) θ / ρ .
Hence, it must be the case that d ( i ⋆ , i 0 ) ≤ δ θ d(i^\star,i_0) \le\delta\theta d ( i ⋆ , i 0 ) ≤ δ θ . Suppose some k ∈ D ⋆ k \in D^\star k ∈ D ⋆ that is active before this atomic step does not become inactive at this atomic step. This implies that τ k < ( 1 − δ ) d ( k , i 0 ) \tau_k < (1-\delta)d(k,i_0) τ k < ( 1 − δ ) d ( k , i 0 ) , but we must also have τ k = θ \tau_k=\theta τ k = θ because otherwise k k k would have been ε θ \varepsilon\theta εθ -close to i 0 i_0 i 0 and it would have become inactive at this atomic step, so θ < ( 1 − δ ) d ( k , i 0 ) \theta< (1-\delta)d(k,i_0) θ < ( 1 − δ ) d ( k , i 0 ) . However, after i 0 i_0 i 0 is opened, this client will become inactive at the latest when its θ \theta θ value increases to at least ( 1 − δ ) d ( k , i 0 ) (1-\delta)d(k,i_0) ( 1 − δ ) d ( k , i 0 ) . Then, because θ \theta θ increases in multiples of 1 + ε 2 1+\varepsilon^2 1 + ε 2 , we have that α k ∗ ≤ ( 1 + ε 2 ) ( 1 − δ ) d ( k , i 0 ) \alpha_k^* \le(1+\varepsilon^2)(1-\delta)d(k,i_0) α k ∗ ≤ ( 1 + ε 2 ) ( 1 − δ ) d ( k , i 0 ) . On the other hand,
α k ∗ ≥ ρ ⋅ d ( k , i ⋆ ) ≥ ρ ⋅ ( d ( k , i 0 ) − d ( i ⋆ , i 0 ) ) ≥ ρ ⋅ d ( k , i 0 ) − ρ δ θ ≥ ρ ( 1 − δ ( 1 − δ ) ) d ( k , i 0 ) . \alpha_k^* \ge\rho\cdot d(k,i^\star) \ge\rho\cdot\left(d(k,i_0)-d(i^\star,i_0)\right) \ge\rho\cdot d(k,i_0)-\rho\delta\theta\ge\rho\left(1-\delta(1-\delta)\right)d(k,i_0). α k ∗ ≥ ρ ⋅ d ( k , i ⋆ ) ≥ ρ ⋅ ( d ( k , i 0 ) − d ( i ⋆ , i 0 ) ) ≥ ρ ⋅ d ( k , i 0 ) − ρ δ θ ≥ ρ ( 1 − δ ( 1 − δ ) ) d ( k , i 0 ) .
Putting the two together, we get that
ρ ( 1 − δ ( 1 − δ ) ) d ( k , i 0 ) ≤ ( 1 + ε 2 ) ( 1 − δ ) d ( k , i 0 ) , \rho\left(1-\delta(1-\delta)\right)d(k,i_0) \le(1+\varepsilon^2)(1-\delta)d(k,i_0), ρ ( 1 − δ ( 1 − δ ) ) d ( k , i 0 ) ≤ ( 1 + ε 2 ) ( 1 − δ ) d ( k , i 0 ) ,
which is a contradiction for ρ ≥ 1.01 \rho\ge1.01 ρ ≥ 1.01 for δ ≫ ε > 0 \delta\gg\varepsilon> 0 δ ≫ ε > 0 small enough.
Algorithm Cost
We now bound the cost of the algorithm in terms of the variables r r r .
Lemma 5.10. The cost (with respect to opening cost f ^ \hat{f} f ^ ) of a solution output by our algorithm is at most
∑ j = 1 n ( ∑ i = j n β ( r j , i , r j , i + 1 ) + r j , n + 1 ) + δ ⋅ ∑ j = 1 n d ( j , S ⋆ ) . \sum_{j=1}^{n}\left(\sum_{i=j}^{n}\beta(r_{j,i},r_{j,i+1})+r_{j,n+1}\right)+\delta\cdot\sum_{j=1}^{n}d(j,S^\star). j = 1 ∑ n ( i = j ∑ n β ( r j , i , r j , i + 1 ) + r j , n + 1 ) + δ ⋅ j = 1 ∑ n d ( j , S ⋆ ) .
Proof. The j j j -th client has connection cost d ( j , S ⋆ ) d(j,S^\star) d ( j , S ⋆ ) . We also need to calculate the contribution of j j j to the opening of each facility in S ⋆ S^\star S ⋆ . It costs f ^ \hat{f} f ^ to open a facility, and we know that at the atomic step when it was opened we had
∑ j ∈ A β ( θ , ( 1 − δ ) d ( i , j ) ) + ∑ j ∈ I β ( ( 1 − δ ) d ( j , S ) , ( 1 − δ ) d ( i , j ) ) ≥ f ^ \sum_{j\in A}\beta(\theta,(1-\delta)d(i,j))+\sum_{j\in I}\beta((1-\delta)d(j,S),(1-\delta)d(i,j))\ge\hat{f} j ∈ A ∑ β ( θ , ( 1 − δ ) d ( i , j )) + j ∈ I ∑ β (( 1 − δ ) d ( j , S ) , ( 1 − δ ) d ( i , j )) ≥ f ^
if it was opened in Stage 1 (by Definition 5.1 ) or
∑ j ∈ A β ( τ j , ( 1 − δ / 2 ) d ( i , j ) ) + ∑ j ∈ I β ( ( 1 − δ ) d ( j , S ) , ( 1 − δ / 2 ) d ( i , j ) ) ≥ f ^ . \sum_{j\in A}\beta(\tau_j,(1-\delta/2)d(i,j))+\sum_{j\in I}\beta((1-\delta)d(j,S),(1-\delta/2)d(i,j))\ge\hat{f}. j ∈ A ∑ β ( τ j , ( 1 − δ /2 ) d ( i , j )) + j ∈ I ∑ β (( 1 − δ ) d ( j , S ) , ( 1 − δ /2 ) d ( i , j )) ≥ f ^ .
if it was opened in Stage 2 (by Definition 5.2 ). Therefore, it will suffice to bound these left-hand sides.
Also let S 0 ⊊ S 1 ⊊ ⋯ ⊊ S m = S ⋆ S_0\subsetneq S_1\subsetneq\cdots\subsetneq S_m=S^\star S 0 ⊊ S 1 ⊊ ⋯ ⊊ S m = S ⋆ with m = ∣ S ⋆ ∣ m=|S^\star| m = ∣ S ⋆ ∣ be the sets of opened facilities during the execution of the algorithm. Let s ( j ) s(j) s ( j ) be the index k k k such that S k = S ( j ) S_k=S^{(j)} S k = S ( j ) and s ( n + 1 ) = m s(n+1)=m s ( n + 1 ) = m . For 1 ≤ j ≤ n 1\le j\le n 1 ≤ j ≤ n and 0 ≤ k ≤ m − 1 0\le k\le m-1 0 ≤ k ≤ m − 1 such that s ( j ) ≤ k s(j)\le k s ( j ) ≤ k , we set
R j k = { α j ⋆ if j is active at the beginning of the atomic step in which facility S k + 1 ∖ S k is opened, ( 1 − δ ) d ( j , S k ) otherwise. R_{jk}=\begin{cases} \alpha_j^\star& \text{if } j \text{ is active at the beginning of the atomic step in which facility } S_{k+1}\setminus S_k \text{ is opened,}\\ (1-\delta)d(j,S_k) & \text{otherwise.} \end{cases} R j k = { α j ⋆ ( 1 − δ ) d ( j , S k ) if j is active at the beginning of the atomic step in which facility S k + 1 ∖ S k is opened, otherwise.
We also define R j , m = ( 1 − δ ) d ( j , S ⋆ ) R_{j,m}=(1-\delta)d(j,S^\star) R j , m = ( 1 − δ ) d ( j , S ⋆ ) for all j j j . We note that r j , k = R j , s ( k ) r_{j,k}=R_{j,s(k)} r j , k = R j , s ( k ) for all valid j , k j,k j , k . The only potential difficulty is if k k k becomes inactive in Stage 3, because then it is possible for j j j to be active w.r.t. S ( k ) S^{(k)} S ( k ) at the beginning of the atomic step in which k k k becomes inactive but for it to be inactive w.r.t. S ( k ) S^{(k)} S ( k ) at the beginning of the atomic step in which the next facility is opened. However, in this one special case, we have in fact α j ⋆ = ( 1 − δ ) d ( j , S ( k ) ) \alpha_j^\star=(1-\delta)d(j,S^{(k)}) α j ⋆ = ( 1 − δ ) d ( j , S ( k ) ) , so the difference in definitions does not matter and we still have r j , k = R j , s ( k ) r_{j,k}=R_{j,s(k)} r j , k = R j , s ( k ) .
Stage 1 Suppose that i i i is opened in Stage 1 with respect to a set of open facilities S S S and with active and inactive sets A A A and I I I , respectively. Then, if j ∈ A j\in A j ∈ A then the contribution is β ( θ , ( 1 − δ ) d ( i , j ) ) \beta(\theta,(1-\delta)d(i,j)) β ( θ , ( 1 − δ ) d ( i , j )) and if j ∈ I j\in I j ∈ I then the contribution is β ( ( 1 − δ ) d ( j , S ) , ( 1 − δ ) d ( i , j ) ) \beta((1-\delta)d(j,S),(1-\delta)d(i,j)) β (( 1 − δ ) d ( j , S ) , ( 1 − δ ) d ( i , j )) .
We note that if i i i is opened before the atomic step in which j j j becomes inactive, we have that the contribution is zero, because j j j is active after the opening of i i i and hence θ < ( 1 − δ ) d ( j , S ∪ { i } ) \theta<(1-\delta)d(j,S\cup\{i\}) θ < ( 1 − δ ) d ( j , S ∪ { i }) .
We now bound the contribution of client j j j to the opening of the facility S k + 1 ∖ S k S_{k+1}\setminus S_k S k + 1 ∖ S k , for k ≥ s ( j ) k\ge s(j) k ≥ s ( j ) , by β ( R j , k , R j , k + 1 ) \beta(R_{j,k},R_{j,k+1}) β ( R j , k , R j , k + 1 ) . This follows by the definition of R R R . Specifically, if j ∈ A j\in A j ∈ A , then R j , s ( j ) = α j ⋆ = θ R_{j,s(j)}=\alpha_j^\star=\theta R j , s ( j ) = α j ⋆ = θ because j j j must become inactive in this atomic step, matching the above. If j ∈ I j\in I j ∈ I but k = s ( j ) k=s(j) k = s ( j ) , which can happen if j j j becomes inactive in Stage 3, we have R j , s ( j ) = α j ⋆ = ( 1 − δ ) d ( j , S ) R_{j,s(j)}=\alpha_j^\star=(1-\delta)d(j,S) R j , s ( j ) = α j ⋆ = ( 1 − δ ) d ( j , S ) , again matching the above. For k > s ( j ) k>s(j) k > s ( j ) we have by definition R j , k = ( 1 − δ ) d ( j , S ) R_{j,k}=(1-\delta)d(j,S) R j , k = ( 1 − δ ) d ( j , S ) , again matching the above. Finally, for all k ≥ s ( j ) k\ge s(j) k ≥ s ( j ) , R j , k + 1 = ( 1 − δ ) d ( j , S k + 1 ) R_{j,k+1}=(1-\delta)d(j,S_{k+1}) R j , k + 1 = ( 1 − δ ) d ( j , S k + 1 ) , where d ( j , S k + 1 ) d(j,S_{k+1}) d ( j , S k + 1 ) is a lower bound on the distance from j j j to the facility, so together the above suffice to upper bound the contribution by β ( R j , k , R j , k + 1 ) \beta(R_{j,k},R_{j,k+1}) β ( R j , k , R j , k + 1 ) .
Stage 2. Suppose that i i i is opened in Stage 2 with respect to a set of open facilities S S S and with active and inactive sets A A A and I I I , respectively. If j ∈ A j \in A j ∈ A then the contribution is β ( τ j , ( 1 − δ / 2 ) d ( j , i ) ) \beta(\tau_j,(1-\delta/2)d(j,i)) β ( τ j , ( 1 − δ /2 ) d ( j , i )) and if j ∈ I j \in I j ∈ I then the contribution is β ( ( 1 − δ ) d ( j , S ) , ( 1 − δ / 2 ) d ( j , i ) ) \beta((1-\delta)d(j,S),(1-\delta/2)d(j,i)) β (( 1 − δ ) d ( j , S ) , ( 1 − δ /2 ) d ( j , i )) .
Suppose i i i is opened before the atomic step in which j j j becomes inactive. If τ j > θ \tau_j > \theta τ j > θ then d ( j , i ) ≤ ϵ θ d(j,i) \le\epsilon\theta d ( j , i ) ≤ ϵ θ and j j j in fact becomes inactive in this step, so we must have τ j = θ \tau_j = \theta τ j = θ . But then, because j j j is active after the opening of i i i , θ < ( 1 − δ ) d ( j , S ∪ { i } ) ≤ ( 1 − δ ) d ( j , i ) \theta< (1-\delta)d(j,S \cup\{i\}) \le(1-\delta)d(j,i) θ < ( 1 − δ ) d ( j , S ∪ { i }) ≤ ( 1 − δ ) d ( j , i ) , which implies that β ( τ j , ( 1 − δ / 2 ) d ( j , i ) ) = 0 \beta(\tau_j,(1-\delta/2)d(j,i)) = 0 β ( τ j , ( 1 − δ /2 ) d ( j , i )) = 0 .
We now bound the contribution of client j j j to the opening of the facility S k + 1 ∖ S k S_{k+1} \setminus S_k S k + 1 ∖ S k , for k ≥ s ( j ) k \ge s(j) k ≥ s ( j ) , by β ( R j , k , R j , k + 1 ) \beta(R_{j,k},R_{j,k+1}) β ( R j , k , R j , k + 1 ) . This follows by the definition of R R R . Specifically, if j ∈ A j \in A j ∈ A , then R j , s ( j ) = α j ∗ = τ j R_{j,s(j)} = \alpha_j^* = \tau_j R j , s ( j ) = α j ∗ = τ j because j j j must become inactive in this atomic step, matching the above. If j ∈ I j \in I j ∈ I but k = s ( j ) k = s(j) k = s ( j ) , which can happen if j j j becomes inactive in Stage 3, we have R j , s ( j ) = α j ∗ = ( 1 − δ ) d ( j , S ) R_{j,s(j)} = \alpha_j^* = (1-\delta)d(j,S) R j , s ( j ) = α j ∗ = ( 1 − δ ) d ( j , S ) , again matching the above. For k > s ( j ) k > s(j) k > s ( j ) we have by definition R j , k = ( 1 − δ ) d ( j , S ) R_{j,k} = (1-\delta)d(j,S) R j , k = ( 1 − δ ) d ( j , S ) , matching the above. Finally, for all k ≥ s ( j ) k \ge s(j) k ≥ s ( j ) , R j , k + 1 = ( 1 − δ ) d ( j , S k + 1 ) R_{j,k+1} = (1-\delta)d(j,S_{k+1}) R j , k + 1 = ( 1 − δ ) d ( j , S k + 1 ) , where ( 1 − δ ) d ( j , S k + 1 ) (1-\delta)d(j,S_{k+1}) ( 1 − δ ) d ( j , S k + 1 ) is a lower bound on ( 1 − δ / 2 ) (1-\delta/2) ( 1 − δ /2 ) times the distance from j j j to the facility, so together the above suffice to upper bound the contribution by β ( R j , k , R j , k + 1 ) \beta(R_{j,k},R_{j,k+1}) β ( R j , k , R j , k + 1 ) .
Putting things together. The above gives that the total opening costs are upper bounded by
∑ j = 1 n ∑ k = s ( j ) m − 1 β ( R j , k , R j , k + 1 ) = ∑ j = 1 n ( ∑ i = j n ∑ k = s ( i ) s ( i + 1 ) − 1 β ( R j , k , R j , k + 1 ) ) . \sum_{j=1}^{n}\sum_{k=s(j)}^{m-1}\beta(R_{j,k},R_{j,k+1})=\sum_{j=1}^{n}\left(\sum_{i=j}^{n}\sum_{k=s(i)}^{s(i+1)-1}\beta(R_{j,k},R_{j,k+1})\right). j = 1 ∑ n k = s ( j ) ∑ m − 1 β ( R j , k , R j , k + 1 ) = j = 1 ∑ n i = j ∑ n k = s ( i ) ∑ s ( i + 1 ) − 1 β ( R j , k , R j , k + 1 ) .
Then, because r j , i = R j , s ( i ) r_{j,i}=R_{j,s(i)} r j , i = R j , s ( i ) for all valid j , i j,i j , i , and because R j , k ≥ R j , k + 1 R_{j,k}\ge R_{j,k+1} R j , k ≥ R j , k + 1 for all valid j , k j,k j , k (by the same reason as in Observation 5.5), we have by the superadditivity of β \beta β that furthermore
∑ j = 1 n ( ∑ i = j n ∑ k = s ( i ) s ( i + 1 ) − 1 β ( R j , k , R j , k + 1 ) ) ≤ ∑ j = 1 n ∑ i = j n β ( r j , i , r j , i + 1 ) . \sum_{j=1}^{n}\left(\sum_{i=j}^{n}\sum_{k=s(i)}^{s(i+1)-1}\beta(R_{j,k},R_{j,k+1})\right)\le\sum_{j=1}^{n}\sum_{i=j}^{n}\beta(r_{j,i},r_{j,i+1}). j = 1 ∑ n i = j ∑ n k = s ( i ) ∑ s ( i + 1 ) − 1 β ( R j , k , R j , k + 1 ) ≤ j = 1 ∑ n i = j ∑ n β ( r j , i , r j , i + 1 ) .
Using that r j , n + 1 = ( 1 − δ ) d ( j , S ∗ ) r_{j,n+1}=(1-\delta)d(j,S^*) r j , n + 1 = ( 1 − δ ) d ( j , S ∗ ) , we also have that the connection cost satisfies d ( j , S ∗ ) = r j , n + 1 + δ d ( j , S ∗ ) d(j,S^*)=r_{j,n+1}+\delta d(j,S^*) d ( j , S ∗ ) = r j , n + 1 + δ d ( j , S ∗ ) . Then the total cost is upper bounded by
∑ j = 1 n ( ∑ i = j n β ( r j , i , r j , i + 1 ) + r j , n + 1 ) + δ ⋅ ∑ j = 1 n d ( j , S ∗ ) . \sum_{j=1}^{n}\left(\sum_{i=j}^{n}\beta(r_{j,i},r_{j,i+1})+r_{j,n+1}\right)+\delta\cdot\sum_{j=1}^{n}d(j,S^*). j = 1 ∑ n ( i = j ∑ n β ( r j , i , r j , i + 1 ) + r j , n + 1 ) + δ ⋅ j = 1 ∑ n d ( j , S ∗ ) .
Factor-Revealing Program Feasibility
In this subsection we consider some i ∗ ∈ F i^* \in F i ∗ ∈ F and a subset of clients D g o o d ∗ ⊆ D D^*_{\mathrm{good}} \subseteq D D good ∗ ⊆ D such that, for all j ∈ D g o o d ∗ j \in D^*_{\mathrm{good}} j ∈ D good ∗ , α j ∗ ≥ ρ ⋅ d ( j , i ∗ ) \alpha_j^* \ge\rho\cdot d(j,i^*) α j ∗ ≥ ρ ⋅ d ( j , i ∗ ) . Let q ( i ) = min { i ′ ∣ i ′ > i , i ′ ∈ D g o o d ∗ ∪ { n + 1 } } q(i)=\min\{i' \mid i'>i,\ i'\in D^*_{\mathrm{good}}\cup\{n+1\}\} q ( i ) = min { i ′ ∣ i ′ > i , i ′ ∈ D good ∗ ∪ { n + 1 }} . We will assume throughout that f ^ > 0 \hat{f}>0 f ^ > 0 and ρ ≥ 1.01 γ \rho\ge1.01\gamma ρ ≥ 1.01 γ .
We will show that { r j k ∣ j ≤ k , j ∈ D g o o d ∗ , k ∈ D g o o d ∗ ∪ { n + 1 } } \{r_{jk}\mid j\le k,j\in D^*_{\mathrm{good}},k\in D^*_{\mathrm{good}}\cup\{n+1\}\} { r j k ∣ j ≤ k , j ∈ D good ∗ , k ∈ D good ∗ ∪ { n + 1 }} , { d ( j , i ∗ ) ∣ j ∈ D g o o d ∗ } \{d(j,i^*)\mid j\in D^*_{\mathrm{good}}\} { d ( j , i ∗ ) ∣ j ∈ D good ∗ } , f ^ \hat{f} f ^ is feasible for the factor revealing program in Definition 4.1, except for the normalization constraint (4).
First we will prove that the facility constraints (8) hold.
Lemma 5.11. Consider the central facility i ∗ i^* i ∗ and let k ∈ D g o o d ∗ k\in D^*_{\mathrm{good}} k ∈ D good ∗ . Then,
∑ j ≥ k j ∈ D g o o d ∗ β ( α k ∗ , d ( i ∗ , j ) ) + ∑ j < k j ∈ D g o o d ∗ β ( r j k , d ( i ∗ , j ) ) ≤ f ^ . \sum_{\substack{j\ge k\\j\in D^*_{\mathrm{good}}}}\beta(\alpha_k^*,d(i^*,j))+\sum_{\substack{j<k\\j\in D^*_{\mathrm{good}}}}\beta(r_{jk},d(i^*,j))\le\hat{f}. j ≥ k j ∈ D good ∗ ∑ β ( α k ∗ , d ( i ∗ , j )) + j < k j ∈ D good ∗ ∑ β ( r j k , d ( i ∗ , j )) ≤ f ^ .
Proof. Consider the phase when k k k goes inactive. k k k goes inactive either in Stage 1, Stage 2 or Stage 3.
Stage 1 Consider the state ( S = S ( k ) , A , θ ) (S=S^{(k)},A,\theta) ( S = S ( k ) , A , θ ) of the algorithm just before the atomic step in which k k k becomes inactive. If k k k goes inactive in stage 1 then α k ∗ = θ \alpha_k^*=\theta α k ∗ = θ and by Lemma 5.7,
f ^ ≥ ∑ j ∈ A β ( θ , d ( i ∗ , j ) ) + ∑ j ∈ I β ( ( 1 − δ ) d ( j , S ) , d ( i ∗ , j ) ) = ∑ j ≥ k β ( α k ∗ , d ( i ∗ , j ) ) + ∑ j < k β ( r j k , d ( i ∗ , j ) ) ≥ ∑ j ≥ k j ∈ D g o o d ⋆ β ( α k ⋆ , d ( i ⋆ , j ) ) + ∑ j < k j ∈ D g o o d ⋆ β ( r j k , d ( i ⋆ , j ) ) , \begin{aligned}
\hat{f}\ge\sum_{j\in A}\beta(\theta,d(i^*,j))+\sum_{j\in I}\beta((1-\delta)d(j,S),d(i^*,j)) \\
&=\sum_{j\ge k}\beta(\alpha_k^*,d(i^*,j))+\sum_{j<k}\beta(r_{jk},d(i^*,j)) \\
&\ge\sum_{\substack{j\ge k\\ j\in D^{\star}_{\mathrm{good}}}} \beta(\alpha^{\star}_{k},d(i^{\star},j))+\sum_{\substack{j<k\\ j\in D^{\star}_{\mathrm{good}}}} \beta(r_{jk},d(i^{\star},j)),
\end{aligned} f ^ ≥ j ∈ A ∑ β ( θ , d ( i ∗ , j )) + j ∈ I ∑ β (( 1 − δ ) d ( j , S ) , d ( i ∗ , j )) = j ≥ k ∑ β ( α k ∗ , d ( i ∗ , j )) + j < k ∑ β ( r j k , d ( i ∗ , j )) ≥ j ≥ k j ∈ D good ⋆ ∑ β ( α k ⋆ , d ( i ⋆ , j )) + j < k j ∈ D good ⋆ ∑ β ( r j k , d ( i ⋆ , j )) ,
where we use that if j < k j<k j < k but j ∈ A j\in A j ∈ A then we have r j k = α j ⋆ = θ r_{jk}=\alpha^{\star}_{j}=\theta r j k = α j ⋆ = θ .
Stage 2 Again, consider the state ( S ( k ) , A , θ ) (S^{(k)},A,\theta) ( S ( k ) , A , θ ) of the algorithm just before the atomic step in which k k k becomes inactive.
The case α k ⋆ = θ \alpha^{\star}_{k}=\theta α k ⋆ = θ is easy: Note that r j k = α j ⋆ = θ r_{jk}=\alpha^{\star}_{j}=\theta r j k = α j ⋆ = θ for all j < k j<k j < k with j ∈ A j\in A j ∈ A , as α j ⋆ ≥ θ \alpha^{\star}_{j}\ge\theta α j ⋆ ≥ θ and α j ⋆ ≤ α k ⋆ \alpha^{\star}_{j}\le\alpha^{\star}_{k} α j ⋆ ≤ α k ⋆ (because if j < k j<k j < k and j ∈ A j\in A j ∈ A then j j j must become inactive in the same atomic step as k k k ). Then by Lemma 5.7 ,
f ^ ≥ ∑ j ∈ A β ( θ , d ( i ⋆ , j ) ) + ∑ j ∈ I β ( ( 1 − δ ) d ( j , S ) , d ( i ⋆ , j ) ) = ∑ j ≥ k β ( α k ⋆ , d ( i ⋆ , j ) ) + ∑ j < k β ( r j k , d ( i ⋆ , j ) ) ≥ ∑ j ≥ k j ∈ D g o o d ⋆ β ( α k ⋆ , d ( i ⋆ , j ) ) + ∑ j < k j ∈ D g o o d ⋆ β ( r j k , d ( i ⋆ , j ) ) . \begin{aligned}
\hat{f}\ge\sum_{j\in A}\beta(\theta,d(i^{\star},j))+\sum_{j\in I}\beta((1-\delta)d(j,S),d(i^{\star},j)) \\
&=\sum_{j\ge k}\beta(\alpha^{\star}_{k},d(i^{\star},j))+\sum_{j<k}\beta(r_{jk},d(i^{\star},j)) \\
&\ge\sum_{\substack{j\ge k\\ j\in D^{\star}_{\mathrm{good}}}}\beta(\alpha^{\star}_{k},d(i^{\star},j))+\sum_{\substack{j<k\\ j\in D^{\star}_{\mathrm{good}}}}\beta(r_{jk},d(i^{\star},j)).
\end{aligned} f ^ ≥ j ∈ A ∑ β ( θ , d ( i ⋆ , j )) + j ∈ I ∑ β (( 1 − δ ) d ( j , S ) , d ( i ⋆ , j )) = j ≥ k ∑ β ( α k ⋆ , d ( i ⋆ , j )) + j < k ∑ β ( r j k , d ( i ⋆ , j )) ≥ j ≥ k j ∈ D good ⋆ ∑ β ( α k ⋆ , d ( i ⋆ , j )) + j < k j ∈ D good ⋆ ∑ β ( r j k , d ( i ⋆ , j )) .
where we use that if j < k j<k j < k but j ∈ A j\in A j ∈ A then we have r j k = α j ⋆ = θ r_{jk}=\alpha^{\star}_{j}=\theta r j k = α j ⋆ = θ .
Else, α k ⋆ > θ \alpha^{\star}_{k}>\theta α k ⋆ > θ . Assume for contradiction,
∑ j ≥ k j ∈ D g o o d ⋆ β ( α k ⋆ , d ( i ⋆ , j ) ) + ∑ j < k j ∈ D g o o d ⋆ β ( r j k , d ( i ⋆ , j ) ) > f ^ . \sum_{\substack{j\ge k\\ j\in D^{\star}_{\mathrm{good}}}}\beta(\alpha^{\star}_{k},d(i^{\star},j))+\sum_{\substack{j<k\\ j\in D^{\star}_{\mathrm{good}}}}\beta(r_{jk},d(i^{\star},j))>\hat{f}. j ≥ k j ∈ D good ⋆ ∑ β ( α k ⋆ , d ( i ⋆ , j )) + j < k j ∈ D good ⋆ ∑ β ( r j k , d ( i ⋆ , j )) > f ^ .
Observe that α k ⋆ ≤ ( 1 + ε 2 ) θ \alpha^{\star}_{k}\le(1+\varepsilon^{2})\theta α k ⋆ ≤ ( 1 + ε 2 ) θ . Moreover, for j < k j<k j < k and j ∈ A j\in A j ∈ A we have r j k = α j ⋆ ≤ ( 1 + ε 2 ) θ r_{jk}=\alpha^{\star}_{j}\le(1+\varepsilon^{2})\theta r j k = α j ⋆ ≤ ( 1 + ε 2 ) θ . Then, i ⋆ i^{\star} i ⋆ is a candidate in Stage 2 since
∑ j ∈ A β ( ( 1 + ε 2 ) θ , ( 1 − δ / 2 ) d ( i ⋆ , j ) ) + ∑ j ∈ I β ( ( 1 − δ ) d ( j , S ( k ) ) , ( 1 − δ / 2 ) d ( i ⋆ , j ) ) ≥ ∑ j ≥ k β ( α k ⋆ , d ( i ⋆ , j ) ) + ∑ j < k β ( r j k , d ( i ⋆ , j ) ) ≥ ∑ j ≥ k j ∈ D g o o d ⋆ β ( α k ⋆ , d ( i ⋆ , j ) ) + ∑ j < k j ∈ D g o o d ⋆ β ( r j k , d ( i ⋆ , j ) ) > f ^ . \begin{aligned}
\sum_{j\in A}\beta((1+\varepsilon^{2})\theta,(1-\delta/2)d(i^{\star},j))+\sum_{j\in I}\beta((1-\delta)d(j,S^{(k)}),(1-\delta/2)d(i^{\star},j)) \\
&\ge\sum_{j\ge k}\beta(\alpha^{\star}_{k},d(i^{\star},j))+\sum_{j<k}\beta(r_{jk},d(i^{\star},j)) \\
&\ge\sum_{\substack{j\ge k\\ j\in D^{\star}_{\mathrm{good}}}}\beta(\alpha^{\star}_{k},d(i^{\star},j))+\sum_{\substack{j<k\\ j\in D^{\star}_{\mathrm{good}}}}\beta(r_{jk},d(i^{\star},j))>\hat{f}.
\end{aligned} j ∈ A ∑ β (( 1 + ε 2 ) θ , ( 1 − δ /2 ) d ( i ⋆ , j )) + j ∈ I ∑ β (( 1 − δ ) d ( j , S ( k ) ) , ( 1 − δ /2 ) d ( i ⋆ , j )) ≥ j ≥ k ∑ β ( α k ⋆ , d ( i ⋆ , j )) + j < k ∑ β ( r j k , d ( i ⋆ , j )) ≥ j ≥ k j ∈ D good ⋆ ∑ β ( α k ⋆ , d ( i ⋆ , j )) + j < k j ∈ D good ⋆ ∑ β ( r j k , d ( i ⋆ , j )) > f ^ .
Here, the first inequality holds by the monotonicity of β \beta β . So k ∈ D g o o d ⋆ k\in D^{\star}_{\mathrm{good}} k ∈ D good ⋆ becomes inactive in Stage 2 while i ⋆ i^{\star} i ⋆ is a candidate. Thus, by Lemma 5.9 we know that all clients in A ∩ D g o o d ⋆ A\cap D^{\star}_{\mathrm{good}} A ∩ D good ⋆ become inactive in the same atomic step as k k k and α j ⋆ = τ j \alpha^{\star}_{j}=\tau_{j} α j ⋆ = τ j for all j ∈ A ∩ D g o o d ⋆ j\in A\cap D^{\star}_{\mathrm{good}} j ∈ A ∩ D good ⋆ . In particular, by property (iv) in 2-openable,
f ^ ≥ ∑ j ∈ A β ( τ j , d ( i ⋆ , j ) ) + ∑ j ∈ I β ( ( 1 − δ ) d ( j , S ( k ) ) , d ( i ⋆ , j ) ) ≥ ∑ j ∈ A ∩ D g o o d ⋆ β ( α j ⋆ , d ( i ⋆ , j ) ) + ∑ j ∈ I ∩ D g o o d ⋆ β ( ( 1 − δ ) d ( j , S ( k ) ) , d ( i ⋆ , j ) ) ≥ ∑ j ≥ k j ∈ D g o o d ⋆ β ( α k ⋆ , d ( i ⋆ , j ) ) + ∑ j < k j ∈ D g o o d ⋆ β ( r j k , d ( i ⋆ , j ) ) . \begin{aligned}
\hat{f}\ge\sum_{j\in A}\beta(\tau_{j},d(i^{\star},j))+\sum_{j\in I}\beta((1-\delta)d(j,S^{(k)}),d(i^{\star},j)) \\
&\ge\sum_{j\in A\cap D^{\star}_{\mathrm{good}}}\beta(\alpha^{\star}_{j},d(i^{\star},j))+\sum_{j\in I\cap D^{\star}_{\mathrm{good}}}\beta((1-\delta)d(j,S^{(k)}),d(i^{\star},j)) \\
&\ge\sum_{\substack{j\ge k\\ j\in D^{\star}_{\mathrm{good}}}}\beta(\alpha^{\star}_{k},d(i^{\star},j))+\sum_{\substack{j<k\\ j\in D^{\star}_{\mathrm{good}}}}\beta(r_{jk},d(i^{\star},j)).
\end{aligned} f ^ ≥ j ∈ A ∑ β ( τ j , d ( i ⋆ , j )) + j ∈ I ∑ β (( 1 − δ ) d ( j , S ( k ) ) , d ( i ⋆ , j )) ≥ j ∈ A ∩ D good ⋆ ∑ β ( α j ⋆ , d ( i ⋆ , j )) + j ∈ I ∩ D good ⋆ ∑ β (( 1 − δ ) d ( j , S ( k ) ) , d ( i ⋆ , j )) ≥ j ≥ k j ∈ D good ⋆ ∑ β ( α k ⋆ , d ( i ⋆ , j )) + j < k j ∈ D good ⋆ ∑ β ( r j k , d ( i ⋆ , j )) .
For the last inequality we used that β \beta β is monotone together with α j ⋆ ≥ α k ⋆ \alpha^{\star}_{j}\ge\alpha^{\star}_{k} α j ⋆ ≥ α k ⋆ for all j ≥ k j\ge k j ≥ k , j ∈ A j\in A j ∈ A since both k k k and j j j become inactive in the same atomic step and are hence ordered by α ⋆ \alpha^{\star} α ⋆ . Moreover, for j < k j<k j < k , we set r j k = α j ⋆ r_{jk}=\alpha^{\star}_{j} r j k = α j ⋆ if j ∈ A j\in A j ∈ A and r j k = ( 1 − δ ) d ( j , S ( k ) ) r_{jk}=(1-\delta)d(j,S^{(k)}) r j k = ( 1 − δ ) d ( j , S ( k ) ) if j ∈ I j\in I j ∈ I .
Stage 3 In this case k k k goes inactive when we increase the α \alpha α -values in Stage 3. Let ( S , A , θ ) (S,A,\theta) ( S , A , θ ) be the state of the algorithm at the end of Stage 3. By Lemma 5.7 ,
f ^ ≥ ∑ j ∈ A β ( θ , d ( i ⋆ , j ) ) + ∑ j ∈ I β ( ( 1 − δ ) d ( j , S ) , d ( i ⋆ , j ) ) ≥ ∑ j ≥ k j ∈ D g o o d ⋆ β ( α k ⋆ , d ( i ⋆ , j ) ) + ∑ j < k j ∈ D g o o d ⋆ β ( r j k , d ( i ⋆ , j ) ) . \hat{f}\ge\sum_{j\in A}\beta(\theta,d(i^{\star},j))+\sum_{j\in I}\beta((1-\delta)d(j,S),d(i^{\star},j))
\ge\sum_{\substack{j\ge k\\ j\in D^{\star}_{\mathrm{good}}}}\beta(\alpha^{\star}_{k},d(i^{\star},j))+\sum_{\substack{j<k\\ j\in D^{\star}_{\mathrm{good}}}}\beta(r_{jk},d(i^{\star},j)). f ^ ≥ j ∈ A ∑ β ( θ , d ( i ⋆ , j )) + j ∈ I ∑ β (( 1 − δ ) d ( j , S ) , d ( i ⋆ , j )) ≥ j ≥ k j ∈ D good ⋆ ∑ β ( α k ⋆ , d ( i ⋆ , j )) + j < k j ∈ D good ⋆ ∑ β ( r j k , d ( i ⋆ , j )) .
Let us verify that the last inequality holds. First consider some j ≥ k j \ge k j ≥ k . For j ∈ A j \in A j ∈ A note that θ ≥ α k ∗ \theta\ge\alpha_k^* θ ≥ α k ∗ . Otherwise, j ∈ I j \in I j ∈ I and j j j became inactive in Stage 3 as well. In that case ( 1 − δ ) d ( j , S ) = α j ∗ ≥ α k ∗ (1-\delta)d(j,S)=\alpha_j^* \ge\alpha_k^* ( 1 − δ ) d ( j , S ) = α j ∗ ≥ α k ∗ because j j j and k k k become inactive in the same atomic step and are hence ordered by α ∗ \alpha^* α ∗ . Thus, we can use the monotonicity of β \beta β . Next, if j < k j<k j < k then j ∈ I j \in I j ∈ I since k ∈ I k \in I k ∈ I . If j j j became inactive in the same atomic step as k k k , we have r j k = α j ∗ = ( 1 − δ ) d ( j , S ) r_{jk}=\alpha_j^*=(1-\delta)d(j,S) r j k = α j ∗ = ( 1 − δ ) d ( j , S ) . Else, by definition r j k = ( 1 − δ ) d ( j , S ) r_{jk}=(1-\delta)d(j,S) r j k = ( 1 − δ ) d ( j , S ) . Here, S = S ( k ) S=S^{(k)} S = S ( k ) since we do not open any new facilities in Stage 3.
Lemma 5.12
Lemma 5.12. For all $1 \le j \le k \le n$ we have r j k ≥ r j ( k + 1 ) r_{jk} \ge r_{j(k+1)} r j k ≥ r j ( k + 1 ) .
Proof. We consider different cases depending on when j j j becomes inactive. First, consider the case where j j j becomes inactive strictly before k k k . Then r j k = ( 1 − δ ) d ( j , S ( k ) ) ≥ ( 1 − δ ) d ( j , S ( k + 1 ) ) = r j ( k + 1 ) r_{jk}=(1-\delta)d(j,S^{(k)}) \ge(1-\delta)d(j,S^{(k+1)})=r_{j(k+1)} r j k = ( 1 − δ ) d ( j , S ( k ) ) ≥ ( 1 − δ ) d ( j , S ( k + 1 ) ) = r j ( k + 1 ) since d ( j , S ) d(j,S) d ( j , S ) is monotonically decreasing with S S S and S ( k ) ⊆ S ( k + 1 ) S^{(k)} \subseteq S^{(k+1)} S ( k ) ⊆ S ( k + 1 ) . Next, consider the case where j j j becomes inactive together with k k k but strictly before k + 1 k+1 k + 1 then r j k = α j ∗ ≥ ( 1 − δ ) d ( j , S ( k + 1 ) ) = r j ( k + 1 ) r_{jk}=\alpha_j^* \ge(1-\delta)d(j,S^{(k+1)})=r_{j(k+1)} r j k = α j ∗ ≥ ( 1 − δ ) d ( j , S ( k + 1 ) ) = r j ( k + 1 ) . In the remaining case when j j j , k k k and k + 1 k+1 k + 1 become inactive at the same time we have r j k = r j ( k + 1 ) = α j ∗ r_{jk}=r_{j(k+1)}=\alpha_j^* r j k = r j ( k + 1 ) = α j ∗ .
Lemma 5.13
Lemma 5.13. For all 1 ≤ j < k ≤ n 1 \le j<k \le n 1 ≤ j < k ≤ n we have α k ∗ ≤ r j k + d j + d k \alpha_k^* \le r_{jk}+d_j+d_k α k ∗ ≤ r j k + d j + d k .
Proof. First, consider the case when client j j j becomes inactive strictly before client k k k . Then r j k = ( 1 − δ ) d ( j , S ( k ) ) = ( 1 − δ ) d ( j , i 0 ) r_{jk}=(1-\delta)d(j,S^{(k)})=(1-\delta)d(j,i_0) r j k = ( 1 − δ ) d ( j , S ( k ) ) = ( 1 − δ ) d ( j , i 0 ) for some facility i 0 ∈ S ( k ) i_0 \in S^{(k)} i 0 ∈ S ( k ) . The client k k k becomes inactive either in Stage 1 with α k ∗ = θ ≤ ( 1 − δ ) d ( k , S ( k ) ) ≤ ( 1 − δ ) d ( k , i 0 ) \alpha_k^*=\theta\le(1-\delta)d(k,S^{(k)}) \le(1-\delta)d(k,i_0) α k ∗ = θ ≤ ( 1 − δ ) d ( k , S ( k ) ) ≤ ( 1 − δ ) d ( k , i 0 ) , in Stage 2 with α k ∗ = τ k ≤ ( 1 − δ ) d ( k , S ( k ) ) ≤ ( 1 − δ ) d ( k , i 0 ) \alpha_k^*=\tau_k \le(1-\delta)d(k,S^{(k)}) \le(1-\delta)d(k,i_0) α k ∗ = τ k ≤ ( 1 − δ ) d ( k , S ( k ) ) ≤ ( 1 − δ ) d ( k , i 0 ) or in Stage 3 with α k ∗ = ( 1 − δ ) d ( k , S ) ≤ ( 1 − δ ) d ( k , i 0 ) \alpha_k^*=(1-\delta)d(k,S) \le(1-\delta)d(k,i_0) α k ∗ = ( 1 − δ ) d ( k , S ) ≤ ( 1 − δ ) d ( k , i 0 ) . Then, by triangle inequality,
α k ∗ ≤ ( 1 − δ ) d ( k , i 0 ) ≤ ( 1 − δ ) ( d ( k , i ∗ ) + d ( i ∗ , j ) + d ( j , i 0 ) ) ≤ r j k + d j + d k . \alpha_k^* \le(1-\delta)d(k,i_0) \le(1-\delta)(d(k,i^*)+d(i^*,j)+d(j,i_0)) \le r_{jk}+d_j+d_k . α k ∗ ≤ ( 1 − δ ) d ( k , i 0 ) ≤ ( 1 − δ ) ( d ( k , i ∗ ) + d ( i ∗ , j ) + d ( j , i 0 )) ≤ r j k + d j + d k .
In the remaining case k k k and j j j become inactive at the same time and r j k = α j ∗ r_{jk}=\alpha_j^* r j k = α j ∗ . If k k k and j j j become inactive in Stage 1 then α k ∗ = α j ∗ = θ \alpha_k^*=\alpha_j^*=\theta α k ∗ = α j ∗ = θ . If k k k and j j j become inactive in Stage 2 then α k ∗ ≤ α j ∗ + d ( k , j ) ≤ α j ∗ + d k + d j \alpha_k^* \le\alpha_j^*+d(k,j) \le\alpha_j^*+d_k+d_j α k ∗ ≤ α j ∗ + d ( k , j ) ≤ α j ∗ + d k + d j by condition (v) in Definition 5.2. Otherwise k k k and j j j become inactive in Stage 3 and
α k ∗ = ( 1 − δ ) d ( k , S ( k ) ) ≤ ( 1 − δ ) d ( k , i 0 ) ≤ ( 1 − δ ) ( d ( k , i ∗ ) + d ( i ∗ , j ) + d ( j , i 0 ) ) ≤ α j ∗ + d k + d j \alpha_k^*=(1-\delta)d(k,S^{(k)}) \le(1-\delta)d(k,i_0) \le(1-\delta)(d(k,i^*)+d(i^*,j)+d(j,i_0)) \le\alpha_j^*+d_k+d_j α k ∗ = ( 1 − δ ) d ( k , S ( k ) ) ≤ ( 1 − δ ) d ( k , i 0 ) ≤ ( 1 − δ ) ( d ( k , i ∗ ) + d ( i ∗ , j ) + d ( j , i 0 )) ≤ α j ∗ + d k + d j
where i 0 i_0 i 0 is the facility that j j j connects to, α j ∗ = ( 1 − δ ) d ( j , S ( k ) ) = ( 1 − δ ) d ( j , i 0 ) \alpha_j^*=(1-\delta)d(j,S^{(k)})=(1-\delta)d(j,i_0) α j ∗ = ( 1 − δ ) d ( j , S ( k ) ) = ( 1 − δ ) d ( j , i 0 ) .
Lemma 5.14
Lemma 5.14. For all 1 ≤ j , ℓ < k ≤ n + 1 1 \le j,\ell<k \le n+1 1 ≤ j , ℓ < k ≤ n + 1 we have r j k ≤ r ℓ k + d j + d ℓ r_{jk} \le r_{\ell k}+d_j+d_\ell r j k ≤ r ℓ k + d j + d ℓ .
Proof. First, consider the case where j j j becomes inactive strictly before k k k . Then r j k = ( 1 − δ ) d ( j , S ( k ) ) = ( 1 − δ ) d ( j , i 1 ) r_{jk}=(1-\delta)d(j,S^{(k)})=(1-\delta)d(j,i_1) r j k = ( 1 − δ ) d ( j , S ( k ) ) = ( 1 − δ ) d ( j , i 1 ) for some open facility i 1 ∈ S ( k ) i_1 \in S^{(k)} i 1 ∈ S ( k ) . If ℓ \ell ℓ becomes inactive strictly before k k k , then r ℓ k = ( 1 − δ ) d ( ℓ , S ( k ) ) = ( 1 − δ ) d ( ℓ , i 2 ) r_{\ell k}=(1-\delta)d(\ell,S^{(k)})=(1-\delta)d(\ell,i_2) r ℓ k = ( 1 − δ ) d ( ℓ , S ( k ) ) = ( 1 − δ ) d ( ℓ , i 2 ) for some open facility i 2 ∈ S ( k ) i_2 \in S^{(k)} i 2 ∈ S ( k ) , and because i 1 i_1 i 1 minimizes ( 1 − δ ) d ( j , S ( k ) ) (1-\delta)d(j,S^{(k)}) ( 1 − δ ) d ( j , S ( k ) ) ,
r j k = ( 1 − δ ) d ( j , i 1 ) ≤ ( 1 − δ ) d ( j , i 2 ) ≤ ( 1 − δ ) ( d ( j , i ∗ ) + d ( i ∗ , ℓ ) + d ( ℓ , i 2 ) ) ≤ r ℓ k + d j + d ℓ . r_{jk}=(1-\delta)d(j,i_1) \le(1-\delta)d(j,i_2) \le(1-\delta)(d(j,i^*)+d(i^*,\ell)+d(\ell,i_2)) \le r_{\ell k}+d_j+d_\ell. r j k = ( 1 − δ ) d ( j , i 1 ) ≤ ( 1 − δ ) d ( j , i 2 ) ≤ ( 1 − δ ) ( d ( j , i ∗ ) + d ( i ∗ , ℓ ) + d ( ℓ , i 2 )) ≤ r ℓ k + d j + d ℓ .
Now if ℓ \ell ℓ becomes inactive with k k k then r ℓ k = α ℓ ∗ r_{\ell k}=\alpha_\ell^* r ℓ k = α ℓ ∗ . Assume j j j becomes inactive in Stage 2 when opening a facility i 0 i_0 i 0 with bids ( τ j ) j ∈ A (\tau_j)_{j\in A} ( τ j ) j ∈ A . By (v) in Definition 5.2 we have
r j k = ( 1 − δ ) d ( j , S ( k ) ) ≤ ( 1 − δ ) d ( j , i 0 ) ≤ τ j ≤ τ ℓ + d ( j , ℓ ) ≤ α ℓ ∗ + d j + d ℓ , r_{jk}=(1-\delta)d(j,S^{(k)}) \le(1-\delta)d(j,i_0) \le\tau_j \le\tau_\ell+d(j,\ell) \le\alpha_\ell^*+d_j+d_\ell, r j k = ( 1 − δ ) d ( j , S ( k ) ) ≤ ( 1 − δ ) d ( j , i 0 ) ≤ τ j ≤ τ ℓ + d ( j , ℓ ) ≤ α ℓ ∗ + d j + d ℓ ,
where ( 1 − δ ) d ( j , i 0 ) ≤ τ j (1-\delta)d(j,i_0) \le\tau_j ( 1 − δ ) d ( j , i 0 ) ≤ τ j because if τ j > θ \tau_j>\theta τ j > θ then we must have d ( j , i 0 ) ≤ ϵ θ d(j,i_0)\le\epsilon\theta d ( j , i 0 ) ≤ ϵ θ and if τ j = θ \tau_j=\theta τ j = θ then we must have ( 1 − δ ) d ( j , i 0 ) ≤ 0 (1-\delta)d(j,i_0)\le0 ( 1 − δ ) d ( j , i 0 ) ≤ 0 because j j j was active but became inactive after i 0 i_0 i 0 was opened.
Otherwise j j j becomes inactive in Stage 1 or Stage 3 and
r j k = ( 1 − δ ) d ( j , S ( k ) ) ≤ α j ∗ ≤ α ℓ ∗ = r ℓ k r_{jk}=(1-\delta)d(j,S^{(k)}) \le\alpha_j^* \le\alpha_\ell^*=r_{\ell k} r j k = ( 1 − δ ) d ( j , S ( k ) ) ≤ α j ∗ ≤ α ℓ ∗ = r ℓ k
since ℓ \ell ℓ becomes inactive strictly after j j j : this implies that in Stage 1 α j ∗ \alpha_j^* α j ∗ is equal to the θ \theta θ at that stage and in Stage 3 α j ∗ \alpha_j^* α j ∗ is equal to at most ( 1 + ϵ 2 ) θ (1+\epsilon^2)\theta ( 1 + ϵ 2 ) θ for the θ \theta θ at that stage, but then α ℓ ∗ \alpha_\ell^* α ℓ ∗ is in both cases at least as large.
Next, consider the case where j j j becomes inactive with k k k . Then r j k = α j ∗ r_{jk}=\alpha_j^* r j k = α j ∗ . If ℓ ≥ j \ell\ge j ℓ ≥ j then j j j , ℓ \ell ℓ and k k k become inactive in the same atomic step and r ℓ k = α ℓ ∗ r_{\ell k}=\alpha_\ell^* r ℓ k = α ℓ ∗ . By the ordering of α ∗ \alpha^* α ∗ we know that
r j k = α j ∗ ≤ α ℓ ∗ = r ℓ k . r_{jk}=\alpha_j^* \le\alpha_\ell^*=r_{\ell k}. r j k = α j ∗ ≤ α ℓ ∗ = r ℓ k .
Thus, we can assume that ℓ < j \ell<j ℓ < j . Observe that r ℓ k = r ℓ j r_{\ell k}=r_{\ell j} r ℓ k = r ℓ j since k k k and j j j become inactive in the same atomic step. Notice that now the proof follows from Lemma 5.13 as r j k = α j ∗ r_{jk}=\alpha_j^* r j k = α j ∗ and r ℓ k = r ℓ j r_{\ell k}=r_{\ell j} r ℓ k = r ℓ j .
Finally, if k = n + 1 k=n+1 k = n + 1 , we have r j k = ( 1 − δ ) d ( j , S ∗ ) r_{jk}=(1-\delta)d(j,S^*) r j k = ( 1 − δ ) d ( j , S ∗ ) and r ℓ k = ( 1 − δ ) d ( ℓ , S ∗ ) r_{\ell k}=(1-\delta)d(\ell,S^*) r ℓ k = ( 1 − δ ) d ( ℓ , S ∗ ) , and then
r j k ≤ ( 1 − δ ) ( d ( j , i ∗ ) + d ( ℓ , i ∗ ) + d ( ℓ , S ∗ ) ) ≤ r ℓ k + d j + d ℓ . r_{jk}\le(1-\delta)(d(j,i^*)+d(\ell,i^*)+d(\ell,S^*)) \le r_{\ell k}+d_j+d_\ell. r j k ≤ ( 1 − δ ) ( d ( j , i ∗ ) + d ( ℓ , i ∗ ) + d ( ℓ , S ∗ )) ≤ r ℓ k + d j + d ℓ .
Proof of Theorem 5.4
Before we prove the theorem, we will need the following gluing result that bounds the cost of the algorithm in terms of the upper bound on the factor-revealing program.
Lemma 5.15. Let ρ ≥ 1.01 γ \rho\ge1.01\gamma ρ ≥ 1.01 γ be an upper bound on the optimal value of the factor-revealing program in Definition 4.1. For some i ⋆ ∈ F i^\star\in\mathbb{F} i ⋆ ∈ F , consider any subset of clients D g o o d ⋆ ⊆ D D^\star_{\mathrm{good}} \subseteq D D good ⋆ ⊆ D such that, for all j ∈ D g o o d ⋆ j \in D^\star_{\mathrm{good}} j ∈ D good ⋆ , α j ⋆ ≥ ρ ⋅ d ( j , i ⋆ ) \alpha^\star_j \ge\rho\cdot d(j,i^\star) α j ⋆ ≥ ρ ⋅ d ( j , i ⋆ ) . Then
∑ j ∈ D g o o d ⋆ ( ∑ i = j n β ( r j , i , r j , i + 1 ) + r j , n + 1 ) ≤ f ^ + ρ ⋅ ∑ j ∈ D g o o d ⋆ d ( j , i ⋆ ) . \sum_{j\in D^\star_{\mathrm{good}}}\left(\sum_{i=j}^{n}\beta(r_{j,i},r_{j,i+1})+r_{j,n+1}\right)\le\widehat{f}+\rho\cdot\sum_{j\in D^\star_{\mathrm{good}}}d(j,i^\star). j ∈ D good ⋆ ∑ ( i = j ∑ n β ( r j , i , r j , i + 1 ) + r j , n + 1 ) ≤ f + ρ ⋅ j ∈ D good ⋆ ∑ d ( j , i ⋆ ) .
Proof. If D g o o d ⋆ = ∅ D^\star_{\mathrm{good}}=\emptyset D good ⋆ = ∅ , the claim is trivial, so assume D g o o d ⋆ ≠ ∅ D^\star_{\mathrm{good}}\ne\emptyset D good ⋆ = ∅ . We know that the variables { r j k ∣ j ≤ k , j ∈ D g o o d ⋆ , k ∈ D g o o d ⋆ ∪ { n + 1 } } \{r_{jk}\mid j\le k,j\in D^\star_{\mathrm{good}},k\in D^\star_{\mathrm{good}}\cup\{n+1\}\} { r j k ∣ j ≤ k , j ∈ D good ⋆ , k ∈ D good ⋆ ∪ { n + 1 }} , { d ( j , i ⋆ ) ∣ j ∈ D g o o d ⋆ } \{d(j,i^\star)\mid j\in D^\star_{\mathrm{good}}\} { d ( j , i ⋆ ) ∣ j ∈ D good ⋆ } , f ^ \widehat{f} f (see Section 5.4), with the clients reindexed to 1 , … , ∣ D g o o d ⋆ ∣ 1,\ldots,|D^\star_{\mathrm{good}}| 1 , … , ∣ D good ⋆ ∣ in the same order as the original indices and n + 1 n+1 n + 1 reindexed to ∣ D g o o d ⋆ ∣ + 1 |D^\star_{\mathrm{good}}|+1 ∣ D good ⋆ ∣ + 1 , satisfy the constraints of the factor-revealing program in Definition 4.1 (note that we identify r j j = α j ⋆ r_{jj}=\alpha^\star_j r j j = α j ⋆ ), except for the normalization constraint (4) : this follows by Lemma 5.11, Lemma 5.12, Lemma 5.13, Lemma 5.14, and because all these variables are non-negative.
Let d s u m = ∑ j ∈ D g o o d ⋆ d ( j , i ⋆ ) d_{\mathrm{sum}}=\sum_{j\in D^\star_{\mathrm{good}}}d(j,i^\star) d sum = ∑ j ∈ D good ⋆ d ( j , i ⋆ ) , which we know is strictly positive because d ( j , i ) ≥ 1 d(j,i)\ge1 d ( j , i ) ≥ 1 for all j ∈ D j\in D j ∈ D , i ∈ F i\in\mathbb{F} i ∈ F by assumption (2) . Then, because the factor-revealing program is scale-invariant (except for the normalization constraint), it follows that { r j k / d s u m ∣ j ≤ k , j ∈ D g o o d ⋆ , k ∈ D g o o d ⋆ ∪ { n + 1 } } \{r_{jk}/d_{\mathrm{sum}}\mid j\le k,j\in D^\star_{\mathrm{good}},k\in D^\star_{\mathrm{good}}\cup\{n+1\}\} { r j k / d sum ∣ j ≤ k , j ∈ D good ⋆ , k ∈ D good ⋆ ∪ { n + 1 }} , { d ( j , i ⋆ ) / d s u m ∣ j ∈ D g o o d ⋆ } \{d(j,i^\star)/d_{\mathrm{sum}}\mid j\in D^\star_{\mathrm{good}}\} { d ( j , i ⋆ ) / d sum ∣ j ∈ D good ⋆ } , f ^ / d s u m \widehat{f}/d_{\mathrm{sum}} f / d sum satisfy all the constraints of the factor-revealing program in Definition 4.1.
Let q ( i ) = min { i ′ ∣ i ′ > i , i ′ ∈ D g o o d ⋆ ∪ { n + 1 } } q(i)=\min\{i'\mid i'>i,i'\in D^\star_{\mathrm{good}}\cup\{n+1\}\} q ( i ) = min { i ′ ∣ i ′ > i , i ′ ∈ D good ⋆ ∪ { n + 1 }} . Then the upper bound ρ \rho ρ on the value of the factor revealing program implies that
∑ j ∈ D g o o d ⋆ ( ∑ i ∈ D g o o d ⋆ i ≥ j β ( r j , i d s u m , r j , q ( i ) d s u m ) + r j , n + 1 d s u m ) ≤ f ^ d s u m + ρ , \sum_{j\in D^\star_{\mathrm{good}}}\left(\sum_{\substack{i\in D^\star_{\mathrm{good}}\\i\ge j}}\beta\left(\frac{r_{j,i}}{d_{\mathrm{sum}}},\frac{r_{j,q(i)}}{d_{\mathrm{sum}}}\right)+\frac{r_{j,n+1}}{d_{\mathrm{sum}}}\right)\le\frac{\widehat{f}}{d_{\mathrm{sum}}}+\rho, j ∈ D good ⋆ ∑ i ∈ D good ⋆ i ≥ j ∑ β ( d sum r j , i , d sum r j , q ( i ) ) + d sum r j , n + 1 ≤ d sum f + ρ ,
so multiplying by d s u m d_{\mathrm{sum}} d sum ,
∑ j ∈ D g o o d ⋆ ( ∑ i ∈ D g o o d ⋆ i ≥ j β ( r j , i , r j , q ( i ) ) + r j , n + 1 ) ≤ f ^ + ρ ∑ j ∈ D g o o d ⋆ d ( j , i ⋆ ) . \sum_{j\in D^\star_{\mathrm{good}}}\left(\sum_{\substack{i\in D^\star_{\mathrm{good}}\\i\ge j}}\beta(r_{j,i},r_{j,q(i)})+r_{j,n+1}\right)\le\widehat{f}+\rho\sum_{j\in D^\star_{\mathrm{good}}}d(j,i^\star). j ∈ D good ⋆ ∑ i ∈ D good ⋆ i ≥ j ∑ β ( r j , i , r j , q ( i ) ) + r j , n + 1 ≤ f + ρ j ∈ D good ⋆ ∑ d ( j , i ⋆ ) .
Finally, because r j , i ≥ r j , i + 1 r_{j,i}\ge r_{j,i+1} r j , i ≥ r j , i + 1 for all valid j , i j,i j , i , by the superadditivity of β \beta β the above also implies that
∑ j ∈ D g o o d ⋆ ( ∑ i = j n β ( r j , i , r j , i + 1 ) + r j , n + 1 ) ≤ f ^ + ρ ⋅ ∑ j ∈ D g o o d ⋆ d ( j , i ⋆ ) . \sum_{j\in D^\star_{\mathrm{good}}}\left(\sum_{i=j}^{n}\beta(r_{j,i},r_{j,i+1})+r_{j,n+1}\right)\le\widehat{f}+\rho\cdot\sum_{j\in D^\star_{\mathrm{good}}}d(j,i^\star). j ∈ D good ⋆ ∑ ( i = j ∑ n β ( r j , i , r j , i + 1 ) + r j , n + 1 ) ≤ f + ρ ⋅ j ∈ D good ⋆ ∑ d ( j , i ⋆ ) .
:::
We are ready to prove the main theorem of this section.
Proof of Theorem 5.4. Consider an optimal solution of cost O P T \mathrm{OPT} OPT to the UFL problem instance with facility cost f = f ^ / ρ f=\widehat{f}/\rho f = f / ρ , and let k ⋆ k^\star k ⋆ denote the number of facilities opened in this solution. Let { i 1 ⋆ , … , i k ⋆ ⋆ } \{i^\star_1,\ldots,i^\star_{k^\star}\} { i 1 ⋆ , … , i k ⋆ ⋆ } be the facilities opened by the optimal solution, and let { D 1 ⋆ , … , D k ⋆ ⋆ } \{D^\star_1,\ldots,D^\star_{k^\star}\} { D 1 ⋆ , … , D k ⋆ ⋆ } be such that D ℓ ⋆ D^\star_\ell D ℓ ⋆ is the set of clients connected to facility i ℓ ⋆ i^\star_\ell i ℓ ⋆ in the optimal solution.
Let C S O L C_{\mathrm{SOL}} C SOL and F S O L F_{\mathrm{SOL}} F SOL be the connection cost and opening cost (with respect to f f f ) of our algorithm, and let C O P T C_{\mathrm{OPT}} C OPT and F O P T F_{\mathrm{OPT}} F OPT be defined analogously for OPT. By Lemma 5.10, which bounds the cost with respect to f ^ \widehat{f} f , and using that f = f ^ ρ f=\frac{\widehat{f}}{\rho} f = ρ f , we know that
C S O L + ρ ⋅ F S O L ≤ ∑ j = 1 n ( ∑ i = j n β ( r j , i , r j , i + 1 ) + r j , n + 1 ) + δ ⋅ ∑ j = 1 n d ( j , S ⋆ ) . (9) C_{\mathrm{SOL}}+\rho\cdot F_{\mathrm{SOL}}\le\sum_{j=1}^{n}\left(\sum_{i=j}^{n}\beta(r_{j,i},r_{j,i+1})+r_{j,n+1}\right)+\delta\cdot\sum_{j=1}^{n}d(j,S^\star). \tag*{(9)} C SOL + ρ ⋅ F SOL ≤ j = 1 ∑ n ( i = j ∑ n β ( r j , i , r j , i + 1 ) + r j , n + 1 ) + δ ⋅ j = 1 ∑ n d ( j , S ⋆ ) . (9)
Note that ∑ j = 1 n d ( j , S ⋆ ) = C S O L \sum_{j=1}^{n} d(j,S^\star)=C_{\mathrm{SOL}} ∑ j = 1 n d ( j , S ⋆ ) = C SOL , so we can rewrite
( 1 − δ ) ⋅ C S O L + ρ ⋅ F S O L ≤ ∑ j = 1 n ( ∑ i = j n β ( r j , i , r j , i + 1 ) + r j , n + 1 ) . (1-\delta)\cdot C_{\mathrm{SOL}}+\rho\cdot F_{\mathrm{SOL}}\le\sum_{j=1}^{n}\left(\sum_{i=j}^{n}\beta(r_{j,i},r_{j,i+1})+r_{j,n+1}\right). ( 1 − δ ) ⋅ C SOL + ρ ⋅ F SOL ≤ j = 1 ∑ n ( i = j ∑ n β ( r j , i , r j , i + 1 ) + r j , n + 1 ) .
Fix now some ℓ ∈ { 1 , … , k ⋆ } \ell\in\{1,\ldots,k^\star\} ℓ ∈ { 1 , … , k ⋆ } and set i ⋆ = i ℓ ⋆ i^\star=i^\star_\ell i ⋆ = i ℓ ⋆ and D ⋆ = D ℓ ⋆ D^\star=D^\star_\ell D ⋆ = D ℓ ⋆ . Define the subset of D ⋆ D^\star D ⋆
D g o o d ⋆ = { j ∈ D ⋆ | α j ⋆ ≥ ρ ⋅ d ( j , i ⋆ ) } . D^\star_{\mathrm{good}}=\left\{j\in D^\star\middle|\alpha^\star_j\ge\rho\cdot d(j,i^\star)\right\}. D good ⋆ = { j ∈ D ⋆ α j ⋆ ≥ ρ ⋅ d ( j , i ⋆ ) } .
For the clients in D g o o d ⋆ D^\star_{\mathrm{good}} D good ⋆ , we have by Lemma 5.15 that
∑ j ∈ D g o o d ⋆ ( ∑ i = j n β ( r j , i , r j , i + 1 ) + r j , n + 1 ) ≤ f ^ + ρ ⋅ ∑ j ∈ D g o o d ⋆ d ( j , i ⋆ ) . \sum_{j\in D^\star_{\mathrm{good}}}\left(\sum_{i=j}^{n}\beta(r_{j,i},r_{j,i+1})+r_{j,n+1}\right)\le\hat{f}+\rho\cdot\sum_{j\in D^\star_{\mathrm{good}}}d(j,i^\star). j ∈ D good ⋆ ∑ ( i = j ∑ n β ( r j , i , r j , i + 1 ) + r j , n + 1 ) ≤ f ^ + ρ ⋅ j ∈ D good ⋆ ∑ d ( j , i ⋆ ) .
Furthermore, for the clients j ∈ D ⋆ ∖ D g o o d ⋆ j\in D^\star\setminus D^\star_{\mathrm{good}} j ∈ D ⋆ ∖ D good ⋆ , because r j , j = α j ⋆ r_{j,j}=\alpha^\star_j r j , j = α j ⋆ , r j , n + 1 = β ( r j , n + 1 , 0 ) r_{j,n+1}=\beta(r_{j,n+1},0) r j , n + 1 = β ( r j , n + 1 , 0 ) , and r j , i ≥ r j , i + 1 r_{j,i}\ge r_{j,i+1} r j , i ≥ r j , i + 1 for all valid j , i j,i j , i , we have by the superadditivity of β \beta β that
∑ j ∈ D ⋆ ∖ D g o o d ⋆ ( ∑ i = j n β ( r j , i , r j , i + 1 ) + r j , n + 1 ) ≤ ∑ j ∈ D ⋆ ∖ D g o o d ⋆ α j ⋆ ≤ ρ ⋅ ∑ j ∈ D ⋆ ∖ D g o o d ⋆ d ( j , i ⋆ ) . \sum_{j\in D^\star\setminus D^\star_{\mathrm{good}}}\left(\sum_{i=j}^{n}\beta(r_{j,i},r_{j,i+1})+r_{j,n+1}\right)\le\sum_{j\in D^\star\setminus D^\star_{\mathrm{good}}}\alpha^\star_j\le\rho\cdot\sum_{j\in D^\star\setminus D^\star_{\mathrm{good}}}d(j,i^\star). j ∈ D ⋆ ∖ D good ⋆ ∑ ( i = j ∑ n β ( r j , i , r j , i + 1 ) + r j , n + 1 ) ≤ j ∈ D ⋆ ∖ D good ⋆ ∑ α j ⋆ ≤ ρ ⋅ j ∈ D ⋆ ∖ D good ⋆ ∑ d ( j , i ⋆ ) .
Overall, then,
∑ j ∈ D ⋆ ( ∑ i = j n β ( r j , i , r j , i + 1 ) + r j , n + 1 ) ≤ f ^ + ρ ⋅ ∑ j ∈ D ⋆ d ( j , i ⋆ ) . \sum_{j\in D^\star}\left(\sum_{i=j}^{n}\beta(r_{j,i},r_{j,i+1})+r_{j,n+1}\right)\le\hat{f}+\rho\cdot\sum_{j\in D^\star}d(j,i^\star). j ∈ D ⋆ ∑ ( i = j ∑ n β ( r j , i , r j , i + 1 ) + r j , n + 1 ) ≤ f ^ + ρ ⋅ j ∈ D ⋆ ∑ d ( j , i ⋆ ) .
Note that D 1 ⋆ , … , D k ⋆ ⋆ D^\star_1,\ldots,D^\star_{k^\star} D 1 ⋆ , … , D k ⋆ ⋆ partition [ n ] [n] [ n ] . Then, summing the above over all ( i ℓ ⋆ , D ℓ ⋆ ) (i^\star_\ell,D^\star_\ell) ( i ℓ ⋆ , D ℓ ⋆ ) ,
∑ j = 1 n ( ∑ i = j n β ( r j , i , r j , i + 1 ) + r j , n + 1 ) ≤ k ⋆ ⋅ f ^ + ρ ⋅ C O P T = ρ ⋅ F O P T + ρ ⋅ C O P T = ρ ⋅ O P T . \begin{aligned}
\sum_{j=1}^{n}\left(\sum_{i=j}^{n}\beta(r_{j,i},r_{j,i+1})+r_{j,n+1}\right)\le k^\star\cdot\hat{f}+\rho\cdot C_{\mathrm{OPT}} \\
&=\rho\cdot F_{\mathrm{OPT}}+\rho\cdot C_{\mathrm{OPT}}=\rho\cdot\mathrm{OPT}.
\end{aligned} j = 1 ∑ n ( i = j ∑ n β ( r j , i , r j , i + 1 ) + r j , n + 1 ) ≤ k ⋆ ⋅ f ^ + ρ ⋅ C OPT = ρ ⋅ F OPT + ρ ⋅ C OPT = ρ ⋅ OPT .
Hence,
( 1 − δ ) ⋅ C S O L + ρ ⋅ F S O L ≤ ρ ⋅ O P T , (1-\delta)\cdot C_{\mathrm{SOL}}+\rho\cdot F_{\mathrm{SOL}}\le\rho\cdot\mathrm{OPT}, ( 1 − δ ) ⋅ C SOL + ρ ⋅ F SOL ≤ ρ ⋅ OPT ,
so
C S O L ≤ ρ 1 − δ ( O P T − F S O L ) ≤ ( 1 + 2 δ ) ρ ( O P T − F S O L ) . C_{\mathrm{SOL}}\le\frac{\rho}{1-\delta}(\mathrm{OPT}-F_{\mathrm{SOL}})\le(1+2\delta)\rho(\mathrm{OPT}-F_{\mathrm{SOL}}). C SOL ≤ 1 − δ ρ ( OPT − F SOL ) ≤ ( 1 + 2 δ ) ρ ( OPT − F SOL ) .
Then the conclusion follows because F S O L = ∣ S ⋆ ∣ ⋅ f F_{\mathrm{SOL}}=|S^\star|\cdot f F SOL = ∣ S ⋆ ∣ ⋅ f .
By the techniques developed in [12 ] , we can expand the ideas in this section to obtain a polynomial-time approximation algorithm for k k k -median that opens at most k + O ( log n ) k+O(\log n) k + O ( log n ) centers. As in their paper, this requires us to develop a robust version of the log-adaptive algorithm, and to slightly adapt their merging procedure to our setting. We state below our main result for k k k -median.
Theorem 5.16. Let γ ≥ 1 \gamma\ge1 γ ≥ 1 and let β ( α , d ) = [ α − γ ⋅ d ] + \beta(\alpha,d)=[\alpha-\gamma\cdot d]^+ β ( α , d ) = [ α − γ ⋅ d ] + . Let ρ ≥ 1.01 γ \rho\ge1.01\gamma ρ ≥ 1.01 γ be an upper bound on the optimal value of the factor-revealing program in Definition 4.1 over all n ≥ 1 n\ge1 n ≥ 1 . For any δ > 0 \delta>0 δ > 0 small enough, there exists a polynomial-time approximation algorithm for the k k k -median problem that outputs a solution with at most k + O ( log n / δ 2 ) k+O(\log n/\delta^2) k + O ( log n / δ 2 ) centers and cost at most ( 1 + δ ) ρ ⋅ o p t (1+\delta)\rho\cdot\mathrm{opt} ( 1 + δ ) ρ ⋅ opt .
As these steps are very similar to the steps in [12 ] , we defer the description and analysis of the algorithm in Theorem 5.16 to Section D.
Upper Bound on the Factor-Revealing Program
We prove Theorem 4.4 by constructing, for every fixed bidding matrix b b b , a feasible solution of value at most 2 − ( γ − 1 ) 2 2-(\gamma-1)^2 2 − ( γ − 1 ) 2 to the corresponding inner dual program. By Lemma 4.6, these certificates give the required upper bound on the factor-revealing program.
We interpret the dual as a credit-allocation process involving clients and a common pool. The variables g i , j g_{i,j} g i , j generate credit, while s i , j s_{i,j} s i , j and t i , j t_{i,j} t i , j describe transfers to and from the pool. The client constraints require sufficient credit at each iteration, and the pool constraints require that cumulative withdrawals never exceed cumulative deposits. The objective bounds the charge associated with each client. This interpretation guides the assignment rules below.
The construction begins with a nonnegative profile g ^ \hat{g} g ^ that bounds the entries of each row of g g g . We seek a profile satisfying
R 0 : = ∑ i = 1 n g ^ i = 1. R_0 := \sum_{i=1}^{n} \hat{g}_i = 1. R 0 := i = 1 ∑ n g ^ i = 1.
Its recursive definition depends on boundary data supplied as advice Γ \Gamma Γ . Our proof separates two tasks: showing that successful advice produces a feasible certificate of the desired value, and showing that successful advice exists. For the second task, fractional boundary memberships allow us to interpolate between successive choices. We prove that the resulting value of R 0 R_0 R 0 varies continuously along a path whose endpoint values lie on opposite sides of 1 1 1 .
§ 6.1 states the two main lemmas and derives the theorem from them. § 6.2 defines the construction, and § 6.3 proves feasibility whenever it succeeds. Finally, § 6.4 establishes the existence of successful advice.
Proving a Tight Upper Bound
The goal is to design feasible solutions of value 2 − ( γ − 1 ) 2 2-(\gamma-1)^2 2 − ( γ − 1 ) 2 for every inner linear program in the factor-revealing dual as defined in Definition 4.5, since the upper-bound relation between the factor revealing programs explained in Lemma 4.6 makes it sufficient. Let us restate the program here for convenience.
Definition 4.5 (Factor-revealing dual). Fix n ≥ 1 n \ge1 n ≥ 1 .
max ∀ b i , j ∈ { 0 , 1 } ∀ i , j : 1 ≤ j ≤ i ≤ n min ρ subject to: ∑ i = 1 n g ^ i ≤ 1 ( f ) ∀ 1 ≤ j , i ≤ n : g ^ i ≥ g i , j ( γ i , j and β i , j ) ∀ 1 ≤ j ≤ i ≤ n : ∑ q = j + 1 n g j , q + ∑ p = j i ( g p , j + t p , j − s p , j ) ≥ b i , j − ( γ − 1 ) ∑ p = j i − 1 b p , j ( r j , i ) ∀ 1 ≤ i ≤ n : ∑ p = 1 i ∑ j = 1 p s p , j − ∑ p = 1 i ∑ j = 1 p t p , j ≥ 0 ( m i ) ∀ 1 ≤ j ≤ n : ρ ≥ γ ⋅ ∑ i = 1 n g i , j + ∑ i = 1 n s i , j + ∑ i = 1 n t i , j ( d j ) ∀ 1 ≤ i , j ≤ n : g ^ i , g i , j , t i , j , s i , j ≥ 0 , s i , i = 0. \begin{aligned}
&\max_{\substack{\forall b_{i,j}\in\{0,1\}\\ \forall i,j:1\le j\le i\le n}}
&&\min&&\rho\\
&&&\text{subject to:} && \sum_{i=1}^{n}\hat{g}_i \le1 && (f)\\
&&&&& \forall\,1\le j,i\le n:\quad\hat{g}_i\ge g_{i,j} && (\gamma_{i,j}\text{ and }\beta_{i,j})\\
&&&&& \forall\,1\le j\le i\le n:\quad
\sum_{q=j+1}^{n}g_{j,q}+\sum_{p=j}^{i}(g_{p,j}+t_{p,j}-s_{p,j})
\ge b_{i,j}-(\gamma-1)\sum_{p=j}^{i-1}b_{p,j}
&& (r_{j,i})\\
&&&&& \forall\,1\le i\le n:\quad
\sum_{p=1}^{i}\sum_{j=1}^{p}s_{p,j}
-\sum_{p=1}^{i}\sum_{j=1}^{p}t_{p,j}
\ge0
&& (m_i)\\
&&&&& \forall\,1\le j\le n:\quad
\rho\ge\gamma\cdot\sum_{i=1}^{n}g_{i,j}
+\sum_{i=1}^{n}s_{i,j}
+\sum_{i=1}^{n}t_{i,j}
&& (d_j)\\
&&&&& \forall\,1\le i,j\le n:\quad
\hat{g}_i,g_{i,j},t_{i,j},s_{i,j}\ge0,\quad s_{i,i}=0.
\end{aligned} ∀ b i , j ∈ { 0 , 1 } ∀ i , j : 1 ≤ j ≤ i ≤ n max min subject to: ρ i = 1 ∑ n g ^ i ≤ 1 ∀ 1 ≤ j , i ≤ n : g ^ i ≥ g i , j ∀ 1 ≤ j ≤ i ≤ n : q = j + 1 ∑ n g j , q + p = j ∑ i ( g p , j + t p , j − s p , j ) ≥ b i , j − ( γ − 1 ) p = j ∑ i − 1 b p , j ∀ 1 ≤ i ≤ n : p = 1 ∑ i j = 1 ∑ p s p , j − p = 1 ∑ i j = 1 ∑ p t p , j ≥ 0 ∀ 1 ≤ j ≤ n : ρ ≥ γ ⋅ i = 1 ∑ n g i , j + i = 1 ∑ n s i , j + i = 1 ∑ n t i , j ∀ 1 ≤ i , j ≤ n : g ^ i , g i , j , t i , j , s i , j ≥ 0 , s i , i = 0. ( f ) ( γ i , j and β i , j ) ( r j , i ) ( m i ) ( d j )
First, we need to observe that we do not need to treat all the factor-revealing cases, such is the n = 1 n=1 n = 1 case which is trivially upper bounded.
Observation 6.1. For n = 1 n=1 n = 1 the value of the program in Lemma 4.6 is upper bounded by γ \gamma γ . For the rest of the proof we assume that n ≥ 2 n\ge2 n ≥ 2 .
Next, to simplify our arguments, there are some strategies that are dominant over others, so we can assume w.l.o.g. the following observation.
Observation 6.2. We assume without loss of generality that b n , j = 1 b_{n,j}=1 b n , j = 1 for all j = 1 , … , n j=1,\ldots,n j = 1 , … , n because it makes the constraints in Lemma 4.6 stronger.
Then, constrained to these cases, the proof follows equally as it was explained in § 4 . In § 6.2 , we define a procedure that adaptively computes a feasible solution based on some input. More specifically, the procedure takes as input the values of b i , j b_{i,j} b i , j and some advice variables Γ \Gamma Γ and returns, for some choices of Γ \Gamma Γ , an empty output (⊥ \perp ⊥ ), and for others, a feasible solution of value 2 − ( γ − 1 ) 2 2-(\gamma-1)^2 2 − ( γ − 1 ) 2 to the dual program in Definition 4.5 for the b i , j b_{i,j} b i , j values. We say that the advice is “correct” if the first event does not happen. This is seen in the following lemma:
Lemma 6.3. For n ≥ 2 n \ge2 n ≥ 2 , an assignment of the b i , j ∈ { 0 , 1 } b_{i,j} \in\{0,1\} b i , j ∈ { 0 , 1 } values with b n , j = 1 b_{n,j}=1 b n , j = 1 for all j = 1 , … , n j=1,\ldots,n j = 1 , … , n , a correct advice Γ \Gamma Γ and a value of γ ∈ ( 1 , 1.224 ] \gamma\in(1,1.224] γ ∈ ( 1 , 1.224 ] , the procedure described in § 6.2 generates a 2 − ( γ − 1 ) 2 2-(\gamma-1)^2 2 − ( γ − 1 ) 2 feasible solution for the corresponding inner program of the factor-revealing dual from Definition 4.5.
To be able to use this previous lemma, we will also prove that there always exists at least one correct set of advice variables:
Lemma 6.4. For n ≥ 2 n \ge2 n ≥ 2 , any assignment of the b i , j ∈ { 0 , 1 } b_{i,j} \in\{0,1\} b i , j ∈ { 0 , 1 } with b n , j = 1 b_{n,j}=1 b n , j = 1 for all j = 1 , … , n j=1,\ldots,n j = 1 , … , n and a value of γ ∈ ( 1 , 1.224 ] \gamma\in(1,1.224] γ ∈ ( 1 , 1.224 ] , there always exists a correct advice Γ \Gamma Γ with respect to the procedure in § 6.2 .
Thus, if we combine together these two lemmas we can conclude that there always exists a solution. Now the theorem’s proof is direct.
Theorem 4.4. For values of γ ∈ [ 1 , 1.224 ] \gamma\in[1,1.224] γ ∈ [ 1 , 1.224 ] , the factor-revealing program from Definition 4.1 with β γ ( α , d ) = [ α − γ ⋅ d ] + \beta_{\gamma}(\alpha,d)=[\alpha-\gamma\cdot d]_{+} β γ ( α , d ) = [ α − γ ⋅ d ] + is upper-bounded by 2 − ( γ − 1 ) 2 2-(\gamma-1)^2 2 − ( γ − 1 ) 2 for all n ≥ 1 n \ge1 n ≥ 1 .
Proof of Theorem 4.4. Using Observation 6.1 , for n = 1 n=1 n = 1 we have a bound of 2 − ( γ − 1 ) 2 2-(\gamma-1)^2 2 − ( γ − 1 ) 2 since γ ≤ 2 − ( γ − 1 ) 2 \gamma\le2-(\gamma-1)^2 γ ≤ 2 − ( γ − 1 ) 2 for our range. From Observation 6.2 , we see that we can focus on only the cases with b n , j = 1 b_{n,j}=1 b n , j = 1 for all j j j . Then, together with Lemma 6.3 and Lemma 6.4 , we get directly that since there exists a 2 − ( γ − 1 ) 2 2-(\gamma-1)^2 2 − ( γ − 1 ) 2 feasible solution for each of the inner linear programs, it implies the whole program is upper-bounded by 2 − ( γ − 1 ) 2 2-(\gamma-1)^2 2 − ( γ − 1 ) 2 . Thus, combining this with Lemma 4.6 proves the theorem for γ ≠ 1 \gamma\ne1 γ = 1 . The proof of the end-point γ = 1 \gamma=1 γ = 1 reduces to the analysis of the original greedy, whose LMP ratio is bounded by 2 [21 ] .
What is left is to prove the two final lemmas which we do in the following sections, Lemma 6.3 in § 6.3 and Lemma 6.4 in § 6.4 . The definition of the procedure follows in the next section.
Constructing a dual certificate from advice
For the definition of the general case’s procedure, we need to introduce some notation and definitions. We assume that we are given some input data, which consists of the lower triangular bidding matrix { b i , j ∣ i ≥ j ∈ { 1 , 2 , … , n } } \{b_{i,j}\mid i\ge j\in\{1,2,\ldots,n\}\} { b i , j ∣ i ≥ j ∈ { 1 , 2 , … , n }} , and some advice variables Γ \Gamma Γ . What follows is the description of the procedure.
First, let us define the first nonzero bidding time , which is the only information out of the values of b i , j b_{i,j} b i , j to make our algorithm adaptive.
Definition 6.5. For each client j ∈ { 1 , … , n } j\in\{1,\ldots,n\} j ∈ { 1 , … , n } , define its first nonzero bidding time
f j : = min { i ∈ { j , … , n } : b i , j = 1 } . f_j:=\min\{i\in\{j,\ldots,n\}:b_{i,j}=1\}. f j := min { i ∈ { j , … , n } : b i , j = 1 } .
This quantity is well defined by Observation 6.2 . Thus, the algorithm will not change with respect to how b i , j b_{i,j} b i , j column looks after the row f j f_j f j . Using this definition, we can take the following simplifying bounds on the right hand side of the ( r j , i ) (r_{j,i}) ( r j , i ) constraint:
Observation 6.6. The right hand side of the ( r j , i ) (r_{j,i}) ( r j , i ) constraint is upper bounded by:
b i , j − ( γ − 1 ) ∑ p = j i − 1 b p , j ≤ { 0 for i < f j , 1 for i = f j , 2 − γ for i > f j . b_{i,j}-(\gamma-1)\sum_{p=j}^{i-1}b_{p,j}\le
\begin{cases}
0 & \text{for } i<f_j,\\
1 & \text{for } i=f_j,\\
2-\gamma& \text{for } i>f_j.
\end{cases} b i , j − ( γ − 1 ) p = j ∑ i − 1 b p , j ≤ ⎩ ⎨ ⎧ 0 1 2 − γ for i < f j , for i = f j , for i > f j .
and it will be using this bound that we will prove our results. Then, to ease the notation, we need to define the set of clients j j j with the same value of f j f_j f j :
Definition 6.7. For each i ∈ { 1 , … , n } i\in\{1,\ldots,n\} i ∈ { 1 , … , n } , write
Ones ( i ) : = { j : f j = i } . \operatorname{Ones}(i):=\{j:f_j=i\}. Ones ( i ) := { j : f j = i } .
Thus Ones ( i ) \operatorname{Ones}(i) Ones ( i ) is the set of clients whose first non-zero bid appears at time i i i , and by lower triangularity we have Ones ( i ) ⊆ { 1 , … , i } \operatorname{Ones}(i)\subseteq\{1,\ldots,i\} Ones ( i ) ⊆ { 1 , … , i } .
Our procedure first creates a profile for g ^ i \hat{g}_i g ^ i depending on these values of f j f_j f j . It works by first finding a specific set of clients (which we call D D D later on) that satisfy g ^ i = 0 \hat{g}_i=0 g ^ i = 0 for all i i i in these sets, except a degenerate case for j = n j=n j = n (and t 3 ⋆ = n t_3^\star=n t 3 ⋆ = n ). To define this set, we predefine a threshold t 3 ⋆ t_3^\star t 3 ⋆ so that all j j j that has f j > t 3 ⋆ f_j>t_3^\star f j > t 3 ⋆ is in this set, including some other j j j with f j = t 3 ⋆ f_j=t_3^\star f j = t 3 ⋆ . This variable and the ones that define the cases with f j = t 3 ⋆ f_j=t_3^\star f j = t 3 ⋆ is what we call the advice variables and we define them as the following:
Definition 6.8 (Advice Variables). For a fixed bidding matrix { b i , j ∣ i ≥ j } \{b_{i,j}\mid i\geq j\} { b i , j ∣ i ≥ j } , an advice for the procedure consists of
t 3 ⋆ ∈ { 1 , … , n } , { μ j ⋆ } j ∈ O n e s ( t 3 ⋆ ) , t_3^\star\in\{1,\ldots,n\},\qquad\{\mu_j^\star\}_{j\in Ones(t_3^\star)}, t 3 ⋆ ∈ { 1 , … , n } , { μ j ⋆ } j ∈ O n es ( t 3 ⋆ ) , and, in the special case t 3 ⋆ = n t_3^\star=n t 3 ⋆ = n , an additional scalar
g ^ n ⋆ ∈ [ 0 , 1 ] . \hat{g}_n^\star\in[0,1]. g ^ n ⋆ ∈ [ 0 , 1 ] .
The { μ j ⋆ } j ∈ O n e s ( t 3 ⋆ ) \{\mu_j^\star\}_{j\in Ones(t_3^\star)} { μ j ⋆ } j ∈ O n es ( t 3 ⋆ ) are the (fractional) variables that denote the (fractional) membership to this group D D D . They must satisfy the following properties, necessary for the construction to work and which will be used in the proof of correctness in § 6.3 .
Property 6.9 (Admissible frontier input). Fix t 3 ⋆ ∈ { 1 , … , n } t_3^\star\in\{1,\ldots,n\} t 3 ⋆ ∈ { 1 , … , n } and write O n e s ( t 3 ⋆ ) = { j 1 < ⋯ < j k } Ones(t_3^\star)=\{j_1<\cdots<j_k\} O n es ( t 3 ⋆ ) = { j 1 < ⋯ < j k } . We call a family { μ j ⋆ } j ∈ O n e s ( t 3 ⋆ ) \{\mu_j^\star\}_{j\in Ones(t_3^\star)} { μ j ⋆ } j ∈ O n es ( t 3 ⋆ ) admissible if it is non-increasing in j j j , has at most one fractional entry, and, when t 3 ⋆ = n t_3^\star=n t 3 ⋆ = n , satisfies μ j ⋆ = 1 \mu_j^\star=1 μ j ⋆ = 1 for all j ∈ O n e s ( n ) j\in Ones(n) j ∈ O n es ( n ) .
Equivalently, there exist r ∈ { 0 , … , k } r\in\{0,\ldots,k\} r ∈ { 0 , … , k } and λ ∈ [ 0 , 1 ] \lambda\in[0,1] λ ∈ [ 0 , 1 ] such that
μ j p ⋆ = { 1 , p ≤ r , λ , p = r + 1 ≤ k , 0 , p > r + 1. \mu_{j_p}^\star=
\begin{cases}
1, & p\leq r,\\
\lambda, & p=r+1\leq k,\\
0, & p>r+1.
\end{cases} μ j p ⋆ = ⎩ ⎨ ⎧ 1 , λ , 0 , p ≤ r , p = r + 1 ≤ k , p > r + 1. where r = k r=k r = k in the case of t 3 ⋆ = n t_3^\star=n t 3 ⋆ = n .
To give some intuition on the procedure, given the value of the advice variables, we will iteratively construct the values of the profile g ^ i \hat{g}_i g ^ i , from which we will get some thresholds t 1 t_1 t 1 and t 2 t_2 t 2 , apart from the one we get as input t 3 ⋆ t_3^\star t 3 ⋆ . We separate and treat the clients j j j differently according to their position with respect to two thresholds t 1 t_1 t 1 and t 2 t_2 t 2 , generated by the procedure itself, and the input one t 3 ⋆ t_3^\star t 3 ⋆ . Putting it very simply, each client j j j will belong to one of the following four groups:
Group A: clients with j < t 1 j<t_1 j < t 1 and f j < t 3 ⋆ f_j<t_3^\star f j < t 3 ⋆ .
Group B: clients with t 1 < j ≤ t 2 t_1<j\leq t_2 t 1 < j ≤ t 2 and f j < t 3 ⋆ f_j<t_3^\star f j < t 3 ⋆ .
Group C: clients with t 2 < j ≤ t 3 ⋆ t_2<j\leq t_3^\star t 2 < j ≤ t 3 ⋆ and f j < t 3 ⋆ f_j<t_3^\star f j < t 3 ⋆ .
Group D: clients with f j > t 3 ⋆ f_j>t_3^\star f j > t 3 ⋆ .
Notice that we did not specify what happens to clients with f j = t 3 ⋆ f_j=t_3^\star f j = t 3 ⋆ or to the j = t 1 j=t_1 j = t 1 client; their behaviors relate to the values of μ j ⋆ \mu_j^\star μ j ⋆ , where they might belong to more than one group at the same time. To generalize this concept of groups and work with different memberships at the same time, we will use the following notation.
Definition 6.10 (Membership weights). For each client j ∈ { 1 , … , n } j\in\{1,\ldots,n\} j ∈ { 1 , … , n } , the construction produces four auxiliary scalars
μ j A , μ j B , μ j C , μ j D ∈ [ 0 , 1 ] , \mu_j^A,\mu_j^B,\mu_j^C,\mu_j^D\in[0,1], μ j A , μ j B , μ j C , μ j D ∈ [ 0 , 1 ] , called the membership weights of client j j j in the classes A , B , C , D A,B,C,D A , B , C , D . For every client j j j , they satisfy
μ j A + μ j B + μ j C + μ j D = 1. \mu_j^A+\mu_j^B+\mu_j^C+\mu_j^D=1. μ j A + μ j B + μ j C + μ j D = 1. Here, we choose μ j D = μ j ⋆ \mu_j^D=\mu_j^\star μ j D = μ j ⋆ for f j = t 3 ⋆ f_j=t_3^\star f j = t 3 ⋆ so that it is part of the input. The rest of the mass is assigned to A A A (if j < t 1 j<t_1 j < t 1 ), to B B B (if t 1 < j ≤ t 2 t_1<j\leq t_2 t 1 < j ≤ t 2 ), and/or to C C C (if t 2 < j ≤ t 3 ⋆ t_2<j\leq t_3^\star t 2 < j ≤ t 3 ⋆ ). In particular, if t 3 ⋆ = n t_3^\star=n t 3 ⋆ = n , we will have μ j D = 1 \mu_j^D=1 μ j D = 1 for all clients with f j ≠ t 3 ⋆ f_j\ne t_3^\star f j = t 3 ⋆ , meaning that all those clients belong to group D D D .
Through these inputs, the procedure described in Algorithm 3 in the end generates a feasible solution for the dual of the factor-revealing LP using the function β γ ( α , d ) = [ α − γ d ] + \beta_\gamma(\alpha,d)=[\alpha-\gamma d]^+ β γ ( α , d ) = [ α − γ d ] + if the advice is correct. It first generates the g ^ i \hat{g}_i g ^ i values in Algorithm 3 and then the g i , j , s i , j , t i , j g_{i,j},s_{i,j},t_{i,j} g i , j , s i , j , t i , j values follow from their definition in Table 2 . The matrix s s s in the table is a preliminary assignment that allow for s i , i > 0 s_{i,i}>0 s i , i > 0 to simplify the argument, whose diagonal mass is shifted one step forward at the end of the proof of Lemma 6.3 to obtain s s s . If the advice is not correct, the procedure can fail and return an empty output ( ⊥ ) (\perp) ( ⊥ ) .
Table 2. Column-wise assignment of ( g i , j , s ˉ i , j , t i , j ) (g_{i,j},\bar{s}_{i,j},t_{i,j}) ( g i , j , s ˉ i , j , t i , j ) once g ^ \hat{g} g ^ and R R R are fixed.
There will be specific constants that are necessary. We will use the following definitions:
Definition 6.11. We define the following shorthand variables which will help in our analysis, all a function of the value of γ \gamma γ :
ε : = γ − 1 , θ : = ε + ε 2 , τ : = 2 ⋅ ε + ε 2 , τ ˉ : = 1 − τ \varepsilon:= \gamma- 1,\qquad\theta:= \varepsilon+ \varepsilon^2,\qquad\tau:= 2\cdot\varepsilon+ \varepsilon^2,\qquad\bar{\tau} := 1-\tau ε := γ − 1 , θ := ε + ε 2 , τ := 2 ⋅ ε + ε 2 , τ ˉ := 1 − τ
Here, ε \varepsilon ε is just the extra slope in the bidding function compared the original γ = 1 \gamma=1 γ = 1 , and it will be the extra slack that one can use after f j f_j f j (see Observation 6.6 where 2 − γ = 1 − ε 2-\gamma=1-\varepsilon 2 − γ = 1 − ε ). The constant θ \theta θ is important because it is exactly the constant that defines the threshold t 2 t_2 t 2 , with R t 2 ≤ θ ≤ R t 2 − 1 R_{t_2}\leq\theta\leq R_{t_2-1} R t 2 ≤ θ ≤ R t 2 − 1 , where R i R_i R i will be defined later and is simply just the suffix sum of the values of g ^ i \hat{g}_i g ^ i . Finally, the constant τ ˉ \bar{\tau} τ ˉ is the equivalent one but for t 1 t_1 t 1 , and τ \tau τ is just the complementary to it.
From these constants and the choice of γ \gamma γ , the following technical properties follow, which will be necessary for the proof, but which need not much explanation.
Property 6.12. For γ ∈ ( 1 , 1.224 ] \gamma\in(1,1.224] γ ∈ ( 1 , 1.224 ] , the following properties hold:
γ ε = θ , γ + 1 − θ = 2 − ( γ − 1 ) 2 , ε τ ≤ 1. \gamma\varepsilon=\theta,\qquad\gamma+1-\theta=2-(\gamma-1)^2,\qquad\frac{\varepsilon}{\tau}\leq1. γ ε = θ , γ + 1 − θ = 2 − ( γ − 1 ) 2 , τ ε ≤ 1.
Property 6.13. For γ ∈ ( 1 , 1.224 ] \gamma\in(1,1.224] γ ∈ ( 1 , 1.224 ] , we have τ ∈ [ 0 , 0.5 ) \tau\in[0,0.5) τ ∈ [ 0 , 0.5 ) and thus ε ≤ θ ≤ τ < 0.5 < τ ˉ \varepsilon\leq\theta\leq\tau<0.5<\bar{\tau} ε ≤ θ ≤ τ < 0.5 < τ ˉ .
Property 6.14. For γ ∈ ( 1 , 1.224 ] \gamma\in(1,1.224] γ ∈ ( 1 , 1.224 ] , we have that for x ∈ [ 0 , 1 − τ ] x\in[0,1-\tau] x ∈ [ 0 , 1 − τ ] , the following holds:
1 − τ − x τ + x ≥ [ 1 − x θ ] + . \frac{1-\tau-x}{\tau+x}\geq\left[1-\frac{x}{\theta}\right]^+. τ + x 1 − τ − x ≥ [ 1 − θ x ] + .
Do note that this last technical property is the bottleneck of our technical analysis and thus it is the bottleneck for the choice of γ \gamma γ and the approximation factor 2 − ( γ − 1 ) 2 2-(\gamma-1)^2 2 − ( γ − 1 ) 2 that we can achieve through our technique.
We will also use the suffix sums to express:
R i : = ∑ ℓ = i + 1 n g ^ ℓ , R i ( 2 ) : = ∑ ℓ = i + 1 n g ^ ℓ ( 2 ) . R_i:=\sum_{\ell=i+1}^{n}\hat{g}_{\ell},\qquad R_i^{(2)}:=\sum_{\ell=i+1}^{n}\hat{g}_{\ell}^{(2)}. R i := ℓ = i + 1 ∑ n g ^ ℓ , R i ( 2 ) := ℓ = i + 1 ∑ n g ^ ℓ ( 2 ) .
In particular, R n = R n ( 2 ) = 0 R_n=R_n^{(2)}=0 R n = R n ( 2 ) = 0 , and R i − 1 = R i + g ^ i R_{i-1}=R_i+\hat{g}_i R i − 1 = R i + g ^ i , R i − 1 ( 2 ) = R i ( 2 ) + g ^ i ( 2 ) R_{i-1}^{(2)}=R_i^{(2)}+\hat{g}_i^{(2)} R i − 1 ( 2 ) = R i ( 2 ) + g ^ i ( 2 ) .
Given the advice, we first construct an auxiliary profile g ^ ( 2 ) \hat{g}^{(2)} g ^ ( 2 ) backwards, which can be seen in Algorithm 3. Its suffix sums determine the thresholds t 1 t_1 t 1 and t 2 t_2 t 2 . We then replace the early part of this profile, using a fractional split at t 1 t_1 t 1 to make the transition continuous. Once the final profile is fixed, we assign the group memberships and the remaining dual variables.
Algorithm 3 Construction of the profile g ^ \hat{g} g ^
Require: { b i , j : i ≥ j ∈ { 1 , … , n } } \{b_{i,j}: i \ge j \in\{1,\ldots,n\}\} { b i , j : i ≥ j ∈ { 1 , … , n }} , an index t 3 ∗ ∈ { 1 , … , n } t_3^* \in\{1,\ldots,n\} t 3 ∗ ∈ { 1 , … , n } , an admissible frontier input { μ j ∗ : j ∈ Ones ( t 3 ∗ ) } \{\mu_j^*:j\in\operatorname{Ones}(t_3^*)\} { μ j ∗ : j ∈ Ones ( t 3 ∗ )} , and g ^ n ∈ [ 0 , 1 ] \hat{g}_n\in[0,1] g ^ n ∈ [ 0 , 1 ] when t 3 ∗ = n t_3^*=n t 3 ∗ = n
Set
μ j D = { 1 , f j > t 3 ∗ , μ j ∗ , j ∈ Ones ( t 3 ∗ ) , 0 , f j < t 3 ∗ . \mu_j^D =
\begin{cases}
1, & f_j>t_3^*,\\
\mu_j^*, & j\in\operatorname{Ones}(t_3^*),\\
0, & f_j<t_3^*.
\end{cases} μ j D = ⎩ ⎨ ⎧ 1 , μ j ∗ , 0 , f j > t 3 ∗ , j ∈ Ones ( t 3 ∗ ) , f j < t 3 ∗ .
Set R t 3 ∗ ( 2 ) ← 0 R_{t_3^*}^{(2)}\gets0 R t 3 ∗ ( 2 ) ← 0 and g ^ i ( 2 ) ← R i ( 2 ) ← 0 \hat{g}_i^{(2)}\gets R_i^{(2)}\gets0 g ^ i ( 2 ) ← R i ( 2 ) ← 0 for every i > t 3 ∗ i>t_3^* i > t 3 ∗
for each $t_3^*\ge i\ge1 do 4.
g ^ i ( 2 ) ← { g ^ n ∗ , if i = t 3 ∗ = n , ( 1 − μ i D ) R i ( 2 ) + τ n − i , otherwise \hat{g}_i^{(2)}\gets
\begin{cases}
\hat{g}_n^*, & \text{if }i=t_3^*=n,\\
(1-\mu_i^D)\dfrac{R_i^{(2)}+\tau}{n-i}, & \text{otherwise}
\end{cases} g ^ i ( 2 ) ← ⎩ ⎨ ⎧ g ^ n ∗ , ( 1 − μ i D ) n − i R i ( 2 ) + τ , if i = t 3 ∗ = n , otherwise
R i − 1 ( 2 ) ← R i ( 2 ) + g ^ i ( 2 ) R_{i-1}^{(2)}\gets R_i^{(2)}+\hat{g}_i^{(2)} R i − 1 ( 2 ) ← R i ( 2 ) + g ^ i ( 2 ) .
end for
t 1 ← max { i : R i − 1 ( 2 ) ≥ τ ˉ } t_1\gets\max\{i:R_{i-1}^{(2)}\ge\bar{\tau}\} t 1 ← max { i : R i − 1 ( 2 ) ≥ τ ˉ }
Set ( g ^ i , R i ) ← ( g ^ i ( 2 ) , R i ( 2 ) ) (\hat{g}_i,R_i)\gets(\hat{g}_i^{(2)},R_i^{(2)}) ( g ^ i , R i ) ← ( g ^ i ( 2 ) , R i ( 2 ) ) for every i > t 1 i>t_1 i > t 1 (or all i i i if undefined) and R t 1 ← R t 1 ( 2 ) R_{t_1}\gets R_{t_1}^{(2)} R t 1 ← R t 1 ( 2 ) (if defined).
if t 1 t_1 t 1 does not exist then
return ⊥ \perp ⊥
end if
t 2 ← max { i : R i − 1 ( 2 ) ≥ θ } t_2\gets\max\{i:R_{i-1}^{(2)}\ge\theta\} t 2 ← max { i : R i − 1 ( 2 ) ≥ θ }
z ← ∑ ℓ = t 2 + 1 n [ 1 − R ℓ − 1 ( 2 ) θ ] + μ ℓ D z\gets\sum_{\ell=t_2+1}^{n}\left[1-\dfrac{R_{\ell-1}^{(2)}}{\theta}\right]^+\mu_\ell^D z ← ∑ ℓ = t 2 + 1 n [ 1 − θ R ℓ − 1 ( 2 ) ] + μ ℓ D
Define α \alpha α , g ^ t 1 A \hat{g}_{t_1}^A g ^ t 1 A , g ^ t 1 B \hat{g}_{t_1}^B g ^ t 1 B , g ^ t 1 \hat{g}_{t_1} g ^ t 1 , and R t 1 − 1 R_{t_1-1} R t 1 − 1 according to Definition 6.15
for each $t_1>i\ge1 do 16.
g ^ i ← ( 1 − μ i D ) ⋅ 1 − [ θ − R f i ] + n − i − ε τ ⋅ z \hat{g}_i\gets(1-\mu_i^D)\cdot
\frac{1-[\theta-R_{f_i}]^+}{n-i-\frac{\varepsilon}{\tau}\cdot z} g ^ i ← ( 1 − μ i D ) ⋅ n − i − τ ε ⋅ z 1 − [ θ − R f i ] +
R i − 1 ← R i + g ^ i R_{i-1}\gets R_i+\hat{g}_i R i − 1 ← R i + g ^ i
end for
if R 0 ≠ 1 R_0\ne1 R 0 = 1 then
return ⊥ \perp ⊥
end if
Definition 6.15 (Boundary Split at t 1 t_1 t 1 ). Assume that t 1 t_1 t 1 has been defined by Algorithm 3. If t 1 < n t_1<n t 1 < n , define
α : = τ ˉ − R t 1 ( 2 ) g ^ t 1 ( 2 ) , g ^ t 1 B : = τ ˉ − R t 1 ( 2 ) , g ^ t 1 A : = ( 1 − α ) ( 1 − μ t 1 D ) ⋅ 1 − [ θ − R f t 1 ] + n − t 1 + α ( 1 − μ t 1 D ) − ε τ ⋅ z . \alpha:=\frac{\bar{\tau}-R_{t_1}^{(2)}}{\hat{g}_{t_1}^{(2)}},\qquad
\hat{g}_{t_1}^B:=\bar{\tau}-R_{t_1}^{(2)},\qquad
\hat{g}_{t_1}^A:=(1-\alpha)(1-\mu_{t_1}^D)\cdot
\frac{1-[\theta-R_{f_{t_1}}]^+}{n-t_1+\alpha(1-\mu_{t_1}^D)-\frac{\varepsilon}{\tau}\cdot z}. α := g ^ t 1 ( 2 ) τ ˉ − R t 1 ( 2 ) , g ^ t 1 B := τ ˉ − R t 1 ( 2 ) , g ^ t 1 A := ( 1 − α ) ( 1 − μ t 1 D ) ⋅ n − t 1 + α ( 1 − μ t 1 D ) − τ ε ⋅ z 1 − [ θ − R f t 1 ] + . If t 1 = n t_1=n t 1 = n , define instead
α : = 1 , g ^ n A : = 0 , g ^ n B : = g ^ n ( 2 ) = g ^ n ∗ . \alpha:=1,\qquad\hat{g}_n^A:=0,\qquad\hat{g}_n^B:=\hat{g}_n^{(2)}=\hat{g}_n^*. α := 1 , g ^ n A := 0 , g ^ n B := g ^ n ( 2 ) = g ^ n ∗ . In both cases, we finally set
g ^ t 1 : = g ^ t 1 A + g ^ t 1 B , R t 1 − 1 : = R t 1 + g ^ t 1 . \hat{g}_{t_1}:=\hat{g}_{t_1}^A+\hat{g}_{t_1}^B,\qquad
R_{t_1-1}:=R_{t_1}+\hat{g}_{t_1}. g ^ t 1 := g ^ t 1 A + g ^ t 1 B , R t 1 − 1 := R t 1 + g ^ t 1 .
It is important to note the following about α \alpha α :
Property 6.16. We have 0 ≤ α ≤ 1 0\le\alpha\le1 0 ≤ α ≤ 1 .
With these values, we set the memberships as follows:
μ j A = { 1 − μ j D , j < t 1 , ( 1 − α ) ( 1 − μ t 1 D ) , j = t 1 , 0 , j > t 1 , μ j B = { α ( 1 − μ t 1 D ) , j = t 1 , 1 − μ j D , t 1 < j ≤ t 2 , 0 , otherwise , \mu_j^A=
\begin{cases}
1-\mu_j^D, & j<t_1,\\
(1-\alpha)(1-\mu_{t_1}^D), & j=t_1,\\
0, & j>t_1,
\end{cases}
\qquad
\mu_j^B=
\begin{cases}
\alpha(1-\mu_{t_1}^D), & j=t_1,\\
1-\mu_j^D, & t_1<j\le t_2,\\
0, & \text{otherwise},
\end{cases} μ j A = ⎩ ⎨ ⎧ 1 − μ j D , ( 1 − α ) ( 1 − μ t 1 D ) , 0 , j < t 1 , j = t 1 , j > t 1 , μ j B = ⎩ ⎨ ⎧ α ( 1 − μ t 1 D ) , 1 − μ j D , 0 , j = t 1 , t 1 < j ≤ t 2 , otherwise ,
μ j C = { 1 − μ j D , t 2 < j ≤ t 3 ∗ , 0 , otherwise , μ j D = { 1 , f j > t 3 ∗ , μ j ∗ , j ∈ Ones ( t 3 ∗ ) , 0 , f j < t 3 ∗ . (10) \mu_j^C=
\begin{cases}
1-\mu_j^D, & t_2<j\le t_3^*,\\
0, & \text{otherwise},
\end{cases}
\qquad
\mu_j^D=
\begin{cases}
1, & f_j>t_3^*,\\
\mu_j^*, & j\in\operatorname{Ones}(t_3^*),\\
0, & f_j<t_3^*.
\end{cases} \tag*{(10)} μ j C = { 1 − μ j D , 0 , t 2 < j ≤ t 3 ∗ , otherwise , μ j D = ⎩ ⎨ ⎧ 1 , μ j ∗ , 0 , f j > t 3 ∗ , j ∈ Ones ( t 3 ∗ ) , f j < t 3 ∗ . (10)
In particular, the only non-integral memberships are the boundary input value on Ones(t 3 ∗ t_3^* t 3 ∗ ) and the split of the client t 1 t_1 t 1 between A A A and B B B .
Once g ^ \hat{g} g ^ and R R R are fixed, we abbreviate
χ j : = [ 1 − R j − 1 θ ] + . \chi_j := \left[1-\frac{R_{j-1}}{\theta}\right]^+. χ j := [ 1 − θ R j − 1 ] + .
The matrices g i , j g_{i,j} g i , j , s ˉ i , j \bar{s}_{i,j} s ˉ i , j , and t i , j t_{i,j} t i , j are then assigned column-wise according to Table 2 . Every entry not listed there is set to 0. We call s ˉ \bar{s} s ˉ the preliminary sent-credit matrix ; it is convenient for the credit calculations, but it may have nonzero diagonal entries. The final sent-credit matrix is obtained from it in Lemma 6.44 . The variables δ i , j \delta_{i,j} δ i , j and σ i , j \sigma_{i,j} σ i , j are auxiliary variables that need to satisfy Property 6.17 and Property 6.18, respectively, and whose existence will be proved in the proof of Lemma 6.3 .
For the cases that the client is fractionally assigned to more than one group, the generated g i , j g_{i,j} g i , j , s ˉ i , j \bar{s}_{i,j} s ˉ i , j , and t i , j t_{i,j} t i , j values are the corresponding convex combinations of the values generated by each group:
g i , j = μ j A g i , j A + μ j B g i , j B + μ j C g i , j C + μ j D g i , j D , s ˉ i , j = μ j A s ˉ i , j A + μ j B s ˉ i , j B + μ j C s ˉ i , j C + μ j D s ˉ i , j D , t i , j = μ j A t i , j A + μ j B t i , j B + μ j C t i , j C + μ j D t i , j D . (11) \begin{aligned}
g_{i,j}&=\mu^A_jg^A_{i,j}+\mu^B_jg^B_{i,j}+\mu^C_jg^C_{i,j}+\mu^D_jg^D_{i,j},\\
\bar{s}_{i,j}&=\mu^A_j\bar{s}^A_{i,j}+\mu^B_j\bar{s}^B_{i,j}+\mu^C_j\bar{s}^C_{i,j}+\mu^D_j\bar{s}^D_{i,j},\\
t_{i,j}&=\mu^A_jt^A_{i,j}+\mu^B_jt^B_{i,j}+\mu^C_jt^C_{i,j}+\mu^D_jt^D_{i,j}. \tag*{(11)}
\end{aligned} g i , j s ˉ i , j t i , j = μ j A g i , j A + μ j B g i , j B + μ j C g i , j C + μ j D g i , j D , = μ j A s ˉ i , j A + μ j B s ˉ i , j B + μ j C s ˉ i , j C + μ j D s ˉ i , j D , = μ j A t i , j A + μ j B t i , j B + μ j C t i , j C + μ j D t i , j D . (11)
As stated before, there are two variables δ i , j \delta_{i,j} δ i , j and σ i , j \sigma_{i,j} σ i , j that need to satisfy some properties:
Property 6.17. The values of δ i , j \delta_{i,j} δ i , j for μ j A > 0 \mu^A_j>0 μ j A > 0 need to satisfy the following properties:
∀ i , j \forall i,j ∀ i , j : 0 ≤ δ i , j ≤ g ^ i 0\leq\delta_{i,j}\leq\hat{g}_i 0 ≤ δ i , j ≤ g ^ i .
For i ≤ f j i\leq f_j i ≤ f j : δ i , j = 0 \delta_{i,j}=0 δ i , j = 0 .
∑ i = f j + 1 t 3 ∗ δ i , j = ε ⋅ [ 1 − [ θ − R f j ] + θ ] \sum_{i=f_j+1}^{t_3^*}\delta_{i,j}=\varepsilon\cdot\left[1-\frac{[\theta-R_{f_j}]^+}{\theta}\right] ∑ i = f j + 1 t 3 ∗ δ i , j = ε ⋅ [ 1 − θ [ θ − R f j ] + ] .
Property 6.18. The values of σ i , j \sigma_{i,j} σ i , j for μ j A > 0 \mu^A_j>0 μ j A > 0 need to satisfy the following properties:
∀ i , j \forall i,j ∀ i , j : 0 ≤ σ i , j ≤ g ^ i 0\leq\sigma_{i,j}\leq\hat{g}_i 0 ≤ σ i , j ≤ g ^ i .
For i < j i<j i < j or i > f j i>f_j i > f j : σ i , j = 0 \sigma_{i,j}=0 σ i , j = 0 .
∑ i = j f j σ i , j = [ θ − R f j ] + \sum_{i=j}^{f_j}\sigma_{i,j}=[\theta-R_{f_j}]^+ ∑ i = j f j σ i , j = [ θ − R f j ] + .
Feasibility with correct advice
This section is the proof of Lemma 6.3 . Fix a bidding matrix b b b and admissible advice Γ \Gamma Γ for which the procedure succeeds. We prove that its output yields a feasible dual solution of value 2 − ( γ − 1 ) 2 2-(\gamma-1)^2 2 − ( γ − 1 ) 2 . The existence of such advice is established in § 6.4 . This implies that for this choice of auxiliary variables, Algorithm 3 finishes without returning ⊥ \bot ⊥ . We first analyze the preliminary sent-credit matrix s ˉ \bar{s} s ˉ from Table 2 , and at the end shift its diagonal mass to obtain a feasible solution with ρ = 2 − ( γ − 1 ) 2 \rho= 2 - (\gamma- 1)^2 ρ = 2 − ( γ − 1 ) 2 .
For the first step, we need to prove that the algorithm is valid and can return a solution. The main problem is proving that the properties for δ \delta δ and σ \sigma σ can be satisfied. We thus need to prove the following two lemmas:
Lemma 6.19. It is possible to assign values δ i , j \delta_{i,j} δ i , j that satisfy Property 6.17.
Lemma 6.20. It is possible to assign values σ i , j \sigma_{i,j} σ i , j that satisfy Property 6.18.
To prove them, we need some observation around the procedure. Algorithm 3 computes a profile for g ^ i \hat{g}_i g ^ i and computes a pair of thresholds t 1 t_1 t 1 and t 2 t_2 t 2 using the input variables. For such thresholds, we can observe the following:
Observation 6.21. We have R t 3 ∗ = 0 R_{t_3^*} = 0 R t 3 ∗ = 0 , R t 2 − 1 ≥ θ R_{t_2-1} \ge\theta R t 2 − 1 ≥ θ , R t 1 − 1 ≥ τ ˉ R_{t_1-1} \ge\bar{\tau} R t 1 − 1 ≥ τ ˉ , and R 0 = 1 R_0 = 1 R 0 = 1 . Also, if t 2 ≠ n t_2 \ne n t 2 = n then R t 2 < θ R_{t_2} < \theta R t 2 < θ , and if t 1 ≠ n t_1 \ne n t 1 = n then R t 1 < τ ˉ R_{t_1} < \bar{\tau} R t 1 < τ ˉ . Also, we have that R j R_j R j is non-increasing in j j j .
Observation 6.22. We have g ^ t 1 > 0 \hat{g}_{t_1} > 0 g ^ t 1 > 0 and g ^ t 2 > 0 \hat{g}_{t_2} > 0 g ^ t 2 > 0 .
The former observation follows trivially from the definitions in Algorithm 3 and, for the latter, the claims for t 1 < n t_1 < n t 1 < n and t 2 < n t_2 < n t 2 < n follow trivially from Observation 6.21 and the claim for t 1 = n t_1 = n t 1 = n and the claim for t 2 = n t_2 = n t 2 = n are trivially checked. With this, we are able to prove the lemmas:
Proof of Lemmas 6.19 and 6.20. For δ \delta δ , it suffices to prove that, for all 1 ≤ j ≤ t 1 1 \le j \le t_1 1 ≤ j ≤ t 1 ,
∑ i = f j + 1 t 3 ∗ g ^ i ≥ ε ⋅ [ 1 − [ θ − R f j ] + θ ] . \sum_{i=f_j+1}^{t_3^*} \hat{g}_i \ge\varepsilon\cdot\left[1-\frac{[\theta-R_{f_j}]^+}{\theta}\right]. i = f j + 1 ∑ t 3 ∗ g ^ i ≥ ε ⋅ [ 1 − θ [ θ − R f j ] + ] .
Note that the left-hand side is equal to R f j − R t 3 ∗ = R f j R_{f_j}-R_{t_3^*}=R_{f_j} R f j − R t 3 ∗ = R f j . Then we consider two cases. First, if R f j ≥ θ R_{f_j}\ge\theta R f j ≥ θ , we need to prove that R f j ≥ ε R_{f_j}\ge\varepsilon R f j ≥ ε , which is trivially true since ε ≤ θ \varepsilon\le\theta ε ≤ θ from Property 6.13. Second, if R f j < θ R_{f_j}<\theta R f j < θ , we need to prove that R f j ≥ ε ⋅ R f j θ R_{f_j}\ge\varepsilon\cdot\frac{R_{f_j}}{\theta} R f j ≥ ε ⋅ θ R f j , which is again trivially true. Therefore one can choose δ i , j \delta_{i,j} δ i , j greedily to satisfy the desired properties.
For σ \sigma σ , it suffices to prove that, for all 1 ≤ j ≤ t 1 1\le j\le t_1 1 ≤ j ≤ t 1 ,
∑ i = j f j g ^ i ≥ [ θ − R f j ] + . \sum_{i=j}^{f_j}\hat{g}_i\ge[\theta-R_{f_j}]^+. i = j ∑ f j g ^ i ≥ [ θ − R f j ] + .
Note that the left-hand side is equal to R j − 1 − R f j R_{j-1}-R_{f_j} R j − 1 − R f j . Then note that, because j ≤ t 1 j\le t_1 j ≤ t 1 , we have R j − 1 ≥ τ ˉ R_{j-1}\ge\bar{\tau} R j − 1 ≥ τ ˉ from the observations, so R j − 1 − R f j ≥ τ ˉ − R f j ≥ θ − R f j R_{j-1}-R_{f_j}\ge\bar{\tau}-R_{f_j}\ge\theta-R_{f_j} R j − 1 − R f j ≥ τ ˉ − R f j ≥ θ − R f j , and the claim follows trivially as the left-hand side is nonnegative. Therefore one can choose σ i , j \sigma_{i,j} σ i , j greedily to satisfy the desired properties.
We now prove that the preliminary assignment satisfies every constraint of the factor-revealing dual except possibly the diagonal convention s ˉ i , i = 0 \bar{s}_{i,i}=0 s ˉ i , i = 0 .
Non-negativity of the variables is satisfied in our algorithm, but we defer the proof in Appendix § 9 .
Lemma 6.23. We have g ^ i , g i , j , t i , j , s ˉ i , j ≥ 0 \hat{g}_i,g_{i,j},t_{i,j},\bar{s}_{i,j}\ge0 g ^ i , g i , j , t i , j , s ˉ i , j ≥ 0 for all valid i , j i,j i , j .
To work with the rest of the constraints, we first present some intuition about the problem. We look at the program above from Definition 4.5 as a process consisting of n n n "clients" and a central pool, each having some credit that is generated and transferred around through some specific mechanism. This credit evolves in this mechanism through n n n iterations, where in each iteration each client has a constraint on the minimal amount of credit that they must have at that point. With these constraints set, the goal is to minimize an objective function that depends on how the credit is generated and transferred.
Let us first define what we mean by credit for the clients and for the central pool:
Definition 6.24. The amount of credit a client j j j has at iteration i i i for j ≤ i j\le i j ≤ i is:
credit i , j = ∑ j ′ = j + 1 n g j ′ , j + ∑ i ′ = j i ( g i ′ , j + t i ′ , j − s ˉ i ′ , j ) . \operatorname{credit}_{i,j}=\sum_{j'=j+1}^{n}g_{j',j}+\sum_{i'=j}^{i}(g_{i',j}+t_{i',j}-\bar{s}_{i',j}). credit i , j = j ′ = j + 1 ∑ n g j ′ , j + i ′ = j ∑ i ( g i ′ , j + t i ′ , j − s ˉ i ′ , j ) .
Note that this is the left-hand side of the ( r j , i ) (r_{j,i}) ( r j , i ) constraint.
Definition 6.25. The amount of credit that the central pool has at iteration i i i is:
p o o l _ c r e d i t i = ∑ i ′ = 1 i ∑ j ′ = 1 i ′ ( s ˉ i ′ , j ′ − t i ′ , j ′ ) . pool\_credit_i = \sum_{i'=1}^{i}\sum_{j'=1}^{i'}(\bar{s}_{i',j'}-t_{i',j'}) . p oo l _ cr e d i t i = i ′ = 1 ∑ i j ′ = 1 ∑ i ′ ( s ˉ i ′ , j ′ − t i ′ , j ′ ) . Note that this is the left-hand side of the ( m i ) (m_i) ( m i ) constraint.
Every time step, these quantities change by the following amount:
Observation 6.26. The difference in credit between two different timesteps i − 1 i-1 i − 1 and i i i for a client j < i j<i j < i for i ≥ 2 i\ge2 i ≥ 2 is:
Δ c r e d i t i , j = c r e d i t i , j − c r e d i t i − 1 , j = g i , j − s ˉ i , j + t i , j . \Delta credit_{i,j}=credit_{i,j}-credit_{i-1,j}=g_{i,j}-\bar{s}_{i,j}+t_{i,j}. Δ cr e d i t i , j = cr e d i t i , j − cr e d i t i − 1 , j = g i , j − s ˉ i , j + t i , j .
Similarly, we can make the following observation for p o o l _ c r e d i t i pool\_credit_i p oo l _ cr e d i t i :
Observation 6.27. The difference in the central pool credit between timesteps i − 1 i-1 i − 1 and i i i for i ≥ 1 i\ge1 i ≥ 1 is:
Δ p o o l _ c r e d i t i = p o o l _ c r e d i t i − p o o l _ c r e d i t i − 1 = ∑ j = 1 i ( s i , j − t i , j ) . \Delta pool\_credit_i=pool\_credit_i-pool\_credit_{i-1}=\sum_{j=1}^{i}(s_{i,j}-t_{i,j}). Δ p oo l _ cr e d i t i = p oo l _ cr e d i t i − p oo l _ cr e d i t i − 1 = j = 1 ∑ i ( s i , j − t i , j ) .
We interpret s ˉ i , j \bar{s}_{i,j} s ˉ i , j as credit stored by client j j j in the central pool at timestep i i i , and t i , j t_{i,j} t i , j as credit taken by client j j j from the central pool at timestep i i i . On the other hand, the variables g i , j g_{i,j} g i , j correspond to the generated credit, the amount ∑ j ′ = 1 n g j , j ′ \sum_{j'=1}^{n}g_{j,j'} ∑ j ′ = 1 n g j , j ′ being an initial amount given to j j j , and the terms g i , j g_{i,j} g i , j for j < i j<i j < i being the credit at timestep i i i that goes to client j j j . All the generated credit comes just from the g i , j g_{i,j} g i , j variables.
The procedure defined in Section 6.2 is one way to assign values to the variables g i , j g_{i,j} g i , j , s ˉ i , j \bar{s}_{i,j} s ˉ i , j and t i , j t_{i,j} t i , j in a way that bounds the objective value to 2 − ( γ − 1 ) 2 2-(\gamma-1)^2 2 − ( γ − 1 ) 2 . It works by separating clients into different groups A A A , B B B , C C C and D D D and treating each group differently. There are two exceptions, two clients that might be part of a group and part of another. We define the memberships through μ j X \mu_j^X μ j X to define how much one belongs to group X X X . From (10) , these groups are created based on the thresholds t 1 t_1 t 1 , t 2 t_2 t 2 and t 3 ∗ t_3^* t 3 ∗ for which we can observe the following:
Observation 6.28. If j < t 1 j<t_1 j < t 1 , then μ j A + μ j D = 1 \mu_j^A+\mu_j^D=1 μ j A + μ j D = 1 . If j = t 1 j=t_1 j = t 1 , then μ j A + μ j B + μ j D = 1 \mu_j^A+\mu_j^B+\mu_j^D=1 μ j A + μ j B + μ j D = 1 . If t 1 < j ≤ t 2 t_1<j\le t_2 t 1 < j ≤ t 2 , then μ j B + μ j D = 1 \mu_j^B+\mu_j^D=1 μ j B + μ j D = 1 . If t 2 < j ≤ t 3 ∗ t_2<j\le t_3^* t 2 < j ≤ t 3 ∗ , then μ j C + μ j D = 1 \mu_j^C+\mu_j^D=1 μ j C + μ j D = 1 . If j > t 3 ∗ j>t_3^* j > t 3 ∗ , then μ j D = 1 \mu_j^D=1 μ j D = 1 .
More specifically, for clients in group D D D , we have that:
Observation 6.29. If j < n j<n j < n , we have g ^ j = 0 \hat{g}_j=0 g ^ j = 0 if and only if μ j D = 1 \mu_j^D=1 μ j D = 1 .
Proof. For j < t 3 ∗ j<t_3^* j < t 3 ∗ and j = t 3 ∗ < n j=t_3^*<n j = t 3 ∗ < n , it follows by the assignment formulas, and for j > t 3 ∗ j>t_3^* j > t 3 ∗ , all g ^ j = 0 \hat{g}_j=0 g ^ j = 0 and all j j j have μ j D = 1 \mu_j^D=1 μ j D = 1 ; proving the statement.
This last proof is important because it implies that at such a step j j j , since g j , k ≤ g ^ j g_{j,k}\le\hat{g}_j g j , k ≤ g ^ j by the ( γ i , j (\gamma_{i,j} ( γ i , j and β i , j ) \beta_{i,j}) β i , j ) constraint, we have that no new credit is generated at that iteration. This constraint states that per each iteration i i i , there is a maximum amount of credit g ^ i \hat{g}_i g ^ i that every client can generate, and it is a constraint that our algorithm does indeed follow:
Lemma 6.30. The ( γ i , j / β i , j ) (\gamma_{i,j}/\beta_{i,j}) ( γ i , j / β i , j ) constraints are satisfied for all 1 ≤ i , j ≤ n 1\le i,j\le n 1 ≤ i , j ≤ n , i.e., g i , j ≤ g ^ i g_{i,j}\le\hat{g}_i g i , j ≤ g ^ i for all i , j i,j i , j .
Proof. The claim follows trivially from the assignments of g i , j g_{i,j} g i , j in Table 2 for integral clients, and the rest is proven by convexity.
This constraint is strong when combined with the ( f ) (f) ( f ) one, which constrains the total maximum amount of generated credit, capping it at 1 unit in total throughout all iterations; which we satisfy:
Lemma 6.31. The ( f ) (f) ( f ) constraint is satisfied, i.e., ∑ i = 1 n g ^ i ≤ 1 \sum_{i=1}^{n}\hat{g}_i\le1 ∑ i = 1 n g ^ i ≤ 1 .
Proof. The claim follows trivially from the fact that ∑ i = 1 n g ^ i = R 0 = 1 \sum_{i=1}^{n}\hat{g}_i=R_0=1 ∑ i = 1 n g ^ i = R 0 = 1 .
For the credit in our procedure, we can exactly pinpoint the amount of credit that each client has at every point, which has a different behavior for the different groups.
Proposition 6.32. For j ≤ i < f j j \le i < f_j j ≤ i < f j , the credit that client j j j has at iteration i i i is:
credit i , j = { 1 − [ θ − R f j ] + + ∑ i ′ = j i σ i ′ , j , if j ∈ A , τ + min { R j − 1 , τ ˉ } , if j ∈ B , τ + R j − 1 , if j ∈ C , R j − 1 − R i , if j ∈ D , \operatorname{credit}_{i,j} =
\begin{cases}
1 - [\theta- R_{f_j}]^{+} + \sum_{i'=j}^{i} \sigma_{i',j}, & \text{if } j \in A,\\
\tau+ \min\{R_{j-1},\bar{\tau}\}, & \text{if } j \in B,\\
\tau+ R_{j-1}, & \text{if } j \in C,\\
R_{j-1} - R_i, & \text{if } j \in D,
\end{cases} credit i , j = ⎩ ⎨ ⎧ 1 − [ θ − R f j ] + + ∑ i ′ = j i σ i ′ , j , τ + min { R j − 1 , τ ˉ } , τ + R j − 1 , R j − 1 − R i , if j ∈ A , if j ∈ B , if j ∈ C , if j ∈ D , where the expression for a fractional split client j j j is the corresponding convex combination of the expressions for the integral cases, i.e.,
credit i , j = μ j A credit i , j A + μ j B credit i , j B + μ j C credit i , j C + μ j D credit i , j D . \operatorname{credit}_{i,j} = \mu_j^A \operatorname{credit}_{i,j}^A + \mu_j^B \operatorname{credit}_{i,j}^B + \mu_j^C \operatorname{credit}_{i,j}^C + \mu_j^D \operatorname{credit}_{i,j}^D. credit i , j = μ j A credit i , j A + μ j B credit i , j B + μ j C credit i , j C + μ j D credit i , j D . where credit i , j A \operatorname{credit}_{i,j}^A credit i , j A , credit i , j B \operatorname{credit}_{i,j}^B credit i , j B , credit i , j C \operatorname{credit}_{i,j}^C credit i , j C , and credit i , j D \operatorname{credit}_{i,j}^D credit i , j D are the expressions defined in the first four cases.
Proof. The four integral cases are exactly Lemmas C.6 , C.7 , C.8 , and C.9 . The proof for the fractional cases being a convex combination is in Lemma C.10 . All these lemmas and their proofs are deferred to Appendix § 9 .
Proposition 6.33. For i ≥ f j i \ge f_j i ≥ f j , the credit that client j j j has at iteration i i i is:
credit i , j = { 1 − ∑ i ′ = f j + 1 i δ i ′ , j , if j ∈ A , 1 − 1 [ i > f j ] ⋅ ε , if j ∈ B , 1 − 1 [ i > f j ] ⋅ ε , if j ∈ C , 1 , if j ∈ D , \operatorname{credit}_{i,j} =
\begin{cases}
1 - \sum_{i'=f_j+1}^{i} \delta_{i',j}, & \text{if } j \in A,\\
1 - \mathbb{1}[i > f_j]\cdot\varepsilon, & \text{if } j \in B,\\
1 - \mathbb{1}[i > f_j]\cdot\varepsilon, & \text{if } j \in C,\\
1, & \text{if } j \in D,
\end{cases} credit i , j = ⎩ ⎨ ⎧ 1 − ∑ i ′ = f j + 1 i δ i ′ , j , 1 − 1 [ i > f j ] ⋅ ε , 1 − 1 [ i > f j ] ⋅ ε , 1 , if j ∈ A , if j ∈ B , if j ∈ C , if j ∈ D , where the expression for a fractional split client j j j is the corresponding convex combination of the expressions for the integral cases, i.e.,
credit i , j = μ j A credit i , j A + μ j B credit i , j B + μ j C credit i , j C + μ j D credit i , j D . \operatorname{credit}_{i,j} = \mu_j^A \operatorname{credit}_{i,j}^A + \mu_j^B \operatorname{credit}_{i,j}^B + \mu_j^C \operatorname{credit}_{i,j}^C + \mu_j^D \operatorname{credit}_{i,j}^D. credit i , j = μ j A credit i , j A + μ j B credit i , j B + μ j C credit i , j C + μ j D credit i , j D . where credit i , j A \operatorname{credit}_{i,j}^A credit i , j A , credit i , j B \operatorname{credit}_{i,j}^B credit i , j B , credit i , j C \operatorname{credit}_{i,j}^C credit i , j C , and credit i , j D \operatorname{credit}_{i,j}^D credit i , j D are the expressions defined in the first four cases.
Proof. The four integral cases are exactly Lemmas C.1, C.2, C.3, and C.4. The proof for the fractional cases being a convex combination is in Lemma C.5. All these lemmas and their proofs are deferred to Appendix § 9 .
From where we can observe that:
Observation 6.34. The credit that each client j j j has at iteration i i i (as defined in Definition 6.24 ) is always non-negative.
Proof. For i ≥ f j i \ge f_j i ≥ f j , the claim follows from the proof of Proposition 6.33 . For i < f j i < f_j i < f j , the proof follows by Proposition 6.32 .
With these observations, we can now check that the requirements on the clients’ credits are satisfied, i.e., we can check the ( r j , i ) (r_{j,i}) ( r j , i ) constraints.
Lemma 6.35. The ( r j , i ) (r_{j,i}) ( r j , i ) constraints are satisfied for all $1 \le j \le i \le n$, i.e.
credit i , j ≥ b i , j − ε ⋅ ∑ p = j i − 1 b p , j . \operatorname{credit}_{i,j} \ge b_{i,j} - \varepsilon\cdot\sum_{p=j}^{i-1} b_{p,j}. credit i , j ≥ b i , j − ε ⋅ p = j ∑ i − 1 b p , j . Proof. From Observation 6.34 , we can see that if the right hand side is 0 (which happens when i < f j i < f_j i < f j ), then the constraint is satisfied. Thus, we only need to check the case i ≥ f j i \ge f_j i ≥ f j . We will split the cases into the different groups A A A , B B B , C C C , and D D D of clients using Proposition 6.33 .
We will have to analyze two cases, when i = f j i = f_j i = f j so that the right hand side is 1 (since b f j , j = 1 b_{f_j,j} = 1 b f j , j = 1 and b p , j = 0 b_{p,j} = 0 b p , j = 0 for p < f j p < f_j p < f j ), and when i > f j i > f_j i > f j so that the right hand side is at most 1 − ε 1-\varepsilon 1 − ε (since b f j , j = 1 b_{f_j,j} = 1 b f j , j = 1 and b i , j ≤ 1 b_{i,j} \le1 b i , j ≤ 1 ).
For an integral client j ∈ A j \in A j ∈ A , for i = f j i = f_j i = f j , the left-hand side of the lemma’s inequality is 1 from Proposition 6.33 , since ∑ i ′ = f j + 1 i δ i ′ , j = 0 \sum_{i'=f_j+1}^{i} \delta_{i',j} = 0 ∑ i ′ = f j + 1 i δ i ′ , j = 0 as i = f j i = f_j i = f j . The right hand side of the lemma’s inequality
is also 1 as stated in the first paragraph, which satisfies the constraint. For i > f j i > f_j i > f j , we have that
∑ i ′ = f j + 1 i δ i ′ , j ≤ ε ⋅ [ 1 − [ θ − R f j ] + θ ] \sum_{i'=f_j+1}^{i} \delta_{i',j} \le\varepsilon\cdot\left[1-\frac{[\theta-R_{f_j}]^{+}}{\theta}\right] i ′ = f j + 1 ∑ i δ i ′ , j ≤ ε ⋅ [ 1 − θ [ θ − R f j ] + ]
by Property 6.17, which itself is at most ε \varepsilon ε , so that the left-hand side is at least 1 − ε 1-\varepsilon 1 − ε . On the other hand, the right hand side is at most 1 − ε 1-\varepsilon 1 − ε and thus the constraint is satisfied.
For j ∈ B j \in B j ∈ B or j ∈ C j \in C j ∈ C , for i = f j i=f_j i = f j , the left-hand side of the lemma’s inequality is 1 from Proposition 6.33, since 1 [ i > f j ] = 0 \mathbb{1}[i>f_j]=0 1 [ i > f j ] = 0 as i = f j i=f_j i = f j . The right hand side of the lemma’s inequality is also 1 as stated in the first paragraph, which satisfies the constraint. For i > f j i>f_j i > f j , we have that 1 [ i > f j ] = 1 \mathbb{1}[i>f_j]=1 1 [ i > f j ] = 1 , so that the left-hand side is at least 1 − ε 1-\varepsilon 1 − ε . On the other hand, the right hand side is at most 1 − ε 1-\varepsilon 1 − ε and thus the constraint is satisfied.
For j ∈ D j \in D j ∈ D , for both i = f j i=f_j i = f j and i > f j i>f_j i > f j , the left-hand side of the lemma’s inequality is 1 from Proposition 6.33, thus the constraint is satisfied as it is bigger than the right hand side which is at most 1 at any point.
Finally, for fractionally assigned clients, the left-hand side of the lemma’s inequality is a convex combination of the left-hand sides for the integral cases, and the right hand side is the same in all cases, so that the constraint is satisfied as well.
For the rest of the proof, we will also be interested in how much credit has been generated by client j j j during all timesteps i i i , whose behavior also differs depending on the membership of j j j . Do note that, by the mechanism of the dual, not all this credit is kept by the client: for iterations i < j i<j i < j this credit goes to the clients k < j k<j k < j and after that, it can be that the client sends it to the central pool.
Lemma 6.36. Let
∑ i = 1 n g i , j = { 1 − ε ⋅ ( 1 − [ θ − R f j ] + θ ) , if j ∈ A , 1 , if j ∈ B , 1 , if j ∈ C , 1 − ε ⋅ [ 1 − R j − 1 θ ] + , if j ∈ D . \sum_{i=1}^{n} g_{i,j} =
\begin{cases}
1-\varepsilon\cdot\left(1-\dfrac{[\theta-R_{f_j}]^{+}}{\theta}\right), & \text{if } j\in A,\\
1, & \text{if } j\in B,\\
1, & \text{if } j\in C,\\
1-\varepsilon\cdot\left[1-\dfrac{R_{j-1}}{\theta}\right]^{+}, & \text{if } j\in D.
\end{cases} i = 1 ∑ n g i , j = ⎩ ⎨ ⎧ 1 − ε ⋅ ( 1 − θ [ θ − R f j ] + ) , 1 , 1 , 1 − ε ⋅ [ 1 − θ R j − 1 ] + , if j ∈ A , if j ∈ B , if j ∈ C , if j ∈ D . where the expression for a fractional split client j j j is the corresponding convex combination of the expressions for the integral cases, i.e.,
∑ i = 1 n g i , j = μ j A G j A + μ j B G j B + μ j C G j C + μ j D G j D . \sum_{i=1}^{n} g_{i,j}=\mu_j^A G_j^A+\mu_j^B G_j^B+\mu_j^C G_j^C+\mu_j^D G_j^D. i = 1 ∑ n g i , j = μ j A G j A + μ j B G j B + μ j C G j C + μ j D G j D . with G A G^A G A , G B G^B G B , G C G^C G C , and G D G^D G D being the expressions defined in the first four cases for ∑ i = 1 n g i , j \sum_{i=1}^{n}g_{i,j} ∑ i = 1 n g i , j .
Proof. We analyze each specific case in Lemmas C.11, C.12, C.13, and C.14, and the fractional case is then argued in Lemma C.15. All these lemmas and their proofs are deferred to Appendix § 9 .
Using these observations, we can already prove the objective constraint.
Lemma 6.37. The ( d j ) (d_j) ( d j ) constraints are satisfied for all 1 ≤ j ≤ n 1\le j\le n 1 ≤ j ≤ n , i.e.:
γ ⋅ ∑ i = 1 n g i , j + ∑ i = j n ( s ˉ i , j + t i , j ) ≤ ρ = 2 − ( γ − 1 ) 2 . \gamma\cdot\sum_{i=1}^{n}g_{i,j}+\sum_{i=j}^{n}(\bar{s}_{i,j}+t_{i,j})\le\rho=2-(\gamma-1)^2. γ ⋅ i = 1 ∑ n g i , j + i = j ∑ n ( s ˉ i , j + t i , j ) ≤ ρ = 2 − ( γ − 1 ) 2 . Proof. The proof follows by Lemmas C.21, C.22, C.23 and C.24 for the cases that the client j j j belongs integrally to A A A , B B B , C C C or D D D respectively. For a fractionally assigned client j j j , the proof follows from Lemma C.25.
So, the preliminary assignment now satisfies the nonnegativity, generation, client-credit, and objective constraints. It remains to prove that the pool credit is nonnegative at every iteration, which is the lengthiest part of the proof, and then to enforce the zero-diagonal convention.
To do so, it will also be interesting to define a specific credit profile g ^ i \hat{g}_i g ^ i that is generated in the second phase for clients in B B B and C C C , which we will call g ^ i ′ \hat{g}'_i g ^ i ′ . This will be very useful with the analysis of the ( m i ) (m_i) ( m i ) constraint.
Definition 6.38. We define g ^ i ′ = g ^ i \hat{g}'_i=\hat{g}_i g ^ i ′ = g ^ i if i ≠ t 1 i\ne t_1 i = t 1 and g ^ t 1 ′ = g ^ t 1 B \hat{g}'_{t_1}=\hat{g}^{B}_{t_1} g ^ t 1 ′ = g ^ t 1 B (except in the special case t 1 = n t_1=n t 1 = n , where we define g ^ n ′ = g ^ n ∗ \hat{g}'_n=\hat{g}^{*}_n g ^ n ′ = g ^ n ∗ ). We also define R i ′ = ∑ i ′ = i + 1 n g ^ i ′ ′ R'_i=\sum_{i'=i+1}^{n}\hat{g}'_{i'} R i ′ = ∑ i ′ = i + 1 n g ^ i ′ ′ .
Although Proposition 6.33 gives exact formulas for client credit, doing the same for the pool is a lot more involved. However, we can still analyze the behavior of the credit of the central pool through the iterations, which is what is used to prove the next lemma. Its proof is the most involved in this section.
Lemma 6.39. The ( m i ) (m_i) ( m i ) constraints are satisfied for all 1 ≤ i ≤ n 1 \le i \le n 1 ≤ i ≤ n :
pool_credit i ≥ 0. \operatorname{pool\_credit}_i \ge0. pool_credit i ≥ 0.
Proof. For a general case, we can rewrite pool_credit i \operatorname{pool\_credit}_i pool_credit i as
pool_credit i = ∑ p = 1 i ∑ j = 1 p s ˉ p , j − ∑ p = 1 i ∑ j = 1 p t p , j = ∑ j = 1 i ∑ p = j i s ˉ p , j − ∑ j = 1 i t f j , j ⋅ 1 [ f j ≤ i ] (12) \operatorname{pool\_credit}_i = \sum_{p=1}^{i}\sum_{j=1}^{p}\bar{s}_{p,j}-\sum_{p=1}^{i}\sum_{j=1}^{p}t_{p,j}=\sum_{j=1}^{i}\sum_{p=j}^{i}\bar{s}_{p,j}-\sum_{j=1}^{i}t_{f_j,j}\cdot\mathbb{1}[f_j\le i] \tag*{(12)} pool_credit i = p = 1 ∑ i j = 1 ∑ p s ˉ p , j − p = 1 ∑ i j = 1 ∑ p t p , j = j = 1 ∑ i p = j ∑ i s ˉ p , j − j = 1 ∑ i t f j , j ⋅ 1 [ f j ≤ i ] (12)
using the fact that t p , j ≠ 0 t_{p,j}\ne0 t p , j = 0 only for p = f j p=f_j p = f j . We will split up our analysis depending on where this i i i is related to the threshold values.
Case 1: i < t 1 i<t_1 i < t 1 . For i < t 1 i<t_1 i < t 1 , since we have μ j A + μ j D = 1 \mu_j^A+\mu_j^D=1 μ j A + μ j D = 1 by Observation 6.28 we can substitute the value of t f j , j t_{f_j,j} t f j , j :
t f j , j ⋅ 1 [ f j ≤ i ] = μ j D ⋅ ( 1 − R j − 1 ) ⋅ 1 [ f j ≤ i ] = 0 t_{f_j,j}\cdot\mathbb{1}[f_j\le i]=\mu_j^D\cdot(1-R_{j-1})\cdot\mathbb{1}[f_j\le i]=0 t f j , j ⋅ 1 [ f j ≤ i ] = μ j D ⋅ ( 1 − R j − 1 ) ⋅ 1 [ f j ≤ i ] = 0
because μ j D > 0 \mu_j^D>0 μ j D > 0 only if f j ≥ t 3 ∗ ≥ t 1 > i f_j\ge t_3^*\ge t_1>i f j ≥ t 3 ∗ ≥ t 1 > i , so in that case 1 [ f j ≤ i ] = 0 \mathbb{1}[f_j\le i]=0 1 [ f j ≤ i ] = 0 . So, the resulting inequality only has the term ∑ j = 1 i ∑ p = j i s ˉ p , j \sum_{j=1}^{i}\sum_{p=j}^{i}\bar{s}_{p,j} ∑ j = 1 i ∑ p = j i s ˉ p , j which is non-negative, and thus the ( m i ) (m_i) ( m i ) constraint for i < t 1 i<t_1 i < t 1 is satisfied.
Case 2: i = t 1 i=t_1 i = t 1 . For i = t 1 i=t_1 i = t 1 , we have the same except for j = t 1 j=t_1 j = t 1 for which we get that t f t 1 , t 1 = μ t 1 B [ 1 − R t 1 − 1 − τ ] + + μ t 1 D ( 1 − R t 1 − 1 ) t_{f_{t_1},t_1}=\mu_{t_1}^B[1-R_{t_1-1}-\tau]_++\mu_{t_1}^D(1-R_{t_1-1}) t f t 1 , t 1 = μ t 1 B [ 1 − R t 1 − 1 − τ ] + + μ t 1 D ( 1 − R t 1 − 1 ) . For such an index we have R t 1 − 1 ≥ τ ˉ R_{t_1-1}\ge\bar{\tau} R t 1 − 1 ≥ τ ˉ by Observation 6.21, so its contribution to t t t from B B B is still 0 0 0 . Thus, we still have for all j ≤ t 1 j\le t_1 j ≤ t 1 : t f j , j ⋅ 1 [ f j ≤ i ] = μ j D ⋅ ( 1 − R j − 1 ) ⋅ 1 [ f j ≤ i ] t_{f_j,j}\cdot\mathbb{1}[f_j\le i]=\mu_j^D\cdot(1-R_{j-1})\cdot\mathbb{1}[f_j\le i] t f j , j ⋅ 1 [ f j ≤ i ] = μ j D ⋅ ( 1 − R j − 1 ) ⋅ 1 [ f j ≤ i ] . Such a term can now be non-zero, but only if f j ≥ t 3 ∗ ≥ t 1 = i f_j\ge t_3^*\ge t_1=i f j ≥ t 3 ∗ ≥ t 1 = i , which allows μ j D > 0 \mu_j^D>0 μ j D > 0 . But then 1 [ f j ≤ i ] ≠ 0 \mathbb{1}[f_j\le i]\ne0 1 [ f j ≤ i ] = 0 only if t 1 = t 2 = t 3 ∗ t_1=t_2=t_3^* t 1 = t 2 = t 3 ∗ , and we will postpone the analysis for such a case when analyzing directly t 3 ∗ t_3^* t 3 ∗ below in case 4.
Case 3: t 1 < i < t 3 ∗ t_1<i<t_3^* t 1 < i < t 3 ∗ . For t 1 < i < t 3 ∗ t_1<i<t_3^* t 1 < i < t 3 ∗ , starting from Equation (12) , we first separate the sums into two parts, one for p < t 1 p<t_1 p < t 1 and another for p ≥ t 1 p\ge t_1 p ≥ t 1 :
∑ j = 1 i ∑ p = j i s ˉ p , j − ∑ j = 1 i t f j , j ⋅ 1 [ f j ≤ i ] = ( ∑ j = 1 t 1 − 1 ∑ p = j i s ˉ p , j − ∑ j = 1 t 1 − 1 t f j , j ⋅ 1 [ f j ≤ i ] ) + ∑ j = t 1 i ∑ p = j i s ˉ p , j − ∑ j = t 1 i t f j , j ⋅ 1 [ f j ≤ i ] ≥ ∑ j = t 1 i ∑ p = j i s ˉ p , j − ∑ j = t 1 i t f j , j ⋅ 1 [ f j ≤ i ] . \begin{aligned}
\sum_{j=1}^{i}\sum_{p=j}^{i}\bar{s}_{p,j}-\sum_{j=1}^{i}t_{f_j,j}\cdot\mathbb{1}[f_j\le i]
=
\left(\sum_{j=1}^{t_1-1}\sum_{p=j}^{i}\bar{s}_{p,j}-\sum_{j=1}^{t_1-1}t_{f_j,j}\cdot\mathbb{1}[f_j\le i]\right)
+\sum_{j=t_1}^{i}\sum_{p=j}^{i}\bar{s}_{p,j}-\sum_{j=t_1}^{i}t_{f_j,j}\cdot\mathbb{1}[f_j\le i] \\
&\ge\sum_{j=t_1}^{i}\sum_{p=j}^{i}\bar{s}_{p,j}-\sum_{j=t_1}^{i}t_{f_j,j}\cdot\mathbb{1}[f_j\le i].
\end{aligned} j = 1 ∑ i p = j ∑ i s ˉ p , j − j = 1 ∑ i t f j , j ⋅ 1 [ f j ≤ i ] = ( j = 1 ∑ t 1 − 1 p = j ∑ i s ˉ p , j − j = 1 ∑ t 1 − 1 t f j , j ⋅ 1 [ f j ≤ i ] ) + j = t 1 ∑ i p = j ∑ i s ˉ p , j − j = t 1 ∑ i t f j , j ⋅ 1 [ f j ≤ i ] ≥ j = t 1 ∑ i p = j ∑ i s ˉ p , j − j = t 1 ∑ i t f j , j ⋅ 1 [ f j ≤ i ] .
We can drop the first term because for j < t 1 j<t_1 j < t 1 we have t f j , j ⋅ 1 [ f j ≤ i ] = μ j D ⋅ ( 1 − R j − 1 ) ⋅ 1 [ f j ≤ i ] = 0 t_{f_j,j}\cdot\mathbb{1}[f_j\le i]=\mu_j^D\cdot(1-R_{j-1})\cdot\mathbb{1}[f_j\le i]=0 t f j , j ⋅ 1 [ f j ≤ i ] = μ j D ⋅ ( 1 − R j − 1 ) ⋅ 1 [ f j ≤ i ] = 0 , which is because μ j D = 0 \mu_j^D=0 μ j D = 0 unless f j ≥ t 3 ∗ f_j\ge t_3^* f j ≥ t 3 ∗ but i < t 3 ∗ i<t_3^* i < t 3 ∗ so 1 [ f j ≤ i ] = 0 \mathbb{1}[f_j\le i]=0 1 [ f j ≤ i ] = 0 .
Next, we substitute the values of s ˉ i , j \bar{s}_{i,j} s ˉ i , j and t i , j t_{i,j} t i , j . We first lower-bound the s ˉ \bar{s} s ˉ -term. For t 1 ≤ j < t 3 ∗ t_1\le j<t_3^* t 1 ≤ j < t 3 ∗ and p > j p>j p > j we have s ˉ p , j ≥ ( μ j B + μ j C ) ⋅ ( g ^ p + ϵ ⋅ 1 [ p = f j + 1 ] ) \bar{s}_{p,j}\ge(\mu_j^B+\mu_j^C)\cdot(\hat{g}_p+\epsilon\cdot\mathbb{1}[p=f_j+1]) s ˉ p , j ≥ ( μ j B + μ j C ) ⋅ ( g ^ p + ϵ ⋅ 1 [ p = f j + 1 ]) . Thus, we have:
∑ j = t 1 i ∑ p = j i s ˉ p , j ≥ ∑ j = t 1 i − 1 ∑ p = j + 1 i ( μ j B + μ j C ) ⋅ ( g ^ p + ϵ ⋅ 1 [ p = f j + 1 ] ) ≥ ∑ j = t 1 i − 1 ( μ j B + μ j C ) ⋅ ∑ p = j + 1 i g ^ p = ∑ j = t 1 i − 1 ( μ j B + μ j C ) ⋅ ( R j − R i ) . \begin{aligned}
\sum_{j=t_1}^{i}\sum_{p=j}^{i}\bar{s}_{p,j}\ge\sum_{j=t_1}^{i-1}\sum_{p=j+1}^{i}(\mu_j^B+\mu_j^C)\cdot(\hat{g}_p+\epsilon\cdot\mathbb{1}[p=f_j+1]) \\
&\ge\sum_{j=t_1}^{i-1}(\mu_j^B+\mu_j^C)\cdot\sum_{p=j+1}^{i}\hat{g}_p=\sum_{j=t_1}^{i-1}(\mu_j^B+\mu_j^C)\cdot(R_j-R_i).
\end{aligned} j = t 1 ∑ i p = j ∑ i s ˉ p , j ≥ j = t 1 ∑ i − 1 p = j + 1 ∑ i ( μ j B + μ j C ) ⋅ ( g ^ p + ϵ ⋅ 1 [ p = f j + 1 ]) ≥ j = t 1 ∑ i − 1 ( μ j B + μ j C ) ⋅ p = j + 1 ∑ i g ^ p = j = t 1 ∑ i − 1 ( μ j B + μ j C ) ⋅ ( R j − R i ) .
Then, we upper-bound the t t t -term. We first observe that t f t 1 , t 1 ⋅ 1 [ f t 1 ≤ i ] = ( 1 − R t 1 − 1 ) ⋅ μ t 1 D ⋅ 1 [ f t 1 ≤ i ] = 0 t_{f_{t_1},t_1}\cdot\mathbb{1}[f_{t_1}\le i]=(1-R_{t_1-1})\cdot\mu_{t_1}^D\cdot\mathbb{1}[f_{t_1}\le i]=0 t f t 1 , t 1 ⋅ 1 [ f t 1 ≤ i ] = ( 1 − R t 1 − 1 ) ⋅ μ t 1 D ⋅ 1 [ f t 1 ≤ i ] = 0 because μ t 1 B [ 1 − R t 1 − 1 − τ ] + = 0 \mu_{t_1}^B[1-R_{t_1-1}-\tau]_+=0 μ t 1 B [ 1 − R t 1 − 1 − τ ] + = 0 (as seen in the i = t 1 i=t_1 i = t 1 part of the proof) and μ t 1 D ⋅ 1 [ f t 1 ≤ i ] = 0 \mu_{t_1}^D\cdot\mathbb{1}[f_{t_1}\le i]=0 μ t 1 D ⋅ 1 [ f t 1 ≤ i ] = 0 because t 1 < t 3 ∗ t_1<t_3^* t 1 < t 3 ∗ . Then, we have:
∑ j = t 1 i t f j , j ⋅ 1 [ f j ≤ i ] = ∑ j = t 1 + 1 i ( ( μ j B + μ j C ) ⋅ ( 1 − ∑ p = j n g ^ p − τ ) + μ j D ⋅ ( 1 − R j − 1 ) ) ⋅ 1 [ f j ≤ i ] = ∑ j = t 1 + 1 i ( 1 − ∑ p = j n g ^ p − τ ) ⋅ ( μ j B + μ j C ) ⋅ 1 [ f j ≤ i ] ≤ ∑ j = t 1 + 1 i ( 1 − ∑ p = j n g ^ p − τ ) ⋅ ( μ j B + μ j C ) = ∑ j = t 1 + 1 i ∑ p = t 1 j − 1 g ^ p ⋅ ( μ j B + μ j C ) = ∑ p = t 1 i − 1 g ^ p ∑ j = p + 1 i ( μ j B + μ j C ) , \begin{aligned}
\sum_{j=t_1}^{i}t_{f_j,j}\cdot\mathbb{1}[f_j\le i]
=\sum_{j=t_1+1}^{i}\left((\mu_j^B+\mu_j^C)\cdot\left(1-\sum_{p=j}^{n}\hat{g}_p-\tau\right)+\mu_j^D\cdot(1-R_{j-1})\right)\cdot\mathbb{1}[f_j\le i] \\
&=\sum_{j=t_1+1}^{i}\left(1-\sum_{p=j}^{n}\hat{g}_p-\tau\right)\cdot(\mu_j^B+\mu_j^C)\cdot\mathbb{1}[f_j\le i] \\
&\le\sum_{j=t_1+1}^{i}\left(1-\sum_{p=j}^{n}\hat{g}_p-\tau\right)\cdot\left(\mu_j^B+\mu_j^C\right) \\
&= \sum_{j=t_1+1}^{i}\sum_{p=t_1}^{j-1}\hat{g}_p\cdot\left(\mu_j^B+\mu_j^C\right)=\sum_{p=t_1}^{i-1}\hat{g}_p\sum_{j=p+1}^{i}\left(\mu_j^B+\mu_j^C\right),
\end{aligned} j = t 1 ∑ i t f j , j ⋅ 1 [ f j ≤ i ] = j = t 1 + 1 ∑ i ( ( μ j B + μ j C ) ⋅ ( 1 − p = j ∑ n g ^ p − τ ) + μ j D ⋅ ( 1 − R j − 1 ) ) ⋅ 1 [ f j ≤ i ] = j = t 1 + 1 ∑ i ( 1 − p = j ∑ n g ^ p − τ ) ⋅ ( μ j B + μ j C ) ⋅ 1 [ f j ≤ i ] ≤ j = t 1 + 1 ∑ i ( 1 − p = j ∑ n g ^ p − τ ) ⋅ ( μ j B + μ j C ) = j = t 1 + 1 ∑ i p = t 1 ∑ j − 1 g ^ p ⋅ ( μ j B + μ j C ) = p = t 1 ∑ i − 1 g ^ p j = p + 1 ∑ i ( μ j B + μ j C ) ,
where we used that μ j D ⋅ 1 [ f j ≤ i ] = 0 \mu_j^D\cdot\mathbb{1}[f_j\le i]=0 μ j D ⋅ 1 [ f j ≤ i ] = 0 for i < t 3 ⋆ i<t_3^\star i < t 3 ⋆ , that 1 − ∑ p = j n g ^ p − τ = τ ˉ − R j − 1 > 0 1-\sum_{p=j}^{n}\hat{g}_p-\tau=\bar{\tau}-R_{j-1}>0 1 − ∑ p = j n g ^ p − τ = τ ˉ − R j − 1 > 0 for j ≥ t 1 + 1 j\ge t_1+1 j ≥ t 1 + 1 , and that R t 1 − 1 ′ = R t 1 + g ^ t 1 B = τ ˉ R'_{t_1-1}=R_{t_1}+\hat{g}_{t_1}^B=\bar{\tau} R t 1 − 1 ′ = R t 1 + g ^ t 1 B = τ ˉ .
Thus, the following inequality is sufficient to satisfy the ( m i ) (m_i) ( m i ) constraint in these ranges:
∑ j = t 1 i − 1 ( ( μ j B + μ j C ) ⋅ ( R j − R i ) − g ^ j ∑ p = j + 1 i ( μ p B + μ p C ) ) ≥ 0. \sum_{j=t_1}^{i-1}\left((\mu_j^B+\mu_j^C)\cdot(R_j-R_i)-\hat{g}_j\sum_{p=j+1}^{i}(\mu_p^B+\mu_p^C)\right)\ge0. j = t 1 ∑ i − 1 ( ( μ j B + μ j C ) ⋅ ( R j − R i ) − g ^ j p = j + 1 ∑ i ( μ p B + μ p C ) ) ≥ 0.
To prove the inequality, we prove that each j j j -th term is indeed non-negative. Rearranging, this is equivalent to proving:
( R i + τ ) ≤ ( R j + τ ) − g ^ j ⋅ ∑ p = j + 1 i ( μ p B + μ p C ) μ j B + μ j C . (13) (R_i+\tau)\le(R_j+\tau)-\hat{g}_j\cdot\frac{\sum_{p=j+1}^{i}(\mu_p^B+\mu_p^C)}{\mu_j^B+\mu_j^C}. \tag*{(13)} ( R i + τ ) ≤ ( R j + τ ) − g ^ j ⋅ μ j B + μ j C ∑ p = j + 1 i ( μ p B + μ p C ) . (13)
Note that g ^ t 1 = ( μ t 1 B + μ t 1 C ) ⋅ R t 1 + τ n − t 1 \hat{g}_{t_1}=(\mu_{t_1}^B+\mu_{t_1}^C)\cdot\frac{R_{t_1}+\tau}{n-t_1} g ^ t 1 = ( μ t 1 B + μ t 1 C ) ⋅ n − t 1 R t 1 + τ . We divided by μ j B + μ j C \mu_j^B+\mu_j^C μ j B + μ j C because we have assumed that this value is greater than 0. If it is in fact 0, one can directly check that the inequality (without dividing by μ j B + μ j C \mu_j^B+\mu_j^C μ j B + μ j C ) is satisfied because g ^ j ∝ μ j B + μ j C \hat{g}_j\propto\mu_j^B+\mu_j^C g ^ j ∝ μ j B + μ j C for j ≥ t 1 j\ge t_1 j ≥ t 1 by the definition of the algorithm.
Substituting the value of g ^ j = ( μ j B + μ j C ) ⋅ R j + τ n − j \hat{g}_j=(\mu_j^B+\mu_j^C)\cdot\frac{R_j+\tau}{n-j} g ^ j = ( μ j B + μ j C ) ⋅ n − j R j + τ , and rearranging we get that we want to prove:
( R i + τ ) ≤ ( R j + τ ) ⋅ n − j − ∑ p = j + 1 i ( μ p B + μ p C ) n − j . (R_i+\tau)\le(R_j+\tau)\cdot\frac{n-j-\sum_{p=j+1}^{i}(\mu_p^B+\mu_p^C)}{n-j}. ( R i + τ ) ≤ ( R j + τ ) ⋅ n − j n − j − ∑ p = j + 1 i ( μ p B + μ p C ) .
Note that i < t 3 ⋆ i<t_3^\star i < t 3 ⋆ , so in particular i < n i<n i < n . We will now use the following claim:
Claim 6.40. For t 1 ≤ j ≤ i ≤ min ( t 3 ⋆ , n − 1 ) t_1\le j\le i\le\min(t_3^\star,n-1) t 1 ≤ j ≤ i ≤ min ( t 3 ⋆ , n − 1 ) we have the following equality that relates R j R_j R j to R i R_i R i :
R j + τ = ( R i + τ ) ⋅ n − j − ∑ ℓ = j + 1 i μ ℓ D ⋅ R j + τ R ℓ − 1 + τ n − i . R_j+\tau=(R_i+\tau)\cdot\frac{n-j-\sum_{\ell=j+1}^{i}\mu_\ell^D\cdot\frac{R_j+\tau}{R_{\ell-1}+\tau}}{n-i}. R j + τ = ( R i + τ ) ⋅ n − i n − j − ∑ ℓ = j + 1 i μ ℓ D ⋅ R ℓ − 1 + τ R j + τ . The proof can be found in Section C.
Using Claim 6.40, we have that the following is true:
( R j + τ ) ⋅ ( n − i ) = ( R i + τ ) ⋅ ( n − j ) − ∑ ℓ = j + 1 i μ ℓ D ⋅ ( R j + τ ) ⋅ ( R i + τ ) R ℓ − 1 + τ . (R_j+\tau)\cdot(n-i)=(R_i+\tau)\cdot(n-j)-\sum_{\ell=j+1}^{i}\mu_\ell^D\cdot\frac{(R_j+\tau)\cdot(R_i+\tau)}{R_{\ell-1}+\tau}. ( R j + τ ) ⋅ ( n − i ) = ( R i + τ ) ⋅ ( n − j ) − ℓ = j + 1 ∑ i μ ℓ D ⋅ R ℓ − 1 + τ ( R j + τ ) ⋅ ( R i + τ ) .
Rearranging gives:
R i + τ = ( R j + τ ) ⋅ n − i + ∑ ℓ = j + 1 i μ ℓ D ⋅ R i + τ R ℓ − 1 + τ n − j ≤ ( R j + τ ) ⋅ n − i + ∑ ℓ = j + 1 i μ ℓ D n − j = ( R j + τ ) ⋅ n − j − ∑ ℓ = j + 1 i ( 1 − μ ℓ D ) n − j = ( R j + τ ) ⋅ n − j − ∑ ℓ = j + 1 i ( μ ℓ B + μ ℓ C ) n − j , \begin{aligned}
R_i+\tau=(R_j+\tau)\cdot\frac{n-i+\sum_{\ell=j+1}^{i}\mu_\ell^D\cdot\frac{R_i+\tau}{R_{\ell-1}+\tau}}{n-j}\le(R_j+\tau)\cdot\frac{n-i+\sum_{\ell=j+1}^{i}\mu_\ell^D}{n-j} \\
&=(R_j+\tau)\cdot\frac{n-j-\sum_{\ell=j+1}^{i}(1-\mu_\ell^D)}{n-j}=(R_j+\tau)\cdot\frac{n-j-\sum_{\ell=j+1}^{i}(\mu_\ell^B+\mu_\ell^C)}{n-j},
\end{aligned} R i + τ = ( R j + τ ) ⋅ n − j n − i + ∑ ℓ = j + 1 i μ ℓ D ⋅ R ℓ − 1 + τ R i + τ ≤ ( R j + τ ) ⋅ n − j n − i + ∑ ℓ = j + 1 i μ ℓ D = ( R j + τ ) ⋅ n − j n − j − ∑ ℓ = j + 1 i ( 1 − μ ℓ D ) = ( R j + τ ) ⋅ n − j n − j − ∑ ℓ = j + 1 i ( μ ℓ B + μ ℓ C ) ,
where we have used that R i ≤ R ℓ − 1 R_i\le R_{\ell-1} R i ≤ R ℓ − 1 if ℓ ≤ i \ell\le i ℓ ≤ i , and that 1 − μ ℓ D = μ ℓ B + μ ℓ C 1-\mu_\ell^D=\mu_\ell^B+\mu_\ell^C 1 − μ ℓ D = μ ℓ B + μ ℓ C by Observation 6.28. This is exactly the inequality we wanted to prove, which proves that the ( m i ) (m_i) ( m i ) constraint is satisfied for t 1 < i < t 3 ⋆ t_1<i<t_3^\star t 1 < i < t 3 ⋆ .
Case 4: i = t 3 ⋆ i=t_3^\star i = t 3 ⋆ . For i = t 3 ⋆ i=t_3^\star i = t 3 ⋆ , we want to prove that:
pool_credit t 3 ⋆ = ∑ p = 1 t 3 ⋆ ∑ j = 1 p ( s ˉ p , j − t p , j ) ≥ 0. \operatorname{pool\_credit}_{t_3^\star}=\sum_{p=1}^{t_3^\star}\sum_{j=1}^{p}(\bar{s}_{p,j}-t_{p,j})\ge0. pool_credit t 3 ⋆ = p = 1 ∑ t 3 ⋆ j = 1 ∑ p ( s ˉ p , j − t p , j ) ≥ 0.
Let us now add, for all j ≤ t 3 ⋆ j\le t_3^\star j ≤ t 3 ⋆ , credit t 3 ⋆ , j \operatorname{credit}_{t_3^\star,j} credit t 3 ⋆ , j which we know the exact value of thanks to Proposition 6.32 and Proposition 6.33. Also note that if f j > t 3 ⋆ f_j>t_3^\star f j > t 3 ⋆ then μ j D = 1 \mu_j^D=1 μ j D = 1 . Using the propositions, then we have:
∑ j = 1 t 3 ⋆ credit t 3 ⋆ , j = ∑ j = 1 t 3 ⋆ ( ∑ q = j + 1 n g j , q + ∑ p = j t 3 ⋆ ( g p , j − s ˉ p , j + t p , j ) ) \sum_{j=1}^{t_3^\star}\operatorname{credit}_{t_3^\star,j}
=\sum_{j=1}^{t_3^\star}\left(\sum_{q=j+1}^{n}g_{j,q}+\sum_{p=j}^{t_3^\star}(g_{p,j}-\bar{s}_{p,j}+t_{p,j})\right) j = 1 ∑ t 3 ⋆ credit t 3 ⋆ , j = j = 1 ∑ t 3 ⋆ q = j + 1 ∑ n g j , q + p = j ∑ t 3 ⋆ ( g p , j − s ˉ p , j + t p , j )
= ∑ j = 1 t 3 ⋆ credit t 3 ⋆ , j ⋅ 1 [ f j ≤ t 3 ⋆ ] + ∑ j = 1 t 3 ⋆ credit t 3 ⋆ , j ⋅ 1 [ f j > t 3 ⋆ ] = ∑ j = 1 t 3 ⋆ ( 1 − ε ⋅ [ 1 − [ θ − R f j ] + θ ] ⋅ μ j A − ε ⋅ 1 [ f j < t 3 ⋆ ] ⋅ ( μ j B + μ j C ) ) ⋅ 1 [ f j ≤ t 3 ⋆ ] + ∑ j = 1 t 3 ⋆ ( R j − 1 − R t 3 ⋆ ) ⋅ 1 [ f j > t 3 ⋆ ] = t 3 ⋆ − ε ⋅ ∑ j = 1 t 1 [ 1 − [ θ − R f j ] + θ ] ⋅ μ j A − ε ⋅ ∑ j = t 1 t 3 ⋆ ( μ j B + μ j C ) ⋅ 1 [ f j < t 3 ⋆ ] − ∑ j = 1 t 3 ⋆ ( 1 − R j − 1 ) ⋅ 1 [ f j > t 3 ⋆ ] . \begin{aligned}
&=\sum_{j=1}^{t_3^\star}\operatorname{credit}_{t_3^\star,j}\cdot1[f_j\leq t_3^\star]+\sum_{j=1}^{t_3^\star}\operatorname{credit}_{t_3^\star,j}\cdot1[f_j>t_3^\star]\\
&=\sum_{j=1}^{t_3^\star}\left(1-\varepsilon\cdot\left[1-\frac{[\theta-R_{f_j}]^+}{\theta}\right]\cdot\mu_j^A-\varepsilon\cdot1[f_j<t_3^\star]\cdot(\mu_j^B+\mu_j^C)\right)\cdot1[f_j\leq t_3^\star]\\
&\quad+\sum_{j=1}^{t_3^\star}(R_{j-1}-R_{t_3^\star})\cdot1[f_j>t_3^\star]\\
&=t_3^\star-\varepsilon\cdot\sum_{j=1}^{t_1}\left[1-\frac{[\theta-R_{f_j}]^+}{\theta}\right]\cdot\mu_j^A-\varepsilon\cdot\sum_{j=t_1}^{t_3^\star}(\mu_j^B+\mu_j^C)\cdot1[f_j<t_3^\star]\\
&\quad-\sum_{j=1}^{t_3^\star}(1-R_{j-1})\cdot1[f_j>t_3^\star].
\end{aligned} = j = 1 ∑ t 3 ⋆ credit t 3 ⋆ , j ⋅ 1 [ f j ≤ t 3 ⋆ ] + j = 1 ∑ t 3 ⋆ credit t 3 ⋆ , j ⋅ 1 [ f j > t 3 ⋆ ] = j = 1 ∑ t 3 ⋆ ( 1 − ε ⋅ [ 1 − θ [ θ − R f j ] + ] ⋅ μ j A − ε ⋅ 1 [ f j < t 3 ⋆ ] ⋅ ( μ j B + μ j C ) ) ⋅ 1 [ f j ≤ t 3 ⋆ ] + j = 1 ∑ t 3 ⋆ ( R j − 1 − R t 3 ⋆ ) ⋅ 1 [ f j > t 3 ⋆ ] = t 3 ⋆ − ε ⋅ j = 1 ∑ t 1 [ 1 − θ [ θ − R f j ] + ] ⋅ μ j A − ε ⋅ j = t 1 ∑ t 3 ⋆ ( μ j B + μ j C ) ⋅ 1 [ f j < t 3 ⋆ ] − j = 1 ∑ t 3 ⋆ ( 1 − R j − 1 ) ⋅ 1 [ f j > t 3 ⋆ ] .
Adding this to our inequality, since all the s ˉ i , j \bar{s}_{i,j} s ˉ i , j and t i , j t_{i,j} t i , j terms cancel out, we get that we need to prove:
∑ j = 1 t 3 ⋆ ( ∑ q = j + 1 n g j , q + ∑ p = j t 3 ⋆ g p , j ) ≥ t 3 ⋆ − ε ⋅ ∑ j = 1 t 1 [ 1 − [ θ − R f j ] + θ ] ⋅ μ j A − ε ⋅ ∑ j = t 1 t 3 ⋆ ( μ j B + μ j C ) ⋅ 1 [ f j < t 3 ⋆ ] − ∑ j = 1 t 3 ⋆ ( 1 − R j − 1 ) ⋅ 1 [ t 3 ⋆ < f j ] . \sum_{j=1}^{t_3^\star}\left(\sum_{q=j+1}^{n}g_{j,q}+\sum_{p=j}^{t_3^\star}g_{p,j}\right)\geq t_3^\star-\varepsilon\cdot\sum_{j=1}^{t_1}\left[1-\frac{[\theta-R_{f_j}]^+}{\theta}\right]\cdot\mu_j^A-\varepsilon\cdot\sum_{j=t_1}^{t_3^\star}(\mu_j^B+\mu_j^C)\cdot1[f_j<t_3^\star]-\sum_{j=1}^{t_3^\star}(1-R_{j-1})\cdot1[t_3^\star<f_j]. j = 1 ∑ t 3 ⋆ q = j + 1 ∑ n g j , q + p = j ∑ t 3 ⋆ g p , j ≥ t 3 ⋆ − ε ⋅ j = 1 ∑ t 1 [ 1 − θ [ θ − R f j ] + ] ⋅ μ j A − ε ⋅ j = t 1 ∑ t 3 ⋆ ( μ j B + μ j C ) ⋅ 1 [ f j < t 3 ⋆ ] − j = 1 ∑ t 3 ⋆ ( 1 − R j − 1 ) ⋅ 1 [ t 3 ⋆ < f j ] .
Focusing on the left-hand side, notice that g i , j ≤ g ^ i = 0 g_{i,j}\leq\hat{g}_i=0 g i , j ≤ g ^ i = 0 for i > t 3 ⋆ i>t_3^\star i > t 3 ⋆ , and thus, we can state the following:
∑ j = 1 t 3 ⋆ ( ∑ q = j + 1 n g j , q + ∑ p = j t 3 ⋆ g p , j ) = ∑ j = 1 n ( ∑ q = j + 1 n g j , q + ∑ p = j n g p , j ) − ∑ j = 1 n ∑ p = 1 n g p , j = n − ε ⋅ ∑ j = 1 t 1 μ j A ⋅ [ 1 − ( θ − R f j ) + θ ] − ε ⋅ ∑ j = t 1 + 1 n μ j D ⋅ [ 1 − R j − 1 θ ] + . \begin{aligned}
\sum_{j=1}^{t_3^\star}\left(\sum_{q=j+1}^{n}g_{j,q}+\sum_{p=j}^{t_3^\star}g_{p,j}\right)
&=\sum_{j=1}^{n}\left(\sum_{q=j+1}^{n}g_{j,q}+\sum_{p=j}^{n}g_{p,j}\right)-\sum_{j=1}^{n}\sum_{p=1}^{n}g_{p,j}\\
&=n-\varepsilon\cdot\sum_{j=1}^{t_1}\mu_j^A\cdot\left[1-\frac{(\theta-R_{f_j})^+}{\theta}\right]-\varepsilon\cdot\sum_{j=t_1+1}^{n}\mu_j^D\cdot\left[1-\frac{R_{j-1}}{\theta}\right]^+.
\end{aligned} j = 1 ∑ t 3 ⋆ q = j + 1 ∑ n g j , q + p = j ∑ t 3 ⋆ g p , j = j = 1 ∑ n ( q = j + 1 ∑ n g j , q + p = j ∑ n g p , j ) − j = 1 ∑ n p = 1 ∑ n g p , j = n − ε ⋅ j = 1 ∑ t 1 μ j A ⋅ [ 1 − θ ( θ − R f j ) + ] − ε ⋅ j = t 1 + 1 ∑ n μ j D ⋅ [ 1 − θ R j − 1 ] + .
where we have used Lemma 6.36 to get the correct values. Thus, the previous inequality reduces to:
n − ε ⋅ ∑ j = 1 t 1 μ j A ⋅ [ 1 − ( θ − R f j ) + θ ] − ε ⋅ ∑ j = t 1 + 1 n μ j D ⋅ [ 1 − R j − 1 θ ] + ≥ t 3 ⋆ − ε ⋅ ∑ j = 1 t 1 [ 1 − [ θ − R f j ] + θ ] ⋅ μ j A − ε ⋅ ∑ j = t 1 t 3 ⋆ ( μ j B + μ j C ) ⋅ 1 [ f j < t 3 ⋆ ] − ∑ j = 1 t 3 ⋆ ( 1 − R j − 1 ) ⋅ 1 [ t 3 ⋆ < f j ] . \begin{aligned}
n-\varepsilon\cdot\sum_{j=1}^{t_1}\mu_j^A\cdot\left[1-\frac{(\theta-R_{f_j})^+}{\theta}\right]-\varepsilon\cdot\sum_{j=t_1+1}^{n}\mu_j^D\cdot\left[1-\frac{R_{j-1}}{\theta}\right]^+
\geq{}&t_3^\star-\varepsilon\cdot\sum_{j=1}^{t_1}\left[1-\frac{[\theta-R_{f_j}]^+}{\theta}\right]\cdot\mu_j^A\\
&-\varepsilon\cdot\sum_{j=t_1}^{t_3^\star}(\mu_j^B+\mu_j^C)\cdot1[f_j<t_3^\star]-\sum_{j=1}^{t_3^\star}(1-R_{j-1})\cdot1[t_3^\star<f_j].
\end{aligned} n − ε ⋅ j = 1 ∑ t 1 μ j A ⋅ [ 1 − θ ( θ − R f j ) + ] − ε ⋅ j = t 1 + 1 ∑ n μ j D ⋅ [ 1 − θ R j − 1 ] + ≥ t 3 ⋆ − ε ⋅ j = 1 ∑ t 1 [ 1 − θ [ θ − R f j ] + ] ⋅ μ j A − ε ⋅ j = t 1 ∑ t 3 ⋆ ( μ j B + μ j C ) ⋅ 1 [ f j < t 3 ⋆ ] − j = 1 ∑ t 3 ⋆ ( 1 − R j − 1 ) ⋅ 1 [ t 3 ⋆ < f j ] .
Using the fact that n − t 3 ⋆ ≥ ε ⋅ ∑ j = t 3 ⋆ + 1 n μ j D ⋅ [ 1 − R j − 1 θ ] + n-t_3^\star\geq\varepsilon\cdot\sum_{j=t_3^\star+1}^{n}\mu_j^D\cdot\left[1-\frac{R_{j-1}}{\theta}\right]^+ n − t 3 ⋆ ≥ ε ⋅ ∑ j = t 3 ⋆ + 1 n μ j D ⋅ [ 1 − θ R j − 1 ] + because ε ≤ 1 \varepsilon\leq1 ε ≤ 1 and that ∑ j = 1 t 3 ⋆ ( 1 − R j − 1 ) ⋅ 1 [ t 3 ⋆ < f j ] ≥ ε ⋅ ∑ j = 1 t 3 ⋆ μ j D ⋅ [ 1 − R j − 1 θ ] + ⋅ 1 [ t 3 ⋆ < f j ] \sum_{j=1}^{t_3^\star}(1-R_{j-1})\cdot1[t_3^\star<f_j]\geq\varepsilon\cdot\sum_{j=1}^{t_3^\star}\mu_j^D\cdot\left[1-\frac{R_{j-1}}{\theta}\right]^+\cdot1[t_3^\star<f_j] ∑ j = 1 t 3 ⋆ ( 1 − R j − 1 ) ⋅ 1 [ t 3 ⋆ < f j ] ≥ ε ⋅ ∑ j = 1 t 3 ⋆ μ j D ⋅ [ 1 − θ R j − 1 ] + ⋅ 1 [ t 3 ⋆ < f j ] because ( 1 − R j − 1 ) ≥ ε ⋅ [ 1 − R j − 1 θ ] + (1-R_{j-1})\geq\varepsilon\cdot\left[1-\frac{R_{j-1}}{\theta}\right]^+ ( 1 − R j − 1 ) ≥ ε ⋅ [ 1 − θ R j − 1 ] + as ε ≤ θ \varepsilon\leq\theta ε ≤ θ , if we cancel things out, using also that f j < t 3 ⋆ f_j<t_3^\star f j < t 3 ⋆ implies μ j D = 0 \mu_j^D=0 μ j D = 0 , it is sufficient to prove that:
∑ j = 1 t 3 ⋆ ( μ j B + μ j C ) ⋅ 1 [ f j < t 3 ⋆ ] ≥ ∑ j = 1 n μ j D ⋅ [ 1 − R j − 1 θ ] + ⋅ 1 [ f j = t 3 ⋆ ] . \sum_{j=1}^{t_3^\star}(\mu_j^B+\mu_j^C)\cdot1[f_j<t_3^\star]\geq\sum_{j=1}^{n}\mu_j^D\cdot\left[1-\frac{R_{j-1}}{\theta}\right]^+\cdot1[f_j=t_3^\star]. j = 1 ∑ t 3 ⋆ ( μ j B + μ j C ) ⋅ 1 [ f j < t 3 ⋆ ] ≥ j = 1 ∑ n μ j D ⋅ [ 1 − θ R j − 1 ] + ⋅ 1 [ f j = t 3 ⋆ ] .
At this point we use that inputs satisfy the admissibility property defined in Property 6.9, which is the following: Let S = { j ∈ [ n ] ∣ f j = t 3 ⋆ } S=\{j\in[n]\mid f_j=t_3^\star\} S = { j ∈ [ n ] ∣ f j = t 3 ⋆ } . Then μ j D ∈ { 0 , 1 } \mu_j^D\in\{0,1\} μ j D ∈ { 0 , 1 } for all j j j except at most one of them, and also if j 1 , j 2 ∈ S j_1,j_2\in S j 1 , j 2 ∈ S with j 1 ≤ j 2 j_1\leq j_2 j 1 ≤ j 2 then μ j 1 D ≥ μ j 2 D \mu_{j_1}^D\geq\mu_{j_2}^D μ j 1 D ≥ μ j 2 D . Let p ⋆ p^\star p ⋆ be the maximum index in S S S such that μ p ⋆ D > 0 \mu_{p^\star}^D>0 μ p ⋆ D > 0 , and 0 0 0 if no such index exists. Note that p ⋆ ≤ t 3 ⋆ p^\star\leq t_3^\star p ⋆ ≤ t 3 ⋆ . If p ⋆ = 0 p^\star=0 p ⋆ = 0 , then the RHS is zero, so the claim follows trivially. Let then p ⋆ > 0 p^\star>0 p ⋆ > 0 . For the LHS we have
∑ j = 1 t 3 ⋆ ( μ j B + μ j C ) ⋅ 1 [ f j < t 3 ⋆ ] ≥ ∑ j = 1 p ⋆ ( μ j B + μ j C ) ⋅ 1 [ f j < t 3 ⋆ ] = ∑ j = 1 p ⋆ − 1 ( μ j B + μ j C ) + ( μ p ⋆ B + μ p ⋆ C ) ⋅ 1 [ f p ⋆ < t 3 ⋆ ] = ∑ j = 1 p ⋆ − 1 ( μ j B + μ j C ) \begin{aligned}
\sum_{j=1}^{t_3^\star}(\mu_j^B+\mu_j^C)\cdot1[f_j<t_3^\star]\geq\sum_{j=1}^{p^\star}(\mu_j^B+\mu_j^C)\cdot1[f_j<t_3^\star]=\sum_{j=1}^{p^\star-1}(\mu_j^B+\mu_j^C)+(\mu_{p^\star}^B+\mu_{p^\star}^C)\cdot1[f_{p^\star}<t_3^\star] \\
&= \sum_{j=1}^{p^\star-1} \left(\mu_j^B+\mu_j^C\right)
\end{aligned} j = 1 ∑ t 3 ⋆ ( μ j B + μ j C ) ⋅ 1 [ f j < t 3 ⋆ ] ≥ j = 1 ∑ p ⋆ ( μ j B + μ j C ) ⋅ 1 [ f j < t 3 ⋆ ] = j = 1 ∑ p ⋆ − 1 ( μ j B + μ j C ) + ( μ p ⋆ B + μ p ⋆ C ) ⋅ 1 [ f p ⋆ < t 3 ⋆ ] = j = 1 ∑ p ⋆ − 1 ( μ j B + μ j C )
where we used that if j < p ⋆ j < p^\star j < p ⋆ and f j ≥ t 3 ⋆ f_j \ge t_3^\star f j ≥ t 3 ⋆ then μ j D = 1 \mu_j^D = 1 μ j D = 1 and hence μ j B = μ j C = 0 \mu_j^B = \mu_j^C = 0 μ j B = μ j C = 0 , and also that f p ⋆ = t 3 ⋆ f_{p^\star} = t_3^\star f p ⋆ = t 3 ⋆ since p ⋆ ∈ S p^\star\in S p ⋆ ∈ S . For the RHS we have
∑ j = 1 n μ j D ⋅ [ 1 − R j − 1 θ ] + ⋅ 1 [ f j = t 3 ⋆ ] = ∑ j = 1 p ⋆ μ j D ⋅ [ 1 − R j − 1 θ ] + ⋅ 1 [ f j = t 3 ⋆ ] ≤ ∑ j = 1 p ⋆ μ j D ⋅ [ 1 − R j − 1 θ ] + . \sum_{j=1}^{n} \mu_j^D \cdot\left[1-\frac{R_{j-1}}{\theta}\right]^+ \cdot\mathbb{1}[f_j=t_3^\star]
=
\sum_{j=1}^{p^\star} \mu_j^D \cdot\left[1-\frac{R_{j-1}}{\theta}\right]^+ \cdot\mathbb{1}[f_j=t_3^\star]
\le
\sum_{j=1}^{p^\star} \mu_j^D \cdot\left[1-\frac{R_{j-1}}{\theta}\right]^+. j = 1 ∑ n μ j D ⋅ [ 1 − θ R j − 1 ] + ⋅ 1 [ f j = t 3 ⋆ ] = j = 1 ∑ p ⋆ μ j D ⋅ [ 1 − θ R j − 1 ] + ⋅ 1 [ f j = t 3 ⋆ ] ≤ j = 1 ∑ p ⋆ μ j D ⋅ [ 1 − θ R j − 1 ] + .
Therefore, it suffices to prove that
∑ j = 1 p ⋆ − 1 ( μ j B + μ j C ) ≥ ∑ j = 1 p ⋆ μ j D ⋅ [ 1 − R j − 1 θ ] + . \sum_{j=1}^{p^\star-1}\left(\mu_j^B+\mu_j^C\right)
\ge
\sum_{j=1}^{p^\star}\mu_j^D\cdot\left[1-\frac{R_{j-1}}{\theta}\right]^+. j = 1 ∑ p ⋆ − 1 ( μ j B + μ j C ) ≥ j = 1 ∑ p ⋆ μ j D ⋅ [ 1 − θ R j − 1 ] + .
We note that if j ≤ t 2 j \le t_2 j ≤ t 2 then R j − 1 ≥ θ R_{j-1}\ge\theta R j − 1 ≥ θ so we can assume that p ⋆ ≥ t 2 + 1 p^\star\ge t_2+1 p ⋆ ≥ t 2 + 1 , and then what we need to prove is by the same reason equivalent to
∑ j = 1 p ⋆ − 1 ( μ j B + μ j C ) ≥ ∑ j = t 2 + 1 p ⋆ μ j D ⋅ [ 1 − R j − 1 θ ] + . \sum_{j=1}^{p^\star-1}\left(\mu_j^B+\mu_j^C\right)
\ge
\sum_{j=t_2+1}^{p^\star}\mu_j^D\cdot\left[1-\frac{R_{j-1}}{\theta}\right]^+. j = 1 ∑ p ⋆ − 1 ( μ j B + μ j C ) ≥ j = t 2 + 1 ∑ p ⋆ μ j D ⋅ [ 1 − θ R j − 1 ] + .
We use the following two claims.
Claim 6.41. For t 1 − 1 ≤ j ≤ i ≤ min ( t 3 ⋆ , n − 1 ) t_1-1\le j\le i\le\min(t_3^\star,n-1) t 1 − 1 ≤ j ≤ i ≤ min ( t 3 ⋆ , n − 1 ) we have the following equality that relates R j ′ R'_j R j ′ to R i ′ R'_i R i ′ :
R j ′ + τ = ( R i ′ + τ ) ⋅ n − j − ∑ ℓ = j + 1 i ( 1 − μ ℓ B − μ ℓ C ) ⋅ R j − 1 ′ + τ R ℓ − 1 ′ + τ n − i . R'_j+\tau=(R'_i+\tau)\cdot\frac{n-j-\sum_{\ell=j+1}^{i}(1-\mu_\ell^B-\mu_\ell^C)\cdot\frac{R'_{j-1}+\tau}{R'_{\ell-1}+\tau}}{n-i}. R j ′ + τ = ( R i ′ + τ ) ⋅ n − i n − j − ∑ ℓ = j + 1 i ( 1 − μ ℓ B − μ ℓ C ) ⋅ R ℓ − 1 ′ + τ R j − 1 ′ + τ .
We prove it in Section C. Then the following claim proves this result.
Claim 6.42. If p ⋆ ≥ t 2 + 1 p^\star\ge t_2+1 p ⋆ ≥ t 2 + 1 , then
∑ j = 1 p ⋆ − 1 ( μ j B + μ j C ) ≥ ∑ j = t 2 + 1 p ⋆ μ j D ⋅ [ 1 − R j − 1 θ ] + . \sum_{j=1}^{p^\star-1}\left(\mu_j^B+\mu_j^C\right)
\ge
\sum_{j=t_2+1}^{p^\star}\mu_j^D\cdot\left[1-\frac{R_{j-1}}{\theta}\right]^+. j = 1 ∑ p ⋆ − 1 ( μ j B + μ j C ) ≥ j = t 2 + 1 ∑ p ⋆ μ j D ⋅ [ 1 − θ R j − 1 ] + .
Proof. We analyze the evolution of the remaining budget during Phase 2. By Claim 6.41 and choosing j = t 1 − 1 j=t_1-1 j = t 1 − 1 and i = p ⋆ − 1 i=p^\star-1 i = p ⋆ − 1 , we have that:
R t 1 − 1 ′ + τ = ( R p ⋆ − 1 ′ + τ ) ⋅ n − t 1 + 1 − ∑ ℓ = t 1 p ⋆ − 1 ( 1 − μ ℓ B − μ ℓ C ) ⋅ R t 1 − 1 ′ + τ R ℓ − 1 ′ + τ n − p ⋆ + 1 . R'_{t_1-1}+\tau=(R'_{p^\star-1}+\tau)\cdot\frac{n-t_1+1-\sum_{\ell=t_1}^{p^\star-1}(1-\mu_\ell^B-\mu_\ell^C)\cdot\frac{R'_{t_1-1}+\tau}{R'_{\ell-1}+\tau}}{n-p^\star+1}. R t 1 − 1 ′ + τ = ( R p ⋆ − 1 ′ + τ ) ⋅ n − p ⋆ + 1 n − t 1 + 1 − ∑ ℓ = t 1 p ⋆ − 1 ( 1 − μ ℓ B − μ ℓ C ) ⋅ R ℓ − 1 ′ + τ R t 1 − 1 ′ + τ .
For the numerator, we can do the following:
n − t 1 + 1 − ∑ ℓ = t 1 p ⋆ − 1 ( 1 − μ ℓ B − μ ℓ C ) ⋅ R t 1 − 1 ′ + τ R ℓ − 1 ′ + τ = n − p ⋆ + 1 + ∑ ℓ = t 1 p ⋆ − 1 ( μ ℓ B + μ ℓ C ) − ∑ ℓ = t 1 p ⋆ − 1 ( 1 − μ ℓ B − μ ℓ C ) ⋅ R t 1 − 1 ′ − R ℓ − 1 ′ R ℓ − 1 ′ + τ . \begin{aligned}
n-t_1+1-\sum_{\ell=t_1}^{p^\star-1}(1-\mu_\ell^B-\mu_\ell^C)\cdot\frac{R'_{t_1-1}+\tau}{R'_{\ell-1}+\tau} \\
&= n-p^\star+1+\sum_{\ell=t_1}^{p^\star-1}(\mu_\ell^B+\mu_\ell^C)-\sum_{\ell=t_1}^{p^\star-1}(1-\mu_\ell^B-\mu_\ell^C)\cdot\frac{R'_{t_1-1}-R'_{\ell-1}}{R'_{\ell-1}+\tau}.
\end{aligned} n − t 1 + 1 − ℓ = t 1 ∑ p ⋆ − 1 ( 1 − μ ℓ B − μ ℓ C ) ⋅ R ℓ − 1 ′ + τ R t 1 − 1 ′ + τ = n − p ⋆ + 1 + ℓ = t 1 ∑ p ⋆ − 1 ( μ ℓ B + μ ℓ C ) − ℓ = t 1 ∑ p ⋆ − 1 ( 1 − μ ℓ B − μ ℓ C ) ⋅ R ℓ − 1 ′ + τ R t 1 − 1 ′ − R ℓ − 1 ′ .
Let us prove that R t 1 − 1 ′ − R ℓ − 1 ′ R ℓ − 1 ′ + τ ≥ [ 1 − R ℓ − 1 ′ θ ] + \frac{R'_{t_1-1}-R'_{\ell-1}}{R'_{\ell-1}+\tau}\ge\left[1-\frac{R'_{\ell-1}}{\theta}\right]^+ R ℓ − 1 ′ + τ R t 1 − 1 ′ − R ℓ − 1 ′ ≥ [ 1 − θ R ℓ − 1 ′ ] + for t 1 ≤ ℓ ≤ p ⋆ t_1\le\ell\le p^\star t 1 ≤ ℓ ≤ p ⋆ . Using the fact that R t 1 − 1 ′ = τ ˉ = 1 − τ R'_{t_1-1}=\bar{\tau}=1-\tau R t 1 − 1 ′ = τ ˉ = 1 − τ , we have that the left-hand side is: 1 − τ − R ℓ − 1 ′ R ℓ − 1 ′ + τ \frac{1-\tau-R'_{\ell-1}}{R'_{\ell-1}+\tau} R ℓ − 1 ′ + τ 1 − τ − R ℓ − 1 ′ . Then it is easily checked that this is lower bounded by [ 1 − R ℓ − 1 ′ θ ] + \left[1-\frac{R'_{\ell-1}}{\theta}\right]^+ [ 1 − θ R ℓ − 1 ′ ] + for R ℓ − 1 ′ ≤ 1 − τ R'_{\ell-1}\le1-\tau R ℓ − 1 ′ ≤ 1 − τ : i.e., that 1 − τ − x τ + x ≥ [ 1 − x θ ] + \frac{1-\tau-x}{\tau+x}\ge\left[1-\frac{x}{\theta}\right]^+ τ + x 1 − τ − x ≥ [ 1 − θ x ] + for 0 ≤ x ≤ 1 − τ 0\le x\le1-\tau 0 ≤ x ≤ 1 − τ , which is true by Property 6.14.
Then we get the following:
∑ ℓ = t 1 p ⋆ − 1 μ ℓ B + ∑ ℓ = t 1 p ⋆ − 1 μ ℓ C ≥ R t 1 − 1 ′ − R p ⋆ − 1 ′ R p ⋆ − 1 ′ + τ ⋅ ( n − p ⋆ + 1 ) + ∑ ℓ = t 1 p ⋆ − 1 ( 1 − μ ℓ B − μ ℓ C ) ⋅ [ 1 − R ℓ − 1 ′ θ ] + ≥ R t 1 − 1 ′ − R p ⋆ − 1 ′ R p ⋆ − 1 ′ + τ + ∑ ℓ = t 1 p ⋆ − 1 ( 1 − μ ℓ B − μ ℓ C ) ⋅ [ 1 − R ℓ − 1 ′ θ ] + ≥ [ 1 − R p ⋆ − 1 ′ θ ] + + ∑ ℓ = t 1 p ⋆ − 1 ( 1 − μ ℓ B − μ ℓ C ) ⋅ [ 1 − R ℓ − 1 ′ θ ] + ≥ ∑ ℓ = t 2 + 1 p ⋆ μ ℓ D ⋅ [ 1 − R ℓ − 1 ′ θ ] + . \begin{aligned}
\sum_{\ell=t_1}^{p^\star-1}\mu_\ell^B+\sum_{\ell=t_1}^{p^\star-1}\mu_\ell^C
\ge
\frac{R'_{t_1-1}-R'_{p^\star-1}}{R'_{p^\star-1}+\tau}\cdot(n-p^\star+1)
+
\sum_{\ell=t_1}^{p^\star-1}(1-\mu_\ell^B-\mu_\ell^C)\cdot\left[1-\frac{R'_{\ell-1}}{\theta}\right]^+ \\
&\ge\frac{R'_{t_1-1}-R'_{p^\star-1}}{R'_{p^\star-1}+\tau}+\sum_{\ell=t_1}^{p^\star-1}(1-\mu^B_\ell-\mu^C_\ell)\cdot\left[1-\frac{R'_{\ell-1}}{\theta}\right]^+ \\
&\ge\left[1-\frac{R'_{p^\star-1}}{\theta}\right]^+ + \sum_{\ell=t_1}^{p^\star-1}(1-\mu^B_\ell-\mu^C_\ell)\cdot\left[1-\frac{R'_{\ell-1}}{\theta}\right]^+ \\
&\ge\sum_{\ell=t_2+1}^{p^\star}\mu^D_\ell\cdot\left[1-\frac{R'_{\ell-1}}{\theta}\right]^+.
\end{aligned} ℓ = t 1 ∑ p ⋆ − 1 μ ℓ B + ℓ = t 1 ∑ p ⋆ − 1 μ ℓ C ≥ R p ⋆ − 1 ′ + τ R t 1 − 1 ′ − R p ⋆ − 1 ′ ⋅ ( n − p ⋆ + 1 ) + ℓ = t 1 ∑ p ⋆ − 1 ( 1 − μ ℓ B − μ ℓ C ) ⋅ [ 1 − θ R ℓ − 1 ′ ] + ≥ R p ⋆ − 1 ′ + τ R t 1 − 1 ′ − R p ⋆ − 1 ′ + ℓ = t 1 ∑ p ⋆ − 1 ( 1 − μ ℓ B − μ ℓ C ) ⋅ [ 1 − θ R ℓ − 1 ′ ] + ≥ [ 1 − θ R p ⋆ − 1 ′ ] + + ℓ = t 1 ∑ p ⋆ − 1 ( 1 − μ ℓ B − μ ℓ C ) ⋅ [ 1 − θ R ℓ − 1 ′ ] + ≥ ℓ = t 2 + 1 ∑ p ⋆ μ ℓ D ⋅ [ 1 − θ R ℓ − 1 ′ ] + .
Then, because R ℓ − 1 = R ℓ − 1 ′ R_{\ell-1}=R'_{\ell-1} R ℓ − 1 = R ℓ − 1 ′ for all ℓ ≥ t 2 + 1 \ell\ge t_2+1 ℓ ≥ t 2 + 1 , the conclusion follows.
Case 5: t 3 ⋆ < i t^\star_3<i t 3 ⋆ < i . For the case t 3 ⋆ < i ≤ n t^\star_3<i\le n t 3 ⋆ < i ≤ n , let us observe that the pool_crediti _i i is non-increasing with respect to i i i , i.e.:
pool_credit i ≥ pool_credit i + 1 ≥ ⋯ ≥ pool_credit n . \operatorname{pool\_credit}_i\ge\operatorname{pool\_credit}_{i+1}\ge\cdots\ge\operatorname{pool\_credit}_n. pool_credit i ≥ pool_credit i + 1 ≥ ⋯ ≥ pool_credit n .
This is because the positive s ˉ i , j \bar{s}_{i,j} s ˉ i , j terms are zero for i > t 3 ⋆ + 1 i>t^\star_3+1 i > t 3 ⋆ + 1 , because from t 3 ⋆ t^\star_3 t 3 ⋆ onward g ^ i = 0 \hat{g}_i=0 g ^ i = 0 and, since f j + 1 ≤ t 3 ⋆ + 1 f_j+1\le t^\star_3+1 f j + 1 ≤ t 3 ⋆ + 1 for μ j D < 1 \mu^D_j<1 μ j D < 1 , the extra ε \varepsilon ε added to s ˉ f j + 1 , j \bar{s}_{f_j+1,j} s ˉ f j + 1 , j by elements in B B B and C C C has already happened. On the other hand, the negative sum of t i , j t_{i,j} t i , j terms can have new non-zero elements for increasing i i i after t 3 ⋆ + 1 t^\star_3+1 t 3 ⋆ + 1 . Thus, proving the inequality for pool_credit n \operatorname{pool\_credit}_n pool_credit n is sufficient:
pool_credit n = ∑ j = 1 n ∑ p = j n ( s ˉ p , j − t p , j ) ≥ 0. \operatorname{pool\_credit}_n=\sum_{j=1}^{n}\sum_{p=j}^{n}(\bar{s}_{p,j}-t_{p,j})\ge0. pool_credit n = j = 1 ∑ n p = j ∑ n ( s ˉ p , j − t p , j ) ≥ 0.
Let us now add, for all j j j , credit n , j \operatorname{credit}_{n,j} credit n , j , for which we know the exact value thanks to Proposition 6.33 . As a refresher, this is:
∑ j = 1 n credit n , j = ∑ j = 1 n ( ∑ q = j + 1 n g j , q + ∑ p = j n ( g p , j − s ˉ p , j + t p , j ) ) = ∑ j = 1 n ( 1 − ε ⋅ [ 1 − [ θ − R f j ] + θ ] ⋅ μ j A − ε ⋅ 1 [ f j < n ] ⋅ ( μ j B + μ j C ) ) = n − ε ⋅ ∑ j = 1 t 1 [ 1 − [ θ − R f j ] + θ ] ⋅ μ j A − ε ⋅ ∑ j = t 1 t 3 ⋆ ( μ j B + μ j C ) ⋅ 1 [ f j < n ] . \begin{aligned}
\sum_{j=1}^{n}\operatorname{credit}_{n,j}
=\sum_{j=1}^{n}\left(\sum_{q=j+1}^{n}g_{j,q}+\sum_{p=j}^{n}(g_{p,j}-\bar{s}_{p,j}+t_{p,j})\right) \\
&=\sum_{j=1}^{n}\left(1-\varepsilon\cdot\left[1-\frac{[\theta-R_{f_j}]^+}{\theta}\right]\cdot\mu^A_j-\varepsilon\cdot\mathbf{1}[f_j<n]\cdot(\mu^B_j+\mu^C_j)\right) \\
&=n-\varepsilon\cdot\sum_{j=1}^{t_1}\left[1-\frac{[\theta-R_{f_j}]^+}{\theta}\right]\cdot\mu^A_j-\varepsilon\cdot\sum_{j=t_1}^{t^\star_3}(\mu^B_j+\mu^C_j)\cdot\mathbf{1}[f_j<n].
\end{aligned} j = 1 ∑ n credit n , j = j = 1 ∑ n ( q = j + 1 ∑ n g j , q + p = j ∑ n ( g p , j − s ˉ p , j + t p , j ) ) = j = 1 ∑ n ( 1 − ε ⋅ [ 1 − θ [ θ − R f j ] + ] ⋅ μ j A − ε ⋅ 1 [ f j < n ] ⋅ ( μ j B + μ j C ) ) = n − ε ⋅ j = 1 ∑ t 1 [ 1 − θ [ θ − R f j ] + ] ⋅ μ j A − ε ⋅ j = t 1 ∑ t 3 ⋆ ( μ j B + μ j C ) ⋅ 1 [ f j < n ] .
Thus, since all the s ˉ i , j \bar{s}_{i,j} s ˉ i , j and t i , j t_{i,j} t i , j terms cancel out, we get that it is equivalent to prove:
∑ j = 1 n ( ∑ q = j + 1 n g j , q + ∑ p = j n g p , j ) ≥ n − ε ⋅ ∑ j = 1 n [ 1 − [ θ − R f j ] + θ ] ⋅ μ j A − ε ⋅ ∑ j = t 1 t 3 ⋆ ( μ j B + μ j C ) ⋅ 1 [ f j < n ] . \sum_{j=1}^{n}\left(\sum_{q=j+1}^{n}g_{j,q}+\sum_{p=j}^{n}g_{p,j}\right)\ge n-\varepsilon\cdot\sum_{j=1}^{n}\left[1-\frac{[\theta-R_{f_j}]^+}{\theta}\right]\cdot\mu^A_j-\varepsilon\cdot\sum_{j=t_1}^{t^\star_3}(\mu^B_j+\mu^C_j)\cdot\mathbf{1}[f_j<n]. j = 1 ∑ n ( q = j + 1 ∑ n g j , q + p = j ∑ n g p , j ) ≥ n − ε ⋅ j = 1 ∑ n [ 1 − θ [ θ − R f j ] + ] ⋅ μ j A − ε ⋅ j = t 1 ∑ t 3 ⋆ ( μ j B + μ j C ) ⋅ 1 [ f j < n ] .
Now, if we focus on the left-hand side, we can reorganize the g i , j g_{i,j} g i , j terms to see that we in fact have:
∑ j = 1 n ( ∑ q = j + 1 n g j , q + ∑ p = j n g p , j ) = ∑ j = 1 n ∑ p = 1 n g p , j = n − ε ⋅ ∑ j = 1 t 1 μ j A ⋅ [ 1 − [ θ − R f j ] + θ ] − ε ⋅ ∑ j = t 1 + 1 n μ j D ⋅ [ 1 − R j − 1 θ ] + . \sum_{j=1}^{n}\left(\sum_{q=j+1}^{n}g_{j,q}+\sum_{p=j}^{n}g_{p,j}\right)=\sum_{j=1}^{n}\sum_{p=1}^{n}g_{p,j}=n-\varepsilon\cdot\sum_{j=1}^{t_1}\mu^A_j\cdot\left[1-\frac{[\theta-R_{f_j}]^+}{\theta}\right]-\varepsilon\cdot\sum_{j=t_1+1}^{n}\mu^D_j\cdot\left[1-\frac{R_{j-1}}{\theta}\right]^+. j = 1 ∑ n ( q = j + 1 ∑ n g j , q + p = j ∑ n g p , j ) = j = 1 ∑ n p = 1 ∑ n g p , j = n − ε ⋅ j = 1 ∑ t 1 μ j A ⋅ [ 1 − θ [ θ − R f j ] + ] − ε ⋅ j = t 1 + 1 ∑ n μ j D ⋅ [ 1 − θ R j − 1 ] + .
where we have used Lemma 6.36 to get the correct values. So we end up having to prove the following:
n − ε ⋅ ∑ j = 1 t 1 μ j A ⋅ [ 1 − [ θ − R f j ] + θ ] − ε ⋅ ∑ j = t 1 + 1 n μ j D ⋅ [ 1 − R j − 1 θ ] + ≥ n − ε ⋅ ∑ j = 1 t 1 μ j A ⋅ [ 1 − [ θ − R f j ] + θ ] − ε ⋅ ∑ j = t 1 t 3 ⋆ ( μ j B + μ j C ) ⋅ 1 [ f j < n ] \begin{aligned}
n-\varepsilon\cdot\sum_{j=1}^{t_1}\mu^A_j\cdot\left[1-\frac{[\theta-R_{f_j}]^+}{\theta}\right]-\varepsilon\cdot\sum_{j=t_1+1}^{n}\mu^D_j\cdot\left[1-\frac{R_{j-1}}{\theta}\right]^+ \\
&\ge n-\varepsilon\cdot\sum_{j=1}^{t_1}\mu^A_j\cdot\left[1-\frac{[\theta-R_{f_j}]^+}{\theta}\right]-\varepsilon\cdot\sum_{j=t_1}^{t^\star_3}(\mu^B_j+\mu^C_j)\cdot\mathbf{1}[f_j<n]
\end{aligned} n − ε ⋅ j = 1 ∑ t 1 μ j A ⋅ [ 1 − θ [ θ − R f j ] + ] − ε ⋅ j = t 1 + 1 ∑ n μ j D ⋅ [ 1 − θ R j − 1 ] + ≥ n − ε ⋅ j = 1 ∑ t 1 μ j A ⋅ [ 1 − θ [ θ − R f j ] + ] − ε ⋅ j = t 1 ∑ t 3 ⋆ ( μ j B + μ j C ) ⋅ 1 [ f j < n ]
which by using the fact that for j ≤ t 1 j\le t_1 j ≤ t 1 we have that R j − 1 ≥ τ ˉ ≥ θ R_{j-1}\ge\bar{\tau}\ge\theta R j − 1 ≥ τ ˉ ≥ θ , we can add their corresponding μ j D ⋅ [ 1 − R j − 1 θ ] + \mu^D_j\cdot\left[1-\frac{R_{j-1}}{\theta}\right]^+ μ j D ⋅ [ 1 − θ R j − 1 ] + as they are 0, and thus, by simplifying this becomes:
∑ j = 1 n μ j D ⋅ [ 1 − R j − 1 θ ] + ≤ ∑ j = t 1 t 3 ⋆ ( μ j B + μ j C ) ⋅ 1 [ f j < n ] . \sum_{j=1}^{n}\mu^D_j\cdot\left[1-\frac{R_{j-1}}{\theta}\right]^+\le\sum_{j=t_1}^{t^\star_3}(\mu^B_j+\mu^C_j)\cdot\mathbf{1}[f_j<n]. j = 1 ∑ n μ j D ⋅ [ 1 − θ R j − 1 ] + ≤ j = t 1 ∑ t 3 ⋆ ( μ j B + μ j C ) ⋅ 1 [ f j < n ] .
Note that i > t 3 ⋆ i > t_3^\star i > t 3 ⋆ , so t 3 ⋆ = n t_3^\star= n t 3 ⋆ = n is impossible. Then we have ( μ j B + μ j C ) ⋅ 1 [ f j = n ] = 0 (\mu_j^B + \mu_j^C) \cdot1[f_j = n] = 0 ( μ j B + μ j C ) ⋅ 1 [ f j = n ] = 0 because f j > t 3 ⋆ f_j > t_3^\star f j > t 3 ⋆ , so equivalently we need to prove that
∑ j = 1 n μ j D ⋅ [ 1 − R j − 1 θ ] + ≤ ∑ j = t 1 t 3 ⋆ ( μ j B + μ j C ) . \sum_{j=1}^{n} \mu_j^D \cdot\left[1-\frac{R_{j-1}}{\theta}\right]^+ \le\sum_{j=t_1}^{t_3^\star}(\mu_j^B+\mu_j^C). j = 1 ∑ n μ j D ⋅ [ 1 − θ R j − 1 ] + ≤ j = t 1 ∑ t 3 ⋆ ( μ j B + μ j C ) .
Through the following claim, this result is true.
Claim 6.43. We have
∑ j = t 1 t 3 ⋆ ( μ j B + μ j C ) ≥ ∑ j = 1 n μ j D ⋅ [ 1 − R j − 1 θ ] + . \sum_{j=t_1}^{t_3^\star}(\mu_j^B+\mu_j^C) \ge\sum_{j=1}^{n}\mu_j^D \cdot\left[1-\frac{R_{j-1}}{\theta}\right]^+. j = t 1 ∑ t 3 ⋆ ( μ j B + μ j C ) ≥ j = 1 ∑ n μ j D ⋅ [ 1 − θ R j − 1 ] + . Proof. We analyze the evolution of the remaining budget during Phase 2. By Claim 6.41 and choosing j = t 1 − 1 j=t_1-1 j = t 1 − 1 and i = t 3 ⋆ i=t_3^\star i = t 3 ⋆ , we have that:
R t 1 − 1 ′ + τ = ( R t 3 ⋆ ′ + τ ) ⋅ n − t 1 + 1 − ∑ ℓ = t 1 t 3 ⋆ ( 1 − μ ℓ B − μ ℓ C ) ⋅ R t 1 − 1 + τ ′ R ℓ − 1 + τ ′ n − t 3 ⋆ . R'_{t_1-1}+\tau=(R'_{t_3^\star}+\tau)\cdot\frac{n-t_1+1-\sum_{\ell=t_1}^{t_3^\star}(1-\mu_\ell^B-\mu_\ell^C)\cdot\frac{R'_{t_1-1+\tau}}{R'_{\ell-1+\tau}}}{n-t_3^\star}. R t 1 − 1 ′ + τ = ( R t 3 ⋆ ′ + τ ) ⋅ n − t 3 ⋆ n − t 1 + 1 − ∑ ℓ = t 1 t 3 ⋆ ( 1 − μ ℓ B − μ ℓ C ) ⋅ R ℓ − 1 + τ ′ R t 1 − 1 + τ ′ . For the numerator, we can do the following:
n − t 1 + 1 − ∑ ℓ = t 1 t 3 ⋆ ( 1 − μ ℓ B − μ ℓ C ) ⋅ R t 1 − 1 ′ + τ R ℓ − 1 ′ + τ n-t_1+1-\sum_{\ell=t_1}^{t_3^\star}(1-\mu_\ell^B-\mu_\ell^C)\cdot\frac{R'_{t_1-1}+\tau}{R'_{\ell-1}+\tau} n − t 1 + 1 − ℓ = t 1 ∑ t 3 ⋆ ( 1 − μ ℓ B − μ ℓ C ) ⋅ R ℓ − 1 ′ + τ R t 1 − 1 ′ + τ = n − t 3 ⋆ + ∑ ℓ = t 1 t 3 ⋆ ( μ ℓ B + μ ℓ C ) − ∑ ℓ = t 1 t 3 ⋆ ( 1 − μ ℓ B − μ ℓ C ) ⋅ R t 1 − 1 ′ − R ℓ − 1 ′ R ℓ − 1 ′ + τ . = n-t_3^\star+\sum_{\ell=t_1}^{t_3^\star}(\mu_\ell^B+\mu_\ell^C)-\sum_{\ell=t_1}^{t_3^\star}(1-\mu_\ell^B-\mu_\ell^C)\cdot\frac{R'_{t_1-1}-R'_{\ell-1}}{R'_{\ell-1}+\tau}. = n − t 3 ⋆ + ℓ = t 1 ∑ t 3 ⋆ ( μ ℓ B + μ ℓ C ) − ℓ = t 1 ∑ t 3 ⋆ ( 1 − μ ℓ B − μ ℓ C ) ⋅ R ℓ − 1 ′ + τ R t 1 − 1 ′ − R ℓ − 1 ′ . Let us prove that R t 1 − 1 ′ − R ℓ − 1 ′ R ℓ − 1 ′ + τ ≥ [ 1 − R ℓ − 1 ′ θ ] + \frac{R'_{t_1-1}-R'_{\ell-1}}{R'_{\ell-1}+\tau}\ge\left[1-\frac{R'_{\ell-1}}{\theta}\right]^+ R ℓ − 1 ′ + τ R t 1 − 1 ′ − R ℓ − 1 ′ ≥ [ 1 − θ R ℓ − 1 ′ ] + for t 1 ≤ ℓ ≤ t 3 ⋆ t_1\le\ell\le t_3^\star t 1 ≤ ℓ ≤ t 3 ⋆ . Using the fact that R t 1 − 1 ′ = τ ˉ = 1 − τ R'_{t_1-1}=\bar{\tau}=1-\tau R t 1 − 1 ′ = τ ˉ = 1 − τ , we have that the left-hand side is: 1 − τ − R ℓ − 1 ′ R ℓ − 1 ′ + τ \frac{1-\tau-R'_{\ell-1}}{R'_{\ell-1}+\tau} R ℓ − 1 ′ + τ 1 − τ − R ℓ − 1 ′ . Then it is easily checked that this is lower bounded by [ 1 − R ℓ − 1 ′ θ ] + \left[1-\frac{R'_{\ell-1}}{\theta}\right]^+ [ 1 − θ R ℓ − 1 ′ ] + for R ℓ − 1 ′ ≤ 1 − τ R'_{\ell-1}\le1-\tau R ℓ − 1 ′ ≤ 1 − τ : i.e., that 1 − τ − x τ + x ≥ [ 1 − x θ ] + \frac{1-\tau-x}{\tau+x}\ge\left[1-\frac{x}{\theta}\right]^+ τ + x 1 − τ − x ≥ [ 1 − θ x ] + for 0 ≤ x ≤ τ ˉ 0\le x\le\bar{\tau} 0 ≤ x ≤ τ ˉ , which is true by Property 6.14.
Then, rearranging, we get the following:
∑ ℓ = t 1 t 3 ⋆ ( μ ℓ B + μ ℓ C ) ≥ R t 1 − 1 ′ − R t 3 ⋆ ′ R t 3 ⋆ ′ + τ ⋅ ( n − t 3 ⋆ ) + ∑ ℓ = t 1 t 3 ⋆ ( 1 − μ ℓ B − μ ℓ C ) ⋅ [ 1 − R ℓ − 1 ′ θ ] + . \sum_{\ell=t_1}^{t_3^\star}(\mu_\ell^B+\mu_\ell^C)\ge\frac{R'_{t_1-1}-R'_{t_3^\star}}{R'_{t_3^\star}+\tau}\cdot(n-t_3^\star)+\sum_{\ell=t_1}^{t_3^\star}(1-\mu_\ell^B-\mu_\ell^C)\cdot\left[1-\frac{R'_{\ell-1}}{\theta}\right]^+. ℓ = t 1 ∑ t 3 ⋆ ( μ ℓ B + μ ℓ C ) ≥ R t 3 ⋆ ′ + τ R t 1 − 1 ′ − R t 3 ⋆ ′ ⋅ ( n − t 3 ⋆ ) + ℓ = t 1 ∑ t 3 ⋆ ( 1 − μ ℓ B − μ ℓ C ) ⋅ [ 1 − θ R ℓ − 1 ′ ] + . Since R t 1 − 1 ′ = τ ˉ R'_{t_1-1}=\bar{\tau} R t 1 − 1 ′ = τ ˉ and R t 3 ⋆ ′ = 0 R'_{t_3^\star}=0 R t 3 ⋆ ′ = 0 , the first term on the right is equal to τ ˉ τ ( n − t 3 ⋆ ) \frac{\bar{\tau}}{\tau}(n-t_3^\star) τ τ ˉ ( n − t 3 ⋆ ) , and hence is at least n − t 3 ⋆ n-t_3^\star n − t 3 ⋆ . Therefore the previous bound implies in particular that
∑ ℓ = t 1 t 3 ⋆ ( μ ℓ B + μ ℓ C ) ≥ ( n − t 3 ⋆ ) + ∑ ℓ = t 1 t 3 ⋆ ( 1 − μ ℓ B − μ ℓ C ) ⋅ [ 1 − R ℓ − 1 ′ θ ] + . \sum_{\ell=t_1}^{t_3^\star}(\mu_\ell^B+\mu_\ell^C)\ge(n-t_3^\star)+\sum_{\ell=t_1}^{t_3^\star}(1-\mu_\ell^B-\mu_\ell^C)\cdot\left[1-\frac{R'_{\ell-1}}{\theta}\right]^+. ℓ = t 1 ∑ t 3 ⋆ ( μ ℓ B + μ ℓ C ) ≥ ( n − t 3 ⋆ ) + ℓ = t 1 ∑ t 3 ⋆ ( 1 − μ ℓ B − μ ℓ C ) ⋅ [ 1 − θ R ℓ − 1 ′ ] + . We are nearly done. First, let us see that for ℓ > t 3 ⋆ \ell>t_3^\star ℓ > t 3 ⋆ , R ℓ − 1 ′ = 0 R'_{\ell-1}=0 R ℓ − 1 ′ = 0 , and thus, [ 1 − R ℓ − 1 ′ θ ] + = 1 \left[1-\frac{R'_{\ell-1}}{\theta}\right]^+=1 [ 1 − θ R ℓ − 1 ′ ] + = 1 , making:
∑ ℓ = t 3 ⋆ + 1 n ( 1 − μ ℓ B − μ ℓ C ) ⋅ [ 1 − R ℓ − 1 θ ] + = n − t 3 ⋆ . \sum_{\ell=t_3^\star+1}^{n}(1-\mu_\ell^B-\mu_\ell^C)\cdot\left[1-\frac{R_{\ell-1}}{\theta}\right]^+=n-t_3^\star. ℓ = t 3 ⋆ + 1 ∑ n ( 1 − μ ℓ B − μ ℓ C ) ⋅ [ 1 − θ R ℓ − 1 ] + = n − t 3 ⋆ . Then, for ℓ ≤ t 1 \ell\le t_1 ℓ ≤ t 1 , we have that R ℓ − 1 ≥ τ ˉ ≥ θ R_{\ell-1}\ge\bar{\tau}\ge\theta R ℓ − 1 ≥ τ ˉ ≥ θ , and thus,
∑ ℓ = 1 t 1 ( 1 − μ ℓ B − μ ℓ C ) ⋅ [ 1 − R ℓ − 1 θ ] + = 0. \sum_{\ell=1}^{t_1}(1-\mu_\ell^B-\mu_\ell^C)\cdot\left[1-\frac{R_{\ell-1}}{\theta}\right]^+=0. ℓ = 1 ∑ t 1 ( 1 − μ ℓ B − μ ℓ C ) ⋅ [ 1 − θ R ℓ − 1 ] + = 0. Also R ℓ − 1 = R ℓ − 1 ′ R_{\ell-1}=R'_{\ell-1} R ℓ − 1 = R ℓ − 1 ′ for all ℓ ≥ t 1 + 1 \ell\ge t_1+1 ℓ ≥ t 1 + 1 . Thus, we have that
( n − t 3 ⋆ ) + ∑ ℓ = t 1 + 1 t 3 ⋆ ( 1 − μ ℓ B − μ ℓ C ) ⋅ [ 1 − R ℓ − 1 ′ θ ] + = ∑ ℓ = 1 n ( 1 − μ ℓ B − μ ℓ C ) ⋅ [ 1 − R ℓ − 1 θ ] + ≥ ∑ ℓ = 1 n μ ℓ D ⋅ [ 1 − R ℓ − 1 θ ] + . (n-t_3^\star)+\sum_{\ell=t_1+1}^{t_3^\star}(1-\mu_\ell^B-\mu_\ell^C)\cdot\left[1-\frac{R'_{\ell-1}}{\theta}\right]^+=\sum_{\ell=1}^{n}(1-\mu_\ell^B-\mu_\ell^C)\cdot\left[1-\frac{R_{\ell-1}}{\theta}\right]^+\ge\sum_{\ell=1}^{n}\mu_\ell^D\cdot\left[1-\frac{R_{\ell-1}}{\theta}\right]^+. ( n − t 3 ⋆ ) + ℓ = t 1 + 1 ∑ t 3 ⋆ ( 1 − μ ℓ B − μ ℓ C ) ⋅ [ 1 − θ R ℓ − 1 ′ ] + = ℓ = 1 ∑ n ( 1 − μ ℓ B − μ ℓ C ) ⋅ [ 1 − θ R ℓ − 1 ] + ≥ ℓ = 1 ∑ n μ ℓ D ⋅ [ 1 − θ R ℓ − 1 ] + .
Thus, we have proven all the different possible cases, and thus, the constraint ( m i ) (m_i) ( m i ) holds.
It remains to enforce the diagonal convention on the preliminary matrix s ˉ \bar{s} s ˉ . The following lemma shows that this can be done without changing any of the preceding calculations or the objective value.
Lemma 6.44 (Diagonal repair). Let s ˉ \bar{s} s ˉ be the preliminary sent-credit matrix produced by Table 2 . Define s s s by
s i , j = { 0 , i = j , s ˉ j + 1 , j + s ˉ j , j , i = j + 1 and j < n , s ˉ i , j , otherwise . (14) s_{i,j} =
\begin{cases}
0, & i=j,\\
\bar{s}_{j+1,j}+\bar{s}_{j,j}, & i=j+1\text{ and }j<n,\\
\bar{s}_{i,j}, & \text{otherwise}.
\end{cases} \tag*{(14)} s i , j = ⎩ ⎨ ⎧ 0 , s ˉ j + 1 , j + s ˉ j , j , s ˉ i , j , i = j , i = j + 1 and j < n , otherwise . (14) Replacing s ˉ \bar{s} s ˉ by s s s gives a feasible solution of the factor-revealing dual with the same value of ρ \rho ρ .
Proof. Only the A-assignment in Table 2 can contribute to s ˉ j , j \bar{s}_{j,j} s ˉ j , j . Since μ j A = 0 \mu_j^{\mathrm{A}}=0 μ j A = 0 for j > t 1 j>t_1 j > t 1 , a positive diagonal entry can occur only for j ≤ t 1 j\leq t_1 j ≤ t 1 . Moreover, s ˉ n , n = 0 \bar{s}_{n,n}=0 s ˉ n , n = 0 : this is immediate if t 1 < n t_1<n t 1 < n , while if t 1 = n t_1=n t 1 = n , Definition 6.15 gives α = 1 \alpha=1 α = 1 and hence μ n A = 0 \mu_n^{\mathrm{A}}=0 μ n A = 0 . Thus, every diagonal entry that may be positive can be shifted to the following row as in Equation (14) .
We first record that the case t 1 = t 3 ∗ < n t_1=t_3^*<n t 1 = t 3 ∗ < n is impossible. Indeed, the definition of t 1 t_1 t 1 and the initialization R t 3 ∗ ( 2 ) = 0 R_{t_3^*}^{(2)}=0 R t 3 ∗ ( 2 ) = 0 give
τ ˉ ≤ R t 1 − 1 ( 2 ) = R t 3 ∗ − 1 ( 2 ) = g ^ t 3 ∗ ( 2 ) = ( 1 − μ t 3 ∗ D ) τ n − t 3 ∗ ≤ τ n − t 3 ∗ ≤ τ , \bar{\tau}\leq R_{t_1-1}^{(2)}=R_{t_3^*-1}^{(2)}=\hat{g}_{t_3^*}^{(2)}=(1-\mu_{t_3^*}^{\mathrm{D}})\frac{\tau}{n-t_3^*}\leq\frac{\tau}{n-t_3^*}\leq\tau, τ ˉ ≤ R t 1 − 1 ( 2 ) = R t 3 ∗ − 1 ( 2 ) = g ^ t 3 ∗ ( 2 ) = ( 1 − μ t 3 ∗ D ) n − t 3 ∗ τ ≤ n − t 3 ∗ τ ≤ τ ,
contradicting τ < τ ˉ \tau<\bar{\tau} τ < τ ˉ from Property 6.13.
We next check the pool constraints. For every i i i , all shifts from columns j < i j<i j < i have already re-entered the pool by time i i i , whereas the mass s ˉ i , i \bar{s}_{i,i} s ˉ i , i is delayed until time i + 1 i+1 i + 1 . Consequently,
∑ p = 1 i ∑ j = 1 p ( s p , j − t p , j ) = pool_credit i − s ˉ i , i . (15) \sum_{p=1}^{i}\sum_{j=1}^{p}(s_{p,j}-t_{p,j})=\operatorname{pool\_credit}_i-\bar{s}_{i,i}. \tag*{(15)} p = 1 ∑ i j = 1 ∑ p ( s p , j − t p , j ) = pool_credit i − s ˉ i , i . (15)
If s ˉ i , i = 0 \bar{s}_{i,i}=0 s ˉ i , i = 0 , non-negativity follows from Lemma 6.39. Suppose then that s ˉ i , i > 0 \bar{s}_{i,i}>0 s ˉ i , i > 0 , so i ≤ t 1 i\leq t_1 i ≤ t 1 . No t t t -mass has been withdrawn by time i i i unless possibly i = t 1 = t 3 ∗ i=t_1=t_3^* i = t 1 = t 3 ∗ . To see this, clients j < t 1 j<t_1 j < t 1 have only A- and D-membership; the A-assignment has no t t t -mass, while a positive D-membership implies f j ≥ t 3 ∗ f_j\geq t_3^* f j ≥ t 3 ∗ . At j = t 1 j=t_1 j = t 1 , the A-part again has no t t t -mass, the D-part can only withdraw at f t 1 ≥ t 3 ∗ f_{t_1}\geq t_3^* f t 1 ≥ t 3 ∗ , and the B-part is zero because
[ 1 − R t 1 − 1 − τ ] + = 0 [1-R_{t_1-1}-\tau]^+=0 [ 1 − R t 1 − 1 − τ ] + = 0
by R t 1 − 1 ≥ τ ˉ = 1 − τ R_{t_1-1}\geq\bar{\tau}=1-\tau R t 1 − 1 ≥ τ ˉ = 1 − τ . The exceptional case i = t 1 = t 3 ∗ < n i=t_1=t_3^*<n i = t 1 = t 3 ∗ < n was ruled out above, and if i = t 1 = t 3 ∗ = n i=t_1=t_3^*=n i = t 1 = t 3 ∗ = n , then s ˉ i , i = s ˉ n , n = 0 \bar{s}_{i,i}=\bar{s}_{n,n}=0 s ˉ i , i = s ˉ n , n = 0 . Hence, whenever s ˉ i , i > 0 \bar{s}_{i,i}>0 s ˉ i , i > 0 , the preliminary pool credit at time i i i is a sum of nonnegative s ˉ \bar{s} s ˉ -entries containing s ˉ i , i \bar{s}_{i,i} s ˉ i , i . Equation (16) is therefore nonnegative.
For a client constraint ( r j , i ) (r_{j,i}) ( r j , i ) , when i = j i=j i = j replacing s ˉ \bar{s} s ˉ by s s s increases its left-hand side by s ˉ j , j \bar{s}_{j,j} s ˉ j , j . When i ≥ j + 1 i\geq j+1 i ≥ j + 1 , the cumulative transfer is unchanged because
∑ p = j i s p , j = ∑ p = j i s ˉ p , j . \sum_{p=j}^{i}s_{p,j}=\sum_{p=j}^{i}\bar{s}_{p,j}. p = j ∑ i s p , j = p = j ∑ i s ˉ p , j .
Thus all client constraints remain satisfied. The same identity with i = n i=n i = n shows that each ( d j ) (d_j) ( d j ) constraint, and hence the value of ρ \rho ρ , is unchanged. Finally, s s s is nonnegative, has zero diagonal by construction, and all constraints not involving s s s are unaffected. This proves the lemma.
The proof of Lemma 6.3 now follows:
Proof of Lemma 6.3. Lemmas 6.31, 6.39, 6.37, 6.35, 6.30, and 6.23 show that the preliminary assignment satisfies all constraints except possibly s ˉ i , i = 0 \bar{s}_{i,i}=0 s ˉ i , i = 0 , with objective value 2 − ( γ − 1 ) 2 2-(\gamma-1)^2 2 − ( γ − 1 ) 2 . Lemma 6.44 transforms it into a feasible solution satisfying the diagonal convention and preserves the objective value. Thus the lemma holds.
Existence of correct advice
This section is the proof of Lemma 6.4 . We must show that there exists a set of advice variables Γ \Gamma Γ as defined in Definition 6.8 and Property 6.9 such that the outcome of the procedure is not a null result. It will not be a null result if and only if t 1 ( Γ ) t_1(\Gamma) t 1 ( Γ ) is defined (t 1 ( Γ ) ≠ ⊥ t_1(\Gamma) \ne\perp t 1 ( Γ ) = ⊥ ) and R 0 ( Γ ) = 1 R_0(\Gamma)=1 R 0 ( Γ ) = 1 for the chosen variables, where R 0 ( Γ ) R_0(\Gamma) R 0 ( Γ ) is the value of R 0 R_0 R 0 at the termination of the procedure when Γ \Gamma Γ are the input variables.
First, let us see that the condition that t 1 ( Γ ) ≠ ⊥ t_1(\Gamma) \ne\perp t 1 ( Γ ) = ⊥ is redundant. In the procedure, the condition of t 1 = ⊥ t_1=\perp t 1 =⊥ in Line 9 means that the procedure got to the i = 1 i=1 i = 1 element in the Phase 2 loop in Line 3 and from Line 7 we know that no i i i had R i − 1 ( 2 ) ≥ τ ˉ R_{i-1}^{(2)} \ge\bar{\tau} R i − 1 ( 2 ) ≥ τ ˉ . This last condition is also true for i = 1 i=1 i = 1 , thus R 0 ( 2 ) < τ ˉ R_0^{(2)} < \bar{\tau} R 0 ( 2 ) < τ ˉ . Thus, getting some variables that have R 0 = 1 R_0=1 R 0 = 1 is already a sufficient and necessary condition.
Our proof strategy will be the following. We will first find two different advices Γ 0 \Gamma_0 Γ 0 and Γ 1 \Gamma_1 Γ 1 such that one satisfies R 0 ( Γ 0 ) ≤ 1 R_0(\Gamma_0)\le1 R 0 ( Γ 0 ) ≤ 1 and the other R 0 ( Γ 1 ) ≥ 1 R_0(\Gamma_1)\ge1 R 0 ( Γ 1 ) ≥ 1 . Then, we will define a path Γ ( λ ) \Gamma(\lambda) Γ ( λ ) that goes from the first set of variables Γ 0 \Gamma_0 Γ 0 to the other Γ 1 \Gamma_1 Γ 1 , parameterized by some real continuous parameter λ \lambda λ . By proving that the resulting function R 0 ( Γ ( λ ) ) R_0(\Gamma(\lambda)) R 0 ( Γ ( λ )) is continuous, with a direct application of the intermediate value theorem, we will be able to state that there must exist a Γ ⋆ \Gamma^\star Γ ⋆ such that R 0 ( Γ ⋆ ) = 1 R_0(\Gamma^\star)=1 R 0 ( Γ ⋆ ) = 1 , implying that there exists a correct advice.
Thus, let us first define the following two points.
Definition 6.45. Let the first point Γ 0 \Gamma_0 Γ 0 be one such that all clients are considered part of D D D :
Γ 0 = { t 3 ⋆ = 1 , { μ j ⋆ = 1 , ∀ j ∈ O n e s ( 1 ) } } . \Gamma_0=\{t_3^\star=1,\{\mu_j^\star=1,\ \forall j\in Ones(1)\}\}. Γ 0 = { t 3 ⋆ = 1 , { μ j ⋆ = 1 , ∀ j ∈ O n es ( 1 )}} .
Definition 6.46. Let the second point Γ 1 \Gamma_1 Γ 1 be one such that all clients with f j < n f_j<n f j < n are not considered part of D D D :
Γ 1 = { t 3 ⋆ = n , { μ j ⋆ = 1 , ∀ j ∈ O n e s ( n ) } , g ^ n ⋆ = 1 } . \Gamma_1=\{t_3^\star=n,\{\mu_j^\star=1,\ \forall j\in Ones(n)\},\hat{g}_n^\star=1\}. Γ 1 = { t 3 ⋆ = n , { μ j ⋆ = 1 , ∀ j ∈ O n es ( n )} , g ^ n ⋆ = 1 } .
For these two points, let us state the following observations:
Observation 6.47. The total sum of produced credit for Γ 0 \Gamma_0 Γ 0 is R 0 ( Γ 0 ) ≤ 1 R_0(\Gamma_0)\le1 R 0 ( Γ 0 ) ≤ 1 .
Observation 6.48. The total sum of produced credit for Γ 1 \Gamma_1 Γ 1 is R 0 ( Γ 1 ) ≥ 1 R_0(\Gamma_1)\ge1 R 0 ( Γ 1 ) ≥ 1 .
Proof of Observation 6.47 and Observation 6.48. For Γ 0 \Gamma_0 Γ 0 , since t 3 ⋆ = 1 t_3^\star=1 t 3 ⋆ = 1 , we have R 1 ( Γ 0 ) = 0 R_1(\Gamma_0)=0 R 1 ( Γ 0 ) = 0 , and thus R 0 ( Γ 0 ) = g ^ 1 R_0(\Gamma_0)=\hat{g}_1 R 0 ( Γ 0 ) = g ^ 1 . For this case, since μ 1 D = 1 \mu_1^D=1 μ 1 D = 1 (because either 1 ∈ O n e s ( 1 ) 1\in Ones(1) 1 ∈ O n es ( 1 ) implying μ 1 ⋆ = 1 \mu_1^\star=1 μ 1 ⋆ = 1 or f 1 > t 3 ⋆ = 1 f_1>t_3^\star=1 f 1 > t 3 ⋆ = 1 and thus μ 1 D = 1 \mu_1^D=1 μ 1 D = 1 ), we have that g ^ 1 ( Γ 0 ) ∝ ( 1 − μ 1 D ) = 0 \hat{g}_1(\Gamma_0)\propto(1-\mu_1^D)=0 g ^ 1 ( Γ 0 ) ∝ ( 1 − μ 1 D ) = 0 , thus proving that R 0 ( Γ 0 ) ≤ 1 R_0(\Gamma_0)\le1 R 0 ( Γ 0 ) ≤ 1 . For Γ 1 \Gamma_1 Γ 1 , it is trivial to see as R 0 ( Γ 1 ) ≥ g ^ n ( Γ 1 ) = g ^ n ⋆ = 1 R_0(\Gamma_1)\ge\hat{g}_n(\Gamma_1)=\hat{g}_n^\star=1 R 0 ( Γ 1 ) ≥ g ^ n ( Γ 1 ) = g ^ n ⋆ = 1 .
Let us now define the path that goes from one point to the other. This path must go through each value of t 3 ⋆ t_3^\star t 3 ⋆ from 1 1 1 to n n n , and within each t 3 ⋆ t_3^\star t 3 ⋆ , we have to continuously change the values of μ j D \mu_j^D μ j D .
Let us define the section of the path for a fixed t 3 ⋆ t_3^\star t 3 ⋆ :
Definition 6.49. For a fixed t 3 ⋆ = ℓ < n t_3^\star=\ell<n t 3 ⋆ = ℓ < n , let Γ ℓ ( λ ) \Gamma^\ell(\lambda) Γ ℓ ( λ ) be the path defined with λ ∈ [ 0 , 1 ] \lambda\in[0,1] λ ∈ [ 0 , 1 ] as:
Γ ℓ ( λ ) = { t 3 ⋆ = ℓ , { μ j ⋆ = [ 1 − [ n λ − ( n − j ) ] + ] + , ∀ j ∈ O n e s ( ℓ ) } } . \Gamma^\ell(\lambda)=\{t_3^\star=\ell,\{\mu_j^\star=\left[1-[n\lambda-(n-j)]^+\right]^+,\ \forall j\in Ones(\ell)\}\}. Γ ℓ ( λ ) = { t 3 ⋆ = ℓ , { μ j ⋆ = [ 1 − [ nλ − ( n − j ) ] + ] + , ∀ j ∈ O n es ( ℓ )}} .
For t 3 ⋆ = ℓ = n t_3^\star=\ell=n t 3 ⋆ = ℓ = n , this is:
Γ n ( λ ) = { t 3 ⋆ = n , { μ j ⋆ = 1 , ∀ j ∈ O n e s ( n ) } , g ^ n ⋆ = λ } . \Gamma^n(\lambda)=\{t_3^\star=n,\{\mu_j^\star=1,\ \forall j\in Ones(n)\},\hat{g}_n^\star=\lambda\}. Γ n ( λ ) = { t 3 ⋆ = n , { μ j ⋆ = 1 , ∀ j ∈ O n es ( n )} , g ^ n ⋆ = λ } .
And finally, we can define the full path going from Γ 0 \Gamma_0 Γ 0 to Γ 1 \Gamma_1 Γ 1 as:
Definition 6.50. For the above defined points Γ 0 \Gamma_0 Γ 0 and Γ 1 \Gamma_1 Γ 1 , let the path Γ ( λ ) \Gamma(\lambda) Γ ( λ ) that joins these points for λ ∈ [ 0 , n ] \lambda\in[0,n] λ ∈ [ 0 , n ] be:
Γ ( λ ) = Γ ⌊ λ ⌋ + 1 ( λ − ⌊ λ ⌋ ) \Gamma(\lambda)=\Gamma^{\lfloor\lambda\rfloor+1}(\lambda-\lfloor\lambda\rfloor) Γ ( λ ) = Γ ⌊ λ ⌋ + 1 ( λ − ⌊ λ ⌋) and with Γ ( 0 ) = Γ 1 ( 0 ) \Gamma(0)=\Gamma^1(0) Γ ( 0 ) = Γ 1 ( 0 ) and Γ ( n ) = Γ n ( 1 ) \Gamma(n)=\Gamma^n(1) Γ ( n ) = Γ n ( 1 ) .
As we need the advice variables to satisfy Property 6.9, we make the following observation:
Observation 6.51. For any λ ∈ [ 0 , n ] \lambda\in[0,n] λ ∈ [ 0 , n ] , the chosen μ j ⋆ ∈ Γ ( λ ) \mu_j^\star\in\Gamma(\lambda) μ j ⋆ ∈ Γ ( λ ) values are non-increasing in j j j and have at most one fractional entry, and if t 3 ⋆ = n t_3^\star=n t 3 ⋆ = n we have μ j ⋆ = 1 \mu_j^\star=1 μ j ⋆ = 1 .
Proof of Observation 6.51. First, for the case where t 3 ⋆ = n t_3^\star= n t 3 ⋆ = n , the path Γ n ( λ ) \Gamma^n(\lambda) Γ n ( λ ) explicitly sets μ j ⋆ = 1 \mu_j^\star= 1 μ j ⋆ = 1 for all j ∈ Ones ( n ) j \in\operatorname{Ones}(n) j ∈ Ones ( n ) , satisfying the final property directly.
For the case t 3 ⋆ = ℓ < n t_3^\star= \ell< n t 3 ⋆ = ℓ < n , the fractional memberships are defined as μ j ⋆ = [ 1 − [ n λ − ( n − j ) ] + ] + \mu_j^\star= \left[1 - [n\lambda- (n-j)]^+\right]^+ μ j ⋆ = [ 1 − [ nλ − ( n − j ) ] + ] + . Let x j = n λ − n + j x_j = n\lambda- n + j x j = nλ − n + j . As the index j j j increases, x j x_j x j strictly increases. Consequently, the inner term [ x j ] + [x_j]^+ [ x j ] + is non-decreasing with respect to j j j , which implies that 1 − [ x j ] + 1-[x_j]^+ 1 − [ x j ] + is non-increasing. Applying the outer non-negativity bound [ ⋅ ] + [\cdot]^+ [ ⋅ ] + preserves this monotonicity, meaning μ j ⋆ \mu_j^\star μ j ⋆ is non-increasing in j j j .
Finally, an entry evaluates to a fractional value (i.e., 0 < μ j ⋆ < 1 0 < \mu_j^\star< 1 0 < μ j ⋆ < 1 ) if and only if 0 < [ x j ] + < 1 0 < [x_j]^+ < 1 0 < [ x j ] + < 1 , which strictly requires 0 < x j < 1 0 < x_j < 1 0 < x j < 1 . Because distinct indices differ by at least 1, the distance between terms is at least x j 2 − x j 1 = j 2 − j 1 ≥ 1 x_{j_2}-x_{j_1}=j_2-j_1\geq1 x j 2 − x j 1 = j 2 − j 1 ≥ 1 . Since the open interval ( 0 , 1 ) (0,1) ( 0 , 1 ) has a length of exactly 1, it can capture at most one such x j x_j x j for any given λ \lambda λ . Therefore, there can be at most one fractional entry for any state in the path.
Thus, using any point Γ \Gamma Γ in the path is a valid input to the procedure. We will now prove that while traveling through this path, the produced R 0 ( λ ) R_0(\lambda) R 0 ( λ ) is continuous. First, we prove the continuity for each section Γ ℓ ( λ ) \Gamma^\ell(\lambda) Γ ℓ ( λ ) ; this is the most technical proof in this section and we leave it to the end of the section.
Lemma 6.52. Any given section Γ ℓ ( λ ) \Gamma^\ell(\lambda) Γ ℓ ( λ ) of the path Γ ( λ ) \Gamma(\lambda) Γ ( λ ) has a continuous value of R 0 ( Γ ℓ ( λ ) ) R_0(\Gamma^\ell(\lambda)) R 0 ( Γ ℓ ( λ )) with respect to λ \lambda λ .
Then, we need to stitch together the paths to prove that the general path is continuous:
Observation 6.53. For 1 ≤ ℓ < n 1 \leq\ell< n 1 ≤ ℓ < n , the jump from section ℓ \ell ℓ to section ℓ + 1 \ell+1 ℓ + 1 is continuous:
R 0 ( Γ ℓ ( 1 ) ) = R 0 ( Γ ℓ + 1 ( 0 ) ) . R_0(\Gamma^\ell(1))=R_0(\Gamma^{\ell+1}(0)). R 0 ( Γ ℓ ( 1 )) = R 0 ( Γ ℓ + 1 ( 0 )) .
Proof of Observation 6.53. This is a direct proof by substitution of the value of λ \lambda λ and analyzing the execution of the procedure for both points.
For the first point Γ ℓ ( 1 ) \Gamma^\ell(1) Γ ℓ ( 1 ) , we substitute λ = 1 \lambda=1 λ = 1 into the path definition. For all j ∈ Ones ( ℓ ) j \in\operatorname{Ones}(\ell) j ∈ Ones ( ℓ ) , we have:
μ j ⋆ = [ 1 − [ n ( 1 ) − ( n − j ) ] + ] + = [ 1 − j ] + = 0. \mu_j^\star=\left[1-[n(1)-(n-j)]^+\right]^+=[1-j]^+=0. μ j ⋆ = [ 1 − [ n ( 1 ) − ( n − j ) ] + ] + = [ 1 − j ] + = 0.
Thus, for all j j j with f j ≤ ℓ f_j\leq\ell f j ≤ ℓ we have μ j D = 0 \mu_j^D=0 μ j D = 0 ; and for all j j j with f j > ℓ f_j>\ell f j > ℓ we have μ j D = 1 \mu_j^D=1 μ j D = 1 .
For the second point Γ ℓ + 1 ( 0 ) \Gamma^{\ell+1}(0) Γ ℓ + 1 ( 0 ) , we substitute λ = 0 \lambda=0 λ = 0 into the path definition. For all j ∈ Ones ( ℓ + 1 ) j \in\operatorname{Ones}(\ell+1) j ∈ Ones ( ℓ + 1 ) , we have:
μ j ⋆ = [ 1 − [ n ( 0 ) − ( n − j ) ] + ] + = [ 1 − 0 ] + = 1. \mu_j^\star=\left[1-[n(0)-(n-j)]^+\right]^+=[1-0]^+=1. μ j ⋆ = [ 1 − [ n ( 0 ) − ( n − j ) ] + ] + = [ 1 − 0 ] + = 1.
This is true even in the case ℓ + 1 = n \ell+1=n ℓ + 1 = n , for which we also have that g ^ n = 0 \hat{g}_n=0 g ^ n = 0 . Thus, just the same as before, for all j j j with f j ≤ ℓ f_j\leq\ell f j ≤ ℓ we have μ j D = 0 \mu_j^D=0 μ j D = 0 ; and for all j j j with f j > ℓ f_j>\ell f j > ℓ we have μ j D = 1 \mu_j^D=1 μ j D = 1 .
During the execution for Γ ℓ ( 1 ) \Gamma^\ell(1) Γ ℓ ( 1 ) , we have t 3 ⋆ = ℓ t_3^\star=\ell t 3 ⋆ = ℓ . In the initialization (Phase 3), the procedure sets g ^ ℓ + 1 = 0 \hat{g}_{\ell+1}=0 g ^ ℓ + 1 = 0 , μ ℓ + 1 D = 1 \mu_{\ell+1}^D=1 μ ℓ + 1 D = 1 , and R ℓ = 0 R_\ell=0 R ℓ = 0 . Then, entering Phase 2 at i = ℓ i=\ell i = ℓ , it calculates:
g ^ ℓ = ( 1 − μ ℓ D ) ⋅ R ℓ + τ n − ℓ = ( 1 − μ ℓ D ) ⋅ τ n − ℓ \hat{g}_\ell=(1-\mu_\ell^D)\cdot\frac{R_\ell+\tau}{n-\ell}=(1-\mu_\ell^D)\cdot\frac{\tau}{n-\ell} g ^ ℓ = ( 1 − μ ℓ D ) ⋅ n − ℓ R ℓ + τ = ( 1 − μ ℓ D ) ⋅ n − ℓ τ
and it computes the values of g ^ i \hat{g}_i g ^ i for i < ℓ i<\ell i < ℓ based on this.
During the execution for Γ ℓ + 1 ( 0 ) \Gamma^{\ell+1}(0) Γ ℓ + 1 ( 0 ) , we have t 3 ⋆ = ℓ + 1 t_3^\star=\ell+1 t 3 ⋆ = ℓ + 1 . The procedure enters Phase 2 directly at i = ℓ + 1 i=\ell+1 i = ℓ + 1 , setting R ℓ + 1 = 0 R_{\ell+1}=0 R ℓ + 1 = 0 . If ℓ + 1 = n \ell+1=n ℓ + 1 = n , then by definition of Γ n ( 0 ) \Gamma^n(0) Γ n ( 0 ) we have that g ^ n = g ^ n ⋆ = 0 \hat{g}_n=\hat{g}_n^\star=0 g ^ n = g ^ n ⋆ = 0 . Otherwise, using μ ℓ + 1 D = 1 \mu_{\ell+1}^D=1 μ ℓ + 1 D = 1 because either f ℓ + 1 > t 3 ⋆ f_{\ell+1}>t_3^\star f ℓ + 1 > t 3 ⋆ or f ℓ + 1 = t 3 ⋆ f_{\ell+1}=t_3^\star f ℓ + 1 = t 3 ⋆ and thus μ ℓ + 1 ⋆ = 1 \mu_{\ell+1}^\star=1 μ ℓ + 1 ⋆ = 1 , it calculates:
g ^ ℓ + 1 = ( 1 − 1 ) ⋅ R ℓ + 1 + τ n − ( ℓ + 1 ) = 0. \hat{g}_{\ell+1}=(1-1)\cdot\frac{R_{\ell+1}+\tau}{n-(\ell+1)}=0. g ^ ℓ + 1 = ( 1 − 1 ) ⋅ n − ( ℓ + 1 ) R ℓ + 1 + τ = 0.
This yields R ℓ = R ℓ + 1 + g ^ ℓ + 1 = 0 R_\ell=R_{\ell+1}+\hat{g}_{\ell+1}=0 R ℓ = R ℓ + 1 + g ^ ℓ + 1 = 0 . Proceeding to iteration i = ℓ i=\ell i = ℓ , the variable μ ℓ D \mu_\ell^D μ ℓ D remains the same as for Γ ℓ ( 1 ) \Gamma^\ell(1) Γ ℓ ( 1 ) by the previous observation. Therefore, the calculation evaluates exactly as before:
g ^ ℓ = ( 1 − μ ℓ D ) ⋅ R ℓ + τ n − ℓ = ( 1 − μ ℓ D ) ⋅ τ n − ℓ . \hat{g}_\ell=(1-\mu_\ell^D)\cdot\frac{R_\ell+\tau}{n-\ell}=(1-\mu_\ell^D)\cdot\frac{\tau}{n-\ell}. g ^ ℓ = ( 1 − μ ℓ D ) ⋅ n − ℓ R ℓ + τ = ( 1 − μ ℓ D ) ⋅ n − ℓ τ .
Thus, at the end of iteration i = ℓ i=\ell i = ℓ , both executions yield R ℓ = 0 R_\ell=0 R ℓ = 0 and g ^ ℓ = ( 1 − μ ℓ D ) ⋅ τ n − ℓ \hat{g}_\ell=(1-\mu_\ell^D)\cdot\frac{\tau}{n-\ell} g ^ ℓ = ( 1 − μ ℓ D ) ⋅ n − ℓ τ . Since the remaining iterations i < ℓ i<\ell i < ℓ will evaluate identically for both states as all values of μ j D \mu_j^D μ j D are the same, the final generated credit R 0 R_0 R 0 must be identical, which finishes the proof.
Finally, we prove that the start and end points correspond to the original ones we had before.
Observation 6.54. We have that the two extreme points of Γ ( λ ) \Gamma(\lambda) Γ ( λ ) are Γ 0 \Gamma_0 Γ 0 and Γ 1 \Gamma_1 Γ 1 :
Γ ( 0 ) = Γ 0 , Γ ( n ) = Γ 1 . \Gamma(0)=\Gamma_0,\quad\Gamma(n)=\Gamma_1. Γ ( 0 ) = Γ 0 , Γ ( n ) = Γ 1 . Proof of Observation 6.54. This is a direct proof by substitution of the value of λ \lambda λ . For λ = 0 \lambda=0 λ = 0 , we have:
Γ ( 0 ) = Γ 1 ( 0 ) = { t 3 ⋆ = 1 , { μ j ⋆ = [ 1 − [ 0 − ( n − j ) ] + ] + , ∀ j ∈ Ones ( 1 ) } } \Gamma(0)=\Gamma^1(0)=\{t_3^\star=1,\{\mu_j^\star=[1-[0-(n-j)]^+]^+,\ \forall j\in\operatorname{Ones}(1)\}\} Γ ( 0 ) = Γ 1 ( 0 ) = { t 3 ⋆ = 1 , { μ j ⋆ = [ 1 − [ 0 − ( n − j ) ] + ] + , ∀ j ∈ Ones ( 1 )}} which is clearly Γ 0 \Gamma_0 Γ 0 as the middle term is equal to 1. For λ = n \lambda=n λ = n , we have:
Γ ( n ) = Γ n ( 1 ) = { t 3 ⋆ = n , { μ j ⋆ = 1 , ∀ j ∈ Ones ( n ) } , g ^ n ⋆ = 1 } = Γ 1 \Gamma(n)=\Gamma^n(1)=\{t_3^\star=n,\{\mu_j^\star=1,\ \forall j\in\operatorname{Ones}(n)\},\hat{g}_n^\star=1\}=\Gamma_1 Γ ( n ) = Γ n ( 1 ) = { t 3 ⋆ = n , { μ j ⋆ = 1 , ∀ j ∈ Ones ( n )} , g ^ n ⋆ = 1 } = Γ 1 which finishes the proof.
Corollary 6.55. The path Γ ( λ ) \Gamma(\lambda) Γ ( λ ) goes from Γ 0 \Gamma_0 Γ 0 (for λ = 0 \lambda=0 λ = 0 ) to Γ 1 \Gamma_1 Γ 1 (for λ = n \lambda=n λ = n ) and satisfies that R 0 ( Γ ( λ ) ) R_0(\Gamma(\lambda)) R 0 ( Γ ( λ )) is continuous with respect to λ \lambda λ .
Proof of Corollary 6.55. First, from Lemma 6.52 and Observation 6.53 we know that we have a path Γ ( λ ) \Gamma(\lambda) Γ ( λ ) with a continuous R 0 R_0 R 0 with respect to λ \lambda λ . Using Observation 6.54 , we know that this goes from Γ 0 \Gamma_0 Γ 0 to Γ 1 \Gamma_1 Γ 1 , thus proving the corollary.
Thus, we are now ready for the proof of the main section’s lemma.
Proof of Lemma 6.4. As stated before, we just want to prove that there is a point Γ ⋆ \Gamma^\star Γ ⋆ such that R 0 ( Γ ) = 1 R_0(\Gamma)=1 R 0 ( Γ ) = 1 . By the continuity of R 0 ( Γ ( λ ) ) R_0(\Gamma(\lambda)) R 0 ( Γ ( λ )) proven in Corollary 6.55 , we can apply the intermediate value theorem using Observation 6.47 and Observation 6.48 to get that there must be such a point. Thus, the proof is complete.
We end this section with proving the deferred proof of Lemma 6.52 .
Proof of Lemma 6.52. For ℓ < n \ell<n ℓ < n , the path Γ ℓ ( λ ) \Gamma^\ell(\lambda) Γ ℓ ( λ ) defines a continuous progression where the fractional membership variables μ j ⋆ \mu_j^\star μ j ⋆ are sequentially decreased from 1 to 0. For ℓ = n \ell=n ℓ = n , the path Γ n ( λ ) \Gamma^n(\lambda) Γ n ( λ ) fixes μ j ⋆ = 1 \mu_j^\star=1 μ j ⋆ = 1 for all j ∈ Ones ( n ) j\in\operatorname{Ones}(n) j ∈ Ones ( n ) and continuously varies g ^ n ⋆ = λ \hat{g}_n^\star=\lambda g ^ n ⋆ = λ from 0 to 1. In both cases, we must show that the bookkeeping value R 0 ( Γ ℓ ( λ ) ) R_0(\Gamma^\ell(\lambda)) R 0 ( Γ ℓ ( λ )) generated by the execution of Algorithm 3 is continuous with respect to λ \lambda λ .
Let R i ( 2 ) ( λ ) R_i^{(2)}(\lambda) R i ( 2 ) ( λ ) be the sequence of budget variables generated by purely executing Phase 2. Initialized at R ℓ ( 2 ) = 0 R_\ell^{(2)}=0 R ℓ ( 2 ) = 0 , for i ≤ ℓ i\leq\ell i ≤ ℓ :
g ^ i ( 2 ) ( λ ) = { g ^ n ⋆ ( λ ) if i = ℓ = n , ( 1 − μ i D ( λ ) ) ⋅ R i ( 2 ) ( λ ) + τ n − i otherwise , \hat{g}_i^{(2)}(\lambda)=
\begin{cases}
\hat{g}_n^\star(\lambda) & \text{if } i=\ell=n,\\
(1-\mu_i^D(\lambda))\cdot\frac{R_i^{(2)}(\lambda)+\tau}{n-i} & \text{otherwise},
\end{cases} g ^ i ( 2 ) ( λ ) = { g ^ n ⋆ ( λ ) ( 1 − μ i D ( λ )) ⋅ n − i R i ( 2 ) ( λ ) + τ if i = ℓ = n , otherwise ,
R i − 1 ( 2 ) ( λ ) = R i ( 2 ) ( λ ) + g ^ i ( 2 ) ( λ ) R_{i-1}^{(2)}(\lambda)=R_i^{(2)}(\lambda)+\hat{g}_i^{(2)}(\lambda) R i − 1 ( 2 ) ( λ ) = R i ( 2 ) ( λ ) + g ^ i ( 2 ) ( λ )
For this quantity that follows the above formulas, we can use the following claim:
Claim 6.56. Each term R i ( 2 ) R_i^{(2)} R i ( 2 ) can be expressed as:
R i ( 2 ) ( λ ) = ( g ^ n ( λ ) + τ ) ⋅ ∏ j = i + 1 n − 1 ( 1 + 1 − μ j D ( λ ) n − j ) − τ R_i^{(2)}(\lambda)=(\hat{g}_n(\lambda)+\tau)\cdot\prod_{j=i+1}^{n-1}\left(1+\frac{1-\mu_j^D(\lambda)}{n-j}\right)-\tau R i ( 2 ) ( λ ) = ( g ^ n ( λ ) + τ ) ⋅ j = i + 1 ∏ n − 1 ( 1 + n − j 1 − μ j D ( λ ) ) − τ except for R n ( 2 ) = 0 R_n^{(2)}=0 R n ( 2 ) = 0 and where we remind that g ^ n ( λ ) = 0 \hat{g}_n(\lambda)=0 g ^ n ( λ ) = 0 if t 3 ⋆ < n t_3^\star<n t 3 ⋆ < n .
Proof of Claim 6.56. We can prove this by expanding the recurrence relation defined by the Phase 2 updates. For any index k < n k<n k < n , the algorithm computes the budget as:
R k − 1 ( 2 ) = R k ( 2 ) + g ^ k ( 2 ) = R k ( 2 ) + ( 1 − μ k D ) ⋅ R k ( 2 ) + τ n − k . R_{k-1}^{(2)}=R_k^{(2)}+\hat{g}_k^{(2)}=R_k^{(2)}+(1-\mu_k^D)\cdot\frac{R_k^{(2)}+\tau}{n-k}. R k − 1 ( 2 ) = R k ( 2 ) + g ^ k ( 2 ) = R k ( 2 ) + ( 1 − μ k D ) ⋅ n − k R k ( 2 ) + τ .
Adding τ \tau τ to both sides and factoring yields:
R k − 1 ( 2 ) + τ = ( R k ( 2 ) + τ ) ( 1 + 1 − μ k D n − k ) . R_{k-1}^{(2)}+\tau= \left(R_k^{(2)}+\tau\right)\left(1+\frac{1-\mu_k^D}{n-k}\right). R k − 1 ( 2 ) + τ = ( R k ( 2 ) + τ ) ( 1 + n − k 1 − μ k D ) .
By substituting k k k with indices from i + 1 i+1 i + 1 up to n − 1 n-1 n − 1 and repeatedly applying this relation, we can unroll the recurrence into a product:
R i ( 2 ) + τ = ( R n − 1 ( 2 ) + τ ) ∏ j = i + 1 n − 1 ( 1 + 1 − μ j D n − j ) . R_i^{(2)}+\tau= \left(R_{n-1}^{(2)}+\tau\right)\prod_{j=i+1}^{n-1}\left(1+\frac{1-\mu_j^D}{n-j}\right). R i ( 2 ) + τ = ( R n − 1 ( 2 ) + τ ) j = i + 1 ∏ n − 1 ( 1 + n − j 1 − μ j D ) .
Now, we evaluate the base term R n − 1 ( 2 ) R_{n-1}^{(2)} R n − 1 ( 2 ) by splitting into two cases based on t 3 ⋆ = ℓ t_3^\star=\ell t 3 ⋆ = ℓ .
Case 1: ℓ = n \ell=n ℓ = n . The sequence is initialized at R n ( 2 ) = 0 R_n^{(2)}=0 R n ( 2 ) = 0 , and the generation function sets g ^ n ( 2 ) = g ^ n = g ^ n \hat{g}_n^{(2)}=\hat{g}_n=\hat{g}_n g ^ n ( 2 ) = g ^ n = g ^ n . Therefore, R n − 1 ( 2 ) = R n ( 2 ) + g ^ n ( 2 ) = g ^ n R_{n-1}^{(2)}=R_n^{(2)}+\hat{g}_n^{(2)}=\hat{g}_n R n − 1 ( 2 ) = R n ( 2 ) + g ^ n ( 2 ) = g ^ n . Substituting R n − 1 ( 2 ) = g ^ n R_{n-1}^{(2)}=\hat{g}_n R n − 1 ( 2 ) = g ^ n into our product gives exactly the claimed formula.
Case 2: ℓ < n \ell<n ℓ < n . The sequence is initialized at R ℓ ( 2 ) = 0 R_\ell^{(2)}=0 R ℓ ( 2 ) = 0 , and by definition, g ^ n = 0 \hat{g}_n=0 g ^ n = 0 . Let us evaluate the right-hand side of the claim’s formula at i = ℓ i=\ell i = ℓ . For all j > ℓ j>\ell j > ℓ , the path definition ensures μ j D = 1 \mu_j^D=1 μ j D = 1 , meaning 1 − μ j D = 0 1-\mu_j^D=0 1 − μ j D = 0 . Consequently, every multiplier in the product for j ∈ ( ℓ , n − 1 ] j\in(\ell,n-1] j ∈ ( ℓ , n − 1 ] evaluates exactly to 1 1 1 . Using the claim’s formula for i = ℓ i=\ell i = ℓ with g ^ n = 0 \hat{g}_n=0 g ^ n = 0 , we get:
R ℓ ( 2 ) + τ = ( 0 + τ ) ⋅ 1 ⟹ R ℓ ( 2 ) = 0. R_\ell^{(2)}+\tau=(0+\tau)\cdot1\Longrightarrow R_\ell^{(2)}=0. R ℓ ( 2 ) + τ = ( 0 + τ ) ⋅ 1 ⟹ R ℓ ( 2 ) = 0.
This matches the initialization R ℓ ( 2 ) = 0 R_\ell^{(2)}=0 R ℓ ( 2 ) = 0 perfectly. Because the structural zeros in 1 − μ j D 1-\mu_j^D 1 − μ j D for j > ℓ j>\ell j > ℓ neutralize the product, the sequence seamlessly backward-propagates from an implicit R n − 1 ( 2 ) = g ^ n = 0 R_{n-1}^{(2)}=\hat{g}_n=0 R n − 1 ( 2 ) = g ^ n = 0 . Thus, for all cases, subtracting τ \tau τ from both sides of the unrolled recurrence gives the exact mathematical expression in the claim.
We can make the two following observations on this quantity using this claim:
Observation 6.57. The quantity R i ( 2 ) ( λ ) R_i^{(2)}(\lambda) R i ( 2 ) ( λ ) is continuous with respect to λ \lambda λ .
Observation 6.58. The quantity R i ( 2 ) ( λ ) R_i^{(2)}(\lambda) R i ( 2 ) ( λ ) is non-decreasing with respect to λ \lambda λ .
Proof of Observation 6.57. Looking at the expression in Claim 6.56 , since for every index in the product j j j we have j ≤ n − 1 j\le n-1 j ≤ n − 1 , we note that all denominators in the claim are positive. Thus, since there are no discontinuities with respect to μ j D \mu_j^D μ j D or with respect to g ^ n ( λ ) \hat{g}_n(\lambda) g ^ n ( λ ) , we can state that R i ( 2 ) ( λ ) R_i^{(2)}(\lambda) R i ( 2 ) ( λ ) is continuous with respect to any continuous change in μ j D \mu_j^D μ j D and g ^ n \hat{g}_n g ^ n for any i i i and j j j ; and thus, it is also continuous with respect to λ \lambda λ as it continuously changes μ j D \mu_j^D μ j D or g ^ n \hat{g}_n g ^ n depending on ℓ \ell ℓ .
Proof of Observation 6.58. On the other hand, we can also prove that R i ( 2 ) ( λ ) R_i^{(2)}(\lambda) R i ( 2 ) ( λ ) is not only continuous with respect to λ \lambda λ but also that it is non-decreasing. For ℓ = n \ell=n ℓ = n this is clear, as μ j D \mu_j^D μ j D do not change with respect to λ \lambda λ , and only g ^ n ∗ = λ \hat{g}_n^*= \lambda g ^ n ∗ = λ changes, which leaves R i ( 2 ) = c ⋅ ( λ + τ ) − τ R_i^{(2)}=c\cdot(\lambda+\tau)-\tau R i ( 2 ) = c ⋅ ( λ + τ ) − τ that is increasing with respect to λ \lambda λ . On the other hand, for ℓ < n \ell<n ℓ < n , we have that μ j D \mu_j^D μ j D are non-increasing with respect to λ \lambda λ as they are either fixed or equal to
μ j ∗ = [ 1 − [ n λ − ( n − j ) ] + ] + . \mu_j^*=\left[1-\left[n\lambda-(n-j)\right]^+\right]^+. μ j ∗ = [ 1 − [ nλ − ( n − j ) ] + ] + .
which is indeed non-increasing on lambda. The expression in Claim 6.56 is non-increasing in μ j D \mu_j^D μ j D (since μ j D ≤ 1 \mu_j^D\le1 μ j D ≤ 1 ); and thus, the whole thing is non-decreasing in λ \lambda λ .
We now make the case analysis in the proof explicit.
Case 0: R 0 ( 2 ) ( λ ) < τ ˉ R_0^{(2)}(\lambda)<\bar{\tau} R 0 ( 2 ) ( λ ) < τ ˉ . From Observation 6.57, any index i i i purely in Phase 2 has a continuous R i − 1 ( λ ) = R i − 1 ( 2 ) ( λ ) R_{i-1}(\lambda)=R_{i-1}^{(2)}(\lambda) R i − 1 ( λ ) = R i − 1 ( 2 ) ( λ ) with respect to λ \lambda λ . From this first analysis, this also implies that in the case that R 0 ( 2 ) < τ ˉ R_0^{(2)}<\bar{\tau} R 0 ( 2 ) < τ ˉ , then no t 1 t_1 t 1 exists, so only Phase 2 would be run and thus R 0 = R 0 ( 2 ) R_0=R_0^{(2)} R 0 = R 0 ( 2 ) . As we know that any R i ( 2 ) R_i^{(2)} R i ( 2 ) is continuous, this already proves it for the case R 0 ( 2 ) < τ ˉ R_0^{(2)}<\bar{\tau} R 0 ( 2 ) < τ ˉ . We assume from now on that t 1 t_1 t 1 does exist.
Before analyzing Phase 1 assignments and the transition, we need to consider the variable z z z . The algorithm defines t 2 : = max { i ∣ R i − 1 ( 2 ) ≥ θ } t_2:=\max\{i\mid R_{i-1}^{(2)}\ge\theta\} t 2 := max { i ∣ R i − 1 ( 2 ) ≥ θ } and sets z : = ∑ m = t 2 + 1 n [ 1 − R m − 1 ( 2 ) θ ] + μ m z:=\sum_{m=t_2+1}^{n}\left[1-\frac{R_{m-1}^{(2)}}{\theta}\right]^+\mu_m z := ∑ m = t 2 + 1 n [ 1 − θ R m − 1 ( 2 ) ] + μ m . Because R m − 1 ( 2 ) ≥ θ R_{m-1}^{(2)}\ge\theta R m − 1 ( 2 ) ≥ θ for all m ≤ t 2 m\le t_2 m ≤ t 2 , we have
[ 1 − R m − 1 ( 2 ) θ ] + = 0. \left[1-\frac{R_{m-1}^{(2)}}{\theta}\right]^+=0. [ 1 − θ R m − 1 ( 2 ) ] + = 0.
Thus, z z z can be identically written as z = ∑ m = 1 n [ 1 − R m − 1 ( 2 ) θ ] + μ m z=\sum_{m=1}^{n}\left[1-\frac{R_{m-1}^{(2)}}{\theta}\right]^+\mu_m z = ∑ m = 1 n [ 1 − θ R m − 1 ( 2 ) ] + μ m . μ m D \mu_m^D μ m D as t 2 ≥ 1 t_2 \ge1 t 2 ≥ 1 . The discrete jump associated with t 2 t_2 t 2 changing only adds or removes terms evaluating to 0, making z z z continuous with respect to the sequence R i ( 2 ) R_i^{(2)} R i ( 2 ) and thus with respect to λ \lambda λ by what we proved earlier.
Case 1: t 1 < n t_1 < n t 1 < n . Next, we analyze the transition from Phase 2 to Phase 1, for now assuming that t 1 < n t_1 < n t 1 < n . The algorithm defines t 1 t_1 t 1 as the largest index i i i such that R i − 1 ( 2 ) = R i ( 2 ) + g ^ i ≥ τ ˉ R_{i-1}^{(2)} = R_i^{(2)} + \hat{g}_i \ge\bar{\tau} R i − 1 ( 2 ) = R i ( 2 ) + g ^ i ≥ τ ˉ , which implies that it has R i ( 2 ) < τ ˉ R_i^{(2)} < \bar{\tau} R i ( 2 ) < τ ˉ , otherwise t 1 = i + 1 t_1 = i + 1 t 1 = i + 1 . For a given λ \lambda λ that has a specific value of t 1 ( λ ) t_1(\lambda) t 1 ( λ ) , we need to look at the right and left limits λ + = λ + ε \lambda^+ = \lambda+ \varepsilon λ + = λ + ε and λ − = λ − ε \lambda^- = \lambda- \varepsilon λ − = λ − ε . By Observation 6.58, we know that R i − 1 ( 2 ) ( λ − ) ≤ R i − 1 ( 2 ) ( λ ) ≤ R i − 1 ( 2 ) ( λ + ) R_{i-1}^{(2)}(\lambda^-) \le R_{i-1}^{(2)}(\lambda) \le R_{i-1}^{(2)}(\lambda^+) R i − 1 ( 2 ) ( λ − ) ≤ R i − 1 ( 2 ) ( λ ) ≤ R i − 1 ( 2 ) ( λ + ) for i = t 1 ( λ ) i = t_1(\lambda) i = t 1 ( λ ) .
First, let us analyze the case of λ \lambda λ . For its t 1 : = t 1 ( λ ) t_1 := t_1(\lambda) t 1 := t 1 ( λ ) , from Definition 6.15 we have that the interpolation factor is α ( λ ) = τ ˉ − R t 1 ( 2 ) ( λ ) g ^ t 1 B ( λ ) \alpha(\lambda) = \frac{\bar{\tau}-R_{t_1}^{(2)}(\lambda)}{\hat{g}_{t_1}^{B}(\lambda)} α ( λ ) = g ^ t 1 B ( λ ) τ ˉ − R t 1 ( 2 ) ( λ ) , and that its fractional updates are: g ^ t 1 B = τ ˉ − R t 1 ( 2 ) \hat{g}_{t_1}^{B} = \bar{\tau} - R_{t_1}^{(2)} g ^ t 1 B = τ ˉ − R t 1 ( 2 ) and g ^ t 1 A = ( 1 − α ( λ ) ) ( 1 − μ t 1 D ) ⋅ Φ t 1 ( α ( λ ) , λ ) \hat{g}_{t_1}^{A} = (1-\alpha(\lambda))(1-\mu_{t_1}^{D})\cdot\Phi_{t_1}(\alpha(\lambda),\lambda) g ^ t 1 A = ( 1 − α ( λ )) ( 1 − μ t 1 D ) ⋅ Φ t 1 ( α ( λ ) , λ ) , where Φ i ( α ( λ ) , λ ) \Phi_i(\alpha(\lambda),\lambda) Φ i ( α ( λ ) , λ ) is the transition to Phase 1 generation function:
Φ i ( α , λ ) = 1 − [ θ − R f i ( 2 ) ( λ ) ] + n − i + α ⋅ ( 1 − μ i D ( λ ) ) − τ ˉ ⋅ z ( λ ) . \Phi_i(\alpha,\lambda)=\frac{1-[\theta-R_{f_i}^{(2)}(\lambda)]^+}{n-i+\alpha\cdot(1-\mu_i^D(\lambda))-\bar{\tau}\cdot z(\lambda)}. Φ i ( α , λ ) = n − i + α ⋅ ( 1 − μ i D ( λ )) − τ ˉ ⋅ z ( λ ) 1 − [ θ − R f i ( 2 ) ( λ ) ] + .
where the proof for using R f i ( 2 ) R_{f_i}^{(2)} R f i ( 2 ) instead of R f i R_{f_i} R f i is given in the next paragraph. Thus, adding R t 1 R_{t_1} R t 1 with the updates in Definition 6.15 , the value for R t 1 − 1 R_{t_1-1} R t 1 − 1 is:
R t 1 − 1 ( λ ) = τ ˉ + ( 1 − α ( λ ) ) ( 1 − μ t 1 D ( λ ) ) ⋅ Φ t 1 ( α ( λ ) , λ ) . R_{t_1-1}(\lambda)=\bar{\tau}+(1-\alpha(\lambda))(1-\mu_{t_1}^{D}(\lambda))\cdot\Phi_{t_1}(\alpha(\lambda),\lambda). R t 1 − 1 ( λ ) = τ ˉ + ( 1 − α ( λ )) ( 1 − μ t 1 D ( λ )) ⋅ Φ t 1 ( α ( λ ) , λ ) .
Some important observations about Φ i ( α , λ ) \Phi_i(\alpha,\lambda) Φ i ( α , λ ) are the following. Note that the denominator is always positive for i ≤ t 1 < n i\le t_1<n i ≤ t 1 < n since z ≤ n − t 2 ≤ n − i z\le n-t_2\le n-i z ≤ n − t 2 ≤ n − i for i ≤ t 1 ≤ t 2 i\le t_1\le t_2 i ≤ t 1 ≤ t 2 and α ∈ [ 0 , 1 ] \alpha\in[0,1] α ∈ [ 0 , 1 ] , and that the function Φ i ( α , λ ) \Phi_i(\alpha,\lambda) Φ i ( α , λ ) is both continuous in α \alpha α and on λ \lambda λ , the latter one being because R f i ( 2 ) ( λ ) R_{f_i}^{(2)}(\lambda) R f i ( 2 ) ( λ ) , μ i D \mu_i^D μ i D and z ( λ ) z(\lambda) z ( λ ) are all continuous in λ \lambda λ . Also note that we are using R f i ( 2 ) R_{f_i}^{(2)} R f i ( 2 ) instead of R f i R_{f_i} R f i because R f i ( 2 ) = R f i R_{f_i}^{(2)}=R_{f_i} R f i ( 2 ) = R f i if R f i ≤ θ R_{f_i}\le\theta R f i ≤ θ as f i f_i f i would still be in Phase 2, and if they are different then f i f_i f i would be fully in phase 1, but it would already imply that both R f i ( 2 ) ≥ θ R_{f_i}^{(2)}\ge\theta R f i ( 2 ) ≥ θ and R f i ≥ θ R_{f_i}\ge\theta R f i ≥ θ , thus [ θ − R f i ( 2 ) ( λ ) ] + = [ θ − R f i ( λ ) ] + = 0 [\theta-R_{f_i}^{(2)}(\lambda)]^+=[\theta-R_{f_i}(\lambda)]^+=0 [ θ − R f i ( 2 ) ( λ ) ] + = [ θ − R f i ( λ ) ] + = 0 . Thus, proving that α ( λ ) \alpha(\lambda) α ( λ ) is continuous in λ \lambda λ proves that Φ i ( α ( λ ) , λ ) \Phi_i(\alpha(\lambda),\lambda) Φ i ( α ( λ ) , λ ) is also continuous in λ \lambda λ .
Case 1.1: Right limit λ + \lambda^+ λ + . Let us then look at the right limit λ + \lambda^+ λ + , for a sufficiently small ε \varepsilon ε such that R t 1 ( λ ) ( 2 ) ( λ + ) < τ ˉ R_{t_1(\lambda)}^{(2)}(\lambda^+)<\bar{\tau} R t 1 ( λ ) ( 2 ) ( λ + ) < τ ˉ is still true. This can be done thanks to the continuity from Observation 6.57. By the non-decreasingness of R i ( 2 ) ( λ ) R_i^{(2)}(\lambda) R i ( 2 ) ( λ ) from Observation 6.58, we know that R t 1 ( λ ) − 1 ( 2 ) ( λ + ) ≥ R t 1 ( λ ) − 1 ( 2 ) ( λ ) ≥ τ ˉ R_{t_1(\lambda)-1}^{(2)}(\lambda^+)\ge R_{t_1(\lambda)-1}^{(2)}(\lambda)\ge\bar{\tau} R t 1 ( λ ) − 1 ( 2 ) ( λ + ) ≥ R t 1 ( λ ) − 1 ( 2 ) ( λ ) ≥ τ ˉ ; implying that g ^ t 1 ( λ + ) > 0 \hat{g}_{t_1}(\lambda^+)>0 g ^ t 1 ( λ + ) > 0 and that t 1 ( λ + ) = t 1 ( λ ) = t 1 t_1(\lambda^+)=t_1(\lambda)=t_1 t 1 ( λ + ) = t 1 ( λ ) = t 1 . The interpolation factor is α ( λ + ) = τ ˉ − R t 1 ( 2 ) ( λ + ) g ^ t 1 B ( λ + ) \alpha(\lambda^+)=\frac{\bar{\tau}-R_{t_1}^{(2)}(\lambda^+)}{\hat{g}_{t_1}^{B}(\lambda^+)} α ( λ + ) = g ^ t 1 B ( λ + ) τ ˉ − R t 1 ( 2 ) ( λ + ) . The fractional updates are g ^ t 1 B ( λ + ) = τ ˉ − R t 1 ( 2 ) ( λ + ) \hat{g}_{t_1}^{B}(\lambda^+)=\bar{\tau}-R_{t_1}^{(2)}(\lambda^+) g ^ t 1 B ( λ + ) = τ ˉ − R t 1 ( 2 ) ( λ + ) and g ^ t 1 A ( λ + ) = ( 1 − α ( λ + ) ) ( 1 − μ t 1 D ( λ + ) ) ⋅ Φ t 1 ( α ( λ + ) , λ + ) \hat{g}_{t_1}^{A}(\lambda^+)=(1-\alpha(\lambda^+))(1-\mu_{t_1}^{D}(\lambda^+))\cdot\Phi_{t_1}(\alpha(\lambda^+),\lambda^+) g ^ t 1 A ( λ + ) = ( 1 − α ( λ + )) ( 1 − μ t 1 D ( λ + )) ⋅ Φ t 1 ( α ( λ + ) , λ + ) .
As ε → 0 \varepsilon\to0 ε → 0 meaning λ + → λ \lambda^+\to\lambda λ + → λ , we have that R t 1 − 1 ( 2 ) ( λ + ) → R t 1 − 1 ( 2 ) ( λ ) R_{t_1-1}^{(2)}(\lambda^+)\to R_{t_1-1}^{(2)}(\lambda) R t 1 − 1 ( 2 ) ( λ + ) → R t 1 − 1 ( 2 ) ( λ ) and thus g ^ t 1 B ( λ + ) → g ^ t 1 B ( λ ) > 0 \hat{g}_{t_1}^{B}(\lambda^+)\to\hat{g}_{t_1}^{B}(\lambda)>0 g ^ t 1 B ( λ + ) → g ^ t 1 B ( λ ) > 0 by Observation 6.57. Thus, α ( λ + ) → τ ˉ − R t 1 ( 2 ) ( λ ) g ^ t 1 B ( λ ) = α ( λ ) \alpha(\lambda^+)\to\frac{\bar{\tau}-R_{t_1}^{(2)}(\lambda)}{\hat{g}_{t_1}^{B}(\lambda)}=\alpha(\lambda) α ( λ + ) → g ^ t 1 B ( λ ) τ ˉ − R t 1 ( 2 ) ( λ ) = α ( λ ) implying that α \alpha α is right-continuous with respect to λ \lambda λ . Thus, the budget becomes:
R t 1 − 1 ( λ + ) = τ ˉ + ( 1 − α ( λ + ) ) ( 1 − μ t 1 D ( λ + ) ) ⋅ Φ t 1 ( α ( λ + ) , λ + ) → τ ˉ + ( 1 − α ( λ ) ) ( 1 − μ t 1 D ( λ ) ) ⋅ Φ t 1 ( α ( λ ) , λ ) = R t 1 − 1 ( λ ) . R_{t_1-1}(\lambda^+)=\bar{\tau}+(1-\alpha(\lambda^+))(1-\mu_{t_1}^{D}(\lambda^+))\cdot\Phi_{t_1}(\alpha(\lambda^+),\lambda^+)
\to\bar{\tau}+(1-\alpha(\lambda))(1-\mu_{t_1}^{D}(\lambda))\cdot\Phi_{t_1}(\alpha(\lambda),\lambda)=R_{t_1-1}(\lambda). R t 1 − 1 ( λ + ) = τ ˉ + ( 1 − α ( λ + )) ( 1 − μ t 1 D ( λ + )) ⋅ Φ t 1 ( α ( λ + ) , λ + ) → τ ˉ + ( 1 − α ( λ )) ( 1 − μ t 1 D ( λ )) ⋅ Φ t 1 ( α ( λ ) , λ ) = R t 1 − 1 ( λ ) .
where we used the continuity of Φ i ( α , λ ) \Phi_i(\alpha,\lambda) Φ i ( α , λ ) with respect to α \alpha α and λ \lambda λ . Having proven that the limit is continuous even at t 1 t_1 t 1 , now what is left for this part is to go up to R 0 R_0 R 0 . Notice that the assignment formulas for indices at Phase 1 are g ^ i ( λ ) = ( 1 − μ i D ( λ ) ) ⋅ Φ i ( 0 , λ ) \hat{g}_i(\lambda)=(1-\mu_i^D(\lambda))\cdot\Phi_i(0,\lambda) g ^ i ( λ ) = ( 1 − μ i D ( λ )) ⋅ Φ i ( 0 , λ ) , one can check that such a statement is correct by substitution and comparison. Since we have already proven that Φ i ( 0 , λ ) \Phi_i(0,\lambda) Φ i ( 0 , λ ) is continuous in λ \lambda λ and α \alpha α , and here we fixed α \alpha α to 0, it implies that g ^ i ( λ + ) → ( 1 − μ i D ( λ ) ) ⋅ Φ i ( 0 , λ ) = g ^ i ( λ ) \hat{g}_i(\lambda^+)\to(1-\mu_i^D(\lambda))\cdot\Phi_i(0,\lambda)=\hat{g}_i(\lambda) g ^ i ( λ + ) → ( 1 − μ i D ( λ )) ⋅ Φ i ( 0 , λ ) = g ^ i ( λ ) . Thus, the value for R 0 ( λ + ) R_0(\lambda^+) R 0 ( λ + ) is:
R 0 ( λ + ) = R t 1 − 1 ( λ + ) + ∑ i = 1 t 1 − 1 g ^ i ( λ + ) → R t 1 − 1 ( λ ) + ∑ i = 1 t 1 − 1 g ^ i ( λ ) = R 0 ( λ ) , R_0(\lambda^+)=R_{t_1-1}(\lambda^+)+\sum_{i=1}^{t_1-1}\hat{g}_i(\lambda^+)\to R_{t_1-1}(\lambda)+\sum_{i=1}^{t_1-1}\hat{g}_i(\lambda)=R_0(\lambda), R 0 ( λ + ) = R t 1 − 1 ( λ + ) + i = 1 ∑ t 1 − 1 g ^ i ( λ + ) → R t 1 − 1 ( λ ) + i = 1 ∑ t 1 − 1 g ^ i ( λ ) = R 0 ( λ ) ,
which implies that the right limit is indeed equal to the value at λ \lambda λ .
Case 1.2: Left limit λ − \lambda^- λ − . Let us now look at the left limit. We split the analysis into two cases, first R t 1 ( λ ) − 1 ( 2 ) > τ ˉ R_{t_1(\lambda)-1}^{(2)}>\bar{\tau} R t 1 ( λ ) − 1 ( 2 ) > τ ˉ and then R t 1 ( λ ) − 1 ( 2 ) = τ ˉ R_{t_1(\lambda)-1}^{(2)}=\bar{\tau} R t 1 ( λ ) − 1 ( 2 ) = τ ˉ .
Case 1.2.a: R t 1 ( λ ) − 1 ( 2 ) > τ ˉ R_{t_1(\lambda)-1}^{(2)}>\bar{\tau} R t 1 ( λ ) − 1 ( 2 ) > τ ˉ . We first take R t 1 ( λ ) − 1 ( 2 ) > τ ˉ R_{t_1(\lambda)-1}^{(2)}>\bar{\tau} R t 1 ( λ ) − 1 ( 2 ) > τ ˉ , and do the analysis for a sufficiently small ε \varepsilon ε such that R t 1 ( λ ) − 1 ( 2 ) ( λ − ) ≥ τ ˉ R_{t_1(\lambda)-1}^{(2)}(\lambda^-)\ge\bar{\tau} R t 1 ( λ ) − 1 ( 2 ) ( λ − ) ≥ τ ˉ is still true. This can be done thanks to the continuity from Observation 6.57. By the non-decreasingness of R i ( 2 ) ( λ ) R_i^{(2)}(\lambda) R i ( 2 ) ( λ ) from Observation 6.58, we know that R t 1 ( λ ) ( 2 ) ( λ − ) ≤ R t 1 ( λ ) ( 2 ) ( λ ) < τ ˉ R_{t_1(\lambda)}^{(2)}(\lambda^-)\le R_{t_1(\lambda)}^{(2)}(\lambda)<\bar{\tau} R t 1 ( λ ) ( 2 ) ( λ − ) ≤ R t 1 ( λ ) ( 2 ) ( λ ) < τ ˉ ; and, thus, t 1 ( λ − ) = t 1 ( λ ) t_1(\lambda^-)=t_1(\lambda) t 1 ( λ − ) = t 1 ( λ ) . We can see that for this case we can apply exactly the same analysis as the previous right limit; so it can be proven that the left limit is equal to the value at λ \lambda λ , for the case R t 1 ( λ ) − 1 ( 2 ) > τ ˉ R^{(2)}_{t_1(\lambda)-1}>\bar{\tau} R t 1 ( λ ) − 1 ( 2 ) > τ ˉ .
Case 1.2.b: R t 1 ( λ ) − 1 ( 2 ) = τ ˉ R^{(2)}_{t_1(\lambda)-1}=\bar{\tau} R t 1 ( λ ) − 1 ( 2 ) = τ ˉ . For the next case, assuming that R t 1 ( λ ) − 1 ( 2 ) ( λ ) = τ ˉ R^{(2)}_{t_1(\lambda)-1}(\lambda)=\bar{\tau} R t 1 ( λ ) − 1 ( 2 ) ( λ ) = τ ˉ exactly, if we decrease λ \lambda λ by ε \varepsilon ε , then it could be that we make R t 1 ( λ ) − 1 ( 2 ) ( λ − ) < τ ˉ R^{(2)}_{t_1(\lambda)-1}(\lambda^-)<\bar{\tau} R t 1 ( λ ) − 1 ( 2 ) ( λ − ) < τ ˉ (by Observation 6.58), implying that t 1 t_1 t 1 would have to decrease. Thus, this case needs more attention. First, let us assume this does indeed happen, that for all ε ∈ ( 0 , δ ] \varepsilon\in(0,\delta] ε ∈ ( 0 , δ ] for some arbitrarily small δ \delta δ we already have that R t 1 ( λ ) − 1 ( 2 ) ( λ − ε ) < τ ˉ R^{(2)}_{t_1(\lambda)-1}(\lambda-\varepsilon)<\bar{\tau} R t 1 ( λ ) − 1 ( 2 ) ( λ − ε ) < τ ˉ . If we were to assume the opposite, then the previous analysis would already work.
Let us find what the value of t 1 − : = t 1 ( λ − ε ) t_1^-:=t_1(\lambda-\varepsilon) t 1 − := t 1 ( λ − ε ) could be for small ε \varepsilon ε . Let k : = max { j < t 1 : μ j D ( λ ) < 1 } k:=\max\{j<t_1:\mu_j^D(\lambda)<1\} k := max { j < t 1 : μ j D ( λ ) < 1 } , if this set is nonempty. Using the product formula for R t 1 − 1 ( 2 ) R^{(2)}_{t_1-1} R t 1 − 1 ( 2 ) , the only μ \mu μ -entry that changes when moving left and affects R t 1 − 1 ( 2 ) R^{(2)}_{t_1-1} R t 1 − 1 ( 2 ) lies at an index ≥ t 1 \ge t_1 ≥ t 1 , so all μ j D \mu_j^D μ j D with j < t 1 j<t_1 j < t 1 must be locally constant since R t 1 − 1 ( 2 ) R^{(2)}_{t_1-1} R t 1 − 1 ( 2 ) does decrease and there can be only one changing value by Observation 6.51 . Hence k k k is fixed for all small perturbations. Also, for r ∈ ( k , t 1 ) r\in(k,t_1) r ∈ ( k , t 1 ) , μ r D = 1 \mu_r^D=1 μ r D = 1 , so g ^ r ( 2 ) = 0 \hat{g}_r^{(2)}=0 g ^ r ( 2 ) = 0 , hence R k ( 2 ) ( λ ′ ) = R t 1 − 1 ( 2 ) ( λ ′ ) R_k^{(2)}(\lambda')=R_{t_1-1}^{(2)}(\lambda') R k ( 2 ) ( λ ′ ) = R t 1 − 1 ( 2 ) ( λ ′ ) for λ ′ \lambda' λ ′ near λ \lambda λ . Since R t 1 − 1 ( 2 ) ( λ ′ ) → τ ˉ R_{t_1-1}^{(2)}(\lambda')\to\bar{\tau} R t 1 − 1 ( 2 ) ( λ ′ ) → τ ˉ and g ^ k ( 2 ) > 0 \hat{g}_k^{(2)}>0 g ^ k ( 2 ) > 0 for λ ′ → λ \lambda'\to\lambda λ ′ → λ , for all sufficiently small ε > 0 \varepsilon>0 ε > 0 , 0 < τ ˉ − R t 1 − 1 ( 2 ) ( λ − ε ) < g ^ k ( 2 ) ( λ − ε ) 0<\bar{\tau}-R_{t_1-1}^{(2)}(\lambda-\varepsilon)<\hat{g}_k^{(2)}(\lambda-\varepsilon) 0 < τ ˉ − R t 1 − 1 ( 2 ) ( λ − ε ) < g ^ k ( 2 ) ( λ − ε ) . Therefore R k ( 2 ) ( λ − ε ) < τ ˉ ≤ R k − 1 ( 2 ) ( λ − ε ) R_k^{(2)}(\lambda-\varepsilon)<\bar{\tau}\le R_{k-1}^{(2)}(\lambda-\varepsilon) R k ( 2 ) ( λ − ε ) < τ ˉ ≤ R k − 1 ( 2 ) ( λ − ε ) , so t 1 − = t 1 ( λ − ε ) = k t_1^-=t_1(\lambda-\varepsilon)=k t 1 − = t 1 ( λ − ε ) = k for all small enough ε \varepsilon ε .
Case 1.2.b.i: t 1 − ≠ ⊥ t_1^-\ne\perp t 1 − = ⊥ . Then, assuming that we are able to find such a value, i.e., t 1 − ≠ ⊥ t_1^-\ne\perp t 1 − = ⊥ , we have R t 1 − − 1 ( 2 ) ( λ − ) ≥ τ ˉ R_{t_1^--1}^{(2)}(\lambda^-)\ge\bar{\tau} R t 1 − − 1 ( 2 ) ( λ − ) ≥ τ ˉ and R t 1 − ( 2 ) ( λ − ) < τ ˉ R_{t_1^-}^{(2)}(\lambda^-)<\bar{\tau} R t 1 − ( 2 ) ( λ − ) < τ ˉ . Because g ^ ℓ = 0 \hat{g}_\ell=0 g ^ ℓ = 0 for all intermediate indices ℓ ∈ ( t 1 − , t 1 ) \ell\in(t_1^-,t_1) ℓ ∈ ( t 1 − , t 1 ) at both λ \lambda λ and λ − \lambda^- λ − , the budget remains constant across this gap, meaning R t 1 − ( 2 ) ( λ − ) = R t 1 − 1 ( 2 ) ( λ − ) R_{t_1^-}^{(2)}(\lambda^-)=R_{t_1-1}^{(2)}(\lambda^-) R t 1 − ( 2 ) ( λ − ) = R t 1 − 1 ( 2 ) ( λ − ) . For this index t 1 − t_1^- t 1 − , the interpolation factor is α ( λ − ) = τ ˉ − R t 1 − ( 2 ) ( λ − ) g ^ t 1 − ( 2 ) ( λ − ) \alpha(\lambda^-)=\frac{\bar{\tau}-R_{t_1^-}^{(2)}(\lambda^-)}{\hat{g}_{t_1^-}^{(2)}(\lambda^-)} α ( λ − ) = g ^ t 1 − ( 2 ) ( λ − ) τ ˉ − R t 1 − ( 2 ) ( λ − ) . Let us compute its limit as ε → 0 \varepsilon\to0 ε → 0 (so λ − → λ \lambda^-\to\lambda λ − → λ ). First, the numerator approaches τ ˉ − R t 1 − 1 ( 2 ) ( λ ) \bar{\tau}-R_{t_1-1}^{(2)}(\lambda) τ ˉ − R t 1 − 1 ( 2 ) ( λ ) . Since we are specifically in the case where R t 1 − 1 ( 2 ) ( λ ) = τ ˉ R_{t_1-1}^{(2)}(\lambda)=\bar{\tau} R t 1 − 1 ( 2 ) ( λ ) = τ ˉ , the numerator converges to 0. Second, the denominator g ^ t 1 − ( 2 ) ( λ − ) \hat{g}_{t_1^-}^{(2)}(\lambda^-) g ^ t 1 − ( 2 ) ( λ − ) converges to g ^ t 1 − ( 2 ) ( λ ) = ( 1 − μ t 1 − D ( λ ) ) R t 1 − ( 2 ) ( λ ) + τ n − t 1 − \hat{g}_{t_1^-}^{(2)}(\lambda)=(1-\mu_{t_1^-}^D(\lambda))\frac{R_{t_1^-}^{(2)}(\lambda)+\tau}{n-t_1^-} g ^ t 1 − ( 2 ) ( λ ) = ( 1 − μ t 1 − D ( λ )) n − t 1 − R t 1 − ( 2 ) ( λ ) + τ . Because μ t 1 − D ( λ ) < 1 \mu_{t_1^-}^D(\lambda)<1 μ t 1 − D ( λ ) < 1 and R t 1 − ( 2 ) ( λ ) = τ ˉ R_{t_1^-}^{(2)}(\lambda)=\bar{\tau} R t 1 − ( 2 ) ( λ ) = τ ˉ , this denominator strictly converges to a positive value. Thus, evaluating the limit yields α ( λ − ) → 0 \alpha(\lambda^-)\to0 α ( λ − ) → 0 .
This implies that the values for the updates are g ^ t 1 − B ( λ − ) = τ ˉ − R t 1 − ( 2 ) ( λ − ) \hat{g}_{t_1^-}^B(\lambda^-)=\bar{\tau}-R_{t_1^-}^{(2)}(\lambda^-) g ^ t 1 − B ( λ − ) = τ ˉ − R t 1 − ( 2 ) ( λ − ) and g ^ t 1 − A ( λ − ) = ( 1 − α ( λ − ) ) ( 1 − μ t 1 − D ( λ − ) ) ⋅ Φ t 1 − ( α ( λ − ) , λ − ) \hat{g}_{t_1^-}^A(\lambda^-)=(1-\alpha(\lambda^-))(1-\mu_{t_1^-}^D(\lambda^-))\cdot\Phi_{t_1^-}(\alpha(\lambda^-),\lambda^-) g ^ t 1 − A ( λ − ) = ( 1 − α ( λ − )) ( 1 − μ t 1 − D ( λ − )) ⋅ Φ t 1 − ( α ( λ − ) , λ − ) . As λ − → λ \lambda^-\to\lambda λ − → λ , we have that g ^ t 1 − B ( λ − ) → τ ˉ − R t 1 − ( 2 ) ( λ ) = 0 \hat{g}_{t_1^-}^B(\lambda^-)\to\bar{\tau}-R_{t_1^-}^{(2)}(\lambda)=0 g ^ t 1 − B ( λ − ) → τ ˉ − R t 1 − ( 2 ) ( λ ) = 0 , and that g ^ t 1 − A ( λ − ) → ( 1 − 0 ) ( 1 − μ t 1 − D ( λ ) ) ⋅ Φ t 1 − ( 0 , λ ) = ( 1 − μ t 1 − D ( λ ) ) ⋅ Φ t 1 − ( 0 , λ ) = g ^ t 1 − ( λ ) \hat{g}_{t_1^-}^A(\lambda^-)\to(1-0)(1-\mu_{t_1^-}^D(\lambda))\cdot\Phi_{t_1^-}(0,\lambda)=(1-\mu_{t_1^-}^D(\lambda))\cdot\Phi_{t_1^-}(0,\lambda)=\hat{g}_{t_1^-}(\lambda) g ^ t 1 − A ( λ − ) → ( 1 − 0 ) ( 1 − μ t 1 − D ( λ )) ⋅ Φ t 1 − ( 0 , λ ) = ( 1 − μ t 1 − D ( λ )) ⋅ Φ t 1 − ( 0 , λ ) = g ^ t 1 − ( λ ) ; where we used the fact that Φ \Phi Φ is continuous in both α \alpha α and $\lambda, and where we used the definition of g ^ t 1 − ( λ ) \hat{g}_{t_1^-}(\lambda) g ^ t 1 − ( λ ) for t 1 − t_1^- t 1 − in Phase 1. As all the g ^ j \hat{g}_j g ^ j for j j j between t 1 − t_1^- t 1 − and t 1 t_1 t 1 are 0 and for t 1 t_1 t 1 , we have that R t 1 − 1 ( λ − ) → τ ˉ R_{t_1-1}(\lambda^-)\to\bar{\tau} R t 1 − 1 ( λ − ) → τ ˉ , we have that R t 1 − 1 ( λ − ) = R t 1 − 1 ( λ − ) + g ^ t 1 − ( λ − ) → τ ˉ + g ^ t 1 − ( λ ) = R t 1 − 1 ( λ ) R_{t_1-1}(\lambda^-)=R_{t_1-1}(\lambda^-)+\hat{g}_{t_1^-}(\lambda^-)\to\bar{\tau}+\hat{g}_{t_1^-}(\lambda)=R_{t_1-1}(\lambda) R t 1 − 1 ( λ − ) = R t 1 − 1 ( λ − ) + g ^ t 1 − ( λ − ) → τ ˉ + g ^ t 1 − ( λ ) = R t 1 − 1 ( λ ) . From this point on, we can apply the same argument as for λ + \lambda^+ λ + to get that R 0 ( λ − ) → R 0 ( λ ) R_0(\lambda^-)\to R_0(\lambda) R 0 ( λ − ) → R 0 ( λ ) , and thus it is continuous for our cases in which t 1 < n t_1<n t 1 < n , t 1 − t_1^- t 1 − does exist and where R t 1 ( λ ) − 1 ( 2 ) = τ ˉ R^{(2)}_{t_1(\lambda)-1}=\bar{\tau} R t 1 ( λ ) − 1 ( 2 ) = τ ˉ exactly.
Case 1.2.b.ii: t 1 − = ⊥ t_1^-=\perp t 1 − =⊥ . Now, assuming that t 1 − = ⊥ t_1^-=\perp t 1 − =⊥ , this implies that all j < t 1 j<t_1 j < t 1 have μ j D ( λ − ε ) = 1 \mu_j^D(\lambda-\varepsilon)=1 μ j D ( λ − ε ) = 1 for the range of ε \varepsilon ε we were considering. This implies that for all j j j , we have that R j ( λ − ε ) = R j ( 2 ) ( λ − ε ) R_j(\lambda-\varepsilon)=R_j^{(2)}(\lambda-\varepsilon) R j ( λ − ε ) = R j ( 2 ) ( λ − ε ) for ε ≥ 0 \varepsilon\ge0 ε ≥ 0 (note that it is also true with equality), which is true because the value of R j ( 2 ) ( λ − ε ) ≤ τ ˉ R_j^{(2)}(\lambda-\varepsilon)\le\bar{\tau} R j ( 2 ) ( λ − ε ) ≤ τ ˉ . Since R 0 ( 2 ) ( λ ) R_0^{(2)}(\lambda) R 0 ( 2 ) ( λ ) is already continuous in λ \lambda λ , it implies that R 0 ( 2 ) ( λ − ) → R 0 ( 2 ) ( λ ) R_0^{(2)}(\lambda^-)\to R_0^{(2)}(\lambda) R 0 ( 2 ) ( λ − ) → R 0 ( 2 ) ( λ ) , which using the previous fact for these values, it implies R 0 ( λ − ) → R 0 ( λ ) R_0(\lambda^-)\to R_0(\lambda) R 0 ( λ − ) → R 0 ( λ ) which proves what we want.
Case 2: t 1 = n t_1=n t 1 = n . To finish this transition analysis, we must explicitly analyze the boundary case where t 1 = n t_1=n t 1 = n , which implies that t 3 ∗ ≠ n t_3^*\ne n t 3 ∗ = n and that R n − 1 = g ^ n x ≥ τ ˉ R_{n-1}=\hat{g}_n^x\ge\bar{\tau} R n − 1 = g ^ n x ≥ τ ˉ .
Case 2.a: λ > τ ˉ \lambda>\bar{\tau} λ > τ ˉ . If λ > τ ˉ \lambda>\bar{\tau} λ > τ ˉ , continuity is easy to prove since we can pick a small enough ε \varepsilon ε such that t 1 t_1 t 1 does not change. For such a case, the value for R t 1 − 1 = λ R_{t_1-1}=\lambda R t 1 − 1 = λ is clearly continuous in λ \lambda λ , and since all other indices j < n j<n j < n are in Phase 1, and all operations in Phase 1 are continuous in λ \lambda λ , the result of R 0 ( λ ) R_0(\lambda) R 0 ( λ ) is continuous in λ \lambda λ .
Case 2.b: λ = τ ˉ \lambda=\bar{\tau} λ = τ ˉ . For the case of λ = τ ˉ \lambda=\bar{\tau} λ = τ ˉ , things are a bit trickier. For the right limit, λ + = λ + ε \lambda^+=\lambda+\varepsilon λ + = λ + ε , the same argument as before can apply. It is the left limit that is more difficult. For such a case, t 1 − = t 1 ( λ − ) t_1^-=t_1(\lambda^-) t 1 − = t 1 ( λ − ) will not be n n n , but instead some smaller index. Just as before for the case t 1 < n t_1<n t 1 < n , for a small enough ε \varepsilon ε , t 1 − t_1^- t 1 − is the biggest index j < n j<n j < n with μ j D < 1 \mu_j^D<1 μ j D < 1 if we take λ − = λ − ε \lambda^-=\lambda-\varepsilon λ − = λ − ε , which simplifies the analysis.
Case 2.b.i: t 1 − = ⊥ t_1^- = \bot t 1 − = ⊥ . If such an index does not exist it both implies μ j D = 1 \mu_j^D = 1 μ j D = 1 for all j j j and t 1 − = ⊥ t_1^- = \bot t 1 − = ⊥ . Thus, since μ j D = 1 \mu_j^D = 1 μ j D = 1 we have that g ^ j = 0 \hat{g}_j = 0 g ^ j = 0 for j < n j < n j < n , which implies R 0 ( λ − ) = R n − 1 ( λ − ) = λ − R_0(\lambda^-) = R_{n-1}(\lambda^-) = \lambda^- R 0 ( λ − ) = R n − 1 ( λ − ) = λ − which is indeed continuous on λ \lambda λ , so R 0 ( λ − ) = R n − 1 ( λ − ) = λ − → λ = τ ˉ R_0(\lambda^-) = R_{n-1}(\lambda^-) = \lambda^- \to\lambda= \bar{\tau} R 0 ( λ − ) = R n − 1 ( λ − ) = λ − → λ = τ ˉ .
Case 2.b.ii: t 1 − ≠ ⊥ t_1^- \ne\bot t 1 − = ⊥ . We now assume that t 1 − t_1^- t 1 − does exist. As R t 1 − ( λ − ) = R n − 1 ( λ − ) = λ − < τ ˉ R_{t_1^-}(\lambda^-) = R_{n-1}(\lambda^-) = \lambda^- < \bar{\tau} R t 1 − ( λ − ) = R n − 1 ( λ − ) = λ − < τ ˉ , we have that R t 1 − ( λ − ) = R t 1 − ( 2 ) ( λ − ) R_{t_1^-}(\lambda^-) = R_{t_1^-}^{(2)}(\lambda^-) R t 1 − ( λ − ) = R t 1 − ( 2 ) ( λ − ) . For such a case, we can compute things just as previously in the case that t 1 − t_1^- t 1 − changes for the original t 1 < n t_1 < n t 1 < n and we get that the interpolation factor is α ( λ − ) = τ ˉ − λ − g ^ t 1 − ( 2 ) \alpha(\lambda^-) = \frac{\bar{\tau}-\lambda^-}{\hat{g}_{t_1^-}^{(2)}} α ( λ − ) = g ^ t 1 − ( 2 ) τ ˉ − λ − . As λ − → τ ˉ \lambda^- \to\bar{\tau} λ − → τ ˉ , α ( λ − ) → 0 \alpha(\lambda^-) \to0 α ( λ − ) → 0 since we have that g ^ t 1 − ( λ ′ ) > 0 \hat{g}_{t_1^-}(\lambda') > 0 g ^ t 1 − ( λ ′ ) > 0 for λ ′ ∈ [ λ − , λ ] \lambda' \in[\lambda^-, \lambda] λ ′ ∈ [ λ − , λ ] . The fractional updates at t 1 − t_1^- t 1 − are g ^ t 1 − B ( λ − ) = τ ˉ − λ − → 0 \hat{g}_{t_1^-}^B(\lambda^-) = \bar{\tau}-\lambda^- \to0 g ^ t 1 − B ( λ − ) = τ ˉ − λ − → 0 and g ^ t 1 − A ( λ − ) = ( 1 − α ( λ − ) ) ( 1 − μ t 1 − D ( λ − ) ) ⋅ Φ t 1 − ( α ( λ − ) , λ − ) → ( 1 − μ t 1 − D ( λ ) ) ⋅ Φ t 1 − ( 0 , λ ) \hat{g}_{t_1^-}^A(\lambda^-) = (1-\alpha(\lambda^-))(1-\mu_{t_1^-}^D(\lambda^-))\cdot\Phi_{t_1^-}(\alpha(\lambda^-),\lambda^-) \to(1-\mu_{t_1^-}^D(\lambda))\cdot\Phi_{t_1^-}(0,\lambda) g ^ t 1 − A ( λ − ) = ( 1 − α ( λ − )) ( 1 − μ t 1 − D ( λ − )) ⋅ Φ t 1 − ( α ( λ − ) , λ − ) → ( 1 − μ t 1 − D ( λ )) ⋅ Φ t 1 − ( 0 , λ ) using the same argument as every time that Φ ( α , λ ) \Phi(\alpha,\lambda) Φ ( α , λ ) is continuous in both α \alpha α and λ \lambda λ . The budget becomes R t 1 − − 1 ( λ − ) = λ − + g ^ t 1 − B ( λ − ) + g ^ t 1 − A ( λ − ) → τ ˉ + ( 1 − μ t 1 − D ) ⋅ Φ t 1 − ( 0 , λ ) R_{t_1^- -1}(\lambda^-) = \lambda^- + \hat{g}_{t_1^-}^B(\lambda^-) + \hat{g}_{t_1^-}^A(\lambda^-) \to\bar{\tau} + (1-\mu_{t_1^-}^D)\cdot\Phi_{t_1^-}(0,\lambda) R t 1 − − 1 ( λ − ) = λ − + g ^ t 1 − B ( λ − ) + g ^ t 1 − A ( λ − ) → τ ˉ + ( 1 − μ t 1 − D ) ⋅ Φ t 1 − ( 0 , λ ) , which we can check that is the same as it is for R t 1 − 1 ( λ ) R_{t_1-1}(\lambda) R t 1 − 1 ( λ ) . Now, using the same repeated arguments in this section, we can get that R 0 ( λ − ) → R 0 ( λ ) R_0(\lambda^-) \to R_0(\lambda) R 0 ( λ − ) → R 0 ( λ ) , and thus, even for this case, the continuity is proven.
Therefore, since all the possible cases have been looked at, continuity of R 0 ( λ ) R_0(\lambda) R 0 ( λ ) is proven.
The Factor-Revealing Program Bounds the LMP-Approximation Ratio
In this section we will prove Theorem 4.2 which states that our algorithm is indeed a ρ \rho ρ -LMP approximation for facility location if ρ \rho ρ is an upper bound on the optimal value of the factor-revealing program.
Theorem 4.2. Let ρ ≥ 1 \rho\ge1 ρ ≥ 1 be an upper bound on the optimal value of the factor-revealing program in Definition 4.1 over all n ≥ 1 n \ge1 n ≥ 1 . Then, Algorithm 1 run with facility cost f ^ = ρ ⋅ f \hat{f}=\rho\cdot f f ^ = ρ ⋅ f is a ρ \rho ρ -LMP approximation algorithm for UFL instances with facility cost f f f .
For a client j ∈ D j \in D j ∈ D , we denote by α j ⋆ \alpha_j^\star α j ⋆ its final α j \alpha_j α j value in Algorithm 1. For the purposes of the analysis, we order the clients from $1$ to n = ∣ D ∣ n=|D| n = ∣ D ∣ in increasing order of α \alpha α -values, α 1 ⋆ ≤ α 2 ⋆ ≤ ⋯ ≤ α n ⋆ \alpha_1^\star\le\alpha_2^\star\le\cdots\le\alpha_n^\star α 1 ⋆ ≤ α 2 ⋆ ≤ ⋯ ≤ α n ⋆ . If α k ⋆ = α j ⋆ \alpha_k^\star=\alpha_j^\star α k ⋆ = α j ⋆ for two clients j ≠ k ∈ D j \ne k \in D j = k ∈ D then break ties according to the order of events in which the clients became inactive. Note that with this order if j ≤ k j \le k j ≤ k then j j j becomes inactive strictly before k k k or in the same event as k k k . We denote by S ( k ) S^{(k)} S ( k ) the set of open facilities just before the event in which client k k k becomes inactive. Moreover, S ( n + 1 ) = S ⋆ S^{(n+1)}=S^\star S ( n + 1 ) = S ⋆ is the set of open facilities at the end of the algorithm. We say a client j j j becomes inactive in an Event 1 or Event 2 if j j j is removed from the set of active clients A A A during this event. For $1 \le j \le k \le n$, we set
r j k = { α j ⋆ if j and k become inactive in the same event , d ( j , S ( k ) ) otherwise . r_{jk} =
\begin{cases}
\alpha_j^\star& \text{if } j \text{ and } k \text{ become inactive in the same event},\\
d(j,S^{(k)}) & \text{otherwise}.
\end{cases} r j k = { α j ⋆ d ( j , S ( k ) ) if j and k become inactive in the same event , otherwise .
We also set r j , n + 1 = d ( j , S ⋆ ) r_{j,n+1}=d(j,S^\star) r j , n + 1 = d ( j , S ⋆ ) .
Observation A.1. We have r j , k ≥ r j , k + 1 r_{j,k} \ge r_{j,k+1} r j , k ≥ r j , k + 1 for all $1 \le j \le k \le n$.
Proof. We have trivially that α j ⋆ ≤ α j ′ ⋆ \alpha_j^\star\le\alpha_{j'}^\star α j ⋆ ≤ α j ′ ⋆ and d ( j , S ( k ) ) ≥ d ( j , S ( k ′ ) ) d(j,S^{(k)}) \ge d(j,S^{(k')}) d ( j , S ( k ) ) ≥ d ( j , S ( k ′ ) ) for k < k ′ k<k' k < k ′ as S ( k ) S^{(k)} S ( k ) is monotone. Moreover, α j ⋆ ≥ d ( j , S ( k ) ) \alpha_j^\star\ge d(j,S^{(k)}) α j ⋆ ≥ d ( j , S ( k ) ) once j j j is inactive with respect to S ( k ) S^{(k)} S ( k ) so the claim follows.
First we will upper bound the cost of Algorithm 1 by the r r r variables defined above.
Lemma A.2. The cost (with respect to opening cost f ^ \hat{f} f ^ ) of a solution output by Algorithm 1 is at most
∑ j = 1 n ( ∑ i = j n β ( r j , i , r j , i + 1 ) + r j , n + 1 ) . \sum_{j=1}^{n}\left(\sum_{i=j}^{n}\beta(r_{j,i},r_{j,i+1})+r_{j,n+1}\right). j = 1 ∑ n ( i = j ∑ n β ( r j , i , r j , i + 1 ) + r j , n + 1 ) .
Proof. For a client j j j , its connection cost is r j , n + 1 = d ( j , S ⋆ ) r_{j,n+1}=d(j,S^\star) r j , n + 1 = d ( j , S ⋆ ) . Further, we need to bound the contribution of j j j to the opening of each facility in S ⋆ S^\star S ⋆ . When opening a facility i ∈ F i \in F i ∈ F we have
∑ j ∈ A β ( α j , d ( i , j ) ) + ∑ j ∈ D ∖ A β ( d ( j , S ) , d ( i , j ) ) = f ^ . \sum_{j\in A}\beta(\alpha_j,d(i,j))+\sum_{j\in D\setminus A}\beta(d(j,S),d(i,j))=\hat{f}. j ∈ A ∑ β ( α j , d ( i , j )) + j ∈ D ∖ A ∑ β ( d ( j , S ) , d ( i , j )) = f ^ .
Let ∅ = S 0 ⊊ S 1 ⊊ ⋯ ⊊ S m = S ⋆ \varnothing=S_0\subsetneq S_1\subsetneq\cdots\subsetneq S_m=S^\star ∅ = S 0 ⊊ S 1 ⊊ ⋯ ⊊ S m = S ⋆ with m = ∣ S ⋆ ∣ m=|S^\star| m = ∣ S ⋆ ∣ be the sets of opened facilities during the execution of the algorithm. We are interested in the total contributions of client j j j to facility payments. Name ℓ \ell ℓ the index when they got connected. Then, their payments (discarding the final connection cost) are:
β ( α j , d ( j , S ℓ ) ) + ∑ i = ℓ m − 1 β ( d ( j , S i ) , d ( j , S i + 1 ) ) \beta(\alpha_j,d(j,S_\ell))+\sum_{i=\ell}^{m-1}\beta(d(j,S_i),d(j,S_{i+1})) β ( α j , d ( j , S ℓ )) + i = ℓ ∑ m − 1 β ( d ( j , S i ) , d ( j , S i + 1 ))
To go from all the distances d ( j , S ℓ ) d(j,S_\ell) d ( j , S ℓ ) to just the chosen set r j , i r_{j,i} r j , i , we repeatedly use the superadditivity of the bidding function as per Definition 3.1 . This property implies that, for any two times p < q p<q p < q , we can bound ∑ i = p q − 1 β ( d ( j , S i ) , d ( j , S i + 1 ) ) \sum_{i=p}^{q-1}\beta(d(j,S_i),d(j,S_{i+1})) ∑ i = p q − 1 β ( d ( j , S i ) , d ( j , S i + 1 )) by β ( d ( j , S p ) , d ( j , S q ) ) \beta(d(j,S_p),d(j,S_q)) β ( d ( j , S p ) , d ( j , S q )) . The proof for the lemma follows directly from this.
First, let us take care of the term with α j ⋆ \alpha_j^\star α j ⋆ . Take the first time i i i that has r j , i + 1 r_{j,i+1} r j , i + 1 not equal to α j ⋆ \alpha_j^\star α j ⋆ . If no such i i i exists, then all facility payments of j j j are zero and the bound for this term is trivial. If there are any previous terms β ( r j , i ′ , r j , i ′ + 1 ) \beta(r_{j,i'},r_{j,i'+1}) β ( r j , i ′ , r j , i ′ + 1 ) with i ′ < i i'<i i ′ < i , both function inputs are the same value and thus all the previous terms evaluate to 0 0 0 . Then enumerate all sets S ℓ ⊊ ⋯ ⊆ S ℓ + k = S ( i + 1 ) S_\ell\subsetneq\cdots\subseteq S_{\ell+k}=S^{(i+1)} S ℓ ⊊ ⋯ ⊆ S ℓ + k = S ( i + 1 ) . By the superadditivity, we can upper bound the terms:
β ( α j ⋆ , d ( j , S ℓ ) ) + ∑ p = ℓ ℓ + k − 1 β ( d ( j , S p ) , d ( j , S p + 1 ) ) ≤ β ( α j ⋆ , d ( j , S ( i + 1 ) ) ) = β ( r j , i , r j , i + 1 ) \beta(\alpha_j^\star,d(j,S_\ell))+\sum_{p=\ell}^{\ell+k-1}\beta(d(j,S_p),d(j,S_{p+1}))\le\beta(\alpha_j^\star,d(j,S^{(i+1)}))=\beta(r_{j,i},r_{j,i+1}) β ( α j ⋆ , d ( j , S ℓ )) + p = ℓ ∑ ℓ + k − 1 β ( d ( j , S p ) , d ( j , S p + 1 )) ≤ β ( α j ⋆ , d ( j , S ( i + 1 ) )) = β ( r j , i , r j , i + 1 )
Now, let us do the same for the terms that do not include the term α j ⋆ \alpha_j^\star α j ⋆ . For an index i i i with r j , i = d ( j , S ( i ) ) r_{j,i}=d(j,S^{(i)}) r j , i = d ( j , S ( i ) ) , enumerate all sets S ( i ) = S ℓ ⊆ ⋯ ⊆ S ℓ + k = S ( i + 1 ) S^{(i)}=S_\ell\subseteq\cdots\subseteq S_{\ell+k}=S^{(i+1)} S ( i ) = S ℓ ⊆ ⋯ ⊆ S ℓ + k = S ( i + 1 ) , and let there be k k k such sets. By the superadditivity , we can upper bound the terms:
∑ p = ℓ ℓ + k − 1 β ( d ( j , S p ) , d ( j , S p + 1 ) ) ≤ β ( d ( j , S ( i ) ) , d ( j , S ( i + 1 ) ) ) = β ( r j , i , r j , i + 1 ) \sum_{p=\ell}^{\ell+k-1}\beta\left(d(j,S_p),d(j,S_{p+1})\right)\leq\beta\left(d(j,S^{(i)}),d(j,S^{(i+1)})\right)=\beta(r_{j,i},r_{j,i+1}) p = ℓ ∑ ℓ + k − 1 β ( d ( j , S p ) , d ( j , S p + 1 ) ) ≤ β ( d ( j , S ( i ) ) , d ( j , S ( i + 1 ) ) ) = β ( r j , i , r j , i + 1 )
Adding all of these together proves the lemma.
Lemma A.3. Let ρ ≥ 1 \rho\geq1 ρ ≥ 1 be an upper bound on the optimal value of the factor-revealing program in Definition 4.1. For some facility i ⋆ ∈ F i^\star\in F i ⋆ ∈ F , consider any subset of clients D ′ ⊆ D D'\subseteq D D ′ ⊆ D . Then
∑ j ∈ D ′ ( ∑ i = j n β ( r j , i , r j , i + 1 ) + r j , n + 1 ) ≤ f ^ + ρ ⋅ ∑ j ∈ D ′ d ( j , i ⋆ ) . \sum_{j\in D'}\left(\sum_{i=j}^{n}\beta(r_{j,i},r_{j,i+1})+r_{j,n+1}\right)\leq\widehat{f}+\rho\cdot\sum_{j\in D'}d(j,i^\star). j ∈ D ′ ∑ ( i = j ∑ n β ( r j , i , r j , i + 1 ) + r j , n + 1 ) ≤ f + ρ ⋅ j ∈ D ′ ∑ d ( j , i ⋆ ) .
Proof. The case D ′ = ∅ D'=\varnothing D ′ = ∅ is immediate, so assume D ′ ≠ ∅ D'\neq\varnothing D ′ = ∅ . First, we will prove that the variables ( r , d , f ^ ) (r,d,\widehat{f}) ( r , d , f ) supported on D ′ D' D ′ are feasible for the factor-revealing program 4.1 without the normalization constraint 4. Here, we re-index the variables in D ′ D' D ′ to 1 , … , ∣ D ′ ∣ 1,\ldots,|D'| 1 , … , ∣ D ′ ∣ and n + 1 n+1 n + 1 to ∣ D ′ ∣ + 1 |D'|+1 ∣ D ′ ∣ + 1 . It is important that we keep the original order of the variables. For k ∈ D ′ k\in D' k ∈ D ′ , we set d k = d ( i ⋆ , k ) d_k=d(i^\star,k) d k = d ( i ⋆ , k ) .
Claim A.4. The variables ( r , d , f ^ ) (r,d,\widehat{f}) ( r , d , f ) satisfy constraints (5) to (6) .
Monotonicity (5) Holds by Observation A.1.
Triangle constraint (6) We have to show that for j < k j<k j < k we have r k k ≤ r j k + d k + d j r_{kk}\leq r_{jk}+d_k+d_j r k k ≤ r j k + d k + d j . By definition r k k = α k ⋆ r_{kk}=\alpha_k^\star r k k = α k ⋆ . If k k k and j j j become inactive in the same event, then r j k = α j ⋆ = α k ⋆ = r k k r_{jk}=\alpha_j^\star=\alpha_k^\star=r_{kk} r j k = α j ⋆ = α k ⋆ = r k k . Otherwise, r j k = d ( j , S ( k ) ) = d ( j , i ) r_{jk}=d(j,S^{(k)})=d(j,i) r j k = d ( j , S ( k ) ) = d ( j , i ) for some facility i ∈ S ( k ) i\in S^{(k)} i ∈ S ( k ) . Since the facility i i i is open while k k k is still active,
r k k = α k ⋆ ≤ d ( i , k ) ≤ d ( k , i ⋆ ) + d ( j , i ⋆ ) + d ( j , i ) = r j k + d j + d k . r_{kk}=\alpha_k^\star\leq d(i,k)\leq d(k,i^\star)+d(j,i^\star)+d(j,i)=r_{jk}+d_j+d_k. r k k = α k ⋆ ≤ d ( i , k ) ≤ d ( k , i ⋆ ) + d ( j , i ⋆ ) + d ( j , i ) = r j k + d j + d k . Metric inequalities of r r r (7) We have to show that for j ≠ k < l j\neq k<l j = k < l we have r j l ≤ r k l + d j + d k r_{jl}\leq r_{kl}+d_j+d_k r j l ≤ r k l + d j + d k . First assume that j j j becomes inactive strictly before l l l , r j l = d ( j , S ( l ) ) = d ( j , i 1 ) r_{jl}=d(j,S^{(l)})=d(j,i_1) r j l = d ( j , S ( l ) ) = d ( j , i 1 ) for some facility i 1 ∈ S ( l ) i_1\in S^{(l)} i 1 ∈ S ( l ) . Similar, if k k k becomes inactive strictly before l l l , r k l = d ( k , S ( l ) ) = d ( k , i 2 ) r_{kl}=d(k,S^{(l)})=d(k,i_2) r k l = d ( k , S ( l ) ) = d ( k , i 2 ) for some facility i 2 ∈ S ( l ) i_2\in S^{(l)} i 2 ∈ S ( l ) . Then,
r j l = d ( j , i 1 ) ≤ d ( j , i 2 ) ≤ d ( j , i ⋆ ) + d ( k , i ⋆ ) + d ( k , i 2 ) = r k l + d j + d k . r_{jl}=d(j,i_1)\leq d(j,i_2)\leq d(j,i^\star)+d(k,i^\star)+d(k,i_2)=r_{kl}+d_j+d_k. r j l = d ( j , i 1 ) ≤ d ( j , i 2 ) ≤ d ( j , i ⋆ ) + d ( k , i ⋆ ) + d ( k , i 2 ) = r k l + d j + d k . Now, if k k k becomes inactive in the same event as l l l then r k l = α k ⋆ r_{kl}=\alpha_k^\star r k l = α k ⋆ . However, note that r j l ≤ r j j = α j ⋆ ≤ α k ⋆ r_{jl}\leq r_{jj}=\alpha_j^\star\leq\alpha_k^\star r j l ≤ r j j = α j ⋆ ≤ α k ⋆ since k k k becomes inactive strictly after j j j .
Next, assume that j j j becomes inactive in the same event as l l l , r j l = r j j = α j ⋆ r_{jl}=r_{jj}=\alpha_j^\star r j l = r j j = α j ⋆ . Similar, if k k k becomes inactive in the same event then,
r j l = α j ⋆ = α k ⋆ = r k l . r_{jl}=\alpha_j^\star=\alpha_k^\star=r_{kl}. r j l = α j ⋆ = α k ⋆ = r k l . In the case where k k k becomes inactive strictly before j j j we have r k l = d ( k , S ( l ) ) = d ( k , S ( j ) ) = r k j r_{kl}=d(k,S^{(l)})=d(k,S^{(j)})=r_{kj} r k l = d ( k , S ( l ) ) = d ( k , S ( j ) ) = r k j because j j j and l l l become inactive in the same event. Now, the inequality follows from the Triangle constraint (6).
Facility constraint (5) We have to show that for all k ∈ D ′ k\in D' k ∈ D ′ we have
∑ j < k j ∈ D ′ β ( r j k , d j ) + ∑ j ≥ k j ∈ D ′ β ( r k k , d j ) ≤ f ^ . \sum_{\substack{j<k\\j\in D'}}\beta(r_{jk},d_j)+\sum_{\substack{j\geq k\\j\in D'}}\beta(r_{kk},d_j)\leq\widehat{f}. j < k j ∈ D ′ ∑ β ( r j k , d j ) + j ≥ k j ∈ D ′ ∑ β ( r k k , d j ) ≤ f . To this end consider the event in which k k k becomes inactive. Just before this event, we have that
bid ( j , i ⋆ ) = β ( α k ⋆ , d ( i ⋆ , j ) ) = β ( r k k , d ( i ⋆ , j ) ) \operatorname{bid}(j,i^\star)=\beta(\alpha_k^\star,d(i^\star,j))=\beta(r_{kk},d(i^\star,j)) bid ( j , i ⋆ ) = β ( α k ⋆ , d ( i ⋆ , j )) = β ( r k k , d ( i ⋆ , j )) for all active clients j ∈ A j\in A j ∈ A . Moreover,
bid ( j , i ⋆ ) = β ( d ( j , S ( k ) ) , d ( i ⋆ , j ) ) = β ( r j k , d ( i ⋆ , j ) ) \operatorname{bid}(j,i^\star)=\beta(d(j,S^{(k)}),d(i^\star,j))=\beta(r_{jk},d(i^\star,j)) bid ( j , i ⋆ ) = β ( d ( j , S ( k ) ) , d ( i ⋆ , j )) = β ( r j k , d ( i ⋆ , j ))
for all inactive clients j ∈ D ∖ A j \in D \setminus A j ∈ D ∖ A . Note that if j j j and k k k become inactive in the same event then r k k = r j k = α k ∗ = α j ∗ r_{kk}=r_{jk}=\alpha_k^*=\alpha_j^* r k k = r j k = α k ∗ = α j ∗ . If i ∗ ∈ S ( k ) i^* \in S^{(k)} i ∗ ∈ S ( k ) , all bids are zero, because α k ∗ ≤ d ( j , S ( k ) ) \alpha_k^* \le d(j,S^{(k)}) α k ∗ ≤ d ( j , S ( k ) ) for active clients and d ( j , S ( k ) ) ≤ d ( j , i ∗ ) d(j,S^{(k)}) \le d(j,i^*) d ( j , S ( k ) ) ≤ d ( j , i ∗ ) for all clients. If i ∗ i^* i ∗ is not yet open then the inequality is satisfied since the sum of all bids ∑ j ∈ D bid ( j , i ∗ ) \sum_{j\in D}\operatorname{bid}(j,i^*) ∑ j ∈ D bid ( j , i ∗ ) towards an unopened facility i ∗ i^* i ∗ can never exceed f ^ \hat{f} f ^ .
Next, we will normalize the variables as to satisfy (4) . To this end let d s u m = ∑ j ∈ D ′ d ( j , i ∗ ) ≥ 1 d_{\mathrm{sum}}=\sum_{j\in D'}d(j,i^*)\ge1 d sum = ∑ j ∈ D ′ d ( j , i ∗ ) ≥ 1 . Since all constraints (5) to (9) are scale invariant we have that ( r / d s u m , d / d s u m , f ^ / d s u m ) (r/d_{\mathrm{sum}},d/d_{\mathrm{sum}},\hat{f}/d_{\mathrm{sum}}) ( r / d sum , d / d sum , f ^ / d sum ) is now feasible for the factor-revealing program 4.1. In order to index according to the original set of clients D D D define q ( i ) = min { i ′ ∣ i ′ > i , i ′ ∈ D ′ ∪ { n + 1 } } q(i)=\min\{i'\mid i'>i,i'\in D'\cup\{n+1\}\} q ( i ) = min { i ′ ∣ i ′ > i , i ′ ∈ D ′ ∪ { n + 1 }} . Using the ρ \rho ρ is an upper bound on the value of the program we have,
∑ j ∈ D ′ ( ∑ i ≥ j n β ( r j , i , r j , q ( i ) ) + r j , n + 1 ) − f ^ d s u m ≤ ρ . \frac{\sum_{j\in D'}\left(\sum_{i\ge j}^{n}\beta\left(r_{j,i},r_{j,q(i)}\right)+r_{j,n+1}\right)-\hat{f}}{d_{\mathrm{sum}}}\le\rho. d sum ∑ j ∈ D ′ ( ∑ i ≥ j n β ( r j , i , r j , q ( i ) ) + r j , n + 1 ) − f ^ ≤ ρ .
Finally, because r j , i ≥ r j , i + 1 r_{j,i}\ge r_{j,i+1} r j , i ≥ r j , i + 1 for all valid j , i j,i j , i , by the superadditivity of β \beta β the above also implies that
∑ j ∈ D ′ ( ∑ i = j n β ( r j , i , r j , i + 1 ) + r j , n + 1 ) ≤ f ^ + ρ ⋅ ∑ j ∈ D ′ d ( j , i ∗ ) . \sum_{j\in D'}\left(\sum_{i=j}^{n}\beta\left(r_{j,i},r_{j,i+1}\right)+r_{j,n+1}\right)\le\hat{f}+\rho\cdot\sum_{j\in D'}d(j,i^*). j ∈ D ′ ∑ ( i = j ∑ n β ( r j , i , r j , i + 1 ) + r j , n + 1 ) ≤ f ^ + ρ ⋅ j ∈ D ′ ∑ d ( j , i ∗ ) .
We are ready to prove Theorem 4.2.
Proof of Theorem 4.2. Consider an optimal solution of cost O P T \mathrm{OPT} OPT to the original problem with facility cost f = f ^ ρ f=\frac{\hat{f}}{\rho} f = ρ f ^ , and let k ∗ k^* k ∗ denote the number of facilities opened in this solution. Let { i 1 ∗ , … , i k ∗ ∗ } \{i_1^*,\ldots,i_{k^*}^*\} { i 1 ∗ , … , i k ∗ ∗ } be the facilities opened by the optimal solution, and let { D 1 ∗ , … , D k ∗ ∗ } \{D_1^*,\ldots,D_{k^*}^*\} { D 1 ∗ , … , D k ∗ ∗ } be such that D ℓ ∗ D_\ell^* D ℓ ∗ is the set of clients connected to facility i ℓ ∗ i_\ell^* i ℓ ∗ in the optimal solution. Let C S O L C_{\mathrm{SOL}} C SOL and F S O L F_{\mathrm{SOL}} F SOL be the connection cost and opening cost (with respect to f f f ) of our algorithm, and let C O P T C_{\mathrm{OPT}} C OPT and F O P T F_{\mathrm{OPT}} F OPT be defined analogously for O P T \mathrm{OPT} OPT . By Lemma A.2, which bounds the cost with respect to f ^ \hat{f} f ^ , and using that f = f ^ ρ f=\frac{\hat{f}}{\rho} f = ρ f ^ , we know that
C S O L + ρ ⋅ F S O L ≤ ∑ j = 1 n ( ∑ i = j n β ( r j , i , r j , i + 1 ) + r j , n + 1 ) . C_{\mathrm{SOL}}+\rho\cdot F_{\mathrm{SOL}}\le\sum_{j=1}^{n}\left(\sum_{i=j}^{n}\beta\left(r_{j,i},r_{j,i+1}\right)+r_{j,n+1}\right). C SOL + ρ ⋅ F SOL ≤ j = 1 ∑ n ( i = j ∑ n β ( r j , i , r j , i + 1 ) + r j , n + 1 ) .
For ℓ ∈ { 1 , … , k ∗ } \ell\in\{1,\ldots,k^*\} ℓ ∈ { 1 , … , k ∗ } consider ( i ℓ ∗ , D ℓ ) (i_\ell^*,D_\ell) ( i ℓ ∗ , D ℓ ) . By Lemma A.3 we have that
∑ j ∈ D ℓ ( ∑ i = j n β ( r j , i , r j , i + 1 ) + r j , n + 1 ) ≤ f ^ + ρ ⋅ ∑ j ∈ D ℓ d ( j , i ℓ ∗ ) . \sum_{j\in D_\ell}\left(\sum_{i=j}^{n}\beta\left(r_{j,i},r_{j,i+1}\right)+r_{j,n+1}\right)\le\hat{f}+\rho\cdot\sum_{j\in D_\ell}d(j,i_\ell^*). j ∈ D ℓ ∑ ( i = j ∑ n β ( r j , i , r j , i + 1 ) + r j , n + 1 ) ≤ f ^ + ρ ⋅ j ∈ D ℓ ∑ d ( j , i ℓ ∗ ) .
Note that D 1 ∗ , … , D k ∗ ∗ D_1^*,\ldots,D_{k^*}^* D 1 ∗ , … , D k ∗ ∗ partition D D D . Then, summing the above over all ( i ℓ ∗ , D ℓ ∗ ) (i_\ell^*,D_\ell^*) ( i ℓ ∗ , D ℓ ∗ ) ,
C S O L + ρ ⋅ F S O L ≤ ∑ j = 1 n ( ∑ i = j n β ( r j , i , r j , i + 1 ) + r j , n + 1 ) ≤ k ∗ ⋅ f ^ + ρ ⋅ C O P T = ρ ⋅ F O P T + ρ ⋅ C O P T = ρ ⋅ O P T . \begin{aligned}
C_{\mathrm{SOL}}+\rho\cdot F_{\mathrm{SOL}}
&\le\sum_{j=1}^{n}\left(\sum_{i=j}^{n}\beta\left(r_{j,i},r_{j,i+1}\right)+r_{j,n+1}\right)\\
&\le k^*\cdot\hat{f}+\rho\cdot C_{\mathrm{OPT}}\\
&=\rho\cdot F_{\mathrm{OPT}}+\rho\cdot C_{\mathrm{OPT}}=\rho\cdot\mathrm{OPT}.
\end{aligned} C SOL + ρ ⋅ F SOL ≤ j = 1 ∑ n ( i = j ∑ n β ( r j , i , r j , i + 1 ) + r j , n + 1 ) ≤ k ∗ ⋅ f ^ + ρ ⋅ C OPT = ρ ⋅ F OPT + ρ ⋅ C OPT = ρ ⋅ OPT .
The theorem follows because F S O L = ∣ S ∗ ∣ ⋅ f F_{\mathrm{SOL}}=|S^*|\cdot f F SOL = ∣ S ∗ ∣ ⋅ f .
Deriving the Dual
In this section, we prove that the factor revealing dual program as defined in Definition 4.5 is indeed equivalent to the original one, namely, we prove Lemma 4.6. We restate the exact definition of the factor-revealing dual and its lemma here:
Definition 4.5 (Factor-revealing dual). Fix n ≥ 1 n \ge1 n ≥ 1 .
max ∀ b i , j ∈ { 0 , 1 } ∀ i , j : 1 ≤ j ≤ i ≤ n min ρ subject to: ∑ i = 1 n g ^ i ≤ 1 ( f ) ∀ 1 ≤ j , i ≤ n : g ^ i ≥ g i , j ( γ i , j and β i , j ) ∀ 1 ≤ j ≤ i ≤ n : ∑ q = j + 1 n g j , q + ∑ p = j i ( g p , j + t p , j − s p , j ) ≥ b i , j − ( γ − 1 ) ∑ p = j i − 1 b p , j ( r j , i ) ∀ 1 ≤ i ≤ n : ∑ p = 1 i ∑ j = 1 p s p , j − ∑ p = 1 i ∑ j = 1 p t p , j ≥ 0 ( m i ) ∀ 1 ≤ j ≤ n : ρ ≥ γ ⋅ ∑ i = 1 n g i , j + ∑ i = j n s i , j + ∑ i = j n t i , j ( d j ) ∀ 1 ≤ i , j ≤ n : g ^ i , g i , j , t i , j , s i , j ≥ 0 , s i , i = 0 \begin{aligned}
&\max_{\substack{\forall b_{i,j}\in\{0,1\}\\ \forall i,j:1\le j\le i\le n}}\quad\min\quad\rho\\
&\text{subject to:}\quad\sum_{i=1}^{n}\hat{g}_i \le1 && (f)\\
&\forall\ 1\le j,i\le n:\quad\hat{g}_i \ge g_{i,j} && (\gamma_{i,j}\text{ and }\beta_{i,j})\\
&\forall\ 1\le j\le i\le n:\quad\sum_{q=j+1}^{n}g_{j,q}+\sum_{p=j}^{i}(g_{p,j}+t_{p,j}-s_{p,j})\ge b_{i,j}-(\gamma-1)\sum_{p=j}^{i-1}b_{p,j} && (r_{j,i})\\
&\forall\ 1\le i\le n:\quad\sum_{p=1}^{i}\sum_{j=1}^{p}s_{p,j}-\sum_{p=1}^{i}\sum_{j=1}^{p}t_{p,j}\ge0 && (m_i)\\
&\forall\ 1\le j\le n:\quad\rho\ge\gamma\cdot\sum_{i=1}^{n}g_{i,j}+\sum_{i=j}^{n}s_{i,j}+\sum_{i=j}^{n}t_{i,j} && (d_j)\\
&\forall\ 1\le i,j\le n:\quad\hat{g}_i,g_{i,j},t_{i,j},s_{i,j}\ge0,\ s_{i,i}=0
\end{aligned} ∀ b i , j ∈ { 0 , 1 } ∀ i , j : 1 ≤ j ≤ i ≤ n max min ρ subject to: i = 1 ∑ n g ^ i ≤ 1 ∀ 1 ≤ j , i ≤ n : g ^ i ≥ g i , j ∀ 1 ≤ j ≤ i ≤ n : q = j + 1 ∑ n g j , q + p = j ∑ i ( g p , j + t p , j − s p , j ) ≥ b i , j − ( γ − 1 ) p = j ∑ i − 1 b p , j ∀ 1 ≤ i ≤ n : p = 1 ∑ i j = 1 ∑ p s p , j − p = 1 ∑ i j = 1 ∑ p t p , j ≥ 0 ∀ 1 ≤ j ≤ n : ρ ≥ γ ⋅ i = 1 ∑ n g i , j + i = j ∑ n s i , j + i = j ∑ n t i , j ∀ 1 ≤ i , j ≤ n : g ^ i , g i , j , t i , j , s i , j ≥ 0 , s i , i = 0 ( f ) ( γ i , j and β i , j ) ( r j , i ) ( m i ) ( d j )
Lemma 4.6. The optimum value of the factor-revealing dual in Definition 4.5 upper bounds the optimum value of the factor-revealing program in Definition 4.1 for the bidding function β γ ( α , d ) = [ α − γ ⋅ d ] + \beta_\gamma(\alpha,d)=[\alpha-\gamma\cdot d]^+ β γ ( α , d ) = [ α − γ ⋅ d ] + .
To prove this lemma, we first define an intermediate version of the factor-revealing primal different from the one in Definition 4.1 .
Differently from the previous factor revealing, we rewrite the metric inequalities. We define the variable m i m_i m i as the smallest distance from the central facility to an already open facility at time i i i ; for i = 1 i=1 i = 1 , before any earlier client is available, m 1 m_1 m 1 is only used as a slack variable. Using this definition, the metric inequalities can be rewritten as follows:
∀ 1 ≤ j ≤ i ≤ n : r j , i ≤ m i + d j \forall\ 1\le j\le i\le n:\quad r_{j,i}\le m_i+d_j ∀ 1 ≤ j ≤ i ≤ n : r j , i ≤ m i + d j
Without enforcing the exact definition of m i m_i m i , we only need m i m_i m i to follow the following two structural constraints:
∀ 1 ≤ j < i ≤ n : m i ≤ r j , i + d j ∀ 1 ≤ i < n : m i ≥ m i + 1 \begin{aligned}
&\forall\ 1\le j<i\le n:\quad m_i\le r_{j,i}+d_j\\
&\forall\ 1\le i<n:\quad m_i\ge m_{i+1}
\end{aligned} ∀ 1 ≤ j < i ≤ n : m i ≤ r j , i + d j ∀ 1 ≤ i < n : m i ≥ m i + 1
The first comes by an application of the metric inequalities, directly going from central facility to an open facility should be faster than going through a client j j j that was already connected before time i i i . The second is due to the monotonic non-increasingness of the distances, just like it is the case with r j , i r_{j,i} r j , i through i i i ; opening a new facility can only decrease the distance.
With this defined and using also the b i , j b_{i,j} b i , j variables defined in the main text, we can now define the intermediate factor-revealing problem:
Definition B.1 (Factor-revealing primal). Fix n ≥ 1 n \ge1 n ≥ 1 .
max ∀ b i , j ∈ { 0 , 1 } ∀ i , j : 1 ≤ j ≤ i ≤ n max ∑ j = 1 n ∑ i = j n b i , j ⋅ ( r j , i − γ ⋅ r j , i + 1 ) − f s.t.: ∑ i = 1 n d i ≤ 1 ( ρ : Limit on distances ) ∀ 1 ≤ j < i ≤ n : m i ≤ r j , i + d j ( s i , j : Definition of m i ) ∀ 1 ≤ j ≤ i ≤ n : r j , i ≤ m i + d j ( t i , j : Metric constraint ) ∀ 1 ≤ j ≤ i ≤ n : r j , i ≥ r j , i + 1 ( y i , j : Monotonicity of r j , i ) ∀ 1 ≤ i < n : m i ≥ m i + 1 ( y i ′ : Monotonicity of m i ) ∀ 1 ≤ j < i ≤ n : r j , i − γ ⋅ d j ≤ γ i , j ( g i , j a : Bidding linearization ) ∀ 1 ≤ i ≤ j ≤ n : r i , i − γ ⋅ d j ≤ β i , j ( g i , j b : Bidding linearization ) ∀ 1 ≤ i ≤ n : ∑ j = 1 i − 1 γ i , j + ∑ j = i n β i , j ≤ f ( g ^ i : No overbidding ) ∀ 1 ≤ i , j ≤ n + 1 : r j , i , d j , m i , β i , j , γ i , j , f ≥ 0 \begin{aligned}
\max_{\substack{\forall b_{i,j}\in\{0,1\}\\ \forall i,j:1\le j\le i\le n}} \quad& \max\sum_{j=1}^{n}\sum_{i=j}^{n} b_{i,j}\cdot(r_{j,i}-\gamma\cdot r_{j,i+1})-f\\
\text{s.t.:}\quad& \sum_{i=1}^{n}d_i\le1 &&(\rho:\ \text{Limit on distances})\\
& \forall\ 1\le j<i\le n:\quad m_i\le r_{j,i}+d_j &&(s_{i,j}:\ \text{Definition of }m_i)\\
& \forall\ 1\le j\le i\le n:\quad r_{j,i}\le m_i+d_j &&(t_{i,j}:\ \text{Metric constraint})\\
& \forall\ 1\le j\le i\le n:\quad r_{j,i}\ge r_{j,i+1} &&(y_{i,j}:\ \text{Monotonicity of }r_{j,i})\\
& \forall\ 1\le i<n:\quad m_i\ge m_{i+1} &&(y'_i:\ \text{Monotonicity of }m_i)\\
& \forall\ 1\le j<i\le n:\quad r_{j,i}-\gamma\cdot d_j\le\gamma_{i,j} &&(g^a_{i,j}:\ \text{Bidding linearization})\\
& \forall\ 1\le i\le j\le n:\quad r_{i,i}-\gamma\cdot d_j\le\beta_{i,j} &&(g^b_{i,j}:\ \text{Bidding linearization})\\
& \forall\ 1\le i\le n:\quad\sum_{j=1}^{i-1}\gamma_{i,j}+\sum_{j=i}^{n}\beta_{i,j}\le f &&(\hat g_i:\ \text{No overbidding})\\
& \forall\ 1\le i,j\le n+1:\quad r_{j,i},d_j,m_i,\beta_{i,j},\gamma_{i,j},f\ge0
\end{aligned} ∀ b i , j ∈ { 0 , 1 } ∀ i , j : 1 ≤ j ≤ i ≤ n max s.t.: max j = 1 ∑ n i = j ∑ n b i , j ⋅ ( r j , i − γ ⋅ r j , i + 1 ) − f i = 1 ∑ n d i ≤ 1 ∀ 1 ≤ j < i ≤ n : m i ≤ r j , i + d j ∀ 1 ≤ j ≤ i ≤ n : r j , i ≤ m i + d j ∀ 1 ≤ j ≤ i ≤ n : r j , i ≥ r j , i + 1 ∀ 1 ≤ i < n : m i ≥ m i + 1 ∀ 1 ≤ j < i ≤ n : r j , i − γ ⋅ d j ≤ γ i , j ∀ 1 ≤ i ≤ j ≤ n : r i , i − γ ⋅ d j ≤ β i , j ∀ 1 ≤ i ≤ n : j = 1 ∑ i − 1 γ i , j + j = i ∑ n β i , j ≤ f ∀ 1 ≤ i , j ≤ n + 1 : r j , i , d j , m i , β i , j , γ i , j , f ≥ 0 ( ρ : Limit on distances ) ( s i , j : Definition of m i ) ( t i , j : Metric constraint ) ( y i , j : Monotonicity of r j , i ) ( y i ′ : Monotonicity of m i ) ( g i , j a : Bidding linearization ) ( g i , j b : Bidding linearization ) ( g ^ i : No overbidding )
Lemma B.2. The result from the factor-revealing program defined in Definition B.1 , defined as a maximization over a family of primal LPs, is an upperbound to the one presented in Definition 4.1 for the specific bidding function β γ ( α , d ) = [ α − γ ⋅ d ] + \beta_\gamma(\alpha,d)=[\alpha-\gamma\cdot d]^+ β γ ( α , d ) = [ α − γ ⋅ d ] + .
Proof. We only prove a one-way relation: every optimal solution of Definition 4.1 extends to a feasible solution with no smaller objective value to Definition B.1 for one specific linear program above.
Take an optimal solution to the original program and name its variables r j , i ′ r'_{j,i} r j , i ′ , d j ′ d'_j d j ′ and f ′ f' f ′ . Let us now create the variables r j , i r_{j,i} r j , i , d j d_j d j and f f f by copying the previous ones, except that for r j , n + 1 r_{j,n+1} r j , n + 1 we set it to 0 0 0 for all j j j .
Second, let us choose the specific linear program that we will be working with. Let us take b i , j = 1 [ r j , i − γ ⋅ r j , i + 1 ≥ 0 ] b_{i,j}=\mathbb{1}[r_{j,i}-\gamma\cdot r_{j,i+1}\ge0] b i , j = 1 [ r j , i − γ ⋅ r j , i + 1 ≥ 0 ] for i < n i<n i < n , and let us take b n , j = 1 b_{n,j}=1 b n , j = 1 for all j j j . The expression for the new objective terms with i < n i<n i < n become:
b i , j ⋅ ( r j , i − γ ⋅ r j , i + 1 ) = 1 [ r j , i − γ ⋅ r j , i + 1 ≥ 0 ] ⋅ ( r j , i − γ ⋅ r j , i + 1 ) = [ r j , i − γ ⋅ r j , i + 1 ] + = β γ ( r j , i , r j , i + 1 ) b_{i,j}\cdot(r_{j,i}-\gamma\cdot r_{j,i+1})=\mathbb{1}[r_{j,i}-\gamma\cdot r_{j,i+1}\ge0]\cdot(r_{j,i}-\gamma\cdot r_{j,i+1})
=[r_{j,i}-\gamma\cdot r_{j,i+1}]^+=\beta_\gamma(r_{j,i},r_{j,i+1}) b i , j ⋅ ( r j , i − γ ⋅ r j , i + 1 ) = 1 [ r j , i − γ ⋅ r j , i + 1 ≥ 0 ] ⋅ ( r j , i − γ ⋅ r j , i + 1 ) = [ r j , i − γ ⋅ r j , i + 1 ] + = β γ ( r j , i , r j , i + 1 ) which makes the objective function equal to:
∑ j = 1 n ( ∑ i = j n − 1 β γ ( r j , i , r j , i + 1 ) + β γ ( r j , n , 0 ) ) − f \sum_{j=1}^{n}\left(\sum_{i=j}^{n-1}\beta_\gamma(r_{j,i},r_{j,i+1})+\beta_\gamma(r_{j,n},0)\right)-f j = 1 ∑ n ( i = j ∑ n − 1 β γ ( r j , i , r j , i + 1 ) + β γ ( r j , n , 0 ) ) − f Knowing that r j , i = r j , i ′ r_{j,i}=r'_{j,i} r j , i = r j , i ′ for all the r j , i r_{j,i} r j , i shown in this equation and that f ′ = f f'=f f ′ = f , subtracting the objective function from the program in Definition 4.1 on this equation gives:
∑ j = 1 n ( β γ ( r j , n , 0 ) − β γ ( r j , n , r j , n + 1 ′ ) − r j , n + 1 ′ ) = ∑ j = 1 n ( r j , n − [ r j , n − γ ⋅ r j , n + 1 ′ ] + + r j , n + 1 ′ ) ≥ 0 \sum_{j=1}^{n}\left(\beta_\gamma(r_{j,n},0)-\beta_\gamma(r_{j,n},r'_{j,n+1})-r'_{j,n+1}\right)=\sum_{j=1}^{n}\left(r_{j,n}-[r_{j,n}-\gamma\cdot r'_{j,n+1}]^++r'_{j,n+1}\right)\ge0 j = 1 ∑ n ( β γ ( r j , n , 0 ) − β γ ( r j , n , r j , n + 1 ′ ) − r j , n + 1 ′ ) = j = 1 ∑ n ( r j , n − [ r j , n − γ ⋅ r j , n + 1 ′ ] + + r j , n + 1 ′ ) ≥ 0 where we have substituted the expression of β γ ( α , d ) = [ α − γ d ] + \beta_\gamma(\alpha,d)=[\alpha-\gamma d]^+ β γ ( α , d ) = [ α − γ d ] + and we have used that [ α − γ d ] + + d ≤ α [\alpha-\gamma d]^++d\le\alpha [ α − γ d ] + + d ≤ α for γ ≥ 1 \gamma\ge1 γ ≥ 1 and 0 ≤ d ≤ α 0\le d\le\alpha 0 ≤ d ≤ α . Thus, with these variables we get that the objective value for the program in Definition B.1 is an upper bound on the original one found in Definition 4.1 .
Third, for m i m_i m i , we set them as:
m i = min 1 ≤ j < i ( r j , i + d j ) for i ≥ 2. m_i=\min_{1\le j<i}(r_{j,i}+d_j)\qquad\text{for }i\ge2. m i = 1 ≤ j < i min ( r j , i + d j ) for i ≥ 2. Indeed, the inequalities m i ≤ r j , i + d j m_i\le r_{j,i}+d_j m i ≤ r j , i + d j are immediate from this assignment for j < i j<i j < i , and r j , i ≤ m i + d j r_{j,i}\le m_i+d_j r j , i ≤ m i + d j is also direct since we had r j , i ≤ r k , i + d k + d j r_{j,i}\le r_{k,i}+d_k+d_j r j , i ≤ r k , i + d k + d j for all earlier k < i k<i k < i . For the monotonicity constraints m i ≥ m i + 1 m_i\ge m_{i+1} m i ≥ m i + 1 with i ≥ 2 i\ge2 i ≥ 2 , if ℓ \ell ℓ is the index that attains the minimum at time i i i , then the following holds m i + 1 ≤ r ℓ , i + 1 + d ℓ ≤ r ℓ , i + d ℓ = m i m_{i+1}\le r_{\ell,i+1}+d_\ell\le r_{\ell,i}+d_\ell=m_i m i + 1 ≤ r ℓ , i + 1 + d ℓ ≤ r ℓ , i + d ℓ = m i . Finally, m 1 m_1 m 1 has no upper-bound constraint, so we choose it large enough to satisfy r 1 , 1 ≤ m 1 + d 1 r_{1,1}\le m_1+d_1 r 1 , 1 ≤ m 1 + d 1 and, when n ≥ 2 n\ge2 n ≥ 2 , m 1 ≥ m 2 m_1\ge m_2 m 1 ≥ m 2 .
Finally, we set the values for γ i , j \gamma_{i,j} γ i , j and β i , j \beta_{i,j} β i , j . These will be γ i , j = [ r j , i − γ ⋅ d j ] + = β γ ( r j , i , d j ) \gamma_{i,j} = [r_{j,i} - \gamma\cdot d_j]^+ = \beta_\gamma(r_{j,i},d_j) γ i , j = [ r j , i − γ ⋅ d j ] + = β γ ( r j , i , d j ) and β i , j = [ r i , i − γ ⋅ d j ] + = β γ ( r i , i , d j ) \beta_{i,j} = [r_{i,i} - \gamma\cdot d_j]^+ = \beta_\gamma(r_{i,i},d_j) β i , j = [ r i , i − γ ⋅ d j ] + = β γ ( r i , i , d j ) , which clearly satisfy the g i , j a g^a_{i,j} g i , j a and g i , j b g^b_{i,j} g i , j b constraints as well as the g ^ i \hat{g}_i g ^ i because the original facility constraint 8 was satisfied. Thus, all ( g ) (g) ( g ) constraints are satisfied. Therefore the feasible region of the original program is contained in the feasible region of the relaxed program, so any upper bound on the relaxed program is also an upper bound on the original program.
However, the dual represented in Definition 4.5 is not the direct dual one gets from the Linear Programs in Definition B.1 , there are still some extra steps. Let us first take this direct dual of the inner program for any b i , j b_{i,j} b i , j , using the notation that is on the right of each inequality to refer to each constraint:
Definition B.3 (Dual of inner program). The linear dual of any inner program of the intermediate factor-revealing program is:
minimize ρ subject to: ∑ i = 1 n g ^ i ≤ 1 ( f ) ∀ 1 ≤ i , j ≤ n : g ^ i ≥ g i , j ( γ i , j , β i , j ) ∀ 1 ≤ j ≤ n : ∑ q = j + 1 n g j , q + ( g j , j + t j , j − s j , j ) − y j , j ≥ b j , j ( r j , j ) ∀ 1 ≤ j < i < n : y i − 1 , j + ( g i , j + t i , j − s i , j ) − y i , j ≥ b i , j − γ ⋅ b i − 1 , j ( r j , i ) ∀ 1 ≤ j < i = n : y n − 1 , j + ( g n , j + t n , j − s n , j ) ≥ b n , j − γ ⋅ b n − 1 , j ( r j , n ) i = 1 : ∑ j = 1 n s i , j − ∑ j = 1 n t i , j − y i ′ ≥ 0 ( m 1 ) ∀ 1 < i < n : y i − 1 ′ + ∑ j = 1 i s i , j − ∑ j = 1 i t i , j − y i ′ ≥ 0 ( m i ) 1 < i = n : y n − 1 ′ + ∑ j = 1 n s i , j − ∑ j = 1 n t i , j ≥ 0 ( m n ) ∀ 1 ≤ j ≤ n : ρ ≥ γ ⋅ ∑ i = 1 n g i , j + ∑ i = j n s i , j + ∑ i = j n t i , j ( d j ) ∀ 1 ≤ i ≤ n : s i , i = 0 (diagonal convention) ∀ 1 ≤ i , j ≤ n : g ^ i , g i , j , t i , j , s i , j , y i , j , y i ′ ≥ 0 (16) \begin{aligned}
&\textit{minimize}\quad\rho\\
&\textit{subject to:}\\
&\qquad\sum_{i=1}^{n} \hat{g}_i \le1 && (f)\\
&\qquad\forall\,1 \le i,j \le n:\quad\hat{g}_i \ge g_{i,j} && (\gamma_{i,j},\beta_{i,j})\\
&\qquad\forall\,1 \le j \le n:\quad\sum_{q=j+1}^{n} g_{j,q} + (g_{j,j}+t_{j,j}-s_{j,j})-y_{j,j} \ge b_{j,j} && (r_{j,j})\\
&\qquad\forall\,1 \le j < i < n:\quad y_{i-1,j}+(g_{i,j}+t_{i,j}-s_{i,j})-y_{i,j} \ge b_{i,j}-\gamma\cdot b_{i-1,j} && (r_{j,i})\\
&\qquad\forall\,1 \le j < i=n:\quad y_{n-1,j}+(g_{n,j}+t_{n,j}-s_{n,j}) \ge b_{n,j}-\gamma\cdot b_{n-1,j} && (r_{j,n})\\
&\qquad i=1:\quad\sum_{j=1}^{n}s_{i,j}-\sum_{j=1}^{n}t_{i,j}-y'_i \ge0 && (m_1)\\
&\qquad\forall\,1<i<n:\quad y'_{i-1}+\sum_{j=1}^{i}s_{i,j}-\sum_{j=1}^{i}t_{i,j}-y'_i \ge0 && (m_i)\\
&\qquad1<i=n:\quad y'_{n-1}+\sum_{j=1}^{n}s_{i,j}-\sum_{j=1}^{n}t_{i,j} \ge0 && (m_n)\\
&\qquad\forall\,1 \le j \le n:\quad\rho\ge\gamma\cdot\sum_{i=1}^{n}g_{i,j}+\sum_{i=j}^{n}s_{i,j}+\sum_{i=j}^{n}t_{i,j} && (d_j)\\
&\qquad\forall\,1 \le i \le n:\quad s_{i,i}=0 && \text{(diagonal convention)}\\
&\qquad\forall\,1 \le i,j \le n:\quad\hat{g}_i,g_{i,j},t_{i,j},s_{i,j},y_{i,j},y'_i \ge0 \tag*{(16)}
\end{aligned} minimize ρ subject to: i = 1 ∑ n g ^ i ≤ 1 ∀ 1 ≤ i , j ≤ n : g ^ i ≥ g i , j ∀ 1 ≤ j ≤ n : q = j + 1 ∑ n g j , q + ( g j , j + t j , j − s j , j ) − y j , j ≥ b j , j ∀ 1 ≤ j < i < n : y i − 1 , j + ( g i , j + t i , j − s i , j ) − y i , j ≥ b i , j − γ ⋅ b i − 1 , j ∀ 1 ≤ j < i = n : y n − 1 , j + ( g n , j + t n , j − s n , j ) ≥ b n , j − γ ⋅ b n − 1 , j i = 1 : j = 1 ∑ n s i , j − j = 1 ∑ n t i , j − y i ′ ≥ 0 ∀ 1 < i < n : y i − 1 ′ + j = 1 ∑ i s i , j − j = 1 ∑ i t i , j − y i ′ ≥ 0 1 < i = n : y n − 1 ′ + j = 1 ∑ n s i , j − j = 1 ∑ n t i , j ≥ 0 ∀ 1 ≤ j ≤ n : ρ ≥ γ ⋅ i = 1 ∑ n g i , j + i = j ∑ n s i , j + i = j ∑ n t i , j ∀ 1 ≤ i ≤ n : s i , i = 0 ∀ 1 ≤ i , j ≤ n : g ^ i , g i , j , t i , j , s i , j , y i , j , y i ′ ≥ 0 ( f ) ( γ i , j , β i , j ) ( r j , j ) ( r j , i ) ( r j , n ) ( m 1 ) ( m i ) ( m n ) ( d j ) (diagonal convention) (16) The variables s i , i s_{i,i} s i , i are dummy variables fixed to zero so that the summation notation matches Definition 4.5. We have also abused the notation and called both g i , j a g^a_{i,j} g i , j a and g i , j b g^b_{i,j} g i , j b as g i , j g_{i,j} g i , j , which is valid because the indices never overlap.
Now let us prove the following lemma:
Lemma B.4. The inner program of the factor-revealing dual defined in Definition 4.5 and the linear program in Definition B.3 are equivalent.
Proof. The main difference between the two programs is that in the second there are variables y i , j y_{i,j} y i , j and y i ′ y'_i y i ′ . To move to the other representation in Definition 4.5, we will interpret these variables as slack ones, which carry unused slack from ( r j , i ) (r_{j,i}) ( r j , i ) to the next timestep ( r j , i + 1 ) (r_{j,i+1}) ( r j , i + 1 ) for the case of y i , j y_{i,j} y i , j or from ( m i ) (m_i) ( m i ) to ( m i + 1 ) (m_{i+1}) ( m i + 1 ) for y i ′ y'_i y i ′ . We now prove that a feasible solution for the one in Definition 4.5 implies a feasible solution with the same cost in Definition B.3 , and the reverse as well.
First, given a feasible solution ( ρ , g , t , s ) (\rho,g,t,s) ( ρ , g , t , s ) for Definition 4.5, we construct a feasible solution for the direct dual in Definition B.3 by keeping the same variables and explicitly defining the slack variables y i , j y_{i,j} y i , j and y i ′ y'_i y i ′ as follows:
y i , j = ∑ q = j + 1 n g j , q + ∑ p = j i ( g p , j + t p , j − s p , j ) − b i , j + ϵ ∑ p = j i − 1 b p , j y_{i,j}=\sum_{q=j+1}^{n}g_{j,q}+\sum_{p=j}^{i}(g_{p,j}+t_{p,j}-s_{p,j})-b_{i,j}+\epsilon\sum_{p=j}^{i-1}b_{p,j} y i , j = q = j + 1 ∑ n g j , q + p = j ∑ i ( g p , j + t p , j − s p , j ) − b i , j + ϵ p = j ∑ i − 1 b p , j
y i ′ = ∑ p = 1 i ∑ j = 1 p s p , j − ∑ p = 1 i ∑ j = 1 p t p , j y'_i = \sum_{p=1}^{i}\sum_{j=1}^{p} s_{p,j} - \sum_{p=1}^{i}\sum_{j=1}^{p} t_{p,j} y i ′ = p = 1 ∑ i j = 1 ∑ p s p , j − p = 1 ∑ i j = 1 ∑ p t p , j
By the ( r j , i ) (r_{j,i}) ( r j , i ) and ( m i ) (m_i) ( m i ) constraints of Definition 4.5, it trivially holds that y i , j ≥ 0 y_{i,j} \ge0 y i , j ≥ 0 for all $1 \le j \le i \le na n d and an d y'_i \ge 0f o r a l l $ 1 ≤ i ≤ n for all \$1 \le i \le n f or a l l $1 ≤ i ≤ n . We now verify that these definitions satisfy the constraints of Definition B.3 .
For i = j i=j i = j , substituting y j , j y_{j,j} y j , j in the ( r j , j ) (r_{j,j}) ( r j , j ) constraint gives:
∑ q = j + 1 n g j , q + ( g j , j + t j , j − s j , j ) − y j , j = ∑ q = j + 1 n g j , q + ( g j , j + t j , j − s j , j ) − ( ∑ q = j + 1 n g j , q + ( g j , j + t j , j − s j , j ) − b j , j ) = b j , j \begin{aligned}
\sum_{q=j+1}^{n} g_{j,q} + (g_{j,j} + t_{j,j} - s_{j,j}) - y_{j,j}
&= \sum_{q=j+1}^{n} g_{j,q} + (g_{j,j} + t_{j,j} - s_{j,j}) \\
&\quad- \left(\sum_{q=j+1}^{n} g_{j,q} + (g_{j,j} + t_{j,j} - s_{j,j}) - b_{j,j}\right) \\
&= b_{j,j}
\end{aligned} q = j + 1 ∑ n g j , q + ( g j , j + t j , j − s j , j ) − y j , j = q = j + 1 ∑ n g j , q + ( g j , j + t j , j − s j , j ) − ( q = j + 1 ∑ n g j , q + ( g j , j + t j , j − s j , j ) − b j , j ) = b j , j
which satisfies it with equality. For i > j i>j i > j , the difference y i − 1 , j − y i , j y_{i-1,j}-y_{i,j} y i − 1 , j − y i , j algebraically evaluates to:
y i − 1 , j − y i , j = − ( g i , j + t i , j − s i , j ) + b i , j − b i − 1 , j − ε b i − 1 , j = − ( g i , j + t i , j − s i , j ) + b i , j − γ ⋅ b i − 1 , j \begin{aligned}
y_{i-1,j} - y_{i,j}
&= -(g_{i,j} + t_{i,j} - s_{i,j}) + b_{i,j} - b_{i-1,j} - \varepsilon b_{i-1,j} \\
&= -(g_{i,j} + t_{i,j} - s_{i,j}) + b_{i,j} - \gamma\cdot b_{i-1,j}
\end{aligned} y i − 1 , j − y i , j = − ( g i , j + t i , j − s i , j ) + b i , j − b i − 1 , j − ε b i − 1 , j = − ( g i , j + t i , j − s i , j ) + b i , j − γ ⋅ b i − 1 , j
Rearranging this expression gives:
y i − 1 , j + ( g i , j + t i , j − s i , j ) − y i , j = b i , j − γ ⋅ b i − 1 , j y_{i-1,j} + (g_{i,j} + t_{i,j} - s_{i,j}) - y_{i,j} = b_{i,j} - \gamma\cdot b_{i-1,j} y i − 1 , j + ( g i , j + t i , j − s i , j ) − y i , j = b i , j − γ ⋅ b i − 1 , j
This also fulfills the ( r j , i ) (r_{j,i}) ( r j , i ) constraint with equality. For ( r j , n ) (r_{j,n}) ( r j , n ) , let us substitute the value of y n − 1 , j y_{n-1,j} y n − 1 , j :
b n , j − γ b n − 1 , j ≤ y n − 1 , j + ( g n , j + t n , j − s n , j ) = ∑ q = j + 1 n g j , q + ∑ p = j n ( g p , j + t p , j − s p , j ) − b n − 1 , j + ε ∑ p = j n − 2 b p , j \begin{aligned}
b_{n,j} - \gamma b_{n-1,j}
&\le y_{n-1,j} + (g_{n,j} + t_{n,j} - s_{n,j}) \\
&= \sum_{q=j+1}^{n} g_{j,q} + \sum_{p=j}^{n} (g_{p,j} + t_{p,j} - s_{p,j}) - b_{n-1,j} + \varepsilon\sum_{p=j}^{n-2} b_{p,j}
\end{aligned} b n , j − γ b n − 1 , j ≤ y n − 1 , j + ( g n , j + t n , j − s n , j ) = q = j + 1 ∑ n g j , q + p = j ∑ n ( g p , j + t p , j − s p , j ) − b n − 1 , j + ε p = j ∑ n − 2 b p , j
Rearranging this expression gives:
b n , j − ε ∑ p = j n − 1 b p , j ≤ ∑ q = j + 1 n g j , q + ∑ p = j n ( g p , j + t p , j − s p , j ) b_{n,j} - \varepsilon\sum_{p=j}^{n-1} b_{p,j} \le\sum_{q=j+1}^{n} g_{j,q} + \sum_{p=j}^{n} (g_{p,j} + t_{p,j} - s_{p,j}) b n , j − ε p = j ∑ n − 1 b p , j ≤ q = j + 1 ∑ n g j , q + p = j ∑ n ( g p , j + t p , j − s p , j )
which is satisfied as the feasibility of the first program because of its ( r j , i ) (r_{j,i}) ( r j , i ) constraint. Similarly, we evaluate the ( m i ) (m_i) ( m i ) constraints using the variables y i ′ y'_i y i ′ . For i = 1 i=1 i = 1 :
s 1 , 1 − t 1 , 1 − y 1 ′ = s 1 , 1 − t 1 , 1 − ( s 1 , 1 − t 1 , 1 ) = 0 s_{1,1} - t_{1,1} - y'_1 = s_{1,1} - t_{1,1} - (s_{1,1} - t_{1,1}) = 0 s 1 , 1 − t 1 , 1 − y 1 ′ = s 1 , 1 − t 1 , 1 − ( s 1 , 1 − t 1 , 1 ) = 0
satisfying the ( m 1 ) (m_1) ( m 1 ) constraint. For 1 < i ≤ n 1 < i \le n 1 < i ≤ n :
y i − 1 ′ − y i ′ = ∑ p = 1 i − 1 ∑ j = 1 p ( s p , j − t p , j ) − ∑ p = 1 i ∑ j = 1 p ( s p , j − t p , j ) = − ∑ j = 1 i ( s i , j − t i , j ) \begin{aligned}
y'_{i-1} - y'_i
&= \sum_{p=1}^{i-1}\sum_{j=1}^{p}(s_{p,j} - t_{p,j}) - \sum_{p=1}^{i}\sum_{j=1}^{p}(s_{p,j} - t_{p,j}) \\
&= -\sum_{j=1}^{i}(s_{i,j} - t_{i,j})
\end{aligned} y i − 1 ′ − y i ′ = p = 1 ∑ i − 1 j = 1 ∑ p ( s p , j − t p , j ) − p = 1 ∑ i j = 1 ∑ p ( s p , j − t p , j ) = − j = 1 ∑ i ( s i , j − t i , j )
Thus, y i − 1 ′ + ∑ j = 1 i ( s i , j − t i , j ) − y i ′ = 0 y'_{i-1} + \sum_{j=1}^{i}(s_{i,j} - t_{i,j}) - y'_i = 0 y i − 1 ′ + ∑ j = 1 i ( s i , j − t i , j ) − y i ′ = 0 , satisfying the ( m i ) (m_i) ( m i ) constraint with equality. For the final ( m n ) (m_n) ( m n ) constraint, we have y n − 1 ′ + ∑ j = 1 n ( s n , j − t n , j ) = ∑ p = 1 n ∑ j = 1 p ( s p , j − t p , j ) y'_{n-1} + \sum_{j=1}^{n}(s_{n,j} - t_{n,j}) = \sum_{p=1}^{n}\sum_{j=1}^{p}(s_{p,j} - t_{p,j}) y n − 1 ′ + ∑ j = 1 n ( s n , j − t n , j ) = ∑ p = 1 n ∑ j = 1 p ( s p , j − t p , j ) . Since the feasibility of the first program ensures that this quantity is at least 0 0 0 because of its ( m n ) (m_n) ( m n ) constraint, the inequality y n − 1 ′ + ∑ j = 1 n ( s n , j − t n , j ) ≥ 0 y'_{n-1} + \sum_{j=1}^{n}(s_{n,j} - t_{n,j}) \ge0 y n − 1 ′ + ∑ j = 1 n ( s n , j − t n , j ) ≥ 0 naturally holds. All other constraints that do not involve y i , j y_{i,j} y i , j and y i ′ y'_i y i ′ remain trivially satisfied as they are identical across both programs.
Conversely, suppose we have a feasible solution for the direct dual in Definition B.3 . We show that this implies feasibility for Definition 4.5 by telescoping the inequalities. For the ( r j , i ) (r_{j,i}) ( r j , i ) constraints, the direct dual gives:
∑ q = j + 1 n g j , q + ( g j , j + t j , j − s j , j ) − y j , j ≥ b j , j \sum_{q=j+1}^{n} g_{j,q} + (g_{j,j} + t_{j,j} - s_{j,j}) - y_{j,j} \ge b_{j,j} q = j + 1 ∑ n g j , q + ( g j , j + t j , j − s j , j ) − y j , j ≥ b j , j
y k − 1 , j + ( g k , j + t k , j − s k , j ) − y k , j ≥ b k , j − ( 1 + ε ) b k − 1 , j for k > j y_{k-1,j}+(g_{k,j}+t_{k,j}-s_{k,j})-y_{k,j}\ge b_{k,j}-(1+\varepsilon)b_{k-1,j}\qquad\text{for }k>j y k − 1 , j + ( g k , j + t k , j − s k , j ) − y k , j ≥ b k , j − ( 1 + ε ) b k − 1 , j for k > j
For i < n i<n i < n , summing these inequalities from k = j k=j k = j to i i i , the slack variables y k , j y_{k,j} y k , j telescope perfectly, and we obtain:
∑ q = j + 1 n g j , q + ∑ k = j i ( g k , j + t k , j − s k , j ) − y i , j ≥ b j , j + ∑ k = j + 1 i ( b k , j − ( 1 + ε ) b k − 1 , j ) = b i , j − ε ∑ k = j i − 1 b k , j \begin{aligned}
\sum_{q=j+1}^{n}g_{j,q}+\sum_{k=j}^{i}(g_{k,j}+t_{k,j}-s_{k,j})-y_{i,j}\ge b_{j,j}+\sum_{k=j+1}^{i}(b_{k,j}-(1+\varepsilon)b_{k-1,j}) \\
&=b_{i,j}-\varepsilon\sum_{k=j}^{i-1}b_{k,j}
\end{aligned} q = j + 1 ∑ n g j , q + k = j ∑ i ( g k , j + t k , j − s k , j ) − y i , j ≥ b j , j + k = j + 1 ∑ i ( b k , j − ( 1 + ε ) b k − 1 , j ) = b i , j − ε k = j ∑ i − 1 b k , j
Since y i , j ≥ 0 y_{i,j}\ge0 y i , j ≥ 0 , we can drop − y i , j -y_{i,j} − y i , j from the left side and get:
∑ q = j + 1 n g j , q + ∑ k = j i ( g k , j + t k , j − s k , j ) ≥ b i , j − ε ∑ k = j i − 1 b k , j \sum_{q=j+1}^{n}g_{j,q}+\sum_{k=j}^{i}(g_{k,j}+t_{k,j}-s_{k,j})\ge b_{i,j}-\varepsilon\sum_{k=j}^{i-1}b_{k,j} q = j + 1 ∑ n g j , q + k = j ∑ i ( g k , j + t k , j − s k , j ) ≥ b i , j − ε k = j ∑ i − 1 b k , j
which is exactly the ( r j , i ) (r_{j,i}) ( r j , i ) constraint in Definition 4.5. For i = n i=n i = n , we sum the constraints ( r j , j ) (r_{j,j}) ( r j , j ) , ( r j , j + 1 ) , … , ( r j , n − 1 ) (r_{j,j+1}),\ldots,(r_{j,n-1}) ( r j , j + 1 ) , … , ( r j , n − 1 ) together with the last constraint ( r j , n ) (r_{j,n}) ( r j , n ) . The y k , j y_{k,j} y k , j variables still telescope, but no final slack remains, giving directly
∑ q = j + 1 n g j , q + ∑ k = j n ( g k , j + t k , j − s k , j ) ≥ b n , j − ε ∑ k = j n − 1 b k , j \sum_{q=j+1}^{n}g_{j,q}+\sum_{k=j}^{n}(g_{k,j}+t_{k,j}-s_{k,j})\ge b_{n,j}-\varepsilon\sum_{k=j}^{n-1}b_{k,j} q = j + 1 ∑ n g j , q + k = j ∑ n ( g k , j + t k , j − s k , j ) ≥ b n , j − ε k = j ∑ n − 1 b k , j
which is the desired constraint for i = n i=n i = n .
Applying the same telescoping sum to the ( m k ) (m_k) ( m k ) constraints from k = 1 k=1 k = 1 to i i i :
( s 1 , 1 − t 1 , 1 ) − y 1 ′ ≥ 0 (s_{1,1}-t_{1,1})-y'_1\ge0 ( s 1 , 1 − t 1 , 1 ) − y 1 ′ ≥ 0
y k − 1 ′ + ∑ j = 1 k ( s k , j − t k , j ) − y k ′ ≥ 0 for 1 < k ≤ i y'_{k-1}+\sum_{j=1}^{k}(s_{k,j}-t_{k,j})-y'_k\ge0\qquad\text{for }1<k\le i y k − 1 ′ + j = 1 ∑ k ( s k , j − t k , j ) − y k ′ ≥ 0 for 1 < k ≤ i
For i < n i<n i < n , summing these yields:
∑ p = 1 i ∑ j = 1 p ( s p , j − t p , j ) − y i ′ ≥ 0 \sum_{p=1}^{i}\sum_{j=1}^{p}(s_{p,j}-t_{p,j})-y'_i\ge0 p = 1 ∑ i j = 1 ∑ p ( s p , j − t p , j ) − y i ′ ≥ 0
Since y i ′ ≥ 0 y'_i\ge0 y i ′ ≥ 0 , it follows that ∑ p = 1 i ∑ j = 1 p ( s p , j − t p , j ) ≥ 0 \sum_{p=1}^{i}\sum_{j=1}^{p}(s_{p,j}-t_{p,j})\ge0 ∑ p = 1 i ∑ j = 1 p ( s p , j − t p , j ) ≥ 0 , which is the ( m i ) (m_i) ( m i ) constraint in Definition 4.5. For i = n i=n i = n , summing ( m 1 ) , … , ( m n − 1 ) (m_1),\ldots,(m_{n-1}) ( m 1 ) , … , ( m n − 1 ) together with the last constraint ( m n ) (m_n) ( m n ) gives directly
∑ p = 1 n ∑ j = 1 p ( s p , j − t p , j ) ≥ 0 , \sum_{p=1}^{n}\sum_{j=1}^{p}(s_{p,j}-t_{p,j})\ge0, p = 1 ∑ n j = 1 ∑ p ( s p , j − t p , j ) ≥ 0 ,
which is the last ( m i ) (m_i) ( m i ) constraint. This concludes the proof that the two representations are equivalent. We have therefore shown that, for every fixed choice of the binary variables b i , j b_{i,j} b i , j , the formulation in Definition 4.5 and B.3 have the same optimum value.
With this, the proof becomes direct, as it is just an application of strong duality.
Proof of Lemma 4.6. For every fixed choice of the binary variables b i , j b_{i,j} b i , j , the linear program in Definition B.3 is exactly the LP dual of the corresponding primal linear program in Definition B.1 by definition. Hence, by strong duality, these two inner programs have the same optimum value.
By now using Lemma B.4 , we know that the inner program in Definition 4.5 and the one in Definition B.1 for one same fixed set of b i , j b_{i,j} b i , j are equivalent. Taking the outer maximum over all feasible choices of b i , j ∈ { 0 , 1 } b_{i,j}\in\{0,1\} b i , j ∈ { 0 , 1 } preserves this equality, so the two overall formulations are equivalent.
Thus, now applying Lemma B.2 , we get to our desired result that the solution of the program from Definition B.3 is an upper-bound to the program from Definition 4.1 , which proves our lemma.
Dual Fitting Deferred Proofs
This section collects the technical proofs deferred from § 6 . We first derive the formulas for the credit of each client, separating the cases i ≥ f j i \ge f_j i ≥ f j and i < f j i < f_j i < f j ; we then prove the corresponding expressions for total generation and transfer, which are combined to obtain the budget inequalities required in the proof of Lemma 6.3 . Throughout, we use the same case distinction as in the main text: we analyze clients in groups A A A , B B B , C C C , and D D D separately, and handle fractional memberships by writing them as convex combinations of the integral cases. At the end, there are the rest of the remaining proofs that were deferred.
Credit calculation for i ≥ f j i \ge f_j i ≥ f j . Let us restate the definition of credit, and then prove various lemmas about it.
Definition 6.24. The amount of credit a client j j j has at iteration i i i for j ≤ i j \le i j ≤ i is:
credit i , j = ∑ j ′ = j + 1 n g j , j ′ + ∑ i ′ = j i ( g i ′ , j + t i ′ , j − s ˉ i ′ , j ) . \operatorname{credit}_{i,j}=\sum_{j'=j+1}^{n}g_{j,j'}+\sum_{i'=j}^{i}(g_{i',j}+t_{i',j}-\bar{s}_{i',j}). credit i , j = j ′ = j + 1 ∑ n g j , j ′ + i ′ = j ∑ i ( g i ′ , j + t i ′ , j − s ˉ i ′ , j ) .
Note that this is the left-hand side of the ( r j , i ) (r_{j,i}) ( r j , i ) constraint.
Lemma C.1. If client j j j belongs integrally to group A A A , then for i ≥ f j i \ge f_j i ≥ f j
credit i , j = 1 − ∑ i ′ = f j + 1 i δ i ′ , j . \operatorname{credit}_{i,j}=1-\sum_{i'=f_j+1}^{i}\delta_{i',j}. credit i , j = 1 − i ′ = f j + 1 ∑ i δ i ′ , j .
Proof. Because j ∈ A j \in A j ∈ A , we have j < t 1 j < t_1 j < t 1 by how the memberships are assigned in Equation (10) . Also, δ j , j ′ = 0 \delta_{j,j'}=0 δ j , j ′ = 0 for every j ′ > j j' > j j ′ > j , so every later A / B / C A/B/C A / B / C -part contributes g ^ j \hat{g}_j g ^ j to the initial term, while every later D D D -part contributes g ^ j ⋅ ( 1 − ε τ χ j ′ ) . \hat{g}_j\cdot(1-\frac{\varepsilon}{\tau}\chi_{j'}). g ^ j ⋅ ( 1 − τ ε χ j ′ ) . Hence
∑ j ′ = j + 1 n g j , j ′ = ( n − j − ε τ ⋅ ∑ j ′ = j + 1 n μ j ′ D ⋅ χ j ′ ) ⋅ g ^ j = ( n − j − ε τ ⋅ z ) ⋅ g ^ j = 1 − [ θ − R f j ] + . \sum_{j'=j+1}^{n}g_{j,j'}=\left(n-j-\frac{\varepsilon}{\tau}\cdot\sum_{j'=j+1}^{n}\mu_{j'}^{D}\cdot\chi_{j'}\right)\cdot\hat{g}_j=(n-j-\frac{\varepsilon}{\tau}\cdot z)\cdot\hat{g}_j=1-[\theta-R_{f_j}]^{+}. j ′ = j + 1 ∑ n g j , j ′ = n − j − τ ε ⋅ j ′ = j + 1 ∑ n μ j ′ D ⋅ χ j ′ ⋅ g ^ j = ( n − j − τ ε ⋅ z ) ⋅ g ^ j = 1 − [ θ − R f j ] + .
where z z z appears because z = ∑ j ′ = t 2 + 1 n χ j ′ μ j ′ D z=\sum_{j'=t_2+1}^{n}\chi_{j'}\mu_{j'}^{D} z = ∑ j ′ = t 2 + 1 n χ j ′ μ j ′ D and for j ′ ≤ t 2 j' \le t_2 j ′ ≤ t 2 we have χ j ′ = 0 \chi_{j'}=0 χ j ′ = 0 , thus having ∑ j ′ = j + 1 n μ j ′ D ⋅ χ j ′ = z \sum_{j'=j+1}^{n}\mu_{j'}^{D}\cdot\chi_{j'}=z ∑ j ′ = j + 1 n μ j ′ D ⋅ χ j ′ = z since j ≤ t 1 ≤ t 2 j \le t_1 \le t_2 j ≤ t 1 ≤ t 2 . Moreover,
∑ i ′ = j i g i ′ , j = ∑ i ′ = j i ( g ^ i ′ − δ i ′ , j ) = R j − 1 − R i − ∑ i ′ = f j + 1 i δ i ′ , j , \sum_{i'=j}^{i}g_{i',j}=\sum_{i'=j}^{i}(\hat{g}_{i'}-\delta_{i',j})=R_{j-1}-R_i-\sum_{i'=f_j+1}^{i}\delta_{i',j}, i ′ = j ∑ i g i ′ , j = i ′ = j ∑ i ( g ^ i ′ − δ i ′ , j ) = R j − 1 − R i − i ′ = f j + 1 ∑ i δ i ′ , j ,
∑ i ′ = j i t i ′ , j = 0 , ∑ i ′ = j i s ˉ i ′ , j = ∑ i ′ = j i ( g ^ i ′ − σ i ′ , j ) = R j − 1 − R i − [ θ − R f j ] + , \sum_{i'=j}^{i}t_{i',j}=0,\qquad\sum_{i'=j}^{i}\bar{s}_{i',j}=\sum_{i'=j}^{i}(\hat{g}_{i'}-\sigma_{i',j})=R_{j-1}-R_i-[\theta-R_{f_j}]^{+}, i ′ = j ∑ i t i ′ , j = 0 , i ′ = j ∑ i s ˉ i ′ , j = i ′ = j ∑ i ( g ^ i ′ − σ i ′ , j ) = R j − 1 − R i − [ θ − R f j ] + ,
because σ i ′ , j = 0 \sigma_{i',j}=0 σ i ′ , j = 0 for i ′ > f j i'>f_j i ′ > f j and ∑ i ′ = j f j σ i ′ , j = [ θ − R f j ] + \sum_{i'=j}^{f_j}\sigma_{i',j}=[\theta-R_{f_j}]^{+} ∑ i ′ = j f j σ i ′ , j = [ θ − R f j ] + . Substituting into the definition of credit i , j \operatorname{credit}_{i,j} credit i , j gives the claim. □
Lemma C.2. If client j j j belongs integrally to group B B B , then for i ≥ f j i \ge f_j i ≥ f j
credit i , j = 1 − 1 [ i > f j ] ⋅ ε . \operatorname{credit}_{i,j}=1-\mathbb{1}[i>f_j]\cdot\varepsilon. credit i , j = 1 − 1 [ i > f j ] ⋅ ε .
Proof. For an integral B B B -client we have that j ≥ t 1 j \ge t_1 j ≥ t 1 from the membership assignment in Equation (10) . At j = t 1 j=t_1 j = t 1 , we have g ^ t 1 A = 0 \hat{g}_{t_1}^{A}=0 g ^ t 1 A = 0 . Hence, for every j ′ > j j'>j j ′ > j we have g j , j ′ = g ^ j g_{j,j'}=\hat{g}_j g j , j ′ = g ^ j because they belong to B B B , C C C or D D D (since j ≥ t 1 j \ge t_1 j ≥ t 1 and t 1 t_1 t 1 is the boundary between A A A and B B B ); and thus
∑ j ′ = j + 1 n g j , j ′ = ( n − j ) ⋅ g ^ j = R j + τ , \sum_{j'=j+1}^{n}g_{j,j'}=(n-j)\cdot\hat{g}_j=R_j+\tau, j ′ = j + 1 ∑ n g j , j ′ = ( n − j ) ⋅ g ^ j = R j + τ ,
Also,
∑ i ′ = j i g i ′ , j = R j − 1 − R i , ∑ i ′ = j i t i ′ , j = [ 1 − R j − 1 − τ ] + . (17) \sum_{i'=j}^{i}g_{i',j}=R_{j-1}-R_i,\qquad\sum_{i'=j}^{i}t_{i',j}=[1-R_{j-1}-\tau]^{+}. \tag*{(17)} i ′ = j ∑ i g i ′ , j = R j − 1 − R i , i ′ = j ∑ i t i ′ , j = [ 1 − R j − 1 − τ ] + . (17)
Since an integral B B B -client satisfies R j − 1 ≤ τ ‾ R_{j-1} \le\overline{\tau} R j − 1 ≤ τ , the t t t -term is τ ‾ − R j − 1 \overline{\tau} - R_{j-1} τ − R j − 1 . Finally,
∑ i ′ = j i s i ′ , j ′ = { R j − R f j , i = f j , R j − R i + ε , i > f j . \sum_{i'=j}^{i} s'_{i',j} =
\begin{cases}
R_j - R_{f_j}, & i=f_j,\\
R_j - R_i + \varepsilon, & i>f_j.
\end{cases} i ′ = j ∑ i s i ′ , j ′ = { R j − R f j , R j − R i + ε , i = f j , i > f j .
Therefore, if i = f j i=f_j i = f j then
credit i , j = ( R j + τ ) + ( R j − 1 − R f j ) + ( τ ‾ − R j − 1 ) − ( R j − R f j ) = 1 , \operatorname{credit}_{i,j}=(R_j+\tau)+(R_{j-1}-R_{f_j})+(\overline{\tau}-R_{j-1})-(R_j-R_{f_j})=1, credit i , j = ( R j + τ ) + ( R j − 1 − R f j ) + ( τ − R j − 1 ) − ( R j − R f j ) = 1 ,
and if i > f j i>f_j i > f j then
credit i , j = ( R j + τ ) + ( R j − 1 − R i ) + ( τ ‾ − R j − 1 ) − ( R j − R i + ε ) = 1 − ε . \operatorname{credit}_{i,j}=(R_j+\tau)+(R_{j-1}-R_i)+(\overline{\tau}-R_{j-1})-(R_j-R_i+\varepsilon)=1-\varepsilon. credit i , j = ( R j + τ ) + ( R j − 1 − R i ) + ( τ − R j − 1 ) − ( R j − R i + ε ) = 1 − ε .
This is exactly the stated formula.
Lemma C.3. If client j j j belongs integrally to group C C C , then for i ≥ f j i \ge f_j i ≥ f j
credit i , j = 1 − 1 [ i > f j ] ⋅ ε . \operatorname{credit}_{i,j}=1-\mathbb{1}[i>f_j]\cdot\varepsilon. credit i , j = 1 − 1 [ i > f j ] ⋅ ε .
Proof. For a C C C -client we again have, through the same arguments as in the previous lemma, that for every j ′ > j j'>j j ′ > j we have g j , j ′ = g ^ j g_{j,j'}=\hat{g}_j g j , j ′ = g ^ j because they belong to C C C or D D D (since j > t 2 ≥ t 1 j>t_2\ge t_1 j > t 2 ≥ t 1 and t 2 t_2 t 2 is the boundary between B B B and C C C and t 1 t_1 t 1 between A A A and $B); and thus
∑ j ′ = j + 1 n g j , j ′ = ( n − j ) ⋅ g ^ j = R j + τ , ∑ i ′ = j i g i ′ , j = R j − 1 − R i . \sum_{j'=j+1}^{n} g_{j,j'}=(n-j)\cdot\hat{g}_j=R_j+\tau,\qquad
\sum_{i'=j}^{i} g_{i',j}=R_{j-1}-R_i. j ′ = j + 1 ∑ n g j , j ′ = ( n − j ) ⋅ g ^ j = R j + τ , i ′ = j ∑ i g i ′ , j = R j − 1 − R i .
Moreover,
∑ i ′ = j i t i ′ , j = 1 − R j − 1 − τ = τ ‾ − R j − 1 , \sum_{i'=j}^{i} t_{i',j}=1-R_{j-1}-\tau=\overline{\tau}-R_{j-1}, i ′ = j ∑ i t i ′ , j = 1 − R j − 1 − τ = τ − R j − 1 ,
and
∑ i ′ = j i s i ′ , j ′ = { R j − R f j , i = f j , R j − R i + ε , i > f j . \sum_{i'=j}^{i} s'_{i',j}=
\begin{cases}
R_j-R_{f_j}, & i=f_j,\\
R_j-R_i+\varepsilon, & i>f_j.
\end{cases} i ′ = j ∑ i s i ′ , j ′ = { R j − R f j , R j − R i + ε , i = f j , i > f j .
The same calculation as in the proof of Lemma C.2 gives credit i , j = 1 \operatorname{credit}_{i,j}=1 credit i , j = 1 for i = f j i=f_j i = f j and credit i , j = 1 − ε \operatorname{credit}_{i,j}=1-\varepsilon credit i , j = 1 − ε for i > f j i>f_j i > f j .
Lemma C.4. If client j j j belongs integrally to group D D D , then for i ≥ f j i \ge f_j i ≥ f j
credit i , j = 1. \operatorname{credit}_{i,j}=1. credit i , j = 1.
Proof. If j = t 3 ∗ = n j=t_3^*=n j = t 3 ∗ = n , then i = f j = n i=f_j=n i = f j = n , g n , n = g ^ n g_{n,n}=\hat{g}_n g n , n = g ^ n , and t n , n = 1 − g ^ n t_{n,n}=1-\hat{g}_n t n , n = 1 − g ^ n , so credit n , n = 1 \operatorname{credit}_{n,n}=1 credit n , n = 1 . Assume now that j ≠ t 3 ∗ = n j\ne t_3^*=n j = t 3 ∗ = n . Then j ∈ D j\in D j ∈ D implies g ^ j = 0 \hat{g}_j=0 g ^ j = 0 , hence ∑ j ′ = j + 1 n g j , j ′ = 0 \sum_{j'=j+1}^{n}g_{j,j'}=0 ∑ j ′ = j + 1 n g j , j ′ = 0 . Also, if j ≤ t 1 j\le t_1 j ≤ t 1 then χ j = 0 \chi_j=0 χ j = 0 , while if j > t 1 j>t_1 j > t 1 then the D D D -formula already gives g i ′ , j = q ^ i ′ g_{i',j}=\hat{q}_{i'} g i ′ , j = q ^ i ′ for all i ′ ≥ j i'\ge j i ′ ≥ j . Thus, in all cases,
∑ i ′ = j i g i ′ , j = R j − 1 − R i . \sum_{i'=j}^{i}g_{i',j}=R_{j-1}-R_i. i ′ = j ∑ i g i ′ , j = R j − 1 − R i .
Moreover, ∑ i ′ = j i s i ′ , j ′ = 0 \sum_{i'=j}^{i}s'_{i',j}=0 ∑ i ′ = j i s i ′ , j ′ = 0 and ∑ i ′ = j i t i ′ , j = 1 − R j − 1 \sum_{i'=j}^{i}t_{i',j}=1-R_{j-1} ∑ i ′ = j i t i ′ , j = 1 − R j − 1 . Finally, j ∈ D j\in D j ∈ D implies f j ≥ t 3 ∗ f_j\ge t_3^* f j ≥ t 3 ∗ , so for i ≥ f j i\ge f_j i ≥ f j we have R i = 0 R_i=0 R i = 0 . Therefore
credit i , j = 0 + ( R j − 1 − R i ) + ( 1 − R j − 1 ) = 1. \operatorname{credit}_{i,j}=0+(R_{j-1}-R_i)+(1-R_{j-1})=1. credit i , j = 0 + ( R j − 1 − R i ) + ( 1 − R j − 1 ) = 1.
Lemma C.5. If client j j j is fractionally assigned, then for every i ≥ f j i\ge f_j i ≥ f j we have
credit i , j = μ j A credit i , j A + μ j B credit i , j B + μ j C credit i , j C + μ j D credit i , j D ≥ 0 , \operatorname{credit}_{i,j}=\mu_j^A\operatorname{credit}_{i,j}^A+\mu_j^B\operatorname{credit}_{i,j}^B+\mu_j^C\operatorname{credit}_{i,j}^C+\mu_j^D\operatorname{credit}_{i,j}^D\ge0, credit i , j = μ j A credit i , j A + μ j B credit i , j B + μ j C credit i , j C + μ j D credit i , j D ≥ 0 ,
where credit i , j A \operatorname{credit}_{i,j}^A credit i , j A , credit i , j B \operatorname{credit}_{i,j}^B credit i , j B , credit i , j C \operatorname{credit}_{i,j}^C credit i , j C , and credit i , j D \operatorname{credit}_{i,j}^D credit i , j D are the contributions to the credit from groups A A A , B B B , C C C , and D D D as defined in Lemmas C.1, C.2, C.3, and C.4, respectively.
Proof. The integral cases are exactly from Lemmas C.1 to C.4. It remains to prove the formula for the fractional clients.
If j < t 1 j < t_1 j < t 1 , then μ j B = μ j C = 0 \mu_j^B = \mu_j^C = 0 μ j B = μ j C = 0 and μ j A + μ j D = 1 \mu_j^A + \mu_j^D = 1 μ j A + μ j D = 1 . Also,
∑ j ′ = j + 1 n g j , j ′ = ( n − j − ε τ z ) g ^ j = μ j A ( 1 − [ θ − R f j ] + ) , \sum_{j'=j+1}^{n} g_{j,j'} = \left(n-j-\frac{\varepsilon}{\tau}z\right)\widehat{g}_j = \mu_j^A\left(1-[\theta-R_{f_j}]^+\right), j ′ = j + 1 ∑ n g j , j ′ = ( n − j − τ ε z ) g j = μ j A ( 1 − [ θ − R f j ] + ) ,
and by Equation (11) the remaining term is the corresponding convex combination of the A A A - and D D D -contributions. Thus
credit i , j = μ j A credit i , j A + μ j D credit i , j D . \operatorname{credit}_{i,j}=\mu_j^A\operatorname{credit}_{i,j}^A+\mu_j^D\operatorname{credit}_{i,j}^D. credit i , j = μ j A credit i , j A + μ j D credit i , j D .
If t 1 < j ≤ t 2 t_1 < j \le t_2 t 1 < j ≤ t 2 , then μ j A = μ j C = 0 \mu_j^A = \mu_j^C = 0 μ j A = μ j C = 0 , μ j B + μ j D = 1 \mu_j^B + \mu_j^D = 1 μ j B + μ j D = 1 , and
∑ j ′ = j + 1 n g j , j ′ = ( n − j ) g ^ j = μ j B ( R j + τ ) , \sum_{j'=j+1}^{n} g_{j,j'}=(n-j)\widehat{g}_j=\mu_j^B(R_j+\tau), j ′ = j + 1 ∑ n g j , j ′ = ( n − j ) g j = μ j B ( R j + τ ) ,
so again
credit i , j = μ j B credit i , j B + μ j D credit i , j D . \operatorname{credit}_{i,j}=\mu_j^B\operatorname{credit}_{i,j}^B+\mu_j^D\operatorname{credit}_{i,j}^D. credit i , j = μ j B credit i , j B + μ j D credit i , j D .
If t 2 < j ≤ t 3 ∗ t_2 < j \le t_3^* t 2 < j ≤ t 3 ∗ , then μ j A = μ j B = 0 \mu_j^A = \mu_j^B = 0 μ j A = μ j B = 0 , μ j C + μ j D = 1 \mu_j^C + \mu_j^D = 1 μ j C + μ j D = 1 , and
∑ j ′ = j + 1 n g j , j ′ = ( n − j ) g ^ j = μ j C ( R j + τ ) , \sum_{j'=j+1}^{n} g_{j,j'}=(n-j)\widehat{g}_j=\mu_j^C(R_j+\tau), j ′ = j + 1 ∑ n g j , j ′ = ( n − j ) g j = μ j C ( R j + τ ) ,
which gives
credit i , j = μ j C credit i , j C + μ j D credit i , j D . \operatorname{credit}_{i,j}=\mu_j^C\operatorname{credit}_{i,j}^C+\mu_j^D\operatorname{credit}_{i,j}^D. credit i , j = μ j C credit i , j C + μ j D credit i , j D .
It remains to consider the boundary client j = t 1 j=t_1 j = t 1 . Here μ j C = 0 \mu_j^C=0 μ j C = 0 ,
μ j A = ( 1 − α ) ( 1 − μ j D ) , μ j B = α ( 1 − μ j D ) , g ^ j = g ^ j A + g ^ j B . \mu_j^A=(1-\alpha)(1-\mu_j^D),\qquad\mu_j^B=\alpha(1-\mu_j^D),\qquad\widehat{g}_j=\widehat{g}_j^A+\widehat{g}_j^B. μ j A = ( 1 − α ) ( 1 − μ j D ) , μ j B = α ( 1 − μ j D ) , g j = g j A + g j B .
We have i ≥ f j i\ge f_j i ≥ f j , so
∑ i ′ = j i g i ′ , j = R j − 1 − R i − μ j A ∑ i ′ = f j + 1 i δ i ′ , j , ∑ i ′ = j i t i ′ , j = μ j D ( 1 − R j − 1 ) , \sum_{i'=j}^{i}g_{i',j}=R_{j-1}-R_i-\mu_j^A\sum_{i'=f_j+1}^{i}\delta_{i',j},\qquad\sum_{i'=j}^{i}t_{i',j}=\mu_j^D(1-R_{j-1}), i ′ = j ∑ i g i ′ , j = R j − 1 − R i − μ j A i ′ = f j + 1 ∑ i δ i ′ , j , i ′ = j ∑ i t i ′ , j = μ j D ( 1 − R j − 1 ) ,
where we used that [ 1 − R j − 1 − τ ] + = 0 [1-R_{j-1}-\tau]^+=0 [ 1 − R j − 1 − τ ] + = 0 at j = t 1 j=t_1 j = t 1 . Moreover,
∑ i ′ = j i s i ′ , j = μ j A ( R j − 1 − R i − [ θ − R f j ] + ) + μ j B ( R j − R i + 1 [ i > f j ] ⋅ ε ) . \sum_{i'=j}^{i}s_{i',j}=\mu_j^A\left(R_{j-1}-R_i-[\theta-R_{f_j}]^+\right)+\mu_j^B\left(R_j-R_i+\mathbb{1}[i>f_j]\cdot\varepsilon\right). i ′ = j ∑ i s i ′ , j = μ j A ( R j − 1 − R i − [ θ − R f j ] + ) + μ j B ( R j − R i + 1 [ i > f j ] ⋅ ε ) .
Using
∑ j ′ = j + 1 n g j , j ′ = ( n − j − ε τ z ) g ^ j A + ( n − j ) g ^ j B , \sum_{j'=j+1}^{n}g_{j,j'}=\left(n-j-\frac{\varepsilon}{\tau}z\right)\widehat{g}_j^A+(n-j)\widehat{g}_j^B, j ′ = j + 1 ∑ n g j , j ′ = ( n − j − τ ε z ) g j A + ( n − j ) g j B ,
with
( n − j − ε τ z ) g ^ j A = μ j A ( 1 − [ θ − R f j ] + ) − μ j B g ^ j A , ( n − j ) g ^ j B = μ j B ( R j + τ ) , \left(n-j-\frac{\varepsilon}{\tau}z\right)\widehat{g}_j^A=\mu_j^A(1-[\theta-R_{f_j}]^+)-\mu_j^B\widehat{g}_j^A,\qquad(n-j)\widehat{g}_j^B=\mu_j^B(R_j+\tau), ( n − j − τ ε z ) g j A = μ j A ( 1 − [ θ − R f j ] + ) − μ j B g j A , ( n − j ) g j B = μ j B ( R j + τ ) ,
we obtain
credit i , j = ( n − j − ε τ z ) g ^ j A + ( n − j ) g ^ j B + R j − 1 − R i − μ j A ∑ i ′ = f j + 1 i δ i ′ , j + μ j D ( 1 − R j − 1 ) − μ j A ( R j − 1 − R i − [ θ − R f j ] + ) − μ j B ( R j − R i + 1 [ i > f j ] ⋅ ε ) = μ j A ( 1 − ∑ i ′ = f j + 1 i δ i ′ , j ) + μ j B ( R j + τ + g ^ j B ) + μ j D ( 1 − R i ) − μ j B 1 [ i > f j ] ⋅ ε . \begin{aligned}
\operatorname{credit}_{i,j}
={}&\left(n-j-\frac{\varepsilon}{\tau}z\right)\widehat{g}_j^A+(n-j)\widehat{g}_j^B+R_{j-1}-R_i-\mu_j^A\sum_{i'=f_j+1}^{i}\delta_{i',j}+\mu_j^D(1-R_{j-1})\\
&-\mu_j^A\left(R_{j-1}-R_i-[\theta-R_{f_j}]^+\right)-\mu_j^B\left(R_j-R_i+\mathbb{1}[i>f_j]\cdot\varepsilon\right)\\
={}&\mu_j^A\left(1-\sum_{i'=f_j+1}^{i}\delta_{i',j}\right)+\mu_j^B(R_j+\tau+\widehat{g}_j^B)+\mu_j^D(1-R_i)-\mu_j^B\mathbb{1}[i>f_j]\cdot\varepsilon.
\end{aligned} credit i , j = = ( n − j − τ ε z ) g j A + ( n − j ) g j B + R j − 1 − R i − μ j A i ′ = f j + 1 ∑ i δ i ′ , j + μ j D ( 1 − R j − 1 ) − μ j A ( R j − 1 − R i − [ θ − R f j ] + ) − μ j B ( R j − R i + 1 [ i > f j ] ⋅ ε ) μ j A 1 − i ′ = f j + 1 ∑ i δ i ′ , j + μ j B ( R j + τ + g j B ) + μ j D ( 1 − R i ) − μ j B 1 [ i > f j ] ⋅ ε .
Finally, g ^ j B = τ ˉ − R j \hat{g}^{B}_{j}=\bar{\tau}-R_{j} g ^ j B = τ ˉ − R j , so R j + τ + g ^ j B = 1 R_{j}+\tau+\hat{g}^{B}_{j}=1 R j + τ + g ^ j B = 1 . Also, if μ j D > 0 \mu^{D}_{j}>0 μ j D > 0 , then f j ≥ t 3 ∗ f_{j}\ge t^{*}_{3} f j ≥ t 3 ∗ , so i ≥ f j i\ge f_{j} i ≥ f j implies R i = 0 R_{i}=0 R i = 0 . Therefore
credit i , j = μ j A ( 1 − ∑ i ′ = f j + 1 i δ i ′ , j ′ ) + μ j B ( 1 − 1 [ i > f j ] ⋅ ε ) + μ j D ⋅ 1. \operatorname{credit}_{i,j}=\mu^{A}_{j}\left(1-\sum_{i'=f_{j}+1}^{i}\delta'_{i',j}\right)+\mu^{B}_{j}(1-\mathbb{1}[i>f_{j}]\cdot\varepsilon)+\mu^{D}_{j}\cdot1. credit i , j = μ j A 1 − i ′ = f j + 1 ∑ i δ i ′ , j ′ + μ j B ( 1 − 1 [ i > f j ] ⋅ ε ) + μ j D ⋅ 1.
which then implies:
credit i , j = μ j A credit i , j A + μ j B credit i , j B + μ j D credit i , j D , \operatorname{credit}_{i,j}=\mu^{A}_{j}\operatorname{credit}^{A}_{i,j}+\mu^{B}_{j}\operatorname{credit}^{B}_{i,j}+\mu^{D}_{j}\operatorname{credit}^{D}_{i,j}, credit i , j = μ j A credit i , j A + μ j B credit i , j B + μ j D credit i , j D ,
which is exactly the claimed convex combination given that μ j C = 0 \mu^{C}_{j}=0 μ j C = 0 for j = t 1 j=t_{1} j = t 1 .
Credit calculation for i < f j i<f_{j} i < f j
Using the same definition of credit, we now treat the case i < f j i<f_{j} i < f j .
Definition 6.24. The amount of credit a client j j j has at iteration i i i for j ≤ i j\le i j ≤ i is:
credit i , j = ∑ j ′ = j + 1 n g j , j ′ + ∑ i ′ = j i ( g i ′ , j ′ + t i ′ , j ′ − s ˉ i ′ , j ′ ) . \operatorname{credit}_{i,j}=\sum_{j'=j+1}^{n}g_{j,j'}+\sum_{i'=j}^{i}(g'_{i',j}+t'_{i',j}-\bar{s}'_{i',j}). credit i , j = j ′ = j + 1 ∑ n g j , j ′ + i ′ = j ∑ i ( g i ′ , j ′ + t i ′ , j ′ − s ˉ i ′ , j ′ ) . Note that this is the left-hand side of the ( r j , i ) (r_{j,i}) ( r j , i ) constraint.
Lemma C.6. If client j j j belongs integrally to group A, then for j ≤ i < f j j\le i<f_{j} j ≤ i < f j
credit i , j = 1 − [ θ − R f j ] + + ∑ i ′ = j i σ i ′ , j ′ ≥ 0. \operatorname{credit}_{i,j}=1-[\theta-R_{f_{j}}]^{+}+\sum_{i'=j}^{i}\sigma'_{i',j}\ge0. credit i , j = 1 − [ θ − R f j ] + + i ′ = j ∑ i σ i ′ , j ′ ≥ 0. Proof. As in the proof of Lemma C.1,
∑ j ′ = j + 1 n g j , j ′ = 1 − [ θ − R f j ] + . \sum_{j'=j+1}^{n}g_{j,j'}=1-[\theta-R_{f_{j}}]^{+}. j ′ = j + 1 ∑ n g j , j ′ = 1 − [ θ − R f j ] + . Since i < f j i<f_{j} i < f j , we also have δ i ′ , j ′ = 0 \delta'_{i',j}=0 δ i ′ , j ′ = 0 and t i ′ , j ′ = 0 t'_{i',j}=0 t i ′ , j ′ = 0 for all j ≤ i ′ ≤ i j\le i'\le i j ≤ i ′ ≤ i , hence
∑ i ′ = j i g i ′ , j ′ = R j − 1 − R i , ∑ i ′ = j i t i ′ , j ′ = 0 , ∑ i ′ = j i s ˉ i ′ , j ′ = R j − 1 − R i − ∑ i ′ = j i σ i ′ , j ′ . \sum_{i'=j}^{i}g'_{i',j}=R_{j-1}-R_{i},\qquad\sum_{i'=j}^{i}t'_{i',j}=0,\qquad\sum_{i'=j}^{i}\bar{s}'_{i',j}=R_{j-1}-R_{i}-\sum_{i'=j}^{i}\sigma'_{i',j}. i ′ = j ∑ i g i ′ , j ′ = R j − 1 − R i , i ′ = j ∑ i t i ′ , j ′ = 0 , i ′ = j ∑ i s ˉ i ′ , j ′ = R j − 1 − R i − i ′ = j ∑ i σ i ′ , j ′ . Substituting gives
credit i , j = 1 − [ θ − R f j ] + + ∑ i ′ = j i σ i ′ , j ′ . \operatorname{credit}_{i,j}=1-[\theta-R_{f_{j}}]^{+}+\sum_{i'=j}^{i}\sigma'_{i',j}. credit i , j = 1 − [ θ − R f j ] + + i ′ = j ∑ i σ i ′ , j ′ . This is non-negative because [ θ − R f j ] + ≤ θ < 1 [\theta-R_{f_{j}}]^{+}\le\theta<1 [ θ − R f j ] + ≤ θ < 1 and σ i ′ , j ′ ≥ 0 \sigma'_{i',j}\ge0 σ i ′ , j ′ ≥ 0 .
Lemma C.7. If client j j j belongs integrally to group B, then for j ≤ i < f j j\le i<f_{j} j ≤ i < f j
credit i , j = τ + min { R j − 1 , τ ˉ } ≥ 0. \operatorname{credit}_{i,j}=\tau+\min\{R_{j-1},\bar{\tau}\}\ge0. credit i , j = τ + min { R j − 1 , τ ˉ } ≥ 0. Proof. For a client j j j integrally in B, we have that j ≥ t 1 j\ge t_{1} j ≥ t 1 from the membership assignment in Equation (10) . We have that R j − 1 ≤ τ ˉ R_{j-1}\le\bar{\tau} R j − 1 ≤ τ ˉ , with equality if j = t 1 j=t_{1} j = t 1 . Thus, showing that the credit is τ + R j − 1 \tau+R_{j-1} τ + R j − 1 suffices to conclude the claim. As in the proof of Lemma C.2,
∑ j ′ = j + 1 n g j , j ′ = R j + τ , ∑ i ′ = j i g i ′ , j ′ = R j − 1 − R i , ∑ i ′ = j i t i ′ , j ′ = 0. \sum_{j'=j+1}^{n}g_{j,j'}=R_{j}+\tau,\qquad\sum_{i'=j}^{i}g'_{i',j}=R_{j-1}-R_{i},\qquad\sum_{i'=j}^{i}t'_{i',j}=0. j ′ = j + 1 ∑ n g j , j ′ = R j + τ , i ′ = j ∑ i g i ′ , j ′ = R j − 1 − R i , i ′ = j ∑ i t i ′ , j ′ = 0. Because i < f j i<f_{j} i < f j , the extra ε \varepsilon ε has not been sent yet, so
∑ i ′ = j i s ˉ i ′ , j ′ = ∑ i ′ = j + 1 i g ^ i ′ = R j − R i . \sum_{i'=j}^{i}\bar{s}'_{i',j}=\sum_{i'=j+1}^{i}\hat{g}_{i'}=R_{j}-R_{i}. i ′ = j ∑ i s ˉ i ′ , j ′ = i ′ = j + 1 ∑ i g ^ i ′ = R j − R i . Therefore
credit i , j = ( R j + τ ) + ( R j − 1 − R i ) − ( R j − R i ) = τ + R j − 1 ≥ 0. \operatorname{credit}_{i,j}=(R_{j}+\tau)+(R_{j-1}-R_{i})-(R_{j}-R_{i})=\tau+R_{j-1}\ge0. credit i , j = ( R j + τ ) + ( R j − 1 − R i ) − ( R j − R i ) = τ + R j − 1 ≥ 0.
Lemma C.8. If client j j j belongs integrally to group C C C , then for j ≤ i < f j j \le i < f_j j ≤ i < f j
credit i , j = τ + R j − 1 ≥ 0. \operatorname{credit}_{i,j} = \tau+ R_{j-1} \ge0. credit i , j = τ + R j − 1 ≥ 0. Proof. The calculation is identical to the one in the proof of Lemma C.7 : we have
∑ j ′ = j + 1 n g j , j ′ = R j + τ , ∑ i ′ = j i g i ′ , j = R j − 1 − R i , ∑ i ′ = j i t i ′ , j = 0 , \sum_{j'=j+1}^{n} g_{j,j'} = R_j + \tau,\qquad\sum_{i'=j}^{i} g_{i',j} = R_{j-1} - R_i,\qquad\sum_{i'=j}^{i} t_{i',j} = 0, j ′ = j + 1 ∑ n g j , j ′ = R j + τ , i ′ = j ∑ i g i ′ , j = R j − 1 − R i , i ′ = j ∑ i t i ′ , j = 0 , and, since i < f j i < f_j i < f j ,
∑ i ′ = j i s ˉ i ′ , j = R j − R i . \sum_{i'=j}^{i} \bar{s}_{i',j} = R_j - R_i. i ′ = j ∑ i s ˉ i ′ , j = R j − R i . Thus
credit i , j = ( R j + τ ) + ( R j − 1 − R i ) − ( R j − R i ) = τ + R j − 1 ≥ 0. \operatorname{credit}_{i,j} = (R_j + \tau) + (R_{j-1} - R_i) - (R_j - R_i) = \tau+ R_{j-1} \ge0. credit i , j = ( R j + τ ) + ( R j − 1 − R i ) − ( R j − R i ) = τ + R j − 1 ≥ 0.
Lemma C.9. If client j j j belongs integrally to group D D D , then for j ≤ i < f j j \le i < f_j j ≤ i < f j
credit i , j = R j − 1 − R i ≥ 0. \operatorname{credit}_{i,j} = R_{j-1} - R_i \ge0. credit i , j = R j − 1 − R i ≥ 0. Proof. Because j ∈ D j \in D j ∈ D , we have g ^ j = 0 \hat{g}_j = 0 g ^ j = 0 , hence ∑ j ′ = j + 1 n g j , j ′ = 0 \sum_{j'=j+1}^{n} g_{j,j'} = 0 ∑ j ′ = j + 1 n g j , j ′ = 0 . Also, if j ≤ t 1 j \le t_1 j ≤ t 1 then χ j = 0 \chi_j = 0 χ j = 0 , while if j > t 1 j > t_1 j > t 1 then the D D D -formula gives g i ′ , j = g ^ i ′ g_{i',j} = \hat{g}_{i'} g i ′ , j = g ^ i ′ for all i ′ ≥ j i' \ge j i ′ ≥ j . Therefore
∑ i ′ = j i g i ′ , j = R j − 1 − R i . \sum_{i'=j}^{i} g_{i',j} = R_{j-1} - R_i. i ′ = j ∑ i g i ′ , j = R j − 1 − R i . Since i < f j i < f_j i < f j , we also have ∑ i ′ = j i t i ′ , j = 0 \sum_{i'=j}^{i} t_{i',j} = 0 ∑ i ′ = j i t i ′ , j = 0 , and for group D D D we always have ∑ i ′ = j i s ˉ i ′ , j = 0 \sum_{i'=j}^{i} \bar{s}_{i',j} = 0 ∑ i ′ = j i s ˉ i ′ , j = 0 . Hence
credit i , j = R j − 1 − R i ≥ 0. \operatorname{credit}_{i,j} = R_{j-1} - R_i \ge0. credit i , j = R j − 1 − R i ≥ 0.
Lemma C.10. If client j j j is fractionally assigned, then for every j ≤ i < f j j \le i < f_j j ≤ i < f j we have
credit i , j = μ j A credit i , j A + μ j B credit i , j B + μ j C credit i , j C + μ j D credit i , j D ≥ 0 , \operatorname{credit}_{i,j} = \mu_j^A\operatorname{credit}_{i,j}^A + \mu_j^B\operatorname{credit}_{i,j}^B + \mu_j^C\operatorname{credit}_{i,j}^C + \mu_j^D\operatorname{credit}_{i,j}^D \ge0, credit i , j = μ j A credit i , j A + μ j B credit i , j B + μ j C credit i , j C + μ j D credit i , j D ≥ 0 , where credit i , j A \operatorname{credit}_{i,j}^A credit i , j A , credit i , j B \operatorname{credit}_{i,j}^B credit i , j B , credit i , j C \operatorname{credit}_{i,j}^C credit i , j C , and credit i , j D \operatorname{credit}_{i,j}^D credit i , j D are the contributions to the credit from groups A A A , B B B , C C C , and $D as defined in Lemmas C.6 , C.7 , C.8 , and C.9 , respectively.
Proof. The integral cases are exactly from Lemmas C.6 to C.9 . It remains to prove the formula for the fractional clients.
If j < t 1 j < t_1 j < t 1 , then by Observation 6.28 we have μ j B = μ j C = 0 \mu_j^B = \mu_j^C = 0 μ j B = μ j C = 0 and μ j A + μ j D = 1 \mu_j^A + \mu_j^D = 1 μ j A + μ j D = 1 . Moreover,
∑ j ′ = j + 1 n g j , j ′ = ( n − j − ε τ z ) g ^ j = μ j A ( 1 − [ θ − R f j ] + ) , \sum_{j'=j+1}^{n} g_{j,j'} = \left(n-j-\frac{\varepsilon}{\tau}z\right)\hat{g}_j = \mu_j^A\left(1-\left[\theta-R_{f_j}\right]^+\right), j ′ = j + 1 ∑ n g j , j ′ = ( n − j − τ ε z ) g ^ j = μ j A ( 1 − [ θ − R f j ] + ) , and, by Equation (11) , the term
∑ i ′ = j i ( g i ′ , j + t i ′ , j − s ˉ i ′ , j ) \sum_{i'=j}^{i}\left(g_{i',j}+t_{i',j}-\bar{s}_{i',j}\right) i ′ = j ∑ i ( g i ′ , j + t i ′ , j − s ˉ i ′ , j ) is the same convex combination of the A A A - and D D D -contributions. Hence
credit i , j = μ j A credit i , j A + μ j D credit i , j D . \operatorname{credit}_{i,j} = \mu_j^A\operatorname{credit}_{i,j}^A + \mu_j^D\operatorname{credit}_{i,j}^D. credit i , j = μ j A credit i , j A + μ j D credit i , j D . If t 1 < j ≤ t 2 t_1 < j \le t_2 t 1 < j ≤ t 2 , then μ j A = μ j C = 0 \mu_j^A = \mu_j^C = 0 μ j A = μ j C = 0 and μ j B + μ j D = 1 \mu_j^B + \mu_j^D = 1 μ j B + μ j D = 1 . Also,
∑ j ′ = j + 1 n g j , j ′ = ( n − j ) g ^ j = μ j B ( R j + τ ) , \sum_{j'=j+1}^{n} g_{j,j'} = (n-j)\hat{g}_j = \mu_j^B(R_j+\tau), j ′ = j + 1 ∑ n g j , j ′ = ( n − j ) g ^ j = μ j B ( R j + τ ) ,
and again the remaining term is the corresponding convex combination of the B B B - and D D D -contributions. Thus
credit i , j = μ j B credit i , j B + μ j D credit i , j D . \operatorname{credit}_{i,j}=\mu_j^B\operatorname{credit}_{i,j}^B+\mu_j^D\operatorname{credit}_{i,j}^D. credit i , j = μ j B credit i , j B + μ j D credit i , j D .
If t 2 < j ≤ t 3 ⋆ t_2<j\le t_3^\star t 2 < j ≤ t 3 ⋆ , the proof is identical: now μ j A = μ j B = 0 \mu_j^A=\mu_j^B=0 μ j A = μ j B = 0 , μ j C + μ j D = 1 \mu_j^C+\mu_j^D=1 μ j C + μ j D = 1 , and
∑ j ′ = j + 1 n g j , j ′ = ( n − j ) g ^ j = μ j C ( R j + τ ) , \sum_{j'=j+1}^{n}g_{j,j'}=(n-j)\hat{g}_j=\mu_j^C(R_j+\tau), j ′ = j + 1 ∑ n g j , j ′ = ( n − j ) g ^ j = μ j C ( R j + τ ) ,
so
credit i , j = μ j C credit i , j C + μ j D credit i , j D . \operatorname{credit}_{i,j}=\mu_j^C\operatorname{credit}_{i,j}^C+\mu_j^D\operatorname{credit}_{i,j}^D. credit i , j = μ j C credit i , j C + μ j D credit i , j D .
It remains to consider the boundary client j = t 1 j=t_1 j = t 1 . Here μ j C = 0 \mu_j^C=0 μ j C = 0 ,
μ j A = ( 1 − α ) ( 1 − μ j D ) , μ j B = α ( 1 − μ j D ) , g ^ j = g ^ j A + g ^ j B . \mu_j^A=(1-\alpha)(1-\mu_j^D),\qquad\mu_j^B=\alpha(1-\mu_j^D),\qquad\hat{g}_j=\hat{g}_j^A+\hat{g}_j^B. μ j A = ( 1 − α ) ( 1 − μ j D ) , μ j B = α ( 1 − μ j D ) , g ^ j = g ^ j A + g ^ j B .
Since i < f j i<f_j i < f j , we have δ i , j = 0 \delta_{i,j}=0 δ i , j = 0 and t i ′ , j ′ = 0 t_{i',j}'=0 t i ′ , j ′ = 0 for j ≤ i ′ ≤ i j\le i'\le i j ≤ i ′ ≤ i . Therefore
∑ i ′ = j i g i ′ , j ′ = R j − 1 − R i , \sum_{i'=j}^{i}g_{i',j}'=R_{j-1}-R_i, i ′ = j ∑ i g i ′ , j ′ = R j − 1 − R i ,
while
∑ i ′ = j i s i ′ , j ′ = μ j A ( R j − 1 − R i − ∑ i ′ = j i σ i ′ , j ′ ) + μ j B ( R j − R i ) . \sum_{i'=j}^{i}s_{i',j}'=\mu_j^A\left(R_{j-1}-R_i-\sum_{i'=j}^{i}\sigma_{i',j}'\right)+\mu_j^B(R_j-R_i). i ′ = j ∑ i s i ′ , j ′ = μ j A R j − 1 − R i − i ′ = j ∑ i σ i ′ , j ′ + μ j B ( R j − R i ) .
For the initial term we have
∑ j ′ = j + 1 n g j , j ′ = ( n − j − ε τ z ) g ^ j A + ( n − j ) g ^ j B . \sum_{j'=j+1}^{n}g_{j,j'}=\left(n-j-\frac{\varepsilon}{\tau}z\right)\hat{g}_j^A+(n-j)\hat{g}_j^B. j ′ = j + 1 ∑ n g j , j ′ = ( n − j − τ ε z ) g ^ j A + ( n − j ) g ^ j B .
Using
( n − j − ε τ z ) g ^ j A = μ j A ( 1 − [ θ − R f j ] + ) − μ j B g ^ j A \left(n-j-\frac{\varepsilon}{\tau}z\right)\hat{g}_j^A=\mu_j^A\left(1-[\theta-R_{f_j}]^+\right)-\mu_j^B\hat{g}_j^A ( n − j − τ ε z ) g ^ j A = μ j A ( 1 − [ θ − R f j ] + ) − μ j B g ^ j A
and
( n − j ) g ^ j B = μ j B ( R j + τ ) , (n-j)\hat{g}_j^B=\mu_j^B(R_j+\tau), ( n − j ) g ^ j B = μ j B ( R j + τ ) ,
we obtain
credit i , j = ( n − j − ε τ z ) g ^ j A + ( n − j ) g ^ j B + ( R j − 1 − R i ) − ∑ i ′ = j i s i ′ , j ′ = μ j A ( 1 − [ θ − R f j ] + ) + μ j B ( R j + τ − g ^ j A ) + μ j B ( R j − 1 − R i ) + μ j D ( R j − 1 − R i ) − μ j B ( R j − R i ) + μ j A ∑ i ′ = j i σ i ′ , j ′ = μ j A ( 1 − [ θ − R f j ] + + ∑ i ′ = j i σ i ′ , j ′ ) + μ j B ( R j + τ + g ^ j B ) + μ j D ( R j − 1 − R i ) . \begin{aligned}
\operatorname{credit}_{i,j}
={}&\left(n-j-\frac{\varepsilon}{\tau}z\right)\hat{g}_j^A+(n-j)\hat{g}_j^B+(R_{j-1}-R_i)-\sum_{i'=j}^{i}s_{i',j}'\\
={}&\mu_j^A\left(1-[\theta-R_{f_j}]^+\right)+\mu_j^B(R_j+\tau-\hat{g}_j^A)\\
&+\mu_j^B(R_{j-1}-R_i)+\mu_j^D(R_{j-1}-R_i)-\mu_j^B(R_j-R_i)+\mu_j^A\sum_{i'=j}^{i}\sigma_{i',j}'\\
={}&\mu_j^A\left(1-[\theta-R_{f_j}]^++\sum_{i'=j}^{i}\sigma_{i',j}'\right)+\mu_j^B(R_j+\tau+\hat{g}_j^B)+\mu_j^D(R_{j-1}-R_i).
\end{aligned} credit i , j = = = ( n − j − τ ε z ) g ^ j A + ( n − j ) g ^ j B + ( R j − 1 − R i ) − i ′ = j ∑ i s i ′ , j ′ μ j A ( 1 − [ θ − R f j ] + ) + μ j B ( R j + τ − g ^ j A ) + μ j B ( R j − 1 − R i ) + μ j D ( R j − 1 − R i ) − μ j B ( R j − R i ) + μ j A i ′ = j ∑ i σ i ′ , j ′ μ j A 1 − [ θ − R f j ] + + i ′ = j ∑ i σ i ′ , j ′ + μ j B ( R j + τ + g ^ j B ) + μ j D ( R j − 1 − R i ) .
Finally, g ^ j B = τ ˉ − R j \hat{g}_j^B=\bar{\tau}-R_j g ^ j B = τ ˉ − R j , so R j + τ + g ^ j B = 1 R_j+\tau+\hat{g}_j^B=1 R j + τ + g ^ j B = 1 . Hence
credit i , j = μ j A ( 1 − [ θ − R f j ] + + ∑ i ′ = j i σ i ′ , j ′ ) + μ j B ⋅ 1 + μ j D ( R j − 1 − R i ) , \operatorname{credit}_{i,j}=\mu_j^A\left(1-[\theta-R_{f_j}]^++\sum_{i'=j}^{i}\sigma_{i',j}'\right)+\mu_j^B\cdot1+\mu_j^D(R_{j-1}-R_i), credit i , j = μ j A 1 − [ θ − R f j ] + + i ′ = j ∑ i σ i ′ , j ′ + μ j B ⋅ 1 + μ j D ( R j − 1 − R i ) ,
which is exactly
credit i , j = μ j A credit i , j A + μ j B credit i , j B + μ j D credit i , j D , \operatorname{credit}_{i,j}=\mu_j^A\operatorname{credit}_{i,j}^A+\mu_j^B\operatorname{credit}_{i,j}^B+\mu_j^D\operatorname{credit}_{i,j}^D, credit i , j = μ j A credit i , j A + μ j B credit i , j B + μ j D credit i , j D ,
since for j = t 1 j=t_1 j = t 1 we have credit i , j B = τ + min { R j − 1 , τ ˉ } = 1 \operatorname{credit}_{i,j}^B=\tau+\min\{R_{j-1},\bar{\tau}\}=1 credit i , j B = τ + min { R j − 1 , τ ˉ } = 1 as R j − 1 ≥ τ ˉ R_{j-1}\ge\bar{\tau} R j − 1 ≥ τ ˉ . The non-negativity follows immediately, since each of the integral expressions credit i , j A \operatorname{credit}_{i,j}^A credit i , j A , credit i , j B \operatorname{credit}_{i,j}^B credit i , j B , credit i , j C \operatorname{credit}_{i,j}^C credit i , j C , and credit i , j D \operatorname{credit}_{i,j}^D credit i , j D is non-negative.
Production calculation.
Lemma C.11. If client j j j belongs integrally to group A A A , then
∑ i = 1 n g i , j = 1 − ε ⋅ ( 1 − [ θ − R f j ] + θ ) . \sum_{i=1}^{n} g_{i,j}=1-\varepsilon\cdot\left(1-\frac{[\theta-R_{f_j}]^{+}}{\theta}\right). i = 1 ∑ n g i , j = 1 − ε ⋅ ( 1 − θ [ θ − R f j ] + ) .
Proof. We prove a stronger statement, that for every j j j with μ j A > 0 \mu_j^A>0 μ j A > 0 we have the previous statement but substituting g i , j A g_{i,j}^A g i , j A for g i , j g_{i,j} g i , j , where g i , j A g_{i,j}^A g i , j A is defined as in the A A A -assignment used in Equation (11) . If j ∈ A j\in A j ∈ A , then
∑ i = 1 n g i , j A = ∑ i = 1 n ( g ^ i − δ i , j ) = 1 − ∑ i = f j + 1 t 3 ∗ δ i , j = 1 − ε ⋅ ( 1 − [ θ − R f j ] + θ ) . \sum_{i=1}^{n}g_{i,j}^A=\sum_{i=1}^{n}(\hat{g}_i-\delta_{i,j})=1-\sum_{i=f_j+1}^{t_3^*}\delta_{i,j}=1-\varepsilon\cdot\left(1-\frac{[\theta-R_{f_j}]^{+}}{\theta}\right). i = 1 ∑ n g i , j A = i = 1 ∑ n ( g ^ i − δ i , j ) = 1 − i = f j + 1 ∑ t 3 ∗ δ i , j = 1 − ε ⋅ ( 1 − θ [ θ − R f j ] + ) .
by Property 6.17.
Lemma C.12. If client j j j belongs integrally to group B B B , then
∑ i = 1 n g i , j = 1. \sum_{i=1}^{n}g_{i,j}=1. i = 1 ∑ n g i , j = 1.
Proof. We prove a stronger statement, that for every j j j with μ j B > 0 \mu_j^B>0 μ j B > 0 we have the previous statement but substituting g i , j B g_{i,j}^B g i , j B for g i , j g_{i,j} g i , j , where g i , j B g_{i,j}^B g i , j B is defined as in the B B B -assignment used in Equation (11) . If j ∈ B j\in B j ∈ B , then g i , j B = g ^ i g_{i,j}^B=\hat{g}_i g i , j B = g ^ i for every i i i , hence ∑ i = 1 n g i , j B = ∑ i = 1 n g ^ i = 1 \sum_{i=1}^{n}g_{i,j}^B=\sum_{i=1}^{n}\hat{g}_i=1 ∑ i = 1 n g i , j B = ∑ i = 1 n g ^ i = 1 .
Lemma C.13. If client j j j belongs integrally to group C C C , then
∑ i = 1 n g i , j = 1. \sum_{i=1}^{n}g_{i,j}=1. i = 1 ∑ n g i , j = 1.
Proof. We prove a stronger statement, that for every j j j with μ j C > 0 \mu_j^C>0 μ j C > 0 we have the previous statement but substituting g i , j C g_{i,j}^C g i , j C for g i , j g_{i,j} g i , j , where g i , j C g_{i,j}^C g i , j C is defined as in the C C C -assignment used in Equation (11) . If j ∈ C j\in C j ∈ C , then g i , j C = g ^ i g_{i,j}^C=\hat{g}_i g i , j C = g ^ i for every i i i , so ∑ i = 1 n g i , j C = ∑ i = 1 n g ^ i = 1 \sum_{i=1}^{n}g_{i,j}^C=\sum_{i=1}^{n}\hat{g}_i=1 ∑ i = 1 n g i , j C = ∑ i = 1 n g ^ i = 1 .
Lemma C.14. If client j j j belongs integrally to group D D D , then
∑ i = 1 n g i , j = 1 − ε ⋅ [ 1 − R j − 1 θ ] + . \sum_{i=1}^{n}g_{i,j}=1-\varepsilon\cdot\left[1-\frac{R_{j-1}}{\theta}\right]^{+}. i = 1 ∑ n g i , j = 1 − ε ⋅ [ 1 − θ R j − 1 ] + .
Proof. We prove a stronger statement, that for every j j j with μ j D > 0 \mu_j^D>0 μ j D > 0 we have the previous statement but substituting g i , j D g_{i,j}^D g i , j D for g i , j g_{i,j} g i , j , where g i , j D g_{i,j}^D g i , j D is defined as in the D D D -assignment used in Equation (11) . For j ∈ D j\in D j ∈ D , by the D D D -assignment,
∑ i = 1 n g i , j D = 1 − χ j ⋅ ε τ ⋅ ( ∑ i = 1 t 1 − 1 g ^ i + g ^ t 1 A ) . \sum_{i=1}^{n}g_{i,j}^D=1-\chi_j\cdot\frac{\varepsilon}{\tau}\cdot\left(\sum_{i=1}^{t_1-1}\hat{g}_i+\hat{g}_{t_1}^A\right). i = 1 ∑ n g i , j D = 1 − χ j ⋅ τ ε ⋅ ( i = 1 ∑ t 1 − 1 g ^ i + g ^ t 1 A ) .
For j ≤ t 1 j\leq t_1 j ≤ t 1 , the equality is direct because χ j = [ 1 − R j − 1 θ ] + = 0 \chi_j=\left[1-\frac{R_{j-1}}{\theta}\right]^+=0 χ j = [ 1 − θ R j − 1 ] + = 0 , since R j − 1 ≥ R t 1 − 1 ≥ τ ˉ > θ R_{j-1}\geq R_{t_1-1}\geq\bar{\tau}>\theta R j − 1 ≥ R t 1 − 1 ≥ τ ˉ > θ . For j > t 1 j>t_1 j > t 1 :
∑ i = 1 t 1 − 1 g ^ i + g ^ t 1 A = 1 − R t 1 − 1 + ( g ^ t 1 − g ^ t 1 B ) = 1 − R t 1 − ( τ ˉ − R t 1 ) = τ . \sum_{i=1}^{t_1-1}\hat{g}_i+\hat{g}_{t_1}^A=1-R_{t_1-1}+(\hat{g}_{t_1}-\hat{g}_{t_1}^B)=1-R_{t_1}-(\bar{\tau}-R_{t_1})=\tau. i = 1 ∑ t 1 − 1 g ^ i + g ^ t 1 A = 1 − R t 1 − 1 + ( g ^ t 1 − g ^ t 1 B ) = 1 − R t 1 − ( τ ˉ − R t 1 ) = τ .
we obtain
∑ i = 1 n g i , j D = 1 − χ j ⋅ ε = 1 − ε ⋅ [ 1 − R j − 1 θ ] + . \sum_{i=1}^{n}g_{i,j}^D=1-\chi_j\cdot\varepsilon=1-\varepsilon\cdot\left[1-\frac{R_{j-1}}{\theta}\right]^+. i = 1 ∑ n g i , j D = 1 − χ j ⋅ ε = 1 − ε ⋅ [ 1 − θ R j − 1 ] + .
Lemma C.15. If client j j j belongs fractionally to groups A , B , C , D A,B,C,D A , B , C , D with coefficients μ j A , μ j B , μ j C , μ j D \mu_j^A,\mu_j^B,\mu_j^C,\mu_j^D μ j A , μ j B , μ j C , μ j D , then
∑ i = 1 n g i , j = 1 − ε ⋅ μ j A ⋅ ( 1 − [ θ − R f j ] + θ ) − ε ⋅ μ j D ⋅ [ 1 − R j − 1 θ ] + (18) \sum_{i=1}^{n}g_{i,j}=1-\varepsilon\cdot\mu_j^A\cdot\left(1-\frac{[\theta-R_{f_j}]^+}{\theta}\right)-\varepsilon\cdot\mu_j^D\cdot\left[1-\frac{R_{j-1}}{\theta}\right]^+ \tag*{(18)} i = 1 ∑ n g i , j = 1 − ε ⋅ μ j A ⋅ ( 1 − θ [ θ − R f j ] + ) − ε ⋅ μ j D ⋅ [ 1 − θ R j − 1 ] + (18)
Proof. The proof is a direct calculation using the definition of g i , j g_{i,j} g i , j as a convex combination of the g i , j X g_{i,j}^{X} g i , j X for X ∈ { A , B , C , D } X \in\{A,B,C,D\} X ∈ { A , B , C , D } using the previous lemmas’ proofs which used no property of the membership being integral.
∑ i = 1 n g i , j = ∑ i = 1 n ∑ X ∈ { A , B , C , D } μ j X g i , j X = ∑ X ∈ { A , B , C , D } μ j X ∑ i = 1 n g i , j X = μ j A ⋅ ( 1 − ε ⋅ ( 1 − [ θ − R f j ] + θ ) ) + ( μ j B + μ j C ) ⋅ 1 + μ j D ⋅ ( 1 − ε ⋅ [ 1 − R j − 1 θ ] + ) = 1 − ε ⋅ μ j A ⋅ ( 1 − [ θ − R f j ] + θ ) − ε ⋅ μ j D ⋅ [ 1 − R j − 1 θ ] + . \begin{aligned}
\sum_{i=1}^{n} g_{i,j}=\sum_{i=1}^{n}\sum_{X\in\{A,B,C,D\}}\mu_j^X g_{i,j}^X=\sum_{X\in\{A,B,C,D\}}\mu_j^X\sum_{i=1}^{n}g_{i,j}^X \\
&=\mu_j^A\cdot\left(1-\varepsilon\cdot\left(1-\frac{[\theta-R_{f_j}]^+}{\theta}\right)\right)+(\mu_j^B+\mu_j^C)\cdot1+\mu_j^D\cdot\left(1-\varepsilon\cdot\left[1-\frac{R_{j-1}}{\theta}\right]^+\right) \\
&=1-\varepsilon\cdot\mu_j^A\cdot\left(1-\frac{[\theta-R_{f_j}]^+}{\theta}\right)-\varepsilon\cdot\mu_j^D\cdot\left[1-\frac{R_{j-1}}{\theta}\right]^+.
\end{aligned} i = 1 ∑ n g i , j = i = 1 ∑ n X ∈ { A , B , C , D } ∑ μ j X g i , j X = X ∈ { A , B , C , D } ∑ μ j X i = 1 ∑ n g i , j X = μ j A ⋅ ( 1 − ε ⋅ ( 1 − θ [ θ − R f j ] + ) ) + ( μ j B + μ j C ) ⋅ 1 + μ j D ⋅ ( 1 − ε ⋅ [ 1 − θ R j − 1 ] + ) = 1 − ε ⋅ μ j A ⋅ ( 1 − θ [ θ − R f j ] + ) − ε ⋅ μ j D ⋅ [ 1 − θ R j − 1 ] + .
Transfer calculation.
Lemma C.16. If client j j j belongs integrally to group A A A , then
∑ i = 1 n ( s ˉ i , j + t i , j ) = R j − 1 − [ θ − R f j ] + . \sum_{i=1}^{n}(\bar{s}_{i,j}+t_{i,j})=R_{j-1}-[\theta-R_{f_j}]^+. i = 1 ∑ n ( s ˉ i , j + t i , j ) = R j − 1 − [ θ − R f j ] + .
Proof. We prove a stronger statement, that for every j j j with μ j A > 0 \mu_j^A>0 μ j A > 0 we have the previous statement but substituting s ˉ i , j A \bar{s}_{i,j}^A s ˉ i , j A and t i , j A t_{i,j}^A t i , j A for s ˉ i , j \bar{s}_{i,j} s ˉ i , j and t i , j t_{i,j} t i , j , where s ˉ i , j A \bar{s}_{i,j}^A s ˉ i , j A and t i , j A t_{i,j}^A t i , j A are defined as in the A A A -assignment used in Equation (11) . For group A A A we have ∑ i = 1 n t i , j A = 0 \sum_{i=1}^{n}t_{i,j}^A=0 ∑ i = 1 n t i , j A = 0 , and
∑ i = 1 n s ˉ i , j A = ∑ i = j n ( g ^ i − σ i , j ) = R j − 1 − ∑ i = j f j σ i , j = R j − 1 − [ θ − R f j ] + \sum_{i=1}^{n}\bar{s}_{i,j}^A=\sum_{i=j}^{n}(\hat{g}_i-\sigma_{i,j})=R_{j-1}-\sum_{i=j}^{f_j}\sigma_{i,j}=R_{j-1}-[\theta-R_{f_j}]^+ i = 1 ∑ n s ˉ i , j A = i = j ∑ n ( g ^ i − σ i , j ) = R j − 1 − i = j ∑ f j σ i , j = R j − 1 − [ θ − R f j ] +
by Property 6.18.
Lemma C.17. If client j j j belongs integrally to group B B B , then
∑ i = 1 n ( s ˉ i , j + t i , j ) ≤ 1 − θ . \sum_{i=1}^{n}(\bar{s}_{i,j}+t_{i,j})\leq1-\theta. i = 1 ∑ n ( s ˉ i , j + t i , j ) ≤ 1 − θ .
Proof. We prove a stronger statement, that for every j j j with μ j B > 0 \mu_j^B>0 μ j B > 0 we have the previous statement but substituting s ˉ i , j B \bar{s}_{i,j}^B s ˉ i , j B and t i , j B t_{i,j}^B t i , j B for s ˉ i , j \bar{s}_{i,j} s ˉ i , j and t i , j t_{i,j} t i , j , where s ˉ i , j B \bar{s}_{i,j}^B s ˉ i , j B and t i , j B t_{i,j}^B t i , j B are defined as in the B B B -assignment used in Equation (11) . We have
∑ i = 1 n s ˉ i , j B ≤ ∑ i = j + 1 n g ^ i + ε = R j + ε , \sum_{i=1}^{n}\bar{s}_{i,j}^B\leq\sum_{i=j+1}^{n}\hat{g}_i+\varepsilon=R_j+\varepsilon, i = 1 ∑ n s ˉ i , j B ≤ i = j + 1 ∑ n g ^ i + ε = R j + ε ,
where the inequality is only because the bookkeeping entry at f j + 1 f_j+1 f j + 1 may lie outside the LP index set when f j = n f_j=n f j = n . Also,
∑ i = 1 n t i , j B = [ 1 − R j − 1 − τ ] + ≤ [ 1 − R j − τ ] + = τ ˉ − R j , \sum_{i=1}^{n}t_{i,j}^B=[1-R_{j-1}-\tau]^+\leq[1-R_j-\tau]^+=\bar{\tau}-R_j, i = 1 ∑ n t i , j B = [ 1 − R j − 1 − τ ] + ≤ [ 1 − R j − τ ] + = τ ˉ − R j ,
because R j − 1 ≥ R j R_{j-1}\geq R_j R j − 1 ≥ R j and any B B B -client (whether integrally or partially) satisfies R j ≤ τ ˉ R_j\leq\bar{\tau} R j ≤ τ ˉ . Therefore
∑ i = 1 n ( s ˉ i , j B + t i , j B ) ≤ ( R j + ε ) + ( τ ˉ − R j ) = 1 − θ . \sum_{i=1}^{n}(\bar{s}_{i,j}^B+t_{i,j}^B)\leq(R_j+\varepsilon)+(\bar{\tau}-R_j)=1-\theta. i = 1 ∑ n ( s ˉ i , j B + t i , j B ) ≤ ( R j + ε ) + ( τ ˉ − R j ) = 1 − θ .
because ε + τ ˉ = 1 − θ \varepsilon+\bar{\tau}=1-\theta ε + τ ˉ = 1 − θ .
Lemma C.18. If client j j j belongs integrally to group C C C , then
∑ i = 1 n ( s ˉ i , j + t i , j ) ≤ 1 − θ . \sum_{i=1}^{n}(\bar{s}_{i,j}+t_{i,j})\leq1-\theta. i = 1 ∑ n ( s ˉ i , j + t i , j ) ≤ 1 − θ .
Proof. We prove a stronger statement, that for every j j j with μ j C > 0 \mu_j^C > 0 μ j C > 0 we have the previous statement but substituting s ˉ i , j C \bar{s}_{i,j}^C s ˉ i , j C and t i , j C t_{i,j}^C t i , j C for s ˉ i , j \bar{s}_{i,j} s ˉ i , j and t i , j t_{i,j} t i , j , where s ˉ i , j C \bar{s}_{i,j}^C s ˉ i , j C and t i , j C t_{i,j}^C t i , j C are defined as in the C C C -assignment used in Equation (11) . Then, exactly as above,
∑ i = 1 n s ˉ i , j C ≤ R j + ε . \sum_{i=1}^{n} \bar{s}_{i,j}^C \le R_j + \varepsilon. i = 1 ∑ n s ˉ i , j C ≤ R j + ε .
For group C C C we also have
∑ i = 1 n t i , j C = 1 − R j − 1 − τ = τ ˉ − R j − 1 ≤ τ ˉ − R j . \sum_{i=1}^{n} t_{i,j}^C = 1 - R_{j-1} - \tau= \bar{\tau} - R_{j-1} \le\bar{\tau} - R_j. i = 1 ∑ n t i , j C = 1 − R j − 1 − τ = τ ˉ − R j − 1 ≤ τ ˉ − R j .
Hence
∑ i = 1 n ( s ˉ i , j C + t i , j C ) ≤ ( R j + ε ) + ( τ ˉ − R j ) = 1 − θ . \sum_{i=1}^{n} \left(\bar{s}_{i,j}^C + t_{i,j}^C\right) \le(R_j+\varepsilon)+(\bar{\tau}-R_j)=1-\theta. i = 1 ∑ n ( s ˉ i , j C + t i , j C ) ≤ ( R j + ε ) + ( τ ˉ − R j ) = 1 − θ .
because ε + τ ˉ = 1 − θ \varepsilon+\bar{\tau}=1-\theta ε + τ ˉ = 1 − θ .
Lemma C.19. If client j j j belongs integrally to group D D D , then
∑ i = 1 n ( s ˉ i , j + t i , j ) = 1 − R j − 1 . \sum_{i=1}^{n} \left(\bar{s}_{i,j}+t_{i,j}\right)=1-R_{j-1}. i = 1 ∑ n ( s ˉ i , j + t i , j ) = 1 − R j − 1 . Proof. We prove a stronger statement, that for every j j j with μ j D > 0 \mu_j^D > 0 μ j D > 0 we have the previous statement but substituting s ˉ i , j D \bar{s}_{i,j}^D s ˉ i , j D and t i , j D t_{i,j}^D t i , j D for s ˉ i , j \bar{s}_{i,j} s ˉ i , j and t i , j t_{i,j} t i , j , where s ˉ i , j D \bar{s}_{i,j}^D s ˉ i , j D and t i , j D t_{i,j}^D t i , j D are defined as in the D D D -assignment used in Equation (11) . For group D D D we always have s ˉ i , j D = 0 \bar{s}_{i,j}^D=0 s ˉ i , j D = 0 , and
∑ i = 1 n t i , j D = t f j , j D = 1 − R j − 1 . \sum_{i=1}^{n}t_{i,j}^D=t_{f_j,j}^D=1-R_{j-1}. i = 1 ∑ n t i , j D = t f j , j D = 1 − R j − 1 . The result follows.
Lemma C.20. If client j j j belongs fractionally to groups A , B , C , D A,B,C,D A , B , C , D with coefficients μ j A , μ j B , μ j C , μ j D \mu_j^A,\mu_j^B,\mu_j^C,\mu_j^D μ j A , μ j B , μ j C , μ j D , then
∑ i = 1 n ( s ˉ i , j + t i , j ) ≤ μ j A ⋅ ( R j − 1 − [ θ − R f j ] + ) + ( μ j B + μ j C ) ⋅ ( 1 − θ ) + μ j D ⋅ ( 1 − R j − 1 ) . \sum_{i=1}^{n}(\bar{s}_{i,j}+t_{i,j})\leq\mu_j^A\cdot(R_{j-1}-[\theta-R_{f_j}]^+)+(\mu_j^B+\mu_j^C)\cdot(1-\theta)+\mu_j^D\cdot(1-R_{j-1}). i = 1 ∑ n ( s ˉ i , j + t i , j ) ≤ μ j A ⋅ ( R j − 1 − [ θ − R f j ] + ) + ( μ j B + μ j C ) ⋅ ( 1 − θ ) + μ j D ⋅ ( 1 − R j − 1 ) . Proof. The proof is a direct calculation using the definition of s ˉ i , j \bar{s}_{i,j} s ˉ i , j and t i , j t_{i,j} t i , j as convex combinations of the s ˉ i , j X \bar{s}_{i,j}^X s ˉ i , j X and t i , j X t_{i,j}^X t i , j X for X ∈ { A , B , C , D } X\in\{A,B,C,D\} X ∈ { A , B , C , D } and using the previous lemmas’ proofs which did not use integrality of the memberships.
∑ i = 1 n ( s ˉ i , j + t i , j ) = ∑ i = 1 n ∑ X ∈ { A , B , C , D } μ j X ( s ˉ i , j X + t i , j X ) = ∑ X ∈ { A , B , C , D } μ j X ∑ i = 1 n ( s ˉ i , j X + t i , j X ) ≤ μ j A ⋅ ( R j − 1 − [ θ − R f j ] + ) + μ j B ⋅ ( 1 − θ ) + μ j C ⋅ ( 1 − θ ) + μ j D ⋅ ( 1 − R j − 1 ) . \begin{aligned}
\sum_{i=1}^{n}(\bar{s}_{i,j}+t_{i,j})
&=\sum_{i=1}^{n}\sum_{X\in\{A,B,C,D\}}\mu_j^X(\bar{s}_{i,j}^X+t_{i,j}^X)\\
&=\sum_{X\in\{A,B,C,D\}}\mu_j^X\sum_{i=1}^{n}(\bar{s}_{i,j}^X+t_{i,j}^X)\\
&\leq\mu_j^A\cdot(R_{j-1}-[\theta-R_{f_j}]^+)+\mu_j^B\cdot(1-\theta)+\mu_j^C\cdot(1-\theta)+\mu_j^D\cdot(1-R_{j-1}).
\end{aligned} i = 1 ∑ n ( s ˉ i , j + t i , j ) = i = 1 ∑ n X ∈ { A , B , C , D } ∑ μ j X ( s ˉ i , j X + t i , j X ) = X ∈ { A , B , C , D } ∑ μ j X i = 1 ∑ n ( s ˉ i , j X + t i , j X ) ≤ μ j A ⋅ ( R j − 1 − [ θ − R f j ] + ) + μ j B ⋅ ( 1 − θ ) + μ j C ⋅ ( 1 − θ ) + μ j D ⋅ ( 1 − R j − 1 ) .
Budget calculation. We use θ = ε + ε 2 \theta=\varepsilon+\varepsilon^2 θ = ε + ε 2 and γ = ε + 1 \gamma=\varepsilon+1 γ = ε + 1 , hence θ = ε ⋅ γ \theta=\varepsilon\cdot\gamma θ = ε ⋅ γ and γ + 1 − θ = 2 − ε 2 = 2 − ( γ − 1 ) 2 \gamma+1-\theta=2-\varepsilon^2=2-(\gamma-1)^2 γ + 1 − θ = 2 − ε 2 = 2 − ( γ − 1 ) 2 , as seen in Property 6.12.
Lemma C.21. If client j j j belongs integrally to group A A A , then
γ ⋅ ∑ i = 1 n g i , j + ∑ i = 1 n ( s ˉ i , j + t i , j ) ≤ 2 − ( γ − 1 ) 2 . \gamma\cdot\sum_{i=1}^{n}g_{i,j}+\sum_{i=1}^{n}(\bar{s}_{i,j}+t_{i,j})\leq2-(\gamma-1)^2. γ ⋅ i = 1 ∑ n g i , j + i = 1 ∑ n ( s ˉ i , j + t i , j ) ≤ 2 − ( γ − 1 ) 2 . Proof. By Lemmas C.11 and C.16 ,
γ ⋅ ∑ i = 1 n g i , j + ∑ i = 1 n ( s ˉ i , j + t i , j ) = γ ⋅ ( 1 − ε ⋅ ( 1 − [ θ − R f j ] + θ ) ) + R j − 1 − [ θ − R f j ] + = γ − θ + R j − 1 ≤ γ + 1 − θ = 2 − ( γ − 1 ) 2 , \begin{aligned}
\gamma\cdot\sum_{i=1}^{n}g_{i,j}+\sum_{i=1}^{n}(\bar{s}_{i,j}+t_{i,j})
&=\gamma\cdot\left(1-\varepsilon\cdot\left(1-\frac{[\theta-R_{f_j}]^+}{\theta}\right)\right)+R_{j-1}-[\theta-R_{f_j}]^+\\
&=\gamma-\theta+R_{j-1}\\
&\leq\gamma+1-\theta=2-(\gamma-1)^2,
\end{aligned} γ ⋅ i = 1 ∑ n g i , j + i = 1 ∑ n ( s ˉ i , j + t i , j ) = γ ⋅ ( 1 − ε ⋅ ( 1 − θ [ θ − R f j ] + ) ) + R j − 1 − [ θ − R f j ] + = γ − θ + R j − 1 ≤ γ + 1 − θ = 2 − ( γ − 1 ) 2 , using γ ⋅ ε = θ \gamma\cdot\varepsilon=\theta γ ⋅ ε = θ , R j − 1 ≤ 1 R_{j-1}\leq1 R j − 1 ≤ 1 and γ + 1 − θ = 2 − ( γ − 1 ) 2 \gamma+1-\theta=2-(\gamma-1)^2 γ + 1 − θ = 2 − ( γ − 1 ) 2 which follow from the definitions of γ \gamma γ and $\theta as reminded above.
Lemma C.22. If client j j j belongs integrally to group B B B , then
γ ⋅ ∑ i = 1 n g i , j + ∑ i = 1 n ( s ˉ i , j + t i , j ) ≤ 2 − ( γ − 1 ) 2 . \gamma\cdot\sum_{i=1}^{n} g_{i,j} + \sum_{i=1}^{n}(\bar{s}_{i,j}+t_{i,j}) \le2-(\gamma-1)^2. γ ⋅ i = 1 ∑ n g i , j + i = 1 ∑ n ( s ˉ i , j + t i , j ) ≤ 2 − ( γ − 1 ) 2 . Proof. By Lemmas C.12 and C.17,
γ ⋅ ∑ i = 1 n g i , j + ∑ i = 1 n ( s ˉ i , j + t i , j ) ≤ γ + 1 − θ = 2 − ( γ − 1 ) 2 . \gamma\cdot\sum_{i=1}^{n} g_{i,j}+\sum_{i=1}^{n}(\bar{s}_{i,j}+t_{i,j})\le\gamma+1-\theta=2-(\gamma-1)^2. γ ⋅ i = 1 ∑ n g i , j + i = 1 ∑ n ( s ˉ i , j + t i , j ) ≤ γ + 1 − θ = 2 − ( γ − 1 ) 2 . using γ + 1 − θ = 2 − ( γ − 1 ) 2 \gamma+1-\theta=2-(\gamma-1)^2 γ + 1 − θ = 2 − ( γ − 1 ) 2 which follows from the definitions of γ \gamma γ and θ \theta θ as reminded above.
Lemma C.23. If client j j j belongs integrally to group C C C , then
γ ⋅ ∑ i = 1 n g i , j + ∑ i = 1 n ( s ˉ i , j + t i , j ) ≤ 2 − ( γ − 1 ) 2 . \gamma\cdot\sum_{i=1}^{n} g_{i,j}+\sum_{i=1}^{n}(\bar{s}_{i,j}+t_{i,j})\le2-(\gamma-1)^2. γ ⋅ i = 1 ∑ n g i , j + i = 1 ∑ n ( s ˉ i , j + t i , j ) ≤ 2 − ( γ − 1 ) 2 . Proof. By Lemmas C.13 and C.18,
γ ⋅ ∑ i = 1 n g i , j + ∑ i = 1 n ( s ˉ i , j + t i , j ) ≤ γ + 1 − θ = 2 − ( γ − 1 ) 2 . \gamma\cdot\sum_{i=1}^{n} g_{i,j}+\sum_{i=1}^{n}(\bar{s}_{i,j}+t_{i,j})\le\gamma+1-\theta=2-(\gamma-1)^2. γ ⋅ i = 1 ∑ n g i , j + i = 1 ∑ n ( s ˉ i , j + t i , j ) ≤ γ + 1 − θ = 2 − ( γ − 1 ) 2 . using γ + 1 − θ = 2 − ( γ − 1 ) 2 \gamma+1-\theta=2-(\gamma-1)^2 γ + 1 − θ = 2 − ( γ − 1 ) 2 which follows from the definitions of γ \gamma γ and θ \theta θ as reminded above.
Lemma C.24. If client j j j belongs integrally to group D D D , then
γ ⋅ ∑ i = 1 n g i , j + ∑ i = 1 n ( s ˉ i , j + t i , j ) ≤ 2 − ( γ − 1 ) 2 . \gamma\cdot\sum_{i=1}^{n} g_{i,j}+\sum_{i=1}^{n}(\bar{s}_{i,j}+t_{i,j})\le2-(\gamma-1)^2. γ ⋅ i = 1 ∑ n g i , j + i = 1 ∑ n ( s ˉ i , j + t i , j ) ≤ 2 − ( γ − 1 ) 2 . Proof. By Lemmas C.14 and C.19,
γ ⋅ ∑ i = 1 n g i , j + ∑ i = 1 n ( s ˉ i , j + t i , j ) = γ ⋅ ( 1 − ε ⋅ [ 1 − R j − 1 θ ] + ) + 1 − R j − 1 \gamma\cdot\sum_{i=1}^{n}g_{i,j}+\sum_{i=1}^{n}(\bar{s}_{i,j}+t_{i,j})=\gamma\cdot\left(1-\varepsilon\cdot\left[1-\frac{R_{j-1}}{\theta}\right]^+\right)+1-R_{j-1} γ ⋅ i = 1 ∑ n g i , j + i = 1 ∑ n ( s ˉ i , j + t i , j ) = γ ⋅ ( 1 − ε ⋅ [ 1 − θ R j − 1 ] + ) + 1 − R j − 1 = 1 + γ − R j − 1 − θ ⋅ [ 1 − R j − 1 θ ] + . =1+\gamma-R_{j-1}-\theta\cdot\left[1-\frac{R_{j-1}}{\theta}\right]^+. = 1 + γ − R j − 1 − θ ⋅ [ 1 − θ R j − 1 ] + . If R j − 1 ≥ θ R_{j-1}\ge\theta R j − 1 ≥ θ , this is at most 1 + γ − θ = 2 − ( γ − 1 ) 2 1+\gamma-\theta=2-(\gamma-1)^2 1 + γ − θ = 2 − ( γ − 1 ) 2 . Otherwise, the bracket is 1 − R j − 1 / θ 1-R_{j-1}/\theta 1 − R j − 1 / θ , and the value is exactly 1 + γ − θ = 2 − ( γ − 1 ) 2 1+\gamma-\theta=2-(\gamma-1)^2 1 + γ − θ = 2 − ( γ − 1 ) 2 . We have used γ ⋅ ε = θ \gamma\cdot\varepsilon=\theta γ ⋅ ε = θ and 1 + γ − θ = 2 − ( γ − 1 ) 2 1+\gamma-\theta=2-(\gamma-1)^2 1 + γ − θ = 2 − ( γ − 1 ) 2 which follow from the definitions of γ \gamma γ and θ \theta θ as reminded above.
Lemma C.25. If client j j j belongs fractionally to groups A , B , C , D A,B,C,D A , B , C , D with coefficients μ j A , μ j B , μ j C , μ j D \mu^A_j,\mu^B_j,\mu^C_j,\mu^D_j μ j A , μ j B , μ j C , μ j D , then
γ ⋅ ∑ i = 1 n g i , j + ∑ i = 1 n ( s ˉ i , j + t i , j ) ≤ 2 − ( γ − 1 ) 2 . \gamma\cdot\sum_{i=1}^{n}g_{i,j}+\sum_{i=1}^{n}(\bar{s}_{i,j}+t_{i,j})\le2-(\gamma-1)^2. γ ⋅ i = 1 ∑ n g i , j + i = 1 ∑ n ( s ˉ i , j + t i , j ) ≤ 2 − ( γ − 1 ) 2 . Proof. The proof is a direct calculation using Lemmas C.15 and C.20, and then repeating the same arguments as with the previous integral lemmas to conclude that the resulting expression is at most 2 − ( γ − 1 ) 2 2-(\gamma-1)^2 2 − ( γ − 1 ) 2 .
γ ∑ i g i , j + ∑ i ( s ˉ i , j + t i , j ) = ∑ X μ j X ( γ ∑ i g i , j X + ∑ i ( s ˉ i , j X + t i , j X ) ) \gamma\sum_i g_{i,j}+\sum_i(\bar{s}_{i,j}+t_{i,j})=\sum_X\mu^X_j\left(\gamma\sum_i g^X_{i,j}+\sum_i(\bar{s}^X_{i,j}+t^X_{i,j})\right) γ i ∑ g i , j + i ∑ ( s ˉ i , j + t i , j ) = X ∑ μ j X ( γ i ∑ g i , j X + i ∑ ( s ˉ i , j X + t i , j X ) ) ≤ ∑ X μ j X ( 2 − ( γ − 1 ) 2 ) = 2 − ( γ − 1 ) 2 . \le\sum_X\mu^X_j\left(2-(\gamma-1)^2\right)=2-(\gamma-1)^2. ≤ X ∑ μ j X ( 2 − ( γ − 1 ) 2 ) = 2 − ( γ − 1 ) 2 . where the inequality is by the previous lemmas’ analysis in the integral case, which did not use integrality of the memberships and has the same expressions as the value from γ ∑ i g i , j X + ∑ i ( s ˉ i , j X + t i , j X ) \gamma\sum_i g^X_{i,j}+\sum_i(\bar{s}^X_{i,j}+t^X_{i,j}) γ ∑ i g i , j X + ∑ i ( s ˉ i , j X + t i , j X ) for X ∈ { A , B , C , D } X\in\{A,B,C,D\} X ∈ { A , B , C , D } ; from where the inequality follows by linearity.
Other proofs.
Proof of Lemma 6.23. We restate the lemma here:
Lemma 6.23. We have g ^ i , g i , j , t i , j , s ˉ i , j ≥ 0 \hat{g}_i,g_{i,j},t_{i,j},\bar{s}_{i,j} \ge0 g ^ i , g i , j , t i , j , s ˉ i , j ≥ 0 for all valid i , j i,j i , j .
For g ^ i \hat{g}_i g ^ i , let us go phase by phase. In Phase 3 and Phase 2 the claim is trivial. Next, note that z ≤ n − t 2 z \le n-t_2 z ≤ n − t 2 . If t 1 < n t_1<n t 1 < n , for the boundary assignment for t 1 t_1 t 1 , we have that g ^ t 1 A ≥ 0 \hat{g}^{A}_{t_1} \ge0 g ^ t 1 A ≥ 0 because n − t 1 ≥ ε τ ⋅ z n-t_1 \ge\frac{\varepsilon}{\tau}\cdot z n − t 1 ≥ τ ε ⋅ z and that g ^ t 1 B ≥ 0 \hat{g}^{B}_{t_1} \ge0 g ^ t 1 B ≥ 0 because R t 1 < τ ˉ R_{t_1}<\bar{\tau} R t 1 < τ ˉ . Finally, in Phase 1 the claim follows again because n − i ≥ ε τ ⋅ z n-i \ge\frac{\varepsilon}{\tau}\cdot z n − i ≥ τ ε ⋅ z for i < t 1 i<t_1 i < t 1 .
For g i , j g_{i,j} g i , j , let us go group by group. For group A clients, we have g i , j = g ^ i − δ i , j g_{i,j}=\hat{g}_i-\delta_{i,j} g i , j = g ^ i − δ i , j where δ i , j ≤ g ^ i \delta_{i,j}\le\hat{g}_i δ i , j ≤ g ^ i by definition, so g i , j ≥ 0 g_{i,j}\ge0 g i , j ≥ 0 . For group B and C clients, we have g i , j = g ^ i g_{i,j}=\hat{g}_i g i , j = g ^ i so it follows from the non-negativity of g ^ i \hat{g}_i g ^ i that g i , j ≥ 0 g_{i,j}\ge0 g i , j ≥ 0 . For group D clients, we have g i , j ≥ g ^ i ⋅ ( 1 − χ j ε τ ) g_{i,j}\ge\hat{g}_i\cdot(1-\chi_j\frac{\varepsilon}{\tau}) g i , j ≥ g ^ i ⋅ ( 1 − χ j τ ε ) , and since χ j ≤ 1 \chi_j\le1 χ j ≤ 1 and ε τ ≤ 1 \frac{\varepsilon}{\tau}\le1 τ ε ≤ 1 because ε ≤ τ \varepsilon\le\tau ε ≤ τ , we have g i , j ≥ 0 g_{i,j}\ge0 g i , j ≥ 0 . For non-integral clients, it follows from the convex combinations assignment of g i , j g_{i,j} g i , j .
For t i , j t_{i,j} t i , j , observe that it is 0 for all i i i except for i = f j i=f_j i = f j . We now explore only the case i = f j i=f_j i = f j as otherwise it is clear that it is nonnegative. For group A clients, we have that t f j , j t_{f_j,j} t f j , j is 0, thus being non-negative. For group B clients, we have that t f j , j t_{f_j,j} t f j , j is [ 1 − R j − 1 − τ ] + [1-R_{j-1}-\tau]^+ [ 1 − R j − 1 − τ ] + which is non-negative by definition. For group C clients, we have that t f j , j t_{f_j,j} t f j , j is 1 − ( R j − 1 + τ ) 1-(R_{j-1}+\tau) 1 − ( R j − 1 + τ ) , but since R j − 1 ≤ τ ˉ R_{j-1}\le\bar{\tau} R j − 1 ≤ τ ˉ because j > t 1 j>t_1 j > t 1 , we have that t f j , j ≥ 1 − ( τ ˉ + τ ) = 0 t_{f_j,j}\ge1-(\bar{\tau}+\tau)=0 t f j , j ≥ 1 − ( τ ˉ + τ ) = 0 . Finally, for group D clients, we have that t f j , j = 1 − R j − 1 t_{f_j,j}=1-R_{j-1} t f j , j = 1 − R j − 1 , and since R j − 1 ≤ 1 R_{j-1}\le1 R j − 1 ≤ 1 , we have that t f j , j ≥ 0 t_{f_j,j}\ge0 t f j , j ≥ 0 . For non-integral clients, it follows from the convex combinations assignment of t i , j t_{i,j} t i , j .
For s ˉ i , j \bar{s}_{i,j} s ˉ i , j , for group A clients, we have s ˉ i , j = g ^ i − σ i , j \bar{s}_{i,j}=\hat{g}_i-\sigma_{i,j} s ˉ i , j = g ^ i − σ i , j where σ i , j ≤ g ^ i \sigma_{i,j}\le\hat{g}_i σ i , j ≤ g ^ i by definition, so s ˉ i , j ≥ 0 \bar{s}_{i,j}\ge0 s ˉ i , j ≥ 0 . For group B and C clients, we have s ˉ i , j = g ^ i \bar{s}_{i,j}=\hat{g}_i s ˉ i , j = g ^ i (with + ε +\varepsilon + ε for i = f j + 1 i=f_j+1 i = f j + 1 or 0 for i = j i=j i = j ) so it follows from the non-negativity of g ^ i \hat{g}_i g ^ i that s ˉ i , j ≥ 0 \bar{s}_{i,j}\ge0 s ˉ i , j ≥ 0 . For group D clients, we have s ˉ i , j = 0 \bar{s}_{i,j}=0 s ˉ i , j = 0 , so it is non-negative. For non-integral clients, we have that s ˉ i , j \bar{s}_{i,j} s ˉ i , j is a convex combination of non-negative values, so it is non-negative.
Proof of Claim 6.40. We restate the Claim here:
Claim 6.40. For t 1 ≤ j ≤ i ≤ min ( t 3 ∗ , n − 1 ) t_1\le j\le i\le\min(t_3^*,n-1) t 1 ≤ j ≤ i ≤ min ( t 3 ∗ , n − 1 ) we have the following equality that relates R j R_j R j to R i R_i R i :
R j + τ = ( R i + τ ) ⋅ n − j − ∑ ℓ = j + 1 i μ ℓ D ⋅ R j + τ R ℓ − 1 + τ n − i R_j+\tau=(R_i+\tau)\cdot\frac{n-j-\sum_{\ell=j+1}^{i}\mu_{\ell}^{D}\cdot\frac{R_j+\tau}{R_{\ell-1}+\tau}}{n-i} R j + τ = ( R i + τ ) ⋅ n − i n − j − ∑ ℓ = j + 1 i μ ℓ D ⋅ R ℓ − 1 + τ R j + τ The case j = i j=i j = i is trivial. Consider next the case j = i − 1 j=i-1 j = i − 1 . Then
R i − 1 + τ = R i + τ + g ^ i R_{i-1}+\tau=R_i+\tau+\hat{g}_i R i − 1 + τ = R i + τ + g ^ i = R i + τ + ( 1 − μ i D ) ⋅ R i + τ n − i =R_i+\tau+(1-\mu_i^D)\cdot\frac{R_i+\tau}{n-i} = R i + τ + ( 1 − μ i D ) ⋅ n − i R i + τ = ( R i + τ ) ⋅ n − ( i − 1 ) − μ i D n − i , =(R_i+\tau)\cdot\frac{n-(i-1)-\mu_i^D}{n-i}, = ( R i + τ ) ⋅ n − i n − ( i − 1 ) − μ i D , matching the claim. For general t 1 ≤ j ≤ i ≤ min ( t 3 ∗ , n − 1 ) t_1\le j\le i\le\min(t_3^*,n-1) t 1 ≤ j ≤ i ≤ min ( t 3 ∗ , n − 1 ) with i − j ≥ 2 i-j\ge2 i − j ≥ 2 , we prove the claim by induction on i − j i-j i − j , using as base case the case j = i − 1 j=i-1 j = i − 1 above. We have
R j + τ = ( R i − 1 + τ ) ⋅ n − j − ∑ ℓ = j + 1 i − 1 μ ℓ D ⋅ R j + τ R ℓ − 1 + τ n − ( i − 1 ) . R_j+\tau=(R_{i-1}+\tau)\cdot\frac{n-j-\sum_{\ell=j+1}^{i-1}\mu_{\ell}^{D}\cdot\frac{R_j+\tau}{R_{\ell-1}+\tau}}{n-(i-1)}. R j + τ = ( R i − 1 + τ ) ⋅ n − ( i − 1 ) n − j − ∑ ℓ = j + 1 i − 1 μ ℓ D ⋅ R ℓ − 1 + τ R j + τ . By applying the result for the case j = i − 1 j=i-1 j = i − 1 , we have
R j + τ = ( R i + τ ) ⋅ n − ( i − 1 ) − μ i D n − i ⋅ n − j − ∑ ℓ = j + 1 i − 1 μ ℓ D ⋅ R j + τ R ℓ − 1 + τ n − ( i − 1 ) R_j+\tau=(R_i+\tau)\cdot\frac{n-(i-1)-\mu_i^D}{n-i}\cdot\frac{n-j-\sum_{\ell=j+1}^{i-1}\mu_{\ell}^{D}\cdot\frac{R_j+\tau}{R_{\ell-1}+\tau}}{n-(i-1)} R j + τ = ( R i + τ ) ⋅ n − i n − ( i − 1 ) − μ i D ⋅ n − ( i − 1 ) n − j − ∑ ℓ = j + 1 i − 1 μ ℓ D ⋅ R ℓ − 1 + τ R j + τ = ( R i + τ ) ⋅ ( 1 − μ i D n − ( i − 1 ) ) ⋅ n − j − ∑ ℓ = j + 1 i − 1 μ ℓ D ⋅ R j + τ R ℓ − 1 + τ n − i , =(R_i+\tau)\cdot\left(1-\frac{\mu_i^D}{n-(i-1)}\right)\cdot\frac{n-j-\sum_{\ell=j+1}^{i-1}\mu_{\ell}^{D}\cdot\frac{R_j+\tau}{R_{\ell-1}+\tau}}{n-i}, = ( R i + τ ) ⋅ ( 1 − n − ( i − 1 ) μ i D ) ⋅ n − i n − j − ∑ ℓ = j + 1 i − 1 μ ℓ D ⋅ R ℓ − 1 + τ R j + τ , and it remains to prove that
( 1 − μ i D n − ( i − 1 ) ) ( n − j − ∑ ℓ = j + 1 i − 1 μ ℓ D ⋅ R j + τ R ℓ − 1 + τ ) = n − j − ∑ ℓ = j + 1 i μ ℓ D ⋅ R j + τ R ℓ − 1 + τ . (19) \left(1-\frac{\mu_i^D}{n-(i-1)}\right)\left(n-j-\sum_{\ell=j+1}^{i-1}\mu_{\ell}^{D}\cdot\frac{R_j+\tau}{R_{\ell-1}+\tau}\right)=n-j-\sum_{\ell=j+1}^{i}\mu_{\ell}^{D}\cdot\frac{R_j+\tau}{R_{\ell-1}+\tau}. \tag*{(19)} ( 1 − n − ( i − 1 ) μ i D ) n − j − ℓ = j + 1 ∑ i − 1 μ ℓ D ⋅ R ℓ − 1 + τ R j + τ = n − j − ℓ = j + 1 ∑ i μ ℓ D ⋅ R ℓ − 1 + τ R j + τ . (19)
Denote ζ = n − j − ∑ ℓ = j + 1 i − 1 μ ℓ D ⋅ R j + τ R ℓ − 1 + τ \zeta= n-j-\sum_{\ell=j+1}^{i-1}\mu_{\ell}^{D}\cdot\frac{R_j+\tau}{R_{\ell-1}+\tau} ζ = n − j − ∑ ℓ = j + 1 i − 1 μ ℓ D ⋅ R ℓ − 1 + τ R j + τ . Then we need to prove that
( 1 − μ i D n − ( i − 1 ) ) ⋅ ζ = ζ − μ i D ⋅ R j + τ R i − 1 + τ . \left(1-\frac{\mu_i^{D}}{n-(i-1)}\right)\cdot\zeta=\zeta-\mu_i^{D}\cdot\frac{R_j+\tau}{R_{i-1}+\tau}. ( 1 − n − ( i − 1 ) μ i D ) ⋅ ζ = ζ − μ i D ⋅ R i − 1 + τ R j + τ .
equivalent to
μ i D n − ( i − 1 ) ⋅ ζ = μ i D ⋅ R j + τ R i − 1 + τ . \frac{\mu_i^{D}}{n-(i-1)}\cdot\zeta=\mu_i^{D}\cdot\frac{R_j+\tau}{R_{i-1}+\tau}. n − ( i − 1 ) μ i D ⋅ ζ = μ i D ⋅ R i − 1 + τ R j + τ .
If μ i D = 0 \mu_i^{D}=0 μ i D = 0 the claim is trivial. Otherwise we divide by μ i D \mu_i^{D} μ i D , so we need to prove that
n − j − ∑ ℓ = j + 1 i − 1 μ ℓ D ⋅ R j + τ R ℓ − 1 + τ n − ( i − 1 ) = R j + τ R i − 1 + τ . \frac{n-j-\sum_{\ell=j+1}^{i-1}\mu_{\ell}^{D}\cdot\frac{R_j+\tau}{R_{\ell-1}+\tau}}{n-(i-1)}=\frac{R_j+\tau}{R_{i-1}+\tau}. n − ( i − 1 ) n − j − ∑ ℓ = j + 1 i − 1 μ ℓ D ⋅ R ℓ − 1 + τ R j + τ = R i − 1 + τ R j + τ .
But this is equivalent to the statement of the claim we are doing induction on for j j j and i − 1 i-1 i − 1 :
R j + τ = ( R i − 1 + τ ) ⋅ n − j − ∑ ℓ = j + 1 i − 1 μ ℓ D ⋅ R j + τ R ℓ − 1 + τ n − ( i − 1 ) . R_j+\tau=(R_{i-1}+\tau)\cdot\frac{n-j-\sum_{\ell=j+1}^{i-1}\mu_{\ell}^{D}\cdot\frac{R_j+\tau}{R_{\ell-1}+\tau}}{n-(i-1)}. R j + τ = ( R i − 1 + τ ) ⋅ n − ( i − 1 ) n − j − ∑ ℓ = j + 1 i − 1 μ ℓ D ⋅ R ℓ − 1 + τ R j + τ .
Hence, the claim is proved.
Proof of Claim 6.41. We restate the claim here:
Claim 6.41. For t 1 − 1 ≤ j ≤ i ≤ min ( t 3 ∗ , n − 1 ) t_1-1\le j\le i\le\min(t_3^*,n-1) t 1 − 1 ≤ j ≤ i ≤ min ( t 3 ∗ , n − 1 ) we have the following equality that relates R j ′ R'_j R j ′ to R i ′ R'_i R i ′ :
R j ′ + τ = ( R i ′ + τ ) ⋅ n − j − ∑ ℓ = j + 1 i ( 1 − μ ℓ B − μ ℓ C ) ⋅ R j ′ + τ R ℓ − 1 ′ + τ n − i . R'_j+\tau=(R'_i+\tau)\cdot\frac{n-j-\sum_{\ell=j+1}^{i}(1-\mu_{\ell}^{B}-\mu_{\ell}^{C})\cdot\frac{R'_j+\tau}{R'_{\ell-1}+\tau}}{n-i}. R j ′ + τ = ( R i ′ + τ ) ⋅ n − i n − j − ∑ ℓ = j + 1 i ( 1 − μ ℓ B − μ ℓ C ) ⋅ R ℓ − 1 ′ + τ R j ′ + τ .
If t 1 = n t_1=n t 1 = n , then j = i = n − 1 j=i=n-1 j = i = n − 1 and the claim is trivial. Else, the proof is identical to the proof of Claim 6.40, using that g ^ t 1 = ( μ t 1 B + μ t 1 C ) ⋅ R t 1 + τ n − t 1 \hat{g}_{t_1}=(\mu_{t_1}^{B}+\mu_{t_1}^{C})\cdot\frac{R_{t_1}+\tau}{n-t_1} g ^ t 1 = ( μ t 1 B + μ t 1 C ) ⋅ n − t 1 R t 1 + τ and that g ^ i = g ^ i ′ \hat{g}_i=\hat{g}'_i g ^ i = g ^ i ′ and R i = R i ′ R_i=R'_i R i = R i ′ for i > t 1 i>t_1 i > t 1 .
In this section we expand on the ideas in § 5 , based on the techniques developed in [12 ] , in order to obtain an algorithm for k k k -median that opens at most k + O ( log n ) k + O(\log n) k + O ( log n ) centers. As in their paper, this requires us to develop a robust version of the Log-Adaptive Algorithm, and to slightly adapt their merging procedure to our setting. We remark that the definitions and notation in this section follow closely those in [12 ] .
First, we generalize the notions of 1-openability and 2-openability in Definitions 5.1 and 5.2 to approximate notions that we call ( 1 , η ) (1,\eta) ( 1 , η ) -openability and ( 2 , η ) (2,\eta) ( 2 , η ) -openability. Note that these definitions of openable only depend on θ \theta θ and S S S . We will choose η \eta η throughout the analysis as c f ^ n 2 − n ∣ F ∣ c^{\frac{\hat f}{n}}2^{-n\lvert F\rvert} c n f ^ 2 − n ∣ F ∣ for a small enough absolute constant c > 0 c > 0 c > 0 .
Definition D.1 (( 1 , η ) (1,\eta) ( 1 , η ) -openable facility). Consider a time θ \theta θ and a set S S S of open facilities. Let I = { j ∈ D ∣ θ ≥ ( 1 − δ ) d ( j , S ) } I = \{j \in D \mid\theta\ge(1-\delta)d(j,S)\} I = { j ∈ D ∣ θ ≥ ( 1 − δ ) d ( j , S )} and A = D ∖ I A = D \setminus I A = D ∖ I . A facility i ∈ F ∖ S i \in F \setminus S i ∈ F ∖ S is ( 1 , η ) (1,\eta) ( 1 , η ) -openable w.r.t. ( S , θ ) (S,\theta) ( S , θ ) if satisfying:
∑ j ∈ A β ( θ , ( 1 − δ ) d ( i , j ) ) + ∑ j ∈ I β ( ( 1 − δ ) d ( j , S ) , ( 1 − δ ) d ( i , j ) ) ≥ f ^ − n η . \sum_{j\in A}\beta\left(\theta,(1-\delta)d(i,j)\right)+\sum_{j\in I}\beta\left((1-\delta)d(j,S),(1-\delta)d(i,j)\right)\ge\hat f-n\eta. j ∈ A ∑ β ( θ , ( 1 − δ ) d ( i , j ) ) + j ∈ I ∑ β ( ( 1 − δ ) d ( j , S ) , ( 1 − δ ) d ( i , j ) ) ≥ f ^ − n η .
Definition D.2 (( 2 , η ) (2,\eta) ( 2 , η ) -openable facility). Consider a time θ \theta θ and a set S S S of open facilities. Let I = { j ∈ D ∣ θ ≥ ( 1 − δ ) d ( j , S ) } I = \{j \in D \mid\theta\ge(1-\delta)d(j,S)\} I = { j ∈ D ∣ θ ≥ ( 1 − δ ) d ( j , S )} and A = D ∖ I A = D \setminus I A = D ∖ I . A facility i ∈ F ∖ S i \in F \setminus S i ∈ F ∖ S is ( 2 , η ) (2,\eta) ( 2 , η ) -openable w.r.t. ( S , θ ) (S,\theta) ( S , θ ) if there exist bids ( τ j ) j ∈ A (\tau_j)_{j\in A} ( τ j ) j ∈ A satisfying:
(i) (Only nearby clients may increase)
τ j = θ ∀ j ∈ A ∖ B ( i , ϵ θ ) . \tau_j=\theta\qquad\forall j\in A\setminus B(i,\epsilon\theta). τ j = θ ∀ j ∈ A ∖ B ( i , ϵ θ ) .
(ii) (Nearby clients increase only slightly)
θ ≤ τ j ≤ min { ( 1 − δ ) d ( j , S ) , ( 1 + ϵ 2 ) θ } ∀ j ∈ A ∩ B ( i , ϵ θ ) . \theta\le\tau_j\le\min\left\{(1-\delta)d(j,S),(1+\epsilon^2)\theta\right\}\qquad\forall j\in A\cap B(i,\epsilon\theta). θ ≤ τ j ≤ min { ( 1 − δ ) d ( j , S ) , ( 1 + ϵ 2 ) θ } ∀ j ∈ A ∩ B ( i , ϵ θ ) .
(iii) (Facility i i i is paid for in the ( 1 − δ / 2 ) (1-\delta/2) ( 1 − δ /2 ) -scaled metric)
∑ j ∈ A β ( τ j , ( 1 − δ / 2 ) d ( i , j ) ) + ∑ j ∈ I β ( ( 1 − δ ) d ( j , S ) , ( 1 − δ / 2 ) d ( i , j ) ) ≥ f ^ − n η . \sum_{j\in A}\beta\left(\tau_j,(1-\delta/2)d(i,j)\right)+\sum_{j\in I}\beta\left((1-\delta)d(j,S),(1-\delta/2)d(i,j)\right)\ge\hat f-n\eta. j ∈ A ∑ β ( τ j , ( 1 − δ /2 ) d ( i , j ) ) + j ∈ I ∑ β ( ( 1 − δ ) d ( j , S ) , ( 1 − δ /2 ) d ( i , j ) ) ≥ f ^ − n η .
(iv) (No overbidding for regular facilities after updating to τ \tau τ )
∀ i 0 ∈ F : ∑ j ∈ A β ( τ j , d ( i 0 , j ) ) + ∑ j ∈ I β ( ( 1 − δ ) d ( j , S ) , d ( i 0 , j ) ) ≤ f ^ . \forall i_0\in F:\qquad\sum_{j\in A}\beta\left(\tau_j,d(i_0,j)\right)+\sum_{j\in I}\beta\left((1-\delta)d(j,S),d(i_0,j)\right)\le\hat f. ∀ i 0 ∈ F : j ∈ A ∑ β ( τ j , d ( i 0 , j ) ) + j ∈ I ∑ β ( ( 1 − δ ) d ( j , S ) , d ( i 0 , j ) ) ≤ f ^ .
(v) (Triangle inequality)
τ j ≤ τ k + d ( j , k ) ∀ j , k ∈ A . \tau_j\le\tau_k+d(j,k)\qquad\forall j,k\in A. τ j ≤ τ k + d ( j , k ) ∀ j , k ∈ A .
As in [12 ] , we also allow the introduction of “free facilities” whose opening costs are not paid. Let S f r e e ⊆ S S_{\mathrm{free}}\subseteq S S free ⊆ S be the multiset of free facilities that have been opened. For each free copy i ~ ∈ S f r e e \tilde i\in S_{\mathrm{free}} i ~ ∈ S free , we also define a parameter u ( i ~ ) u(\tilde i) u ( i ~ ) which represents the distance between the free facility i ~ \tilde i i ~ and its original copy i i i . For any point x x x in the metric space, the distance is given by d ( i ~ , x ) = d ( i , x ) + u ( i ~ ) d(\tilde i,x)=d(i,x)+u(\tilde i) d ( i ~ , x ) = d ( i , x ) + u ( i ~ ) . Also let S r e g = S ∖ S f r e e S_{\mathrm{reg}}=S\setminus S_{\mathrm{free}} S reg = S ∖ S free be the set of open regular facilities.
For ν ∈ { 1 , 2 } \nu\in\{1,2\} ν ∈ { 1 , 2 } , we define ( ν , η ) (\nu,\eta) ( ν , η ) -valid sequences.
Definition D.3 (( ν , η ) ( \nu,\eta) ( ν , η ) -valid sequence). Consider a time θ \theta θ and let S S S be a set of opened facilities. A sequence ( h 1 , … , h ℓ ) (h_1,\ldots,h_\ell) ( h 1 , … , h ℓ ) of facilities is ( ν , η ) (\nu,\eta) ( ν , η ) -valid if the following conditions hold.
(Validity) Each h t h_t h t is either free or ( ν , η ) (\nu,\eta) ( ν , η ) -openable w.r.t. the time θ \theta θ and a superset S ′ ⊇ S ∪ { h 1 , … , h t − 1 } S'\supseteq S\cup\{h_1,\ldots,h_{t-1}\} S ′ ⊇ S ∪ { h 1 , … , h t − 1 } .
(Maximality) The sequence is maximal, i.e., there is no ( ν , 0 ) (\nu,0) ( ν , 0 ) -openable facility w.r.t. the time θ \theta θ and S ∪ { h 1 , … , h ℓ } S\cup\{h_1,\ldots,h_\ell\} S ∪ { h 1 , … , h ℓ } .
We note that Algorithm 2 generates ( ν , 0 ) (\nu,0) ( ν , 0 ) -valid sequences:
Lemma D.4. Any sequence generated in Stage 1 of Algorithm 2 is (1, 0)-valid.
Proof. Both properties follow from the definition of the algorithm. For the first property, a facility h t h_t h t is added only if it is (1, 0)-openable w.r.t. the time θ \theta θ and S ∪ { h 1 , … , h t − 1 } S \cup\{h_1,\ldots,h_{t-1}\} S ∪ { h 1 , … , h t − 1 } . For the second property, the loop in Stage 1 continues as long as there exists a (1, 0)-openable facility w.r.t. θ \theta θ and the set of facilities opened so far. □ \square □
Lemma D.5. Any sequence generated in Stage 2 of Algorithm 2 is (2, 0)-valid.
Proof. Both properties follow from the definition of the algorithm. For the first property, a facility h t h_t h t is added only if it is (2, 0)-openable w.r.t. the time θ \theta θ and S ∪ { h 1 , … , h t − 1 } S \cup\{h_1,\ldots,h_{t-1}\} S ∪ { h 1 , … , h t − 1 } . For the second property, the loop in Stage 2 continues as long as there exists a (2, 0)-openable facility w.r.t. θ \theta θ and the set of facilities opened so far. □ \square □
For simplicity of notation, let ν : N → { 1 , 2 } \nu:\mathbb{N}\to\{1,2\} ν : N → { 1 , 2 } satisfy ν ( x ) = 1 \nu(x)=1 ν ( x ) = 1 for odd integers and ν ( x ) = 2 \nu(x)=2 ν ( x ) = 2 for even integers. We define now an η \eta η -valid sequence of sequences, which consists of ( ν , η ) (\nu,\eta) ( ν , η ) -valid sequences and in addition the first sequence is required to be of type 1 and the sequences are required to alternate between type 1 and type 2.
Definition D.6. For a sequence of sequences H = ( H 1 , … , H L ) \mathcal{H}=(H_1,\ldots,H_L) H = ( H 1 , … , H L ) , we say it consists of η \eta η -valid sequences if H t H_t H t is ( ν ( t ) , η ) (\nu(t),\eta) ( ν ( t ) , η ) -valid w.r.t. θ = ( 1 + ε 2 ) ⌊ ( t − 1 ) / 2 ⌋ \theta=(1+\varepsilon^2)^{\lfloor(t-1)/2\rfloor} θ = ( 1 + ε 2 ) ⌊( t − 1 ) /2 ⌋ and S = ⋃ q ∈ [ t − 1 ] H q S=\bigcup_{q\in[t-1]}H_q S = ⋃ q ∈ [ t − 1 ] H q , for all 1 ≤ t ≤ L 1\leq t\leq L 1 ≤ t ≤ L .
Furthermore, we say that H \mathcal{H} H is a solution if L L L is even and A = ∅ A=\varnothing A = ∅ at the end, meaning that at time θ = ( 1 + ε 2 ) ∣ H ∣ / 2 \theta=(1+\varepsilon^2)^{|H|/2} θ = ( 1 + ε 2 ) ∣ H ∣/2 , the set of inactive clients I = { j ∈ D ∣ θ ≥ ( 1 − δ ) d ( j , S ) } I=\{j\in D\mid\theta\geq(1-\delta)d(j,S)\} I = { j ∈ D ∣ θ ≥ ( 1 − δ ) d ( j , S )} is equal to the set of all clients. Otherwise, we say that H \mathcal{H} H is a partial solution.
We prove that the following approximation guarantee holds for solutions H \mathcal{H} H :
Theorem D.7. Let γ ≥ 1 \gamma\geq1 γ ≥ 1 and let β ( α , d ) = [ α − γ ⋅ d ] + \beta(\alpha,d)=[\alpha-\gamma\cdot d]_+ β ( α , d ) = [ α − γ ⋅ d ] + . Let ρ ≥ 1.01 γ \rho\geq1.01\gamma ρ ≥ 1.01 γ be an upper bound on the optimal value of the factor-revealing program in Definition 4.1 over all n ≥ 1 n\geq1 n ≥ 1 . Let δ > 0 \delta>0 δ > 0 be small enough compared to 1 / γ 1/\gamma 1/ γ and let ε > 0 \varepsilon>0 ε > 0 be small enough compared to 1 / γ 1/\gamma 1/ γ and δ \delta δ , and let OPT be the optimal cost to the facility location problem with facility cost f = f ^ ρ + 6 δ f=\frac{\hat{f}}{\rho+6\delta} f = ρ + 6 δ f ^ for f ^ > n η \hat{f}>n\eta f ^ > n η . If H \mathcal{H} H is an η \eta η -valid solution with respect to these parameters, then the set S ⋆ S^\star S ⋆ of facilities opened by H \mathcal{H} H satisfies
∑ j ∈ D d ( j , S ⋆ ) ≤ ( 1 + 8 δ ) ρ ⋅ ( O P T − ∣ S r e g ⋆ ∣ ⋅ f ) + 2 ∣ S r e g ⋆ ∣ ⋅ n η . \sum_{j\in D}d(j,S^\star)\leq(1+8\delta)\rho\cdot(\mathrm{OPT}-|S^\star_{\mathrm{reg}}|\cdot f)+2|S^\star_{\mathrm{reg}}|\cdot n\eta. j ∈ D ∑ d ( j , S ⋆ ) ≤ ( 1 + 8 δ ) ρ ⋅ ( OPT − ∣ S reg ⋆ ∣ ⋅ f ) + 2∣ S reg ⋆ ∣ ⋅ n η .
We will prove Theorem D.7 in Section E. The proof of the theorem follows the same set of steps as that of Theorem 5.4, but becomes more technically intricate because of the more general definition of ( ν , η ) (\nu,\eta) ( ν , η ) -openable. An important technical challenge comes from the fact that a facility may be opened with respect to a superset of the set of open facilities; this ends up making it more challenging to embed a solution into a feasible solution for the factor-revealing program, and requires us to use a more complicated assignment of values to the variables r r r in the factor-revealing program.
Merging Procedure
Next, we will start with some definitions required in the merging procedure.
We define now two procedures CompleteSolution f ^ , u \operatorname{CompleteSolution}_{\hat{f},u} CompleteSolution f ^ , u and CompleteSequence f ^ , u \operatorname{CompleteSequence}_{\hat{f},u} CompleteSequence f ^ , u that are extensively used in the merging algorithm. These procedures are defined analogously to the same procedures in [12 ] :
CompleteSolution f ^ , u ( H ) \operatorname{CompleteSolution}_{\hat{f},u}(\mathcal{H}) CompleteSolution f ^ , u ( H ) takes a partial η \eta η -valid solution H \mathcal{H} H as input and returns a solution by running Algorithm 2 using opening cost f ^ \hat{f} f ^ and distance u u u for free facilities already opened. If ∣ H ∣ |\mathcal{H}| ∣ H ∣ is odd, it starts at Stage 2 with θ = ( 1 + ε 2 ) ( ∣ H ∣ − 1 ) / 2 \theta=(1+\varepsilon^2)^{(|\mathcal{H}|-1)/2} θ = ( 1 + ε 2 ) ( ∣ H ∣ − 1 ) /2 , and if ∣ H ∣ |\mathcal{H}| ∣ H ∣ is even, it starts at Stage 1 with θ = ( 1 + ε 2 ) ∣ H ∣ / 2 \theta=(1+\varepsilon^2)^{|\mathcal{H}|/2} θ = ( 1 + ε 2 ) ∣ H ∣/2 . Note that CompleteSolution can only terminate after a Stage 3 in Algorithm 2, so the returned solution has even length.
CompleteSequence f ^ , u ( H = ( H 1 , … , H p − 1 ) , H p = ( h 1 , … , h ℓ ) ) \operatorname{CompleteSequence}_{\hat{f},u}(\mathcal{H}=(H_1,\ldots,H_{p-1}),H_p=(h_1,\ldots,h_\ell)) CompleteSequence f ^ , u ( H = ( H 1 , … , H p − 1 ) , H p = ( h 1 , … , h ℓ )) where H \mathcal{H} H is a partial η \eta η -valid solution and H p H_p H p is a ( ν ( p ) , η ) (\nu(p),\eta) ( ν ( p ) , η ) -valid sequence, except that it may not be maximal. If p p p is odd, CompleteSequence runs Stage 1 in Algorithm 2 using opening cost f ^ \hat{f} f ^ and distance u u u for free facilities, and if p p p is even it runs Stage 2 in Algorithm 2 using opening cost f ^ \hat{f} f ^ and distance u u u for free facilities, to return a maximal sequence that contains H p H_p H p as a prefix.
The definitions of CompleteSolution and CompleteSequence imply that the solutions and the sequences generated by them are valid:
Observation D.8. Any output of CompleteSolutionf ^ , u ( H ) _{\hat{f},u}(\mathcal{H}) f ^ , u ( H ) on a valid input is an η \eta η -valid solution, and any output of CompleteSequencef ^ , u ( H = ( H 1 , … , H p − 1 ) , H p = ( h 1 , … , h ℓ ) ) _{\hat{f},u}(\mathcal{H}=(H_1,\ldots,H_{p-1}),H_p=(h_1,\ldots,h_\ell)) f ^ , u ( H = ( H 1 , … , H p − 1 ) , H p = ( h 1 , … , h ℓ )) on a valid input produces a ( ν ( p ) , η ) (\nu(p),\eta) ( ν ( p ) , η ) -valid partial sequence that contains H p H_p H p as a prefix.
We will also need a non-overbidding property to be satisfied at the beginning of each sequence in a solution generated by CompleteSolution:
Lemma D.9. Let H = ( H 1 , … , H p ) \mathcal{H}=(H_1,\ldots,H_p) H = ( H 1 , … , H p ) be an η \eta η -valid partial solution. Suppose that for S ′ = ⋃ H ∈ H H S'=\bigcup_{H\in\mathcal{H}}H S ′ = ⋃ H ∈ H H , I ′ = { j ∈ D ∣ θ ≥ ( 1 − δ ) d ( j , S ′ ) } I'=\{j\in D\mid\theta\ge(1-\delta)d(j,S')\} I ′ = { j ∈ D ∣ θ ≥ ( 1 − δ ) d ( j , S ′ )} , and A ′ = D ∖ I ′ A'=D\setminus I' A ′ = D ∖ I ′ it holds for all i 0 ∈ F i_0\in F i 0 ∈ F that
∑ j ∈ A ′ β ( θ , d ( i 0 , j ) ) + ∑ j ∈ I ′ β ( ( 1 − δ ) d ( j , S ′ ) , d ( i 0 , j ) ) ≤ f ^ . \sum_{j\in A'}\beta(\theta,d(i_0,j))+\sum_{j\in I'}\beta((1-\delta)d(j,S'),d(i_0,j))\le\hat{f}. j ∈ A ′ ∑ β ( θ , d ( i 0 , j )) + j ∈ I ′ ∑ β (( 1 − δ ) d ( j , S ′ ) , d ( i 0 , j )) ≤ f ^ . Then, for all H t H_t H t with t > p t>p t > p in the output of CompleteSolutionf ^ , u ( H ) _{\hat{f},u}(\mathcal{H}) f ^ , u ( H ) , for S = S ′ ∪ ⋃ q = p + 1 t H q S=S'\cup\bigcup_{q=p+1}^{t}H_q S = S ′ ∪ ⋃ q = p + 1 t H q , I = { j ∈ D ∣ θ ≥ ( 1 − δ ) d ( j , S ) } I=\{j\in D\mid\theta\ge(1-\delta)d(j,S)\} I = { j ∈ D ∣ θ ≥ ( 1 − δ ) d ( j , S )} , and A = D ∖ I A=D\setminus I A = D ∖ I , we have for all i 0 ∈ F i_0\in F i 0 ∈ F that
∑ j ∈ A β ( θ , d ( i 0 , j ) ) + ∑ j ∈ I β ( ( 1 − δ ) d ( j , S ) , d ( i 0 , j ) ) ≤ f ^ . \sum_{j\in A}\beta(\theta,d(i_0,j))+\sum_{j\in I}\beta((1-\delta)d(j,S),d(i_0,j))\le\hat{f}. j ∈ A ∑ β ( θ , d ( i 0 , j )) + j ∈ I ∑ β (( 1 − δ ) d ( j , S ) , d ( i 0 , j )) ≤ f ^ . Proof. The claim is captured by Lemma E.6, which proves that the property holds even after the opening of each facility in each sequence.
We now discuss the merging procedure itself. Informally, the merging procedure takes two η \eta η -valid solutions H \mathcal{H} H and H ′ \mathcal{H}' H ′ that open less and more than k k k regular facilities, respectively, and merges them to obtain an η \eta η -valid solution that opens exactly k k k regular facilities. This merging procedure is essentially identical to that in [12 ] , except that (1) it uses our definitions of CompleteSolution and CompleteSequence above and (2) it has a slightly different initialization.
Let us describe our initialization. We perform bisection search on f ^ \hat{f} f ^ in the interval [ δ / n , 4 γ n M ] [\delta/n,4\gamma nM] [ δ / n , 4 γ n M ] and run CompleteSolutionf ^ , u ( ∅ ) _{\hat{f},u}(\varnothing) f ^ , u ( ∅ ) with empty u u u . Let us start by analyzing the endpoints of this interval:
f ^ = δ / n \hat{f}=\delta/n f ^ = δ / n : At f ^ = δ / n \hat{f}=\delta/n f ^ = δ / n every client j ∈ D j\in D j ∈ D satisfies d ( j , S ∗ ) ≤ 1 + ε 2 1 − δ ( γ d ( j , F ) + δ / n ) d(j,S^*)\le\frac{1+\varepsilon^2}{1-\delta}(\gamma d(j,F)+\delta/n) d ( j , S ∗ ) ≤ 1 − δ 1 + ε 2 ( γ d ( j , F ) + δ / n ) because each client may open its closest facility by itself by the time θ ≥ γ d ( j , F ) + δ / n \theta\ge\gamma d(j,F)+\delta/n θ ≥ γ d ( j , F ) + δ / n . Then the resulting solution is a 1 + ε 2 1 − δ ( γ + δ ) \frac{1+\varepsilon^2}{1-\delta}(\gamma+\delta) 1 − δ 1 + ε 2 ( γ + δ ) -approximation, which by our choice of parameters is also a ρ \rho ρ -approximation. If this solution opens at most k k k centers, we are done. Else, it gives a solution that opens more than k k k centers.
f ^ = 4 γ n M \hat{f}=4\gamma nM f ^ = 4 γ n M : At f ^ = 4 γ n M \hat{f}=4\gamma nM f ^ = 4 γ n M the algorithm opens exactly one facility, because when first facility is opened then every other client becomes immediately inactive at that step. If k = 1 k=1 k = 1 , we are done. Else, it gives a solution that opens less than k k k centers.
Then we perform bisection search until we find two f ^ > f ^ ′ \hat{f}>\hat{f}' f ^ > f ^ ′ such that ∣ f ^ − f ^ ′ ∣ ≤ η \lvert\hat{f}-\hat{f}'\rvert\le\eta ∣ f ^ − f ^ ′ ∣ ≤ η and the corresponding solutions H \mathcal{H} H and H ′ \mathcal{H}' H ′ open strictly less and strictly more than k k k facilities, respectively. (If one happens to open exactly k k k facilities, we return it immediately.)
Then, as in [12 ] , the procedure maintains two solutions H \mathcal{H} H and H ′ \mathcal{H}' H ′ whose number of opened regular facilities sandwich k k k . It also ensures that H \mathcal{H} H is η \eta η -valid w.r.t. some f ^ , u \hat{f},u f ^ , u and H ′ \mathcal{H}' H ′ is η \eta η -valid w.r.t. some f ^ ′ , u ′ \hat{f}',u' f ^ ′ , u ′ such that f ^ , u \hat{f},u f ^ , u and f ^ ′ , u ′ \hat{f}',u' f ^ ′ , u ′ differ in at most one “entry”, by at most η \eta η : either they are identical, or f ^ ≠ f ^ ′ \hat{f}\ne\hat{f}' f ^ = f ^ ′ and ∣ f ^ − f ^ ′ ∣ ≤ η \lvert\hat{f}-\hat{f}'\rvert\le\eta ∣ f ^ − f ^ ′ ∣ ≤ η , or there exists a single free facility i ^ \hat{i} i ^ with u ( i ^ ) ≠ u ′ ( i ^ ) u(\hat{i})\ne u'(\hat{i}) u ( i ^ ) = u ′ ( i ^ ) and ∣ u ( i ^ ) − u ′ ( i ^ ) ∣ ≤ η \lvert u(\hat{i})-u'(\hat{i})\rvert\le\eta ∣ u ( i ^ ) − u ′ ( i ^ )∣ ≤ η . The procedure modifies H \mathcal{H} H and H ′ \mathcal{H}' H ′ in steps, such that after the p p p -th step of the procedure it has found a solution that opens exactly k k k facilities or it ensures that the first p p p sequences of H \mathcal{H} H and H ′ \mathcal{H}' H ′ are identical. Also, each step of the procedure opens at most three new free facilities.
For f ^ ≤ 4 γ n M \hat{f}\le4\gamma nM f ^ ≤ 4 γ n M , at the latest when θ \theta θ reaches 6 γ M 6\gamma M 6 γ M a facility will open and every client will become inactive, so θ \theta θ is upper bounded by ( 1 + ε 2 ) 6 γ M (1+\varepsilon^2)6\gamma M ( 1 + ε 2 ) 6 γ M . Because θ \theta θ starts at 1 1 1 and increases exponentially in the number of sequences (specifically, it is multiplied by ( 1 + ε 2 ) (1+\varepsilon^2) ( 1 + ε 2 ) every two sequences), this implies that the number of sequences in any η \eta η -valid solution produced by our procedure with f ^ ≤ 4 γ n M ≤ poly ( n ) \hat{f}\le4\gamma nM\le\operatorname{poly}(n) f ^ ≤ 4 γ n M ≤ poly ( n ) is O ( log n / ε 2 ) O(\log n/\varepsilon^2) O ( log n / ε 2 ) . This implies that the procedure finds a solution within O ( log n / ε 2 ) O(\log n/\varepsilon^2) O ( log n / ε 2 ) steps, because otherwise it would reach the contradiction that H \mathcal{H} H and H ′ \mathcal{H}' H ′ are identical but open different numbers of regular facilities.
Proof sketch of Theorem 5.16 . The merging procedure generates an η \eta η -valid solution that opens exactly k k k regular facilities and at most O ( log n / ε 2 ) O(\log n/\varepsilon^2) O ( log n / ε 2 ) free facilities. Then, by Theorem D.7 ,
∑ j ∈ D d ( j , S ⋆ ) ≤ ( 1 + 8 δ ) ρ ⋅ ( O P T f − ∣ S r e g ⋆ ∣ ⋅ f ) + 2 ∣ S r e g ⋆ ∣ ⋅ n η = ( 1 + 8 δ ) ρ ⋅ ( O P T f − f ⋅ k ) + 2 ∣ S r e g ⋆ ∣ ⋅ n η ≤ ( ( 1 + 8 δ ) ρ + 2 ∣ S r e g ⋆ ∣ ⋅ n η ) ⋅ o p t ≤ ( 1 + 9 δ ) ρ ⋅ o p t , \begin{aligned}
\sum_{j\in D} d(j,S^\star) \le(1+8\delta)\rho\cdot(\mathrm{OPT}_f-|S^\star_{\mathrm{reg}}|\cdot f)+2|S^\star_{\mathrm{reg}}|\cdot n\eta\\
&= (1+8\delta)\rho\cdot(\mathrm{OPT}_f-f\cdot k)+2|S^\star_{\mathrm{reg}}|\cdot n\eta\\
&\le\left((1+8\delta)\rho+2|S^\star_{\mathrm{reg}}|\cdot n\eta\right)\cdot\mathrm{opt} \\
&\le(1+9\delta)\rho\cdot\mathrm{opt},
\end{aligned} j ∈ D ∑ d ( j , S ⋆ ) ≤ ( 1 + 8 δ ) ρ ⋅ ( OPT f − ∣ S reg ⋆ ∣ ⋅ f ) + 2∣ S reg ⋆ ∣ ⋅ n η = ( 1 + 8 δ ) ρ ⋅ ( OPT f − f ⋅ k ) + 2∣ S reg ⋆ ∣ ⋅ n η ≤ ( ( 1 + 8 δ ) ρ + 2∣ S reg ⋆ ∣ ⋅ n η ) ⋅ opt ≤ ( 1 + 9 δ ) ρ ⋅ opt ,
where o p t \mathrm{opt} opt is the cost of the optimal k k k -median solution. We used above that o p t ≥ O P T f − f ⋅ k \mathrm{opt}\geq\mathrm{OPT}_f-f\cdot k opt ≥ OPT f − f ⋅ k , that o p t ≥ 1 \mathrm{opt}\geq1 opt ≥ 1 (because every distance is at least 1), and also that η = c ε δ 2 − n ⋅ ∣ F ∣ \eta=c\frac{\varepsilon}{\delta}2^{-n\cdot|F|} η = c δ ε 2 − n ⋅ ∣ F ∣ . The statement of Theorem 5.16 is captured by renaming δ ← 9 δ \delta\leftarrow9\delta δ ← 9 δ and noticing that we only choose ε \varepsilon ε to be a constant factor smaller than δ \delta δ .
Strictly speaking, S ⋆ S^\star S ⋆ may not be a valid solution to the k k k -median problem because it also contains free facilities that are not members of F F F . However, each free facility i ~ \tilde{i} i ~ is a copy of a regular facility i ∈ F i\in F i ∈ F , so we consider in fact the solution that for each free facility i ~ ∈ S ⋆ \tilde{i}\in S^\star i ~ ∈ S ⋆ opens the regular facility i i i that it is a copy of. This cannot increase the cost of the solution: for all j ∈ D j\in D j ∈ D , we have d ( j , i ) = d ( j , i ~ ) − u ( i ~ ) ≤ d ( j , i ~ ) d(j,i)=d(j,\tilde{i})-u(\tilde{i})\leq d(j,\tilde{i}) d ( j , i ) = d ( j , i ~ ) − u ( i ~ ) ≤ d ( j , i ~ ) . Hence, this solution also has cost upper bounded by ( 1 + 9 δ ) ρ ⋅ o p t (1+9\delta)\rho\cdot\mathrm{opt} ( 1 + 9 δ ) ρ ⋅ opt . The number of regular facilities opened is still bounded by k + O ( log n ) k+O(\log n) k + O ( log n ) .
Merging Procedure Analysis
The analysis of the merging procedure depends on the following two lemmas that are essential to argue that, during the merging procedure, the sequences produced are maximal. An analogous result is implicit in [12 ] .
Lemma D.10. Suppose f ^ > 0 \widehat{f}>0 f > 0 . Let H p = ( h 1 , … , h ℓ ) H_p=(h_1,\ldots,h_\ell) H p = ( h 1 , … , h ℓ ) be a ( 1 , η ) (1,\eta) ( 1 , η ) -valid sequence with respect to time θ \theta θ and open facilities S ′ S' S ′ , except that it may not be maximal. For I ′ = { j ∈ D ∣ θ ≥ ( 1 − δ ) d ( j , S ′ ) } I'=\{j\in D\mid\theta\geq(1-\delta)d(j,S')\} I ′ = { j ∈ D ∣ θ ≥ ( 1 − δ ) d ( j , S ′ )} , A ′ = D ∖ I ′ A'=D\setminus I' A ′ = D ∖ I ′ , suppose that for all i 0 ∈ F i_0\in F i 0 ∈ F ,
∑ j ∈ A ′ β ( θ , d ( i 0 , j ) ) + ∑ j ∈ I ′ β ( ( 1 − δ ) d ( j , S ′ ) , d ( i 0 , j ) ) ≤ f ^ . \sum_{j\in A'}\beta(\theta,d(i_0,j))+\sum_{j\in I'}\beta((1-\delta)d(j,S'),d(i_0,j))\leq\widehat{f}. j ∈ A ′ ∑ β ( θ , d ( i 0 , j )) + j ∈ I ′ ∑ β (( 1 − δ ) d ( j , S ′ ) , d ( i 0 , j )) ≤ f . Let S = S ′ ∪ { h 1 , … , h ℓ } S=S'\cup\{h_1,\ldots,h_\ell\} S = S ′ ∪ { h 1 , … , h ℓ } , and let I = { j ∈ D ∣ θ ≥ ( 1 − δ ) d ( j , S ) } I=\{j\in D\mid\theta\geq(1-\delta)d(j,S)\} I = { j ∈ D ∣ θ ≥ ( 1 − δ ) d ( j , S )} and A = D ∖ I A=D\setminus I A = D ∖ I . Suppose furthermore that
∑ j ∈ A β ( θ , ( 1 − δ ) d ( i , j ) ) + ∑ j ∈ I β ( ( 1 − δ ) d ( j , S ) , ( 1 − δ ) d ( j , i ) ) ≥ f ^ \sum_{j\in A}\beta(\theta,(1-\delta)d(i,j))+\sum_{j\in I}\beta((1-\delta)d(j,S),(1-\delta)d(j,i))\geq\widehat{f} j ∈ A ∑ β ( θ , ( 1 − δ ) d ( i , j )) + j ∈ I ∑ β (( 1 − δ ) d ( j , S ) , ( 1 − δ ) d ( j , i )) ≥ f for some i ∈ F i\in F i ∈ F . Then there exists some i ⋆ ∈ F ∖ S i^\star\in F\setminus S i ⋆ ∈ F ∖ S that is ( 1 , 0 ) (1,0) ( 1 , 0 ) -openable with respect to θ \theta θ and S S S .
Proof. We start by noting that i ∈ S i\in S i ∈ S is impossible unless f ^ = 0 \widehat{f}=0 f = 0 , because then θ ≤ ( 1 − δ ) d ( j , S ) ≤ ( 1 − δ ) d ( i , j ) \theta\leq(1-\delta)d(j,S)\leq(1-\delta)d(i,j) θ ≤ ( 1 − δ ) d ( j , S ) ≤ ( 1 − δ ) d ( i , j ) for all j ∈ A j\in A j ∈ A and d ( j , S ) ≤ d ( i , j ) d(j,S)\leq d(i,j) d ( j , S ) ≤ d ( i , j ) for all j ∈ [ n ] j\in[n] j ∈ [ n ] , which implies that the left-hand side of the budget assumption is zero. Therefore i ∉ S i\notin S i ∈ / S . Then i i i itself is ( 1 , 0 ) (1,0) ( 1 , 0 ) -openable, because the condition in Definition D.1 is identical to the second inequality in our hypothesis.
Lemma D.11. Suppose f ^ > 0 \widehat{f}>0 f > 0 . Let H p = ( h 1 , … , h ℓ ) H_p=(h_1,\ldots,h_\ell) H p = ( h 1 , … , h ℓ ) be a ( 2 , η ) (2,\eta) ( 2 , η ) -valid sequence with respect to time θ \theta θ and open facilities S ′ S' S ′ , except that it may not be maximal. For I ′ = { j ∈ D ∣ θ ≥ ( 1 − δ ) d ( j , S ′ ) } I'=\{j\in D\mid\theta\geq(1-\delta)d(j,S')\} I ′ = { j ∈ D ∣ θ ≥ ( 1 − δ ) d ( j , S ′ )} , A ′ = D ∖ I ′ A'=D\setminus I' A ′ = D ∖ I ′ , suppose that for all i 0 ∈ F i_0\in F i 0 ∈ F ,
∑ j ∈ A ′ β ( θ , d ( i 0 , j ) ) + ∑ j ∈ I ′ β ( ( 1 − δ ) d ( j , S ′ ) , d ( i 0 , j ) ) ≤ f ^ . \sum_{j\in A'}\beta(\theta,d(i_0,j))+\sum_{j\in I'}\beta((1-\delta)d(j,S'),d(i_0,j))\leq\widehat{f}. j ∈ A ′ ∑ β ( θ , d ( i 0 , j )) + j ∈ I ′ ∑ β (( 1 − δ ) d ( j , S ′ ) , d ( i 0 , j )) ≤ f . Let S = S ′ ∪ { h 1 , … , h ℓ } S=S'\cup\{h_1,\ldots,h_\ell\} S = S ′ ∪ { h 1 , … , h ℓ } , and let I = { j ∈ D ∣ θ ≥ ( 1 − δ ) d ( j , S ) } I=\{j\in D\mid\theta\geq(1-\delta)d(j,S)\} I = { j ∈ D ∣ θ ≥ ( 1 − δ ) d ( j , S )} and A = D ∖ I A=D\setminus I A = D ∖ I . Suppose furthermore that there exist values ( τ j ) j ∈ A (\tau_j)_{j\in A} ( τ j ) j ∈ A such that τ j = θ \tau_j=\theta τ j = θ for j ∈ A ∖ B ( i , ε θ ) j\in A\setminus B(i,\varepsilon\theta) j ∈ A ∖ B ( i , εθ ) , θ ≤ τ j ≤ min ( ( 1 − δ ) d ( j , S ) , ( 1 + ε 2 ) θ ) \theta\leq\tau_j\leq\min((1-\delta)d(j,S),(1+\varepsilon^2)\theta) θ ≤ τ j ≤ min (( 1 − δ ) d ( j , S ) , ( 1 + ε 2 ) θ ) for j ∈ A ∩ B ( i , ε θ ) j\in A\cap B(i,\varepsilon\theta) j ∈ A ∩ B ( i , εθ ) , τ j ≤ τ k + d ( j , k ) \tau_j\leq\tau_k+d(j,k) τ j ≤ τ k + d ( j , k ) for all j , k ∈ A j,k\in A j , k ∈ A , and
∑ j ∈ A β ( τ j , ( 1 − δ / 2 ) d ( i , j ) ) + ∑ j ∈ I β ( ( 1 − δ ) d ( j , S ) , ( 1 − δ / 2 ) d ( j , i ) ) ≥ f ^ \sum_{j\in A}\beta(\tau_j,(1-\delta/2)d(i,j))+\sum_{j\in I}\beta((1-\delta)d(j,S),(1-\delta/2)d(j,i))\geq\widehat{f} j ∈ A ∑ β ( τ j , ( 1 − δ /2 ) d ( i , j )) + j ∈ I ∑ β (( 1 − δ ) d ( j , S ) , ( 1 − δ /2 ) d ( j , i )) ≥ f for some i ∈ F i\in F i ∈ F . Then there exists some i ⋆ ∈ F ∖ S i^\star\in F\setminus S i ⋆ ∈ F ∖ S that is ( 2 , 0 ) (2,0) ( 2 , 0 ) -openable with respect to θ \theta θ and $S.
Proof. We start by noting that i ∈ S i \in S i ∈ S is impossible unless f ^ = 0 \hat{f}=0 f ^ = 0 , because then τ j ≤ ( 1 − δ ) d ( i , j ) \tau_j \le(1-\delta)d(i,j) τ j ≤ ( 1 − δ ) d ( i , j ) for all j ∈ A j \in A j ∈ A and d ( j , S ) ≤ d ( j , i ) d(j,S) \le d(j,i) d ( j , S ) ≤ d ( j , i ) for all j ∈ [ n ] j \in[n] j ∈ [ n ] , which implies that the left-hand side of the budget assumption is zero.
Fix ( τ j ) j ∈ A (\tau_j)_{j\in A} ( τ j ) j ∈ A such that τ max = max j ∈ A τ j \tau_{\max}=\max_{j\in A}\tau_j τ m a x = max j ∈ A τ j (with τ max = θ \tau_{\max}=\theta τ m a x = θ if A = ∅ A=\emptyset A = ∅ ) is minimized and the assumptions are satisfied with respect to some i ∈ F ∖ S i \in F \setminus S i ∈ F ∖ S . We will prove that i i i is ( 2 , 0 ) (2,0) ( 2 , 0 ) -openable. The first three constraints and the fifth constraint are satisfied by assumption.
Fourth constraint for i 0 ∈ F ∖ S i_0 \in F \setminus S i 0 ∈ F ∖ S . For the fourth constraint, suppose for the sake of contradiction that there exists some i 0 ∈ F ∖ S i_0 \in F \setminus S i 0 ∈ F ∖ S such that
∑ j ∈ A β ( τ j , d ( i 0 , j ) ) + ∑ j ∈ I β ( ( 1 − δ ) d ( j , S ) , d ( i 0 , j ) ) > f ^ . \sum_{j\in A}\beta(\tau_j,d(i_0,j))+\sum_{j\in I}\beta((1-\delta)d(j,S),d(i_0,j))>\hat{f}. j ∈ A ∑ β ( τ j , d ( i 0 , j )) + j ∈ I ∑ β (( 1 − δ ) d ( j , S ) , d ( i 0 , j )) > f ^ .
Existence of non-zero active bid. Let us prove that there exists j ∈ A j \in A j ∈ A such that τ j > θ \tau_j>\theta τ j > θ and β ( τ j , d ( i 0 , j ) ) > 0 \beta(\tau_j,d(i_0,j))>0 β ( τ j , d ( i 0 , j )) > 0 . We have that
∑ j ∈ A ′ β ( θ , d ( i 0 , j ) ) + ∑ j ∈ I ′ β ( ( 1 − δ ) d ( j , S ′ ) , d ( i 0 , j ) ) ≤ f ^ , \sum_{j\in A'}\beta(\theta,d(i_0,j))+\sum_{j\in I'}\beta((1-\delta)d(j,S'),d(i_0,j))\le\hat{f}, j ∈ A ′ ∑ β ( θ , d ( i 0 , j )) + j ∈ I ′ ∑ β (( 1 − δ ) d ( j , S ′ ) , d ( i 0 , j )) ≤ f ^ ,
so because d ( j , S ) ≤ d ( j , S ′ ) d(j,S)\le d(j,S') d ( j , S ) ≤ d ( j , S ′ ) also
∑ j ∈ A ′ β ( θ , d ( i 0 , j ) ) + ∑ j ∈ I ′ β ( ( 1 − δ ) d ( j , S ) , d ( i 0 , j ) ) ≤ f ^ . \sum_{j\in A'}\beta(\theta,d(i_0,j))+\sum_{j\in I'}\beta((1-\delta)d(j,S),d(i_0,j))\le\hat{f}. j ∈ A ′ ∑ β ( θ , d ( i 0 , j )) + j ∈ I ′ ∑ β (( 1 − δ ) d ( j , S ) , d ( i 0 , j )) ≤ f ^ .
Let us now consider the clients j ∈ A ′ ∩ I j\in A'\cap I j ∈ A ′ ∩ I . Because j ∈ I j\in I j ∈ I , we have θ ≥ ( 1 − δ ) d ( j , S ) \theta\ge(1-\delta)d(j,S) θ ≥ ( 1 − δ ) d ( j , S ) , so we also have β ( θ , d ( i 0 , j ) ) ≥ β ( ( 1 − δ ) d ( j , S ) , d ( i 0 , j ) ) \beta(\theta,d(i_0,j))\ge\beta((1-\delta)d(j,S),d(i_0,j)) β ( θ , d ( i 0 , j )) ≥ β (( 1 − δ ) d ( j , S ) , d ( i 0 , j )) . Hence, overall, we also have that
∑ j ∈ A β ( θ , d ( i 0 , j ) ) + ∑ j ∈ I β ( ( 1 − δ ) d ( j , S ) , d ( i 0 , j ) ) ≤ f ^ . \sum_{j\in A}\beta(\theta,d(i_0,j))+\sum_{j\in I}\beta((1-\delta)d(j,S),d(i_0,j))\le\hat{f}. j ∈ A ∑ β ( θ , d ( i 0 , j )) + j ∈ I ∑ β (( 1 − δ ) d ( j , S ) , d ( i 0 , j )) ≤ f ^ .
Then, for this inequality to be violated when switching from θ \theta θ to ( τ j ) j ∈ A (\tau_j)_{j\in A} ( τ j ) j ∈ A , there must exist some j ∈ A j\in A j ∈ A such that τ j > θ \tau_j>\theta τ j > θ and β ( τ j , d ( i 0 , j ) ) > 0 \beta(\tau_j,d(i_0,j))>0 β ( τ j , d ( i 0 , j )) > 0 .
Finalizing fourth constraint for i 0 ∈ F ∖ S i_0 \in F \setminus S i 0 ∈ F ∖ S . For some ζ > 0 \zeta>0 ζ > 0 small enough, consider a new set of values { τ j ′ } j ∈ A \{\tau'_j\}_{j\in A} { τ j ′ } j ∈ A such that τ j ′ = τ j − ζ \tau'_j=\tau_j-\zeta τ j ′ = τ j − ζ if τ j > θ \tau_j>\theta τ j > θ and τ j ′ = τ j \tau'_j=\tau_j τ j ′ = τ j otherwise. Then we still have τ j ′ ≥ θ \tau'_j\ge\theta τ j ′ ≥ θ for all j ∈ A j\in A j ∈ A and
∑ j ∈ A β ( τ j ′ , d ( i 0 , j ) ) + ∑ j ∈ I β ( ( 1 − δ ) d ( j , S ) , d ( i 0 , j ) ) > f ^ . \sum_{j\in A}\beta(\tau'_j,d(i_0,j))+\sum_{j\in I}\beta((1-\delta)d(j,S),d(i_0,j))>\hat{f}. j ∈ A ∑ β ( τ j ′ , d ( i 0 , j )) + j ∈ I ∑ β (( 1 − δ ) d ( j , S ) , d ( i 0 , j )) > f ^ .
Let us prove now that this leads to a contradiction. Let τ max ′ = max j ∈ A τ j ′ \tau'_{\max}=\max_{j\in A}\tau'_j τ m a x ′ = max j ∈ A τ j ′ . We have θ < τ max ′ < τ max \theta<\tau'_{\max}<\tau_{\max} θ < τ m a x ′ < τ m a x . Let α j ′ = min ( τ max ′ , ( 1 − δ ) d ( j , S ) ) \alpha'_j=\min(\tau'_{\max},(1-\delta)d(j,S)) α j ′ = min ( τ m a x ′ , ( 1 − δ ) d ( j , S )) , and note that α j ′ ≥ τ j ′ \alpha'_j\ge\tau'_j α j ′ ≥ τ j ′ for all j ∈ A j\in A j ∈ A , because if α j ′ = ( 1 − δ ) d ( j , S ) \alpha'_j=(1-\delta)d(j,S) α j ′ = ( 1 − δ ) d ( j , S ) we have ( 1 − δ ) d ( j , S ) ≥ τ j ≥ τ j ′ (1-\delta)d(j,S)\ge\tau_j\ge\tau'_j ( 1 − δ ) d ( j , S ) ≥ τ j ≥ τ j ′ . Then we also have
∑ j ∈ A β ( α j ′ , d ( i 0 , j ) ) + ∑ j ∈ I β ( ( 1 − δ ) d ( j , S ) , d ( i 0 , j ) ) > f ^ . \sum_{j\in A}\beta(\alpha'_j,d(i_0,j))+\sum_{j\in I}\beta((1-\delta)d(j,S),d(i_0,j))>\hat{f}. j ∈ A ∑ β ( α j ′ , d ( i 0 , j )) + j ∈ I ∑ β (( 1 − δ ) d ( j , S ) , d ( i 0 , j )) > f ^ .
Let τ ~ j = min ( α j ′ , ( 1 + ε ) θ − d ( i 0 , j ) ) \widetilde{\tau}_j=\min(\alpha'_j,(1+\varepsilon)\theta-d(i_0,j)) τ j = min ( α j ′ , ( 1 + ε ) θ − d ( i 0 , j )) for j ∈ A ∩ B ( i 0 , ε θ ) j\in A\cap B(i_0,\varepsilon\theta) j ∈ A ∩ B ( i 0 , εθ ) and τ ~ j = θ \widetilde{\tau}_j=\theta τ j = θ for j ∈ A ∖ B ( i 0 , ε θ ) j\in A\setminus B(i_0,\varepsilon\theta) j ∈ A ∖ B ( i 0 , εθ ) . We claim that
∑ j ∈ A β ( τ ~ j , ( 1 − δ / 2 ) d ( i 0 , j ) ) + ∑ j ∈ I β ( ( 1 − δ ) d ( j , S ) , ( 1 − δ / 2 ) d ( j , i 0 ) ) = ∑ j ∈ A ∩ B ( i 0 , ε θ ) β ( min ( α j ′ , ( 1 + ε ) θ − d ( i 0 , j ) ) , ( 1 − δ / 2 ) d ( i 0 , j ) ) + ∑ j ∈ A ∖ B ( i 0 , ε θ ) β ( θ , ( 1 − δ / 2 ) d ( i 0 , j ) ) + ∑ j ∈ I β ( ( 1 − δ ) d ( j , S ) , ( 1 − δ / 2 ) d ( j , i 0 ) ) ≥ ∑ j ∈ A ∩ B ( i 0 , ε θ ) β ( α j ′ , d ( i 0 , j ) ) + ∑ j ∈ A ∖ B ( i 0 , ε θ ) β ( α j ′ , d ( i 0 , j ) ) + ∑ j ∈ I β ( ( 1 − δ ) d ( j , S ) , d ( j , i 0 ) ) . \begin{aligned}
&\sum_{j\in A}\beta(\widetilde{\tau}_j,(1-\delta/2)d(i_0,j))+\sum_{j\in I}\beta((1-\delta)d(j,S),(1-\delta/2)d(j,i_0))\\
={}&\sum_{j\in A\cap B(i_0,\varepsilon\theta)}\beta(\min(\alpha'_j,(1+\varepsilon)\theta-d(i_0,j)),(1-\delta/2)d(i_0,j))\\
&+\sum_{j\in A\setminus B(i_0,\varepsilon\theta)}\beta(\theta,(1-\delta/2)d(i_0,j))\\
&+\sum_{j\in I}\beta((1-\delta)d(j,S),(1-\delta/2)d(j,i_0))\\
\ge{}&\sum_{j\in A\cap B(i_0,\varepsilon\theta)}\beta(\alpha'_j,d(i_0,j))+\sum_{j\in A\setminus B(i_0,\varepsilon\theta)}\beta(\alpha'_j,d(i_0,j))\\
&+\sum_{j\in I}\beta((1-\delta)d(j,S),d(j,i_0)).
\end{aligned} = ≥ j ∈ A ∑ β ( τ j , ( 1 − δ /2 ) d ( i 0 , j )) + j ∈ I ∑ β (( 1 − δ ) d ( j , S ) , ( 1 − δ /2 ) d ( j , i 0 )) j ∈ A ∩ B ( i 0 , εθ ) ∑ β ( min ( α j ′ , ( 1 + ε ) θ − d ( i 0 , j )) , ( 1 − δ /2 ) d ( i 0 , j )) + j ∈ A ∖ B ( i 0 , εθ ) ∑ β ( θ , ( 1 − δ /2 ) d ( i 0 , j )) + j ∈ I ∑ β (( 1 − δ ) d ( j , S ) , ( 1 − δ /2 ) d ( j , i 0 )) j ∈ A ∩ B ( i 0 , εθ ) ∑ β ( α j ′ , d ( i 0 , j )) + j ∈ A ∖ B ( i 0 , εθ ) ∑ β ( α j ′ , d ( i 0 , j )) + j ∈ I ∑ β (( 1 − δ ) d ( j , S ) , d ( j , i 0 )) .
For the inequality above, for the first sum, the claim is trivial if α j ′ \alpha'_j α j ′ is the minimizer, so let us assume that α j ′ ≥ ( 1 + ε ) θ − d ( i 0 , j ) \alpha'_j\ge(1+\varepsilon)\theta-d(i_0,j) α j ′ ≥ ( 1 + ε ) θ − d ( i 0 , j ) . Note that α j ′ ≤ ( 1 + ε 2 ) θ \alpha'_j\le(1+\varepsilon^2)\theta α j ′ ≤ ( 1 + ε 2 ) θ . Then, using that d ( i 0 , j ) ≤ ε θ d(i_0,j)\le\varepsilon\theta d ( i 0 , j ) ≤ εθ we have
( 1 + ε ) θ − d ( i 0 , j ) − ( γ ( 1 − δ / 2 ) ) d ( i 0 , j ) = ( 1 + ε ) θ − ( 1 − ε ) d ( i 0 , j ) − ( γ ( 1 − δ / 2 ) + ε ) d ( i 0 , j ) (1+\varepsilon)\theta-d(i_0,j)-(\gamma(1-\delta/2))d(i_0,j)=(1+\varepsilon)\theta-(1-\varepsilon)d(i_0,j)-(\gamma(1-\delta/2)+\varepsilon)d(i_0,j) ( 1 + ε ) θ − d ( i 0 , j ) − ( γ ( 1 − δ /2 )) d ( i 0 , j ) = ( 1 + ε ) θ − ( 1 − ε ) d ( i 0 , j ) − ( γ ( 1 − δ /2 ) + ε ) d ( i 0 , j )
≥ ( 1 + ε 2 ) θ − ( γ ( 1 − δ / 2 ) + ε ) d ( i 0 , j ) ≥ ( 1 + ε 2 ) θ − γ d ( i 0 , j ) ≥ α j ′ − γ d ( i 0 , j ) , \begin{aligned}
&\ge(1+\varepsilon^2)\theta-\bigl(\gamma(1-\delta/2)+\varepsilon\bigr)d(i_0,j)\\
&\ge(1+\varepsilon^2)\theta-\gamma d(i_0,j)\\
&\ge\alpha'_j-\gamma d(i_0,j),
\end{aligned} ≥ ( 1 + ε 2 ) θ − ( γ ( 1 − δ /2 ) + ε ) d ( i 0 , j ) ≥ ( 1 + ε 2 ) θ − γ d ( i 0 , j ) ≥ α j ′ − γ d ( i 0 , j ) ,
where we used that γ ≥ γ ( 1 − δ / 2 ) + ε \gamma\ge\gamma(1-\delta/2)+\varepsilon γ ≥ γ ( 1 − δ /2 ) + ε for δ ≫ ε \delta\gg\varepsilon δ ≫ ε .
For the second sum, using that d ( i 0 , j ) > ε θ d(i_0,j)>\varepsilon\theta d ( i 0 , j ) > εθ we have
θ − γ ( 1 − δ / 2 ) d ( i 0 , j ) ≥ ( 1 + ε 2 ) θ − γ d ( i 0 , j ) ≥ α j ′ − γ d ( i 0 , j ) , \theta-\gamma(1-\delta/2)d(i_0,j)\ge(1+\varepsilon^2)\theta-\gamma d(i_0,j)\ge\alpha'_j-\gamma d(i_0,j), θ − γ ( 1 − δ /2 ) d ( i 0 , j ) ≥ ( 1 + ε 2 ) θ − γ d ( i 0 , j ) ≥ α j ′ − γ d ( i 0 , j ) ,
where we used that γ δ d ( i 0 , j ) / 2 ≥ γ δ ε θ / 2 ≥ ε 2 θ \gamma\delta d(i_0,j)/2\ge\gamma\delta\varepsilon\theta/2\ge\varepsilon^2\theta γ δ d ( i 0 , j ) /2 ≥ γ δ εθ /2 ≥ ε 2 θ for δ ≫ ε \delta\gg\varepsilon δ ≫ ε and α j ′ ≤ ( 1 + ε 2 ) θ \alpha'_j\le(1+\varepsilon^2)\theta α j ′ ≤ ( 1 + ε 2 ) θ . The third sum follows trivially. Then
∑ j ∈ A β ( τ ~ j , ( 1 − δ / 2 ) d ( i 0 , j ) ) + ∑ j ∈ I β ( ( 1 − δ ) d ( j , S ) , ( 1 − δ / 2 ) d ( j , i 0 ) ) ≥ f ^ . \sum_{j\in A}\beta(\widetilde{\tau}_j,(1-\delta/2)d(i_0,j))+\sum_{j\in I}\beta((1-\delta)d(j,S),(1-\delta/2)d(j,i_0))\ge\widehat{f}. j ∈ A ∑ β ( τ j , ( 1 − δ /2 ) d ( i 0 , j )) + j ∈ I ∑ β (( 1 − δ ) d ( j , S ) , ( 1 − δ /2 ) d ( j , i 0 )) ≥ f .
We prove now that the other assumptions of the current lemma are also satisfied for i 0 i_0 i 0 and { τ ~ j } j ∈ A \{\widetilde{\tau}_j\}_{j\in A} { τ j } j ∈ A , thus reaching a contradiction because max j ∈ A τ ~ j ≤ τ max ′ < τ max \max_{j\in A}\widetilde{\tau}_j\le\tau'_{\max}<\tau_{\max} max j ∈ A τ j ≤ τ m a x ′ < τ m a x . We have by definition τ ~ j = θ \widetilde{\tau}_j=\theta τ j = θ for j ∈ A ∖ B ( i 0 , ε θ ) j\in A\setminus B(i_0,\varepsilon\theta) j ∈ A ∖ B ( i 0 , εθ ) and θ ≤ τ ~ j ≤ min ( ( 1 − δ ) d ( j , S ) , ( 1 + ε 2 ) θ ) \theta\le\widetilde{\tau}_j\le\min((1-\delta)d(j,S),(1+\varepsilon^2)\theta) θ ≤ τ j ≤ min (( 1 − δ ) d ( j , S ) , ( 1 + ε 2 ) θ ) for j ∈ A ∩ B ( i 0 , ε θ ) j\in A\cap B(i_0,\varepsilon\theta) j ∈ A ∩ B ( i 0 , εθ ) .
It remains to check the triangle inequalities τ ~ j ≤ τ ~ k + d ( j , k ) \widetilde{\tau}_j\le\widetilde{\tau}_k+d(j,k) τ j ≤ τ k + d ( j , k ) . The triangle inequalities between j , k j,k j , k with τ ~ k ≥ τ ~ j \widetilde{\tau}_k\ge\widetilde{\tau}_j τ k ≥ τ j are trivially satisfied, so we assume τ ~ j > τ ~ k ≥ θ \widetilde{\tau}_j>\widetilde{\tau}_k\ge\theta τ j > τ k ≥ θ . Then τ ~ j = min ( α j ′ , ( 1 + ε ) θ − d ( i 0 , j ) ) \widetilde{\tau}_j=\min(\alpha'_j,(1+\varepsilon)\theta-d(i_0,j)) τ j = min ( α j ′ , ( 1 + ε ) θ − d ( i 0 , j )) , where d ( i 0 , j ) ≤ ε θ d(i_0,j)\le\varepsilon\theta d ( i 0 , j ) ≤ εθ . First, consider the case d ( i 0 , k ) > ε θ d(i_0,k)>\varepsilon\theta d ( i 0 , k ) > εθ , which implies τ ~ k = θ \widetilde{\tau}_k=\theta τ k = θ . Then
τ ~ j ≤ ( 1 + ε ) θ − d ( i 0 , j ) ≤ ( 1 + ε ) θ − ( d ( i 0 , k ) − d ( j , k ) ) ≤ θ + d ( j , k ) = τ ~ k + d ( j , k ) . \widetilde{\tau}_j\le(1+\varepsilon)\theta-d(i_0,j)\le(1+\varepsilon)\theta-(d(i_0,k)-d(j,k))\le\theta+d(j,k)=\widetilde{\tau}_k+d(j,k). τ j ≤ ( 1 + ε ) θ − d ( i 0 , j ) ≤ ( 1 + ε ) θ − ( d ( i 0 , k ) − d ( j , k )) ≤ θ + d ( j , k ) = τ k + d ( j , k ) .
Second, consider the case d ( i 0 , k ) ≤ ε θ d(i_0,k)\le\varepsilon\theta d ( i 0 , k ) ≤ εθ , which implies τ ~ k = min ( α k ′ , ( 1 + ε ) θ − d ( i 0 , k ) ) \widetilde{\tau}_k=\min(\alpha'_k,(1+\varepsilon)\theta-d(i_0,k)) τ k = min ( α k ′ , ( 1 + ε ) θ − d ( i 0 , k )) , where also recall that α k ′ = min ( τ max ′ , ( 1 − δ ) d ( k , S ) ) \alpha'_k=\min(\tau'_{\max},(1-\delta)d(k,S)) α k ′ = min ( τ m a x ′ , ( 1 − δ ) d ( k , S )) . If τ ~ k = τ max ′ \widetilde{\tau}_k=\tau'_{\max} τ k = τ m a x ′ , we are done. If τ ~ k = ( 1 − δ ) d ( k , S ) \widetilde{\tau}_k=(1-\delta)d(k,S) τ k = ( 1 − δ ) d ( k , S ) , we have
τ ~ j ≤ ( 1 − δ ) d ( j , S ) ≤ ( 1 − δ ) ( d ( j , k ) + d ( k , S ) ) ≤ τ ~ k + d ( j , k ) . \widetilde{\tau}_j\le(1-\delta)d(j,S)\le(1-\delta)(d(j,k)+d(k,S))\le\widetilde{\tau}_k+d(j,k). τ j ≤ ( 1 − δ ) d ( j , S ) ≤ ( 1 − δ ) ( d ( j , k ) + d ( k , S )) ≤ τ k + d ( j , k ) .
Finally, if τ ~ k = ( 1 + ε ) θ − d ( i 0 , k ) \widetilde{\tau}_k=(1+\varepsilon)\theta-d(i_0,k) τ k = ( 1 + ε ) θ − d ( i 0 , k ) , we have
τ ~ j ≤ ( 1 + ε ) θ − d ( i 0 , j ) ≤ ( 1 + ε ) θ − ( d ( i 0 , k ) − d ( j , k ) ) = τ ~ k + d ( j , k ) . \widetilde{\tau}_j\le(1+\varepsilon)\theta-d(i_0,j)\le(1+\varepsilon)\theta-(d(i_0,k)-d(j,k))=\widetilde{\tau}_k+d(j,k). τ j ≤ ( 1 + ε ) θ − d ( i 0 , j ) ≤ ( 1 + ε ) θ − ( d ( i 0 , k ) − d ( j , k )) = τ k + d ( j , k ) .
Hence, we satisfy all assumptions of the current lemma and we reach a contradiction.
Fourth constraint for $i_0\in S. Finally, the remaining possibility is that there exists some i 0 ∈ S i_0\in S i 0 ∈ S for which the fourth constraint is violated. However, in that case, we note that τ j ≤ ( 1 − δ ) d ( j , S ) ≤ d ( i 0 , j ) \tau_j\le(1-\delta)d(j,S)\le d(i_0,j) τ j ≤ ( 1 − δ ) d ( j , S ) ≤ d ( i 0 , j ) , so the left-hand side of the fourth constraint is zero, so it is impossible for the constraint to be violated.
Given Lemmas D.10 and D.11, the analysis of the merging procedure is nearly identical to that in [12 ] . To prove that the merging procedure maintains the maximality of the sequences produced they (implicitly) use the fact that a “payable” facility is an “openable” facility. This property holds in our case by Lemmas D.10 and D.11. The only remaining claim whose proof we need to change is that of Claim 2 in [12 ] , which proves that if a sequence H p ′ H'_p H p ′ is ( ν , 0 ) (\nu,0) ( ν , 0 ) -valid with respect to some f ^ ′ , u ′ \widehat{f}',u' f ′ , u ′ , then it is also ( ν , η ) (\nu,\eta) ( ν , η ) -valid with respect to f ^ , u \widehat{f},u f , u that are η \eta η -close to f ^ ′ , u ′ \widehat{f}',u' f ′ , u ′ . We prove below a version of this claim that applies to our case, by starting with a verbatim copy of their proof and adapting it to our setting. (This proof will also use Lemmas D.10 and D.11.) The rest of the analysis is identical up to cosmetic changes.
Claim D.12 (See Claim 2 in [12 ] ). Let H p ′ H'_p H p ′ be a ( ν ( p ) , 0 ) (\nu(p),0) ( ν ( p ) , 0 ) -valid sequence with respect to some f ^ ′ , u ′ \widehat{f}',u' f ′ , u ′ , and suppose that the non-overbidding inequality in Lemma D.9 is satisfied after its execution with respect to f ^ ′ , u ′ \widehat{f}',u' f ′ , u ′ . Let f ^ , u \widehat{f},u f , u satisfy that either f ^ , u \widehat{f},u f , u and f ^ ′ , u ′ \widehat{f}',u' f ′ , u ′ are identical, or f ^ > f ^ ′ \widehat{f}>\widehat{f}' f > f ′ with ∣ f ^ − f ^ ′ ∣ ≤ η |\widehat{f}-\widehat{f}'|\le\eta ∣ f − f ′ ∣ ≤ η , or there exists a single free facility i i i with u ( i ) < u ′ ( i ) u(i)<u'(i) u ( i ) < u ′ ( i ) and ∣ u ( i ) − u ′ ( i ) ∣ ≤ η |u(i)-u'(i)|\le\eta ∣ u ( i ) − u ′ ( i ) ∣ ≤ η . Then H p ′ H'_p H p ′ is a ( ν ( p ) , η ) (\nu(p),\eta) ( ν ( p ) , η ) -valid sequence with respect to f ^ , u \widehat{f},u f , u .
Proof. Suppose first that f ^ ≠ f ^ ′ \widehat{f}\ne\widehat{f}' f = f ′ is the difference parameter. Because each facility in H p ′ H'_p H p ′ was ( ν ( p ) , 0 ) (\nu(p),0) ( ν ( p ) , 0 ) -openable with respect to parameters f ^ ′ , u ′ \widehat{f}',u' f ′ , u ′ , then it is also ( ν ( p ) , η ) (\nu(p),\eta) ( ν ( p ) , η ) -openable with respect to parameters f ^ , u \widehat{f},u f , u because the only difference is that f ^ \widehat{f} f is larger than f ^ ′ \widehat{f}' f ′ by at most η \eta η . Furthermore, H p ′ H'_p H p ′ is maximal with respect to f ^ , u \widehat{f},u f , u by the following argument based on Lemmas D.10 and D.11: Since H p ′ H'_p H p ′ was maximal with respect to f ^ ′ , u ′ \widehat{f}',u' f ′ , u ′ , it means the assumptions of Lemmas D.10 (if ν ( p ) = 1 \nu(p)=1 ν ( p ) = 1 ) or D.11 (if ν ( p ) = 2 \nu(p)=2 ν ( p ) = 2 ) are not satisfied with respect to f ^ ′ , u ′ \widehat{f}',u' f ′ , u ′ . The first assumption is satisfied by the no-overbidding hypothesis, so the second assumption must be the one not satisfied. However, their second assumptions become even stronger for f ^ \hat{f} f ^ larger than f ^ ′ \hat{f}' f ^ ′ , so they are still not satisfied, which implies that there still does not exist any ( ν ( p ) , 0 ) (\nu(p),0) ( ν ( p ) , 0 ) -openable facility, because otherwise these assumptions would trivially be satisfied.
Next, consider the case when u ( i ~ ) ≠ u ′ ( i ~ ) u(\tilde{i}) \ne u'(\tilde{i}) u ( i ~ ) = u ′ ( i ~ ) is the difference parameter. Then, by the same argument as above, we also have that each facility in H p ′ H'_p H p ′ is ( ν ( p ) , η ) (\nu(p),\eta) ( ν ( p ) , η ) -openable with respect to parameters f ^ , u \hat{f},u f ^ , u . To see this more formally, let H p ′ = ⟨ h 1 , … , h ℓ ⟩ H'_p=\langle h_1,\ldots,h_\ell\rangle H p ′ = ⟨ h 1 , … , h ℓ ⟩ and consider h t h_t h t for some t ∈ [ ℓ ] t\in[\ell] t ∈ [ ℓ ] , which is ( ν ( p ) , 0 ) (\nu(p),0) ( ν ( p ) , 0 ) -openable with respect to f ^ ′ , u ′ , θ = ( 1 + ε 2 ) ⌊ p − 1 2 ⌋ \hat{f}',u',\theta=(1+\varepsilon^2)\left\lfloor\frac{p-1}{2}\right\rfloor f ^ ′ , u ′ , θ = ( 1 + ε 2 ) ⌊ 2 p − 1 ⌋ and some superset S ⊇ ( ⋃ q ∈ [ p − 1 ] H q ) ∪ { h 1 , … , h t − 1 } S\supseteq\left(\bigcup_{q\in[p-1]}H_q\right)\cup\{h_1,\ldots,h_{t-1}\} S ⊇ ( ⋃ q ∈ [ p − 1 ] H q ) ∪ { h 1 , … , h t − 1 } . When we switch from f ^ ′ , u ′ \hat{f}',u' f ^ ′ , u ′ to f ^ , u \hat{f},u f ^ , u , because the only difference is u ( i ~ ) < u ′ ( i ~ ) u(\tilde{i})<u'(\tilde{i}) u ( i ~ ) < u ′ ( i ~ ) , the set of active clients A ′ A' A ′ for f ^ ′ , u ′ \hat{f}',u' f ^ ′ , u ′ is a superset of the set of active clients A A A for f ^ , u \hat{f},u f ^ , u . Also, let d ′ ( ⋅ , ⋅ ) d'(\cdot,\cdot) d ′ ( ⋅ , ⋅ ) and d ( ⋅ , ⋅ ) d(\cdot,\cdot) d ( ⋅ , ⋅ ) be the distances with respect to u ′ u' u ′ and u u u , respectively. For any h t ∈ H p ′ h_t\in H'_p h t ∈ H p ′ , we have that h t h_t h t was ( ν ( p ) , 0 ) (\nu(p),0) ( ν ( p ) , 0 ) -openable with respect to the former setting with bids ( τ j ′ ) j ∈ A ′ (\tau'_j)_{j\in A'} ( τ j ′ ) j ∈ A ′ . Then let ( τ j ) j ∈ A ′ (\tau_j)_{j\in A'} ( τ j ) j ∈ A ′ be the new bids defined as τ j = min ( τ j ′ , ( 1 − δ ) d ( j , S ) ) \tau_j=\min(\tau'_j,(1-\delta)d(j,S)) τ j = min ( τ j ′ , ( 1 − δ ) d ( j , S )) for j ∈ A ′ j\in A' j ∈ A ′ (these bids are only used on A A A , but we define them on the superset A ′ A' A ′ for the purposes of the analysis). Let us verify that h t h_t h t is ( ν ( p ) , η ) (\nu(p),\eta) ( ν ( p ) , η ) -openable with respect to f ^ , u \hat{f},u f ^ , u with the bids ( τ j ) j ∈ A (\tau_j)_{j\in A} ( τ j ) j ∈ A . We need to check the corresponding conditions in Definitions D.1 (if ν ( p ) = 1 \nu(p)=1 ν ( p ) = 1 ) and D.2 (if ν ( p ) = 2 \nu(p)=2 ν ( p ) = 2 ). We focus for simplicity on the case ν ( p ) = 2 \nu(p)=2 ν ( p ) = 2 , which is the more intricate of the two. The case ν ( p ) = 1 \nu(p)=1 ν ( p ) = 1 follows by similar arguments.
τ j = θ \tau_j=\theta τ j = θ for every j ∈ A − B ( h t , ε θ ) j\in A-B(h_t,\varepsilon\theta) j ∈ A − B ( h t , εθ ) : Since it was true for A ′ ⊇ A A'\supseteq A A ′ ⊇ A , it remains true.
θ ≤ τ j ≤ min { ( 1 − δ ) d ( j , S ) , ( 1 + ε 2 ) θ } \theta\le\tau_j\le\min\{(1-\delta)d(j,S),(1+\varepsilon^2)\theta\} θ ≤ τ j ≤ min {( 1 − δ ) d ( j , S ) , ( 1 + ε 2 ) θ } for every j ∈ A ∩ B ( h t , ε θ ) j\in A\cap B(h_t,\varepsilon\theta) j ∈ A ∩ B ( h t , εθ ) : Fix j ∈ A ∩ B ( h t , ε θ ) j\in A\cap B(h_t,\varepsilon\theta) j ∈ A ∩ B ( h t , εθ ) . Since A ⊆ A ′ A\subseteq A' A ⊆ A ′ , τ j ′ ≤ min { ( 1 − δ ) d ′ ( j , S ) , ( 1 + ε 2 ) θ } \tau'_j\le\min\{(1-\delta)d'(j,S),(1+\varepsilon^2)\theta\} τ j ′ ≤ min {( 1 − δ ) d ′ ( j , S ) , ( 1 + ε 2 ) θ } . Since τ j \tau_j τ j is defined as min ( τ j ′ , ( 1 − δ ) d ( j , S ) ) \min(\tau'_j,(1-\delta)d(j,S)) min ( τ j ′ , ( 1 − δ ) d ( j , S )) , the condition is satisfied.
∑ j ∈ A β ( τ j , ( 1 − δ / 2 ) d ( h t , j ) ) + ∑ j ∈ I β ( ( 1 − δ ) d ( j , S ) , ( 1 − δ / 2 ) d ( h t , j ) ) ≥ f ^ − n η \sum_{j\in A}\beta(\tau_j,(1-\delta/2)d(h_t,j))+\sum_{j\in I}\beta((1-\delta)d(j,S),(1-\delta/2)d(h_t,j))\ge\hat{f}-n\eta ∑ j ∈ A β ( τ j , ( 1 − δ /2 ) d ( h t , j )) + ∑ j ∈ I β (( 1 − δ ) d ( j , S ) , ( 1 − δ /2 ) d ( h t , j )) ≥ f ^ − n η : Let us argue that the contribution of each client j j j to the left-hand side changes by at most η \eta η between ( A ′ , d ′ , τ ′ ) (A',d',\tau') ( A ′ , d ′ , τ ′ ) and ( A , d , τ ) (A,d,\tau) ( A , d , τ ) . We know that
∑ j ∈ A ′ β ( τ j ′ , ( 1 − δ / 2 ) d ′ ( h t , j ) ) + ∑ j ∈ I ′ β ( ( 1 − δ ) d ′ ( j , S ) , ( 1 − δ / 2 ) d ′ ( h t , j ) ) ≥ f ^ . \sum_{j\in A'}\beta(\tau'_j,(1-\delta/2)d'(h_t,j))+\sum_{j\in I'}\beta((1-\delta)d'(j,S),(1-\delta/2)d'(h_t,j))\ge\hat{f}. j ∈ A ′ ∑ β ( τ j ′ , ( 1 − δ /2 ) d ′ ( h t , j )) + j ∈ I ′ ∑ β (( 1 − δ ) d ′ ( j , S ) , ( 1 − δ /2 ) d ′ ( h t , j )) ≥ f ^ .
For j ∈ A ′ j\in A' j ∈ A ′ , note that τ j < τ j ′ \tau_j<\tau'_j τ j < τ j ′ implies τ j = ( 1 − δ ) d ( j , S ) ≥ ( 1 − δ ) ( d ′ ( j , S ) − η ) ≥ τ j ′ − η \tau_j=(1-\delta)d(j,S)\ge(1-\delta)(d'(j,S)-\eta)\ge\tau'_j-\eta τ j = ( 1 − δ ) d ( j , S ) ≥ ( 1 − δ ) ( d ′ ( j , S ) − η ) ≥ τ j ′ − η , so τ j ≥ τ j ′ − η \tau_j\ge\tau'_j-\eta τ j ≥ τ j ′ − η in any case. Then
∑ j ∈ A ′ β ( τ j + η , ( 1 − δ / 2 ) d ( h t , j ) ) + ∑ j ∈ I ′ β ( ( 1 − δ ) d ′ ( j , S ) , ( 1 − δ / 2 ) d ( h t , j ) ) ≥ f ^ . \sum_{j\in A'}\beta(\tau_j+\eta,(1-\delta/2)d(h_t,j))+\sum_{j\in I'}\beta((1-\delta)d'(j,S),(1-\delta/2)d(h_t,j))\ge\hat{f}. j ∈ A ′ ∑ β ( τ j + η , ( 1 − δ /2 ) d ( h t , j )) + j ∈ I ′ ∑ β (( 1 − δ ) d ′ ( j , S ) , ( 1 − δ /2 ) d ( h t , j )) ≥ f ^ .
For j ∈ I ′ j\in I' j ∈ I ′ , note that d ( j , S ) d(j,S) d ( j , S ) and d ′ ( j , S ) d'(j,S) d ′ ( j , S ) only differ by at most η \eta η . So also
∑ j ∈ A ′ β ( τ j + η , ( 1 − δ / 2 ) d ( h t , j ) ) + ∑ j ∈ I ′ β ( ( 1 − δ ) ( d ( j , S ) + η ) , ( 1 − δ / 2 ) d ( h t , j ) ) ≥ f ^ . \sum_{j\in A'}\beta(\tau_j+\eta,(1-\delta/2)d(h_t,j))+\sum_{j\in I'}\beta((1-\delta)(d(j,S)+\eta),(1-\delta/2)d(h_t,j))\ge\hat{f}. j ∈ A ′ ∑ β ( τ j + η , ( 1 − δ /2 ) d ( h t , j )) + j ∈ I ′ ∑ β (( 1 − δ ) ( d ( j , S ) + η ) , ( 1 − δ /2 ) d ( h t , j )) ≥ f ^ .
Finally, for j ∈ A ′ ∩ I j\in A'\cap I j ∈ A ′ ∩ I , ( 1 − δ ) d ( j , S ) ≥ τ j (1-\delta)d(j,S)\ge\tau_j ( 1 − δ ) d ( j , S ) ≥ τ j , so β ( τ j + η , ( 1 − δ / 2 ) d ( h t , j ) ) ≤ β ( ( 1 − δ ) d ( j , S ) + η , ( 1 − δ / 2 ) d ( h t , j ) ) \beta(\tau_j+\eta,(1-\delta/2)d(h_t,j))\le\beta((1-\delta)d(j,S)+\eta,(1-\delta/2)d(h_t,j)) β ( τ j + η , ( 1 − δ /2 ) d ( h t , j )) ≤ β (( 1 − δ ) d ( j , S ) + η , ( 1 − δ /2 ) d ( h t , j )) , so
∑ j ∈ A β ( τ j + η , ( 1 − δ / 2 ) d ( h t , j ) ) + ∑ j ∈ I β ( ( 1 − δ ) d ( j , S ) + η , ( 1 − δ / 2 ) d ( h t , j ) ) ≥ f ^ , \sum_{j\in A}\beta(\tau_j+\eta,(1-\delta/2)d(h_t,j))+\sum_{j\in I}\beta((1-\delta)d(j,S)+\eta,(1-\delta/2)d(h_t,j))\ge\hat{f}, j ∈ A ∑ β ( τ j + η , ( 1 − δ /2 ) d ( h t , j )) + j ∈ I ∑ β (( 1 − δ ) d ( j , S ) + η , ( 1 − δ /2 ) d ( h t , j )) ≥ f ^ ,
from which it follows that
∑ j ∈ A β ( τ j , ( 1 − δ / 2 ) d ( h t , j ) ) + ∑ j ∈ I β ( ( 1 − δ ) d ( j , S ) , ( 1 − δ / 2 ) d ( h t , j ) ) ≥ f ^ − n η . \sum_{j\in A}\beta(\tau_j,(1-\delta/2)d(h_t,j))+\sum_{j\in I}\beta((1-\delta)d(j,S),(1-\delta/2)d(h_t,j))\ge\hat{f}-n\eta. j ∈ A ∑ β ( τ j , ( 1 − δ /2 ) d ( h t , j )) + j ∈ I ∑ β (( 1 − δ ) d ( j , S ) , ( 1 − δ /2 ) d ( h t , j )) ≥ f ^ − n η .
For every regular facility i 0 i_0 i 0 , ∑ j ∈ A β ( τ j , d ( i 0 , j ) ) + ∑ j ∈ I β ( ( 1 − δ ) d ( j , S ) , d ( i 0 , j ) ) ≤ f ^ \sum_{j\in A}\beta(\tau_j,d(i_0,j))+\sum_{j\in I}\beta((1-\delta)d(j,S),d(i_0,j))\le\hat{f} ∑ j ∈ A β ( τ j , d ( i 0 , j )) + ∑ j ∈ I β (( 1 − δ ) d ( j , S ) , d ( i 0 , j )) ≤ f ^ . We have
∑ j ∈ A ′ β ( τ j ′ , d ′ ( i 0 , j ) ) + ∑ j ∈ I ′ β ( ( 1 − δ ) d ′ ( j , S ) , d ′ ( i 0 , j ) ) ≤ f ^ . \sum_{j\in A'}\beta(\tau'_j,d'(i_0,j))+\sum_{j\in I'}\beta((1-\delta)d'(j,S),d'(i_0,j))\le\hat{f}. j ∈ A ′ ∑ β ( τ j ′ , d ′ ( i 0 , j )) + j ∈ I ′ ∑ β (( 1 − δ ) d ′ ( j , S ) , d ′ ( i 0 , j )) ≤ f ^ .
We have trivially that d ′ ( j , S ) ≥ d ( j , S ) d'(j,S)\ge d(j,S) d ′ ( j , S ) ≥ d ( j , S ) and τ j ′ ≥ τ j \tau'_j\ge\tau_j τ j ′ ≥ τ j . Because i 0 i_0 i 0 is a regular facility, we also have d ′ ( i 0 , j ) = d ( i 0 , j ) d'(i_0,j)=d(i_0,j) d ′ ( i 0 , j ) = d ( i 0 , j ) . Also, for j ∈ A ′ ∩ I j\in A'\cap I j ∈ A ′ ∩ I , because j ∈ I j\in I j ∈ I implies that τ j ′ ≥ θ ≥ ( 1 − δ ) d ( j , S ) \tau'_j\ge\theta\ge(1-\delta)d(j,S) τ j ′ ≥ θ ≥ ( 1 − δ ) d ( j , S ) , we have β ( τ j ′ , d ( i 0 , j ) ) ≥ β ( ( 1 − δ ) d ( j , S ) , d ( i 0 , j ) ) \beta(\tau'_j,d(i_0,j))\ge\beta((1-\delta)d(j,S),d(i_0,j)) β ( τ j ′ , d ( i 0 , j )) ≥ β (( 1 − δ ) d ( j , S ) , d ( i 0 , j )) , so we also have
∑ j ∈ A β ( τ j , d ( i 0 , j ) ) + ∑ j ∈ I β ( ( 1 − δ ) d ( j , S ) , d ( i 0 , j ) ) ≤ f ^ . \sum_{j\in A}\beta(\tau_j,d(i_0,j))+\sum_{j\in I}\beta((1-\delta)d(j,S),d(i_0,j))\le\hat{f}. j ∈ A ∑ β ( τ j , d ( i 0 , j )) + j ∈ I ∑ β (( 1 − δ ) d ( j , S ) , d ( i 0 , j )) ≤ f ^ .
τ j ≤ τ k + d ( j , k ) \tau_j \le\tau_k + d(j,k) τ j ≤ τ k + d ( j , k ) for every j , k ∈ A j,k \in A j , k ∈ A : For j , k ∈ A ′ j,k \in A' j , k ∈ A ′ , we had τ j ′ ≤ τ k ′ + d ( j , k ) \tau'_j \le\tau'_k + d(j,k) τ j ′ ≤ τ k ′ + d ( j , k ) . Recall that τ j = min ( τ j ′ , ( 1 − δ ) d ( j , S ) ) \tau_j = \min(\tau'_j,(1-\delta)d(j,S)) τ j = min ( τ j ′ , ( 1 − δ ) d ( j , S )) for all j ∈ A j \in A j ∈ A . Suppose τ k < τ k ′ \tau_k < \tau'_k τ k < τ k ′ , as otherwise the inequality holds trivially. Then τ k = ( 1 − δ ) d ( k , S ) \tau_k = (1-\delta)d(k,S) τ k = ( 1 − δ ) d ( k , S ) , and also τ j ≤ ( 1 − δ ) d ( j , S ) \tau_j \le(1-\delta)d(j,S) τ j ≤ ( 1 − δ ) d ( j , S ) , so
τ j ≤ ( 1 − δ ) ( d ( j , k ) + d ( k , S ) ) = τ k + ( 1 − δ ) d ( j , k ) ≤ τ k + d ( j , k ) . \tau_j \le(1-\delta)(d(j,k)+d(k,S)) = \tau_k + (1-\delta)d(j,k) \le\tau_k+d(j,k). τ j ≤ ( 1 − δ ) ( d ( j , k ) + d ( k , S )) = τ k + ( 1 − δ ) d ( j , k ) ≤ τ k + d ( j , k ) .
Furthermore, H p ′ H'_p H p ′ is maximal w.r.t. f ^ , u \hat{f},u f ^ , u by the following argument based on Lemmas D.10 and D.11: Since H p ′ H'_p H p ′ was maximal w.r.t. f ^ ′ , u ′ \hat{f}',u' f ^ ′ , u ′ , it means the assumptions of Lemma D.10 (if ν ( p ) = 1 \nu(p)=1 ν ( p ) = 1 ) or D.11 (if ν ( p ) = 2 \nu(p)=2 ν ( p ) = 2 ) are not satisfied w.r.t. f ^ ′ , u ′ \hat{f}',u' f ^ ′ , u ′ . We know that their first assumption (about ≤ f ^ \le\hat{f} ≤ f ^ ) is satisfied by the no-overbidding hypothesis, so the second assumption must be the one not satisfied. Let us argue that these second assumptions are still not satisfied w.r.t. f ^ , u \hat{f},u f ^ , u :
∑ j ∈ A ′ β ( θ , ( 1 − δ ) d ( i , j ) ) + ∑ j ∈ I ′ β ( ( 1 − δ ) d ′ ( j , S ) , ( 1 − δ ) d ( j , i ) ) < f ^ . \sum_{j\in A'} \beta(\theta,(1-\delta)d(i,j))+\sum_{j\in I'}\beta((1-\delta)d'(j,S),(1-\delta)d(j,i))<\hat{f}. j ∈ A ′ ∑ β ( θ , ( 1 − δ ) d ( i , j )) + j ∈ I ′ ∑ β (( 1 − δ ) d ′ ( j , S ) , ( 1 − δ ) d ( j , i )) < f ^ .
We have d ′ ( j , S ) ≥ d ( j , S ) d'(j,S)\ge d(j,S) d ′ ( j , S ) ≥ d ( j , S ) , and also for j ∈ A ′ ∩ I j\in A'\cap I j ∈ A ′ ∩ I we have that θ ≥ ( 1 − δ ) d ( j , S ) \theta\ge(1-\delta)d(j,S) θ ≥ ( 1 − δ ) d ( j , S ) , so it easily follows that
∑ j ∈ A β ( θ , ( 1 − δ ) d ( i , j ) ) + ∑ j ∈ I β ( ( 1 − δ ) d ( j , S ) , ( 1 − δ ) d ( j , i ) ) < f ^ . \sum_{j\in A}\beta(\theta,(1-\delta)d(i,j))+\sum_{j\in I}\beta((1-\delta)d(j,S),(1-\delta)d(j,i))<\hat{f}. j ∈ A ∑ β ( θ , ( 1 − δ ) d ( i , j )) + j ∈ I ∑ β (( 1 − δ ) d ( j , S ) , ( 1 − δ ) d ( j , i )) < f ^ .
If ν ( p ) = 2 \nu(p)=2 ν ( p ) = 2 , for Lemma D.11, we know that for all regular facilities i ∈ F ∖ S i \in F\setminus S i ∈ F ∖ S and all { τ ~ j } j ∈ A ′ \{\widetilde{\tau}_j\}_{j\in A'} { τ j } j ∈ A ′ such that τ ~ j = θ \widetilde{\tau}_j=\theta τ j = θ for j ∈ A ′ ∖ B ( i , ϵ θ ) j\in A'\setminus B(i,\epsilon\theta) j ∈ A ′ ∖ B ( i , ϵ θ ) , θ ≤ τ ~ j ≤ min ( ( 1 − δ ) d ′ ( j , S ) , ( 1 + ϵ 2 ) θ ) \theta\le\widetilde{\tau}_j\le\min((1-\delta)d'(j,S),(1+\epsilon^2)\theta) θ ≤ τ j ≤ min (( 1 − δ ) d ′ ( j , S ) , ( 1 + ϵ 2 ) θ ) for j ∈ A ′ ∩ B ( i , ϵ θ ) j\in A'\cap B(i,\epsilon\theta) j ∈ A ′ ∩ B ( i , ϵ θ ) , τ ~ j ≤ τ ~ k + d ( j , k ) \widetilde{\tau}_j\le\widetilde{\tau}_k+d(j,k) τ j ≤ τ k + d ( j , k ) for all j , k ∈ A ′ j,k\in A' j , k ∈ A ′ , we have
∑ j ∈ A ′ β ( τ ~ j , ( 1 − δ / 2 ) d ( i , j ) ) + ∑ j ∈ I ′ β ( ( 1 − δ ) d ′ ( j , S ) , ( 1 − δ / 2 ) d ( j , i ) ) < f ^ . \sum_{j\in A'}\beta(\widetilde{\tau}_j,(1-\delta/2)d(i,j))+\sum_{j\in I'}\beta((1-\delta)d'(j,S),(1-\delta/2)d(j,i))<\hat{f}. j ∈ A ′ ∑ β ( τ j , ( 1 − δ /2 ) d ( i , j )) + j ∈ I ′ ∑ β (( 1 − δ ) d ′ ( j , S ) , ( 1 − δ /2 ) d ( j , i )) < f ^ .
We will proceed by contradiction. Suppose there exists a regular facility i ∈ F ∖ S i\in F\setminus S i ∈ F ∖ S and some { τ ~ j } j ∈ A \{\widetilde{\tau}_j\}_{j\in A} { τ j } j ∈ A such that τ ~ j = θ \widetilde{\tau}_j=\theta τ j = θ for j ∈ A ∖ B ( i , ϵ θ ) j\in A\setminus B(i,\epsilon\theta) j ∈ A ∖ B ( i , ϵ θ ) , θ ≤ τ ~ j ≤ min ( ( 1 − δ ) d ( j , S ) , ( 1 + ϵ 2 ) θ ) \theta\le\widetilde{\tau}_j\le\min((1-\delta)d(j,S),(1+\epsilon^2)\theta) θ ≤ τ j ≤ min (( 1 − δ ) d ( j , S ) , ( 1 + ϵ 2 ) θ ) for j ∈ A ∩ B ( i , ϵ θ ) j\in A\cap B(i,\epsilon\theta) j ∈ A ∩ B ( i , ϵ θ ) , and τ ~ j ≤ τ ~ k + d ( j , k ) \widetilde{\tau}_j\le\widetilde{\tau}_k+d(j,k) τ j ≤ τ k + d ( j , k ) for all j , k ∈ A j,k\in A j , k ∈ A , with
∑ j ∈ A β ( τ ~ j , ( 1 − δ / 2 ) d ( i , j ) ) + ∑ j ∈ I β ( ( 1 − δ ) d ( j , S ) , ( 1 − δ / 2 ) d ( j , i ) ) ≥ f ^ . \sum_{j\in A}\beta(\widetilde{\tau}_j,(1-\delta/2)d(i,j))+\sum_{j\in I}\beta((1-\delta)d(j,S),(1-\delta/2)d(j,i))\ge\hat{f}. j ∈ A ∑ β ( τ j , ( 1 − δ /2 ) d ( i , j )) + j ∈ I ∑ β (( 1 − δ ) d ( j , S ) , ( 1 − δ /2 ) d ( j , i )) ≥ f ^ .
Let us extend τ ~ j = θ \widetilde{\tau}_j=\theta τ j = θ for all j ∈ A ′ ∖ A j\in A'\setminus A j ∈ A ′ ∖ A , which trivially satisfies τ ~ j ≤ min ( ( 1 − δ ) d ′ ( j , S ) , ( 1 + ϵ 2 ) θ ) \widetilde{\tau}_j\le\min((1-\delta)d'(j,S),(1+\epsilon^2)\theta) τ j ≤ min (( 1 − δ ) d ′ ( j , S ) , ( 1 + ϵ 2 ) θ ) for j ∈ A ′ ∩ B ( i , ϵ θ ) j\in A'\cap B(i,\epsilon\theta) j ∈ A ′ ∩ B ( i , ϵ θ ) . Note also that d ( j , S ) ≤ d ′ ( j , S ) d(j,S)\le d'(j,S) d ( j , S ) ≤ d ′ ( j , S ) . Furthermore, for j ∈ A ′ ∖ A j\in A'\setminus A j ∈ A ′ ∖ A , we have θ ≥ ( 1 − δ ) d ( j , S ) \theta\ge(1-\delta)d(j,S) θ ≥ ( 1 − δ ) d ( j , S ) , so
∑ j ∈ A ′ β ( τ ~ j , ( 1 − δ / 2 ) d ( i , j ) ) + ∑ j ∈ I ′ β ( ( 1 − δ ) d ′ ( j , S ) , ( 1 − δ / 2 ) d ( j , i ) ) ≥ f ^ . \sum_{j\in A'}\beta(\widetilde{\tau}_j,(1-\delta/2)d(i,j))+\sum_{j\in I'}\beta((1-\delta)d'(j,S),(1-\delta/2)d(j,i))\ge\hat{f}. j ∈ A ′ ∑ β ( τ j , ( 1 − δ /2 ) d ( i , j )) + j ∈ I ′ ∑ β (( 1 − δ ) d ′ ( j , S ) , ( 1 − δ /2 ) d ( j , i )) ≥ f ^ .
To reach a contradiction, it remains to prove that τ ~ j ≤ τ ~ k + d ( j , k ) \widetilde{\tau}_j\le\widetilde{\tau}_k+d(j,k) τ j ≤ τ k + d ( j , k ) for all j , k ∈ A ′ j,k\in A' j , k ∈ A ′ . We already know this for j , k ∈ A j,k\in A j , k ∈ A , and the claim is also trivial if j ∈ A ′ ∖ A j\in A'\setminus A j ∈ A ′ ∖ A because τ ~ j = θ ≤ τ ~ k \widetilde{\tau}_j=\theta\le\widetilde{\tau}_k τ j = θ ≤ τ k . So let us consider the case j ∈ A j\in A j ∈ A and k ∈ A ′ ∖ A k\in A'\setminus A k ∈ A ′ ∖ A . Note that in this case τ ~ j ≤ ( 1 − δ ) d ( j , S ) \widetilde{\tau}_j\le(1-\delta)d(j,S) τ j ≤ ( 1 − δ ) d ( j , S ) and τ ~ k = θ ≥ ( 1 − δ ) d ( k , S ) \widetilde{\tau}_k=\theta\ge(1-\delta)d(k,S) τ k = θ ≥ ( 1 − δ ) d ( k , S ) . Then τ ~ j ≤ ( 1 − δ ) ( d ( j , k ) + d ( k , S ) ) ≤ τ ~ k + d ( j , k ) \widetilde{\tau}_j\le(1-\delta)(d(j,k)+d(k,S))\le\widetilde{\tau}_k+d(j,k) τ j ≤ ( 1 − δ ) ( d ( j , k ) + d ( k , S )) ≤ τ k + d ( j , k ) , so we reach a contradiction.
Therefore, Lemmas D.10 and D.11 are still not satisfied, which implies that there still does not exist any ( ν ( p ) , 0 ) (\nu(p),0) ( ν ( p ) , 0 ) -openable facility, because otherwise these assumptions would trivially be satisfied.
Proof of Theorem D.7
The goal of this section is to prove Theorem D.7 . We will prove the theorem in the following sections. The proof is concluded in Section E.5. We note that this section depends on the definitions in Section D that appear up to statement of Theorem D.7 .
Preliminaries
Throughout the analysis, we will assume that δ > 0 \delta> 0 δ > 0 is small enough compared to 1 / γ 1/\gamma 1/ γ and ε > 0 \varepsilon> 0 ε > 0 is small enough compared to 1 / γ 1/\gamma 1/ γ and δ \delta δ .
Execution of a solution. As in [12 ] , we associate an η \eta η -valid solution H = { H 1 , … , H L } \mathcal{H} = \{H_1, \ldots, H_L\} H = { H 1 , … , H L } with an algorithm. We define the execution of H \mathcal{H} H as follows: Start with S = ∅ S = \varnothing S = ∅ and θ = 1 \theta= 1 θ = 1 , iterate over p = 1 , … , L p = 1, \ldots, L p = 1 , … , L , and for each p p p open the facilities in H p H_p H p in the order in which they appear. When facility i i i is opened, it is added to S S S . After each sequence H p H_p H p with p p p even, θ \theta θ is increased to ( 1 + ε 2 ) θ (1+\varepsilon^2)\theta ( 1 + ε 2 ) θ . At any step, the set of open facilities S S S can be partitioned to be the set of the open free facilities S f r e e S_{\mathrm{free}} S free and the set of the open regular facilities S r e g S_{\mathrm{reg}} S reg . We define an atomic step in the algorithm as the opening of a facility or the increase of θ \theta θ to ( 1 + ε 2 ) θ (1+\varepsilon^2)\theta ( 1 + ε 2 ) θ .
We note that in a ( ν , η ) (\nu,\eta) ( ν , η ) -valid sequence it is only required for a regular facility to be ( ν , η ) (\nu,\eta) ( ν , η ) -openable with respect to a superset of the set of open facilities S S S . For the purposes of analysis, we will fix for each regular facility an arbitrary minimal superset of S S S with respect to which it was opened and a corresponding choice of bids τ j \tau_j τ j in case the sequence is opened in a sequence of type 2. In particular, if the facility is ( ν , η ) (\nu,\eta) ( ν , η ) -openable with respect to S S S , then the superset will be S S S .
Active and inactive clients. At a step with time θ \theta θ with open facilities S S S , we let I S = { j ∈ D ∣ θ ≥ ( 1 − δ ) d ( j , S ) } I_S = \{j \in D \mid\theta\ge(1-\delta)d(j,S)\} I S = { j ∈ D ∣ θ ≥ ( 1 − δ ) d ( j , S )} and A S = D ∖ I S A_S = D \setminus I_S A S = D ∖ I S denote the sets of inactive clients and active clients, respectively. We drop the subscript S S S when it is clear from context. We say that a client j j j becomes inactive at an atomic step if j ∈ I S j \in I_S j ∈ I S for the new set of open facilities S S S and the θ \theta θ at the end of that atomic step and if it never became inactive before. We refer to such a client as inactive in all future steps, and otherwise as active.
For a client j j j , we denote by α j ∗ \alpha_j^* α j ∗ its “value” when it becomes inactive: Specifically, say that client j j j becomes inactive at an atomic step in which a new facility was opened. If this happened in a sequence of type 1, or if the facility was free, we let α j ∗ = θ \alpha_j^* = \theta α j ∗ = θ . If this happened in a sequence of type 2, if j j j was inactive w.r.t. the superset w.r.t. which this facility was opened we let again α j ∗ = θ \alpha_j^* = \theta α j ∗ = θ ; otherwise we let α j ∗ = τ j \alpha_j^* = \tau_j α j ∗ = τ j as determined by the definition of ( 2 , η ) (2,\eta) ( 2 , η ) -openable. Finally, if client j j j becomes inactive due to the increase of θ \theta θ to ( 1 + ε 2 ) θ (1+\varepsilon^2)\theta ( 1 + ε 2 ) θ , we let α j ∗ = ( 1 − δ ) d ( j , S ) \alpha_j^* = (1-\delta)d(j,S) α j ∗ = ( 1 − δ ) d ( j , S ) for the set of open facilities at that step.
For the purposes of the analysis, we order the clients from 1 1 1 to n n n by the order of the atomic steps in which they become inactive. In case two clients become inactive in the same atomic step, we order them non-decreasingly by their α ∗ \alpha^* α ∗ value.
Variables S ( k ) S^{(k)} S ( k ) , r j k r_{jk} r j k and ζ j k \zeta_{jk} ζ j k . We denote by S ( k ) S^{(k)} S ( k ) the set of open facilities at the beginning of the atomic step in which client k k k becomes inactive. We also denote by S ~ ( k ) \widetilde{S}^{(k)} S ( k ) the superset of S ( k ) S^{(k)} S ( k ) with respect to which a facility is opened at this atomic step. (We let S ~ ( k ) = S ( k ) \widetilde{S}^{(k)} = S^{(k)} S ( k ) = S ( k ) if this atomic step is one in which θ \theta θ increases to ( 1 + ε 2 ) θ (1+\varepsilon^2)\theta ( 1 + ε 2 ) θ or if the opened facility is free.) We denote by S ( n + 1 ) = S ∗ S^{(n+1)} = S^* S ( n + 1 ) = S ∗ the set of open facilities at the end of the algorithm.
Observation E.1. We have S ( k ) ⊆ S ( k + 1 ) S^{(k)} \subseteq S^{(k+1)} S ( k ) ⊆ S ( k + 1 ) for all 1 ≤ k < n 1 \le k < n 1 ≤ k < n .
Proof. If k = n k = n k = n , the claim follows because S ( n + 1 ) = S ∗ S^{(n+1)} = S^* S ( n + 1 ) = S ∗ , so we assume k < n k < n k < n . Because S S S is monotone, we have either S ( k ) ⊆ S ( k + 1 ) S^{(k)} \subseteq S^{(k+1)} S ( k ) ⊆ S ( k + 1 ) or S ( k ) ⊇ S ( k + 1 ) S^{(k)} \supseteq S^{(k+1)} S ( k ) ⊇ S ( k + 1 ) . Suppose k k k and k + 1 k+1 k + 1 become inactive in different atomic steps, as otherwise S ( k ) = S ( k + 1 ) S^{(k)} = S^{(k+1)} S ( k ) = S ( k + 1 ) . Then we argue that S ( k ) ⊇ S ( k + 1 ) S^{(k)} \supseteq S^{(k+1)} S ( k ) ⊇ S ( k + 1 ) cannot be the case. If that is the case, because S S S is increased monotonically by the algorithm, it means that the atomic step in which k k k became inactive was after the atomic step in which k + 1 k+1 k + 1 became inactive. But this violates the order that we defined, so it must then be the case that S ( k ) ⊆ S ( k + 1 ) S^{(k)} \subseteq S^{(k+1)} S ( k ) ⊆ S ( k + 1 ) .
For $1 \le j \le k \le n$, we set
r j k = { α j ∗ if j is active w.r.t. S ( k ) at the beginning of the atomic step in which k becomes inactive , ( 1 − δ ) d ( j , S ( k ) ) otherwise, r_{jk} =
\begin{cases}
\alpha_j^* & \text{if } j \text{ is active w.r.t. } S^{(k)} \text{ at the beginning of the atomic step in which } k \text{ becomes inactive},\\
(1-\delta)d(j,S^{(k)}) & \text{otherwise,}
\end{cases} r j k = { α j ∗ ( 1 − δ ) d ( j , S ( k ) ) if j is active w.r.t. S ( k ) at the beginning of the atomic step in which k becomes inactive , otherwise,
and
ζ j k = { τ j ( k ) if j is active w.r.t. S ~ ( k ) at the beginning of the atomic step in which k becomes inactive , ( 1 − δ ) d ( j , S ~ ( k ) ) otherwise. \zeta_{jk} =
\begin{cases}
\tau_j^{(k)} & \text{if } j \text{ is active w.r.t. } \widetilde{S}^{(k)} \text{ at the beginning of the atomic step} \\
& \text{in which } k \text{ becomes inactive}, \\
(1-\delta)d(j,\widetilde{S}^{(k)}) & \text{otherwise.}
\end{cases} ζ j k = ⎩ ⎨ ⎧ τ j ( k ) ( 1 − δ ) d ( j , S ( k ) ) if j is active w.r.t. S ( k ) at the beginning of the atomic step in which k becomes inactive , otherwise.
where τ j ( k ) = α j ⋆ \tau_j^{(k)}=\alpha_j^\star τ j ( k ) = α j ⋆ if j j j becomes inactive in the same atomic step in which k k k becomes inactive and θ \theta θ otherwise. We also let r j , n + 1 = ζ j , n + 1 = ( 1 − δ ) d ( j , S ⋆ ) r_{j,n+1}=\zeta_{j,n+1}=(1-\delta)d(j,S^\star) r j , n + 1 = ζ j , n + 1 = ( 1 − δ ) d ( j , S ⋆ ) .
Let us prove some simple properties of these variables:
Observation E.2. We have r j k ≥ r j k + 1 r_{jk}\ge r_{jk+1} r j k ≥ r j k + 1 for all 1 ≤ j ≤ k ≤ n 1\le j\le k\le n 1 ≤ j ≤ k ≤ n .
Proof. We have trivially that α j ⋆ ≤ α j ⋆ \alpha_j^\star\le\alpha_j^\star α j ⋆ ≤ α j ⋆ and ( 1 − δ ) d ( j , S ( k ) ) ≥ ( 1 − δ ) d ( j , S ( k ′ ) ) (1-\delta)d(j,S^{(k)})\ge(1-\delta)d(j,S^{(k')}) ( 1 − δ ) d ( j , S ( k ) ) ≥ ( 1 − δ ) d ( j , S ( k ′ ) ) for k < k ′ k<k' k < k ′ as S ( k ) S^{(k)} S ( k ) is monotone. Now consider the client ℓ \ell ℓ such that j j j is active w.r.t. S ( ℓ ) S^{(\ell)} S ( ℓ ) and inactive w.r.t. S ( ℓ + 1 ) S^{(\ell+1)} S ( ℓ + 1 ) . Then, r j ℓ = α j ⋆ r_{j\ell}=\alpha_j^\star r j ℓ = α j ⋆ and r j ℓ + 1 = ( 1 − δ ) d ( j , S ( ℓ + 1 ) ) r_{j\ell+1}=(1-\delta)d(j,S^{(\ell+1)}) r j ℓ + 1 = ( 1 − δ ) d ( j , S ( ℓ + 1 ) ) . Moreover, if ℓ ≠ j \ell\ne j ℓ = j then j j j and ℓ \ell ℓ become inactive in the same atomic step. We consider different cases depending on whether the atomic step happens during the execution of a sequence of type 1, type 2, or when θ \theta θ increases to ( 1 + ε 2 ) θ (1+\varepsilon^2)\theta ( 1 + ε 2 ) θ .
If j j j becomes inactive in a type 1 sequence, then α j ⋆ = θ ≥ ( 1 − δ ) d ( j , S ( ℓ + 1 ) ) \alpha_j^\star=\theta\ge(1-\delta)d(j,S^{(\ell+1)}) α j ⋆ = θ ≥ ( 1 − δ ) d ( j , S ( ℓ + 1 ) ) .
Consider the case where j j j becomes inactive in a type 2 sequence. Then α j ⋆ ≥ θ \alpha_j^\star\ge\theta α j ⋆ ≥ θ and θ ≥ ( 1 − δ ) d ( j , S ( ℓ + 1 ) ) \theta\ge(1-\delta)d(j,S^{(\ell+1)}) θ ≥ ( 1 − δ ) d ( j , S ( ℓ + 1 ) ) .
If j j j becomes inactive when θ \theta θ increases, then we set α j ⋆ = ( 1 − δ ) d ( j , S ( ℓ ) ) ≥ ( 1 − δ ) d ( j , S ( ℓ + 1 ) ) \alpha_j^\star=(1-\delta)d(j,S^{(\ell)})\ge(1-\delta)d(j,S^{(\ell+1)}) α j ⋆ = ( 1 − δ ) d ( j , S ( ℓ ) ) ≥ ( 1 − δ ) d ( j , S ( ℓ + 1 ) ) .
Observation E.3. If τ j > θ \tau_j>\theta τ j > θ at any point in the execution of a sequence of type 2, then τ j = α j ⋆ \tau_j=\alpha_j^\star τ j = α j ⋆ .
Proof. If τ j > θ \tau_j>\theta τ j > θ , then for the facility i i i that is opened in that atomic step we must have d ( j , i ) ≤ ε θ d(j,i)\le\varepsilon\theta d ( j , i ) ≤ εθ , so j j j becomes inactive when i i i is opened and hence α j ⋆ = τ j \alpha_j^\star=\tau_j α j ⋆ = τ j .
Observation E.4. ζ j k ≤ r j k \zeta_{jk}\le r_{jk} ζ j k ≤ r j k for all 1 ≤ j ≤ k ≤ n 1\le j\le k\le n 1 ≤ j ≤ k ≤ n .
Proof. If k k k becomes inactive in an atomic step in which θ \theta θ increases to ( 1 + ε 2 ) θ (1+\varepsilon^2)\theta ( 1 + ε 2 ) θ , then S ( k ) = S ~ ( k ) S^{(k)}=\widetilde{S}^{(k)} S ( k ) = S ( k ) and ζ j k = r j k \zeta_{jk}=r_{jk} ζ j k = r j k as in this case both branches in the definitions of ζ \zeta ζ and r r r coincide. Else, suppose this is not the case. If j j j is inactive with respect to S ( k ) S^{(k)} S ( k ) , then it is also inactive with respect to S ~ ( k ) \widetilde{S}^{(k)} S ( k ) , and the result holds because ( 1 − δ ) d ( j , S ~ ( k ) ) ≤ ( 1 − δ ) d ( j , S ( k ) ) (1-\delta)d(j,\widetilde{S}^{(k)})\le(1-\delta)d(j,S^{(k)}) ( 1 − δ ) d ( j , S ( k ) ) ≤ ( 1 − δ ) d ( j , S ( k ) ) . If j j j is active with respect to S ( k ) S^{(k)} S ( k ) but inactive with respect to S ~ ( k ) \widetilde{S}^{(k)} S ( k ) , then the result holds because α j ⋆ ≥ θ \alpha_j^\star\ge\theta α j ⋆ ≥ θ but θ ≥ ( 1 − δ ) d ( j , S ~ ( k ) ) \theta\ge(1-\delta)d(j,\widetilde{S}^{(k)}) θ ≥ ( 1 − δ ) d ( j , S ( k ) ) . Finally, if j j j is active with respect to both S ( k ) S^{(k)} S ( k ) and S ~ ( k ) \widetilde{S}^{(k)} S ( k ) , then we have if τ j ( k ) = θ \tau_j^{(k)}=\theta τ j ( k ) = θ that α j ⋆ ≥ θ \alpha_j^\star\ge\theta α j ⋆ ≥ θ , and otherwise we have by E.3 that j j j becomes inactive in the same atomic step as k k k , and hence τ j ( k ) = α j ⋆ \tau_j^{(k)}=\alpha_j^\star τ j ( k ) = α j ⋆ .
Variables S k S_k S k , R j k R_{jk} R j k , and Z j k Z_{jk} Z j k . Let S 0 ⊊ S 1 ⊊ … ⊊ S m = S ⋆ S_0\subsetneq S_1\subsetneq\ldots\subsetneq S_m=S^\star S 0 ⊊ S 1 ⊊ … ⊊ S m = S ⋆ with m = ∣ S ⋆ ∣ m=|S^\star| m = ∣ S ⋆ ∣ be the sets of opened facilities during the execution of the algorithm. Also let S ~ k ⊇ S k \widetilde{S}_k\supseteq S_k S k ⊇ S k be the superset of facilities with respect to which the ( k + 1 ) (k+1) ( k + 1 ) -th facility is opened. (We let S ~ k = S k \widetilde{S}_k=S_k S k = S k if the opened facility is free.) Let s ( j ) s(j) s ( j ) be the index k k k such that S k = S ( j ) S_k=S^{(j)} S k = S ( j ) and s ( n + 1 ) = m s(n+1)=m s ( n + 1 ) = m .
For 1 ≤ j ≤ n 1\le j\le n 1 ≤ j ≤ n and 0 ≤ k ≤ m − 1 0\le k\le m-1 0 ≤ k ≤ m − 1 such that s ( j ) ≤ k s(j)\le k s ( j ) ≤ k , we set
R j k = { r j , j if k = s ( j ) α j ⋆ if j is active w.r.t. S k at the beginning of the atomic step in which facility S k + 1 ∖ S k is opened , ( 1 − δ ) d ( j , S k ) otherwise, R_{jk} =
\begin{cases}
r_{j,j} & \text{if } k=s(j) \\
\alpha_j^\star& \text{if } j \text{ is active w.r.t. } S_k \text{ at the beginning of the atomic step} \\
& \text{in which facility } S_{k+1}\setminus S_k \text{ is opened}, \\
(1-\delta)d(j,S_k) & \text{otherwise,}
\end{cases} R j k = ⎩ ⎨ ⎧ r j , j α j ⋆ ( 1 − δ ) d ( j , S k ) if k = s ( j ) if j is active w.r.t. S k at the beginning of the atomic step in which facility S k + 1 ∖ S k is opened , otherwise,
and
Z j k = { τ j , k if j is active w.r.t. S ~ k at the beginning of the atomic step in which facility S k + 1 ∖ S k is opened , ( 1 − δ ) d ( j , S ~ k ) otherwise, Z_{jk} =
\begin{cases}
\tau_{j,k} & \text{if } j \text{ is active w.r.t. } \widetilde{S}_k \text{ at the beginning of the atomic step} \\
& \text{in which facility } S_{k+1}\setminus S_k \text{ is opened}, \\
(1-\delta)d(j,\widetilde{S}_k) & \text{otherwise,}
\end{cases} Z j k = ⎩ ⎨ ⎧ τ j , k ( 1 − δ ) d ( j , S k ) if j is active w.r.t. S k at the beginning of the atomic step in which facility S k + 1 ∖ S k is opened , otherwise,
where τ j , k = α j ⋆ \tau_{j,k}=\alpha_j^\star τ j , k = α j ⋆ if j j j becomes inactive in the same atomic step in which facility k + 1 k+1 k + 1 is opened and θ \theta θ otherwise. We also define R j , m = Z j , m = ( 1 − δ ) d ( j , S ⋆ ) R_{j,m}=Z_{j,m}=(1-\delta)d(j,S^\star) R j , m = Z j , m = ( 1 − δ ) d ( j , S ⋆ ) for all j j j . By the same reasoning as in Observations E.2 and E.4, we also have R j , k ≥ R j , k + 1 R_{j,k}\ge R_{j,k+1} R j , k ≥ R j , k + 1 and Z j , k ≤ R j , k Z_{j,k}\le R_{j,k} Z j , k ≤ R j , k for all valid j , k j,k j , k .
We note that the special case k = s ( j ) k=s(j) k = s ( j ) in the definition of R R R is used such that r j , k = R j , s ( k ) r_{j,k}=R_{j,s(k)} r j , k = R j , s ( k ) is satisfied even in the special case when k k k becomes inactive in an atomic step in which θ \theta θ increases. In that case, it is possible for j j j to be active w.r.t. S ( k ) S^{(k)} S ( k ) (resp. S ~ ( k ) \widetilde{S}^{(k)} S ( k ) ) at the beginning of the atomic step in which k k k becomes inactive but for it to be inactive w.r.t. S ( k ) S^{(k)} S ( k ) (resp. S ~ ( k ) \widetilde{S}^{(k)} S ( k ) ) at the beginning of the atomic step in which the next facility is opened.
Candidate facilities. Our analysis will also use the notion of a candidate facility:
Definition E.5. We say that a regular facility i i i at some point of the algorithm is a candidate if, for some superset S ~ \widetilde{S} S of the set of open facilities S S S and sets of active and inactive clients with respect to it A ~ = A ~ S ~ \widetilde{A}=\widetilde{A}_{\widetilde{S}} A = A S , I ~ = I ~ S ~ \widetilde{I}=\widetilde{I}_{\widetilde{S}} I = I S ,
∑ j ∈ A ~ β ( ( 1 + ε 2 ) θ , ( 1 − δ / 2 ) d ( i , j ) ) + ∑ j ∈ I ~ β ( ( 1 − δ ) d ( j , S ~ ) , ( 1 − δ / 2 ) d ( i , j ) ) ≥ f ^ − n η . \sum_{j\in\widetilde{A}}\beta((1+\varepsilon^{2})\theta,(1-\delta/2)d(i,j))+\sum_{j\in\widetilde{I}}\beta((1-\delta)d(j,\widetilde{S}),(1-\delta/2)d(i,j))\ge\widehat{f}-n\eta. j ∈ A ∑ β (( 1 + ε 2 ) θ , ( 1 − δ /2 ) d ( i , j )) + j ∈ I ∑ β (( 1 − δ ) d ( j , S ) , ( 1 − δ /2 ) d ( i , j )) ≥ f − n η .
In fact, if a facility i i i is a candidate, then it is also a candidate with respect to the set of open facilities S S S directly. Specifically, because A ~ ⊆ A \widetilde{A}\subseteq A A ⊆ A , d ( j , S ~ ) ≤ d ( j , S ) d(j,\widetilde{S})\le d(j,S) d ( j , S ) ≤ d ( j , S ) and for j ∈ A ∩ I ~ j\in A\cap\widetilde{I} j ∈ A ∩ I we have ( 1 − δ ) d ( j , S ~ ) ≤ θ (1-\delta)d(j,\widetilde{S})\le\theta ( 1 − δ ) d ( j , S ) ≤ θ , then the fact that i i i is a candidate with respect to S ~ \widetilde{S} S also implies that
∑ j ∈ A β ( ( 1 + ε 2 ) θ , ( 1 − δ / 2 ) d ( i , j ) ) + ∑ j ∈ I β ( ( 1 − δ ) d ( j , S ) , ( 1 − δ / 2 ) d ( i , j ) ) ≥ f ^ − n η . \sum_{j\in A}\beta((1+\varepsilon^{2})\theta,(1-\delta/2)d(i,j))+\sum_{j\in I}\beta((1-\delta)d(j,S),(1-\delta/2)d(i,j))\ge\widehat{f}-n\eta. j ∈ A ∑ β (( 1 + ε 2 ) θ , ( 1 − δ /2 ) d ( i , j )) + j ∈ I ∑ β (( 1 − δ ) d ( j , S ) , ( 1 − δ /2 ) d ( i , j )) ≥ f − n η .
Algorithm Properties
First, we prove that at every step of the algorithm the clients do not overbid toward any facility.
Lemma E.6 (Robust no overbidding). At any point of the execution of the sequence H = { H 1 , … , H L } \mathcal{H}=\{H_1,\ldots,H_L\} H = { H 1 , … , H L } with time θ \theta θ and any superset S ~ \widetilde{S} S of the set of open facilities S S S , with I ~ = { j ∈ D ∣ θ ≥ ( 1 − δ ) d ( j , S ~ ) } \widetilde{I}=\{j\in D\mid\theta\ge(1-\delta)d(j,\widetilde{S})\} I = { j ∈ D ∣ θ ≥ ( 1 − δ ) d ( j , S )} , A ~ = D ∖ I ~ \widetilde{A}=D\setminus\widetilde{I} A = D ∖ I , we have for all i 0 ∈ F i_0\in F i 0 ∈ F that
∑ j ∈ A ~ β ( θ , d ( i 0 , j ) ) + ∑ j ∈ I ~ β ( ( 1 − δ ) d ( j , S ~ ) , d ( i 0 , j ) ) ≤ f ^ . \sum_{j\in\widetilde{A}}\beta(\theta,d(i_0,j))+\sum_{j\in\widetilde{I}}\beta((1-\delta)d(j,\widetilde{S}),d(i_0,j))\le\widehat{f}. j ∈ A ∑ β ( θ , d ( i 0 , j )) + j ∈ I ∑ β (( 1 − δ ) d ( j , S ) , d ( i 0 , j )) ≤ f .
Proof. Note that A ~ ⊆ A \widetilde{A}\subseteq A A ⊆ A and I ~ ⊇ I \widetilde{I}\supseteq I I ⊇ I . We have d ( j , S ~ ) ≤ d ( j , S ) d(j,\widetilde{S})\le d(j,S) d ( j , S ) ≤ d ( j , S ) and for j ∈ A ∩ I ~ j\in A\cap\widetilde{I} j ∈ A ∩ I we have ( 1 − δ ) d ( j , S ~ ) ≤ θ (1-\delta)d(j,\widetilde{S})\le\theta ( 1 − δ ) d ( j , S ) ≤ θ , so
∑ j ∈ A ~ β ( θ , d ( i 0 , j ) ) + ∑ j ∈ I ~ β ( ( 1 − δ ) d ( j , S ~ ) , d ( i 0 , j ) ) ≤ ∑ j ∈ A β ( θ , d ( i 0 , j ) ) + ∑ j ∈ I β ( ( 1 − δ ) d ( j , S ) , d ( i 0 , j ) ) , \sum_{j\in\widetilde{A}}\beta(\theta,d(i_0,j))+\sum_{j\in\widetilde{I}}\beta((1-\delta)d(j,\widetilde{S}),d(i_0,j))\le\sum_{j\in A}\beta(\theta,d(i_0,j))+\sum_{j\in I}\beta((1-\delta)d(j,S),d(i_0,j)), j ∈ A ∑ β ( θ , d ( i 0 , j )) + j ∈ I ∑ β (( 1 − δ ) d ( j , S ) , d ( i 0 , j )) ≤ j ∈ A ∑ β ( θ , d ( i 0 , j )) + j ∈ I ∑ β (( 1 − δ ) d ( j , S ) , d ( i 0 , j )) ,
so it suffices to prove that
∑ j ∈ A β ( θ , d ( i 0 , j ) ) + ∑ j ∈ I β ( ( 1 − δ ) d ( j , S ) , d ( i 0 , j ) ) ≤ f ^ . (20) \sum_{j\in A}\beta(\theta,d(i_0,j))+\sum_{j\in I}\beta((1-\delta)d(j,S),d(i_0,j))\le\widehat{f}. \tag*{(20)} j ∈ A ∑ β ( θ , d ( i 0 , j )) + j ∈ I ∑ β (( 1 − δ ) d ( j , S ) , d ( i 0 , j )) ≤ f . (20)
The inequality holds at the beginning of the execution because S = ∅ S=\emptyset S = ∅ so A = D A=D A = D and θ = 1 ≤ d ( i 0 , j ) \theta=1\le d(i_0,j) θ = 1 ≤ d ( i 0 , j ) for every client j j j . For every H p ∈ H H_p\in\mathcal{H} H p ∈ H , we will show that the invariant still holds after opening a facility h t ∈ H p h_t\in H_p h t ∈ H p and after raising θ \theta θ to ( 1 + ε 2 ) θ (1+\varepsilon^2)\theta ( 1 + ε 2 ) θ at the end of executing H p H_p H p if p p p is even.
Type 1 and type 2 Opening up a facility h t h_t h t decreases the left hand side since d ( j , S ) d(j,S) d ( j , S ) is monotonically decreasing with S S S . The only other change to the left hand side that can happen is that a client j j j becomes inactive. In that case, however, θ ≥ ( 1 − δ ) d ( j , S ∪ { h t } ) \theta\ge(1-\delta)d(j,S\cup\{h_t\}) θ ≥ ( 1 − δ ) d ( j , S ∪ { h t }) . Thus, the left hand side decreases by the monotonicity of β \beta β .
Increasing θ \theta θ Next, consider a sequence H p ∈ H H_p\in\mathcal{H} H p ∈ H with even p p p . Let A , I A,I A , I be the sets of active and inactive clients after raising θ \theta θ to ( 1 + ε 2 ) θ (1+\varepsilon^2)\theta ( 1 + ε 2 ) θ . Assume for contradiction that after raising θ \theta θ to ( 1 + ε 2 ) θ (1+\varepsilon^2)\theta ( 1 + ε 2 ) θ the invariant is violated for some facility, and let F 0 F_0 F 0 be the set of all such facilities, such that for all i ∈ F 0 i\in F_0 i ∈ F 0
∑ j ∈ A β ( ( 1 + ε 2 ) θ , d ( i , j ) ) + ∑ j ∈ I β ( ( 1 − δ ) d ( j , S ) , d ( i , j ) ) > f ^ . \sum_{j\in A}\beta((1+\varepsilon^2)\theta,d(i,j))+\sum_{j\in I}\beta((1-\delta)d(j,S),d(i,j))>\widehat{f}. j ∈ A ∑ β (( 1 + ε 2 ) θ , d ( i , j )) + j ∈ I ∑ β (( 1 − δ ) d ( j , S ) , d ( i , j )) > f .
Note that none of the facilities i ∈ F 0 i\in F_0 i ∈ F 0 are open because otherwise there would be no client with a positive bid to i i i (for clients j ∈ A j\in A j ∈ A we would have ( 1 + ε 2 ) θ < ( 1 − δ ) d ( j , S ) ≤ ( 1 − δ ) d ( j , i ) (1+\varepsilon^2)\theta<(1-\delta)d(j,S)\le(1-\delta)d(j,i) ( 1 + ε 2 ) θ < ( 1 − δ ) d ( j , S ) ≤ ( 1 − δ ) d ( j , i ) , and for clients j ∈ I j\in I j ∈ I we would have ( 1 − δ ) d ( j , S ) ≤ ( 1 − δ ) d ( j , i ) ≤ d ( j , i ) (1-\delta)d(j,S)\le(1-\delta)d(j,i)\le d(j,i) ( 1 − δ ) d ( j , S ) ≤ ( 1 − δ ) d ( j , i ) ≤ d ( j , i ) ). Also let A ′ ⊇ A A' \supseteq A A ′ ⊇ A and I ′ ⊆ I I' \subseteq I I ′ ⊆ I be the active and inactive sets before the raising of θ \theta θ , i.e., at the end of the execution of the previous sequence of type 2. For each facility i 0 ∈ F 0 i_0 \in F_0 i 0 ∈ F 0 compute 0 ≤ τ ( i 0 ) ≤ ( 1 + ε 2 ) θ 0 \leq\tau^{(i_0)} \leq(1+\varepsilon^2)\theta 0 ≤ τ ( i 0 ) ≤ ( 1 + ε 2 ) θ such that for α i 0 , j ′ = min ( τ ( i 0 ) , ( 1 − δ ) d ( j , S ) ) \alpha'_{i_0,j} = \min(\tau^{(i_0)}, (1-\delta)d(j,S)) α i 0 , j ′ = min ( τ ( i 0 ) , ( 1 − δ ) d ( j , S )) the invariant holds with equality
∑ j ∈ A ′ β ( α i 0 , j ′ , d ( i 0 , j ) ) + ∑ j ∈ I ′ β ( ( 1 − δ ) d ( j , S ) , d ( i 0 , j ) ) = f ^ . \sum_{j\in A'} \beta(\alpha'_{i_0,j},d(i_0,j))+\sum_{j\in I'}\beta((1-\delta)d(j,S),d(i_0,j))=\hat{f}. j ∈ A ′ ∑ β ( α i 0 , j ′ , d ( i 0 , j )) + j ∈ I ′ ∑ β (( 1 − δ ) d ( j , S ) , d ( i 0 , j )) = f ^ .
Let us prove that such τ ( i 0 ) \tau^{(i_0)} τ ( i 0 ) exists: We know by the invariant before this atomic step that
∑ j ∈ A ′ β ( θ , d ( i 0 , j ) ) + ∑ j ∈ I ′ β ( ( 1 − δ ) d ( j , S ) , d ( i 0 , j ) ) ≤ f ^ , \sum_{j\in A'}\beta(\theta,d(i_0,j))+\sum_{j\in I'}\beta((1-\delta)d(j,S),d(i_0,j))\leq\hat{f}, j ∈ A ′ ∑ β ( θ , d ( i 0 , j )) + j ∈ I ′ ∑ β (( 1 − δ ) d ( j , S ) , d ( i 0 , j )) ≤ f ^ ,
so it also holds for α i 0 , j ′ \alpha'_{i_0,j} α i 0 , j ′ with the choice τ ( i 0 ) = θ \tau^{(i_0)}=\theta τ ( i 0 ) = θ . We also show that the invariant is violated for α i 0 , j ′ \alpha'_{i_0,j} α i 0 , j ′ with the choice τ ( i 0 ) = ( 1 + ε 2 ) θ \tau^{(i_0)}=(1+\varepsilon^2)\theta τ ( i 0 ) = ( 1 + ε 2 ) θ , and then the existence of τ ( i 0 ) \tau^{(i_0)} τ ( i 0 ) follows by continuity. Recall that
∑ j ∈ A β ( ( 1 + ε 2 ) θ , d ( i 0 , j ) ) + ∑ j ∈ I ′ β ( ( 1 − δ ) d ( j , S ) , d ( i 0 , j ) ) > f ^ . \sum_{j\in A}\beta((1+\varepsilon^2)\theta,d(i_0,j))+\sum_{j\in I'}\beta((1-\delta)d(j,S),d(i_0,j))>\hat{f}. j ∈ A ∑ β (( 1 + ε 2 ) θ , d ( i 0 , j )) + j ∈ I ′ ∑ β (( 1 − δ ) d ( j , S ) , d ( i 0 , j )) > f ^ .
Then, for j ∈ A j\in A j ∈ A we have ( 1 + ε 2 ) θ < ( 1 − δ ) d ( j , S ) (1+\varepsilon^2)\theta<(1-\delta)d(j,S) ( 1 + ε 2 ) θ < ( 1 − δ ) d ( j , S ) and so α i 0 , j ′ = ( 1 + ε 2 ) θ \alpha'_{i_0,j}=(1+\varepsilon^2)\theta α i 0 , j ′ = ( 1 + ε 2 ) θ , and for j ∈ A ′ ∩ I j\in A'\cap I j ∈ A ′ ∩ I we have ( 1 + ε 2 ) θ ≥ ( 1 − δ ) d ( j , S ) (1+\varepsilon^2)\theta\geq(1-\delta)d(j,S) ( 1 + ε 2 ) θ ≥ ( 1 − δ ) d ( j , S ) and so α i 0 , j ′ = ( 1 − δ ) d ( j , S ) \alpha'_{i_0,j}=(1-\delta)d(j,S) α i 0 , j ′ = ( 1 − δ ) d ( j , S ) , so also
∑ j ∈ A ′ β ( α i 0 , j ′ , d ( i 0 , j ) ) + ∑ j ∈ I ′ β ( ( 1 − δ ) d ( j , S ) , d ( i 0 , j ) ) > f ^ . \sum_{j\in A'}\beta(\alpha'_{i_0,j},d(i_0,j))+\sum_{j\in I'}\beta((1-\delta)d(j,S),d(i_0,j))>\hat{f}. j ∈ A ′ ∑ β ( α i 0 , j ′ , d ( i 0 , j )) + j ∈ I ′ ∑ β (( 1 − δ ) d ( j , S ) , d ( i 0 , j )) > f ^ .
Therefore τ ( i 0 ) \tau^{(i_0)} τ ( i 0 ) exists by continuity.
Now select the facility i ∈ F 0 i\in F_0 i ∈ F 0 that minimizes τ ( i ) \tau^{(i)} τ ( i ) . This implies that α i , j ′ ≤ α i 0 , j ′ \alpha'_{i,j}\leq\alpha'_{i_0,j} α i , j ′ ≤ α i 0 , j ′ for all i 0 ∈ F 0 i_0\in F_0 i 0 ∈ F 0 and j ∈ D j\in D j ∈ D , so
∑ j ∈ A ′ β ( α i , j ′ , d ( i 0 , j ) ) + ∑ j ∈ I ′ β ( ( 1 − δ ) d ( j , S ) , d ( i 0 , j ) ) ≤ f ^ . (21) \sum_{j\in A'}\beta(\alpha'_{i,j},d(i_0,j))+\sum_{j\in I'}\beta((1-\delta)d(j,S),d(i_0,j))\leq\hat{f}. \tag*{(21)} j ∈ A ′ ∑ β ( α i , j ′ , d ( i 0 , j )) + j ∈ I ′ ∑ β (( 1 − δ ) d ( j , S ) , d ( i 0 , j )) ≤ f ^ . (21)
From now on, let α j ′ = α i , j ′ \alpha'_j=\alpha'_{i,j} α j ′ = α i , j ′ . We will show that i i i was ( 2 , 0 ) (2,0) ( 2 , 0 ) -openable with bids τ j = min ( τ ( i ) , ( 1 − δ ) d ( j , S ) , ( 1 + ε ) θ − d ( j , i ) ) \tau_j=\min(\tau^{(i)},(1-\delta)d(j,S),(1+\varepsilon)\theta-d(j,i)) τ j = min ( τ ( i ) , ( 1 − δ ) d ( j , S ) , ( 1 + ε ) θ − d ( j , i )) for all j ∈ A ′ ∩ B ( i , ε θ ) j\in A'\cap B(i,\varepsilon\theta) j ∈ A ′ ∩ B ( i , εθ ) and τ j = θ \tau_j=\theta τ j = θ for all j ∈ A ′ ∖ B ( i , ε θ ) j\in A'\setminus B(i,\varepsilon\theta) j ∈ A ′ ∖ B ( i , εθ ) . This is a contradiction to the maximality of the ( 2 , η ) (2,\eta) ( 2 , η ) -valid sequence H p H_p H p . Let us check the conditions one by one which are satisfied just as in the proof of Lemma 5.7 ,
(i) - (ii) Clearly holds by the definition of τ \tau τ .
(iii) We have that
f ^ = ∑ j ∈ A ′ β ( α j ′ , d ( i , j ) ) + ∑ j ∈ I ′ β ( ( 1 − δ ) d ( j , S ) , d ( i , j ) ) ≤ ∑ j ∈ A ′ β ( τ j , ( 1 − δ / 2 ) d ( i , j ) ) + ∑ j ∈ I ′ β ( ( 1 − δ ) d ( j , S ) , ( 1 − δ / 2 ) d ( i , j ) ) . \begin{aligned}
\hat{f}=\sum_{j\in A'}\beta(\alpha'_j,d(i,j))+\sum_{j\in I'}\beta((1-\delta)d(j,S),d(i,j)) \\
&\leq\sum_{j\in A'}\beta(\tau_j,(1-\delta/2)d(i,j))+\sum_{j\in I'}\beta((1-\delta)d(j,S),(1-\delta/2)d(i,j)).
\end{aligned} f ^ = j ∈ A ′ ∑ β ( α j ′ , d ( i , j )) + j ∈ I ′ ∑ β (( 1 − δ ) d ( j , S ) , d ( i , j )) ≤ j ∈ A ′ ∑ β ( τ j , ( 1 − δ /2 ) d ( i , j )) + j ∈ I ′ ∑ β (( 1 − δ ) d ( j , S ) , ( 1 − δ /2 ) d ( i , j )) .
Let us verify that the inequality holds. First, consider j ∈ B ( i , ε θ ) j\in B(i,\varepsilon\theta) j ∈ B ( i , εθ ) . In the case where τ j = α j ′ \tau_j=\alpha'_j τ j = α j ′ we have by the monotonicity of β \beta β that β ( α j ′ , d ( i , j ) ) ≤ β ( τ j , ( 1 − δ / 2 ) d ( i , j ) ) \beta(\alpha'_j,d(i,j))\leq\beta(\tau_j,(1-\delta/2)d(i,j)) β ( α j ′ , d ( i , j )) ≤ β ( τ j , ( 1 − δ /2 ) d ( i , j )) . In the other case when τ j = ( 1 + ε ) θ − d ( i , j ) \tau_j=(1+\varepsilon)\theta-d(i,j) τ j = ( 1 + ε ) θ − d ( i , j ) observe that
β ( α j ′ , d ( i , j ) ) ≤ [ ( 1 + ε 2 ) θ − γ d ( i , j ) ] + ≤ [ ( 1 + ε ) θ − d ( i , j ) − γ ( 1 − δ / 2 ) d ( i , j ) ] + = β ( τ j , ( 1 − δ / 2 ) d ( i , j ) ) \begin{aligned}
\beta(\alpha'_j,d(i,j))\leq[(1+\varepsilon^2)\theta-\gamma d(i,j)]^+ \\
&\leq[(1+\varepsilon)\theta-d(i,j)-\gamma(1-\delta/2)d(i,j)]^+ \\
&=\beta(\tau_j,(1-\delta/2)d(i,j))
\end{aligned} β ( α j ′ , d ( i , j )) ≤ [( 1 + ε 2 ) θ − γ d ( i , j ) ] + ≤ [( 1 + ε ) θ − d ( i , j ) − γ ( 1 − δ /2 ) d ( i , j ) ] + = β ( τ j , ( 1 − δ /2 ) d ( i , j ))
because using that γ ≥ γ ( 1 − δ / 2 ) + ε \gamma\geq\gamma(1-\delta/2)+\varepsilon γ ≥ γ ( 1 − δ /2 ) + ε for δ ≫ ε \delta\gg\varepsilon δ ≫ ε we have
( 1 + ε ) θ − d ( i , j ) − ( γ ( 1 − δ / 2 ) ) d ( i , j ) = ( 1 + ε ) θ − ( 1 − ε ) d ( i , j ) − ( γ ( 1 − δ / 2 ) + ε ) d ( i , j ) ≥ ( 1 + ε 2 ) θ − ( γ ( 1 − δ / 2 ) + ε ) d ( i , j ) ≥ ( 1 + ε 2 ) θ − γ d ( i , j ) ≥ α j ′ − γ d ( i , j ) . \begin{aligned}
(1+\varepsilon)\theta-d(i,j)-(\gamma(1-\delta/2))d(i,j)=(1+\varepsilon)\theta-(1-\varepsilon)d(i,j)-(\gamma(1-\delta/2)+\varepsilon)d(i,j) \\
&\geq(1+\varepsilon^2)\theta-(\gamma(1-\delta/2)+\varepsilon)d(i,j) \\
&\geq(1+\varepsilon^2)\theta-\gamma d(i,j) \\
&\geq\alpha'_j-\gamma d(i,j).
\end{aligned} ( 1 + ε ) θ − d ( i , j ) − ( γ ( 1 − δ /2 )) d ( i , j ) = ( 1 + ε ) θ − ( 1 − ε ) d ( i , j ) − ( γ ( 1 − δ /2 ) + ε ) d ( i , j ) ≥ ( 1 + ε 2 ) θ − ( γ ( 1 − δ /2 ) + ε ) d ( i , j ) ≥ ( 1 + ε 2 ) θ − γ d ( i , j ) ≥ α j ′ − γ d ( i , j ) .
For j ∈ A ′ ∖ B ( i , ε θ ) j\in A'\setminus B(i,\varepsilon\theta) j ∈ A ′ ∖ B ( i , εθ ) , using that ε 2 θ ≤ ε γ δ / 2 θ ≤ γ δ / 2 d ( i , j ) \varepsilon^2\theta\leq\varepsilon\gamma\delta/2\ \theta\leq\gamma\delta/2\ d(i,j) ε 2 θ ≤ ε γ δ /2 θ ≤ γ δ /2 d ( i , j ) ,
β ( α j ′ , d ( i , j ) ) = [ α j ′ − γ d ( i , j ) ] + ≤ [ θ − γ ( 1 − δ / 2 ) d ( i , j ) ] + = β ( τ j , ( 1 − δ / 2 ) d ( i , j ) ) . \beta(\alpha'_j,d(i,j))=[\alpha'_j-\gamma d(i,j)]^+\leq[\theta-\gamma(1-\delta/2)d(i,j)]^+=\beta(\tau_j,(1-\delta/2)d(i,j)). β ( α j ′ , d ( i , j )) = [ α j ′ − γ d ( i , j ) ] + ≤ [ θ − γ ( 1 − δ /2 ) d ( i , j ) ] + = β ( τ j , ( 1 − δ /2 ) d ( i , j )) .
(iv) Assume that the no-overbidding inequality is violated for some facility i 0 ∈ F 0 i_0 \in F_0 i 0 ∈ F 0 ,
f ^ < ∑ j ∈ A ′ β ( τ j , d ( i 0 , j ) ) + ∑ j ∈ I ′ β ( ( 1 − δ ) d ( j , S ) , d ( i 0 , j ) ) ≤ ∑ j ∈ A ′ β ( α j ′ , d ( i 0 , j ) ) + ∑ j ∈ I ′ β ( ( 1 − δ ) d ( j , S ) , d ( i 0 , j ) ) . \hat{f} < \sum_{j\in A'} \beta(\tau_j,d(i_0,j))+\sum_{j\in I'}\beta((1-\delta)d(j,S),d(i_0,j))
\leq\sum_{j\in A'}\beta(\alpha'_j,d(i_0,j))+\sum_{j\in I'}\beta((1-\delta)d(j,S),d(i_0,j)). f ^ < j ∈ A ′ ∑ β ( τ j , d ( i 0 , j )) + j ∈ I ′ ∑ β (( 1 − δ ) d ( j , S ) , d ( i 0 , j )) ≤ j ∈ A ′ ∑ β ( α j ′ , d ( i 0 , j )) + j ∈ I ′ ∑ β (( 1 − δ ) d ( j , S ) , d ( i 0 , j )) .
The last inequality holds by the monotonicity of β \beta β . We arrive at a contradiction to the minimal choice of i i i . In particular, a contradiction to (21) . On the other hand, for i 0 ∈ F ∖ F 0 i_0 \in F \setminus F_0 i 0 ∈ F ∖ F 0 , the claim follows because we have
∑ j ∈ A β ( ( 1 + ε 2 ) θ , d ( i 0 , j ) ) + ∑ j ∈ I β ( ( 1 − δ ) d ( j , S ) , d ( i 0 , j ) ) ≤ f ^ \sum_{j\in A}\beta((1+\varepsilon^2)\theta,d(i_0,j))+\sum_{j\in I}\beta((1-\delta)d(j,S),d(i_0,j))\leq\hat{f} j ∈ A ∑ β (( 1 + ε 2 ) θ , d ( i 0 , j )) + j ∈ I ∑ β (( 1 − δ ) d ( j , S ) , d ( i 0 , j )) ≤ f ^
and we have ( 1 + ε 2 ) θ ≥ τ j (1+\varepsilon^2)\theta\geq\tau_j ( 1 + ε 2 ) θ ≥ τ j and for j ∈ A ′ ∩ I j \in A' \cap I j ∈ A ′ ∩ I we have ( 1 − δ ) d ( j , S ) ≥ τ j (1-\delta)d(j,S) \geq\tau_j ( 1 − δ ) d ( j , S ) ≥ τ j so also
∑ j ∈ A ′ β ( τ j , d ( i 0 , j ) ) + ∑ j ∈ I ′ β ( ( 1 − δ ) d ( j , S ) , d ( i 0 , j ) ) ≤ f ^ . \sum_{j\in A'}\beta(\tau_j,d(i_0,j))+\sum_{j\in I'}\beta((1-\delta)d(j,S),d(i_0,j))\leq\hat{f}. j ∈ A ′ ∑ β ( τ j , d ( i 0 , j )) + j ∈ I ′ ∑ β (( 1 − δ ) d ( j , S ) , d ( i 0 , j )) ≤ f ^ .
(v) We have to show that
τ j ≤ τ k + d ( j , k ) ∀ j , k ∈ A ′ \tau_j\leq\tau_k+d(j,k)\qquad\forall j,k\in A' τ j ≤ τ k + d ( j , k ) ∀ j , k ∈ A ′
which is clearly true if τ j = θ \tau_j=\theta τ j = θ or τ k = τ ( i ) \tau_k=\tau^{(i)} τ k = τ ( i ) . Moreover, if τ k = ( 1 + ε ) θ − d ( i , k ) \tau_k=(1+\varepsilon)\theta-d(i,k) τ k = ( 1 + ε ) θ − d ( i , k ) then
τ j ≤ ( 1 + ε ) θ − d ( i , j ) ≤ ( 1 + ε ) θ − ( d ( i , k ) − d ( j , k ) ) = τ k + d ( j , k ) . \tau_j\leq(1+\varepsilon)\theta-d(i,j)\leq(1+\varepsilon)\theta-(d(i,k)-d(j,k))=\tau_k+d(j,k). τ j ≤ ( 1 + ε ) θ − d ( i , j ) ≤ ( 1 + ε ) θ − ( d ( i , k ) − d ( j , k )) = τ k + d ( j , k ) .
From now on we assume that j ∈ B ( i , ε θ ) j\in B(i,\varepsilon\theta) j ∈ B ( i , εθ ) . Consider the two remaining cases where either τ k = θ \tau_k=\theta τ k = θ and k ∈ A ′ ∖ B ( i , ε θ ) k\in A'\setminus B(i,\varepsilon\theta) k ∈ A ′ ∖ B ( i , εθ ) or τ k = ( 1 − δ ) d ( k , S ) = ( 1 − δ ) d ( k , i 0 ) \tau_k=(1-\delta)d(k,S)=(1-\delta)d(k,i_0) τ k = ( 1 − δ ) d ( k , S ) = ( 1 − δ ) d ( k , i 0 ) for some open facility i 0 i_0 i 0 . In the first case,
τ j ≤ ( 1 + ε ) θ − d ( j , i ) ≤ ( 1 + ε ) θ − ( d ( k , i ) − d ( j , k ) ) ≤ θ + d ( j , k ) = τ k + d ( j , k ) . \tau_j\leq(1+\varepsilon)\theta-d(j,i)\leq(1+\varepsilon)\theta-(d(k,i)-d(j,k))\leq\theta+d(j,k)=\tau_k+d(j,k). τ j ≤ ( 1 + ε ) θ − d ( j , i ) ≤ ( 1 + ε ) θ − ( d ( k , i ) − d ( j , k )) ≤ θ + d ( j , k ) = τ k + d ( j , k ) .
In the second case,
τ j ≤ ( 1 − δ ) d ( j , S ) ≤ ( 1 − δ ) d ( j , i 0 ) ≤ ( 1 − δ ) ( d ( i 0 , k ) + d ( j , k ) ) ≤ τ k + d ( j , k ) . \tau_j\leq(1-\delta)d(j,S)\leq(1-\delta)d(j,i_0)\leq(1-\delta)(d(i_0,k)+d(j,k))\leq\tau_k+d(j,k). τ j ≤ ( 1 − δ ) d ( j , S ) ≤ ( 1 − δ ) d ( j , i 0 ) ≤ ( 1 − δ ) ( d ( i 0 , k ) + d ( j , k )) ≤ τ k + d ( j , k ) .
Lemma E.7. Assume f ^ > n η \hat{f}>n\eta f ^ > n η . Suppose two facilities i 1 i_1 i 1 and i 2 i_2 i 2 are candidates at the same step during the execution of a sequence of type 2. Then either d ( i 1 , i 2 ) ≤ δ θ d(i_1,i_2)\leq\delta\theta d ( i 1 , i 2 ) ≤ δ θ or d ( i 1 , i 2 ) ≥ θ / γ d(i_1,i_2)\geq\theta/\gamma d ( i 1 , i 2 ) ≥ θ / γ .
Proof. If i 1 = i 2 i_1=i_2 i 1 = i 2 then the claim is immediate so we assume i 1 ≠ i 2 i_1\neq i_2 i 1 = i 2 . Let N 1 = A ∩ B ( i 1 , ε θ ) N_1=A\cap B(i_1,\varepsilon\theta) N 1 = A ∩ B ( i 1 , εθ ) and N 2 = A ∩ B ( i 2 , ε θ ) N_2=A\cap B(i_2,\varepsilon\theta) N 2 = A ∩ B ( i 2 , εθ ) . Let us assume without loss of generality that ∣ N 1 ∣ ≤ ∣ N 2 ∣ |N_1|\leq|N_2| ∣ N 1 ∣ ≤ ∣ N 2 ∣ . Let us also assume for the sake of contradiction that δ θ < d ( i 1 , i 2 ) < θ / γ \delta\theta<d(i_1,i_2)<\theta/\gamma δ θ < d ( i 1 , i 2 ) < θ / γ , which implies that N 1 N_1 N 1 and N 2 N_2 N 2 are disjoint as δ ≫ ε \delta\gg\varepsilon δ ≫ ε .
Let
P = ∑ j ∈ A β ( ( 1 + ε 2 ) θ , ( 1 − δ / 2 ) d ( i 1 , j ) ) + ∑ j ∈ I β ( ( 1 − δ ) d ( j , S ) , ( 1 − δ / 2 ) d ( i 1 , j ) ) P=\sum_{j\in A}\beta((1+\varepsilon^2)\theta,(1-\delta/2)d(i_1,j))+\sum_{j\in I}\beta((1-\delta)d(j,S),(1-\delta/2)d(i_1,j)) P = j ∈ A ∑ β (( 1 + ε 2 ) θ , ( 1 − δ /2 ) d ( i 1 , j )) + j ∈ I ∑ β (( 1 − δ ) d ( j , S ) , ( 1 − δ /2 ) d ( i 1 , j )) and
Q = ∑ j ∈ A β ( θ , ( 1 − δ ) d ( i 1 , j ) ) + ∑ j ∈ I β ( ( 1 − δ ) d ( j , S ) , ( 1 − δ ) d ( i 1 , j ) ) . Q=\sum_{j\in A}\beta(\theta,(1-\delta)d(i_1,j))+\sum_{j\in I}\beta((1-\delta)d(j,S),(1-\delta)d(i_1,j)). Q = j ∈ A ∑ β ( θ , ( 1 − δ ) d ( i 1 , j )) + j ∈ I ∑ β (( 1 − δ ) d ( j , S ) , ( 1 − δ ) d ( i 1 , j )) . Because i 1 i_1 i 1 is a candidate, P ≥ f ^ − n η P\geq\hat{f}-n\eta P ≥ f ^ − n η . We also claim that Q < f ^ Q<\hat{f} Q < f ^ . If i 1 ∉ S i_1\notin S i 1 ∈ / S , we claim that this is true because otherwise facility i 1 i_1 i 1 would have been ( 1 , 0 ) (1,0) ( 1 , 0 ) -openable during the execution of the previous sequence of type 1, and the sequence would not have been maximal. To see this, let us inspect the state of the algorithm at the beginning of the execution of the sequence of type 2. Let S ′ ⊆ S S'\subseteq S S ′ ⊆ S be the set of open facilities at the beginning of the execution of the sequence of type 2, and let A ′ , I ′ A',I' A ′ , I ′ be the set of active and inactive clients at that time. Note that A ′ ⊇ A A'\supseteq A A ′ ⊇ A and I ′ ⊆ I I'\subseteq I I ′ ⊆ I . For j ∈ I ′ j\in I' j ∈ I ′ we use ( 1 − δ ) d ( j , S ) ≤ ( 1 − δ ) d ( j , S ′ ) (1-\delta)d(j,S)\leq(1-\delta)d(j,S') ( 1 − δ ) d ( j , S ) ≤ ( 1 − δ ) d ( j , S ′ ) , and for j ∈ A ′ ∩ I j\in A'\cap I j ∈ A ′ ∩ I we use ( 1 − δ ) d ( j , S ) ≤ θ (1-\delta)d(j,S)\leq\theta ( 1 − δ ) d ( j , S ) ≤ θ . The last inequality is
immediate if α j ∗ = θ \alpha_j^*=\theta α j ∗ = θ , and if α j ∗ > θ \alpha_j^*>\theta α j ∗ > θ then j j j must have been ε θ \varepsilon\theta εθ -close to some facility in S S S and hence d ( j , S ) ≤ ε θ d(j,S)\leq\varepsilon\theta d ( j , S ) ≤ εθ . Then
Q = ∑ j ∈ A β ( θ , ( 1 − δ ) d ( i 1 , j ) ) + ∑ j ∈ I β ( ( 1 − δ ) d ( j , S ) , ( 1 − δ ) d ( i 1 , j ) ) ≤ ∑ j ∈ A ′ β ( θ , ( 1 − δ ) d ( i 1 , j ) ) + ∑ j ∈ I ′ β ( ( 1 − δ ) d ( j , S ′ ) , ( 1 − δ ) d ( i 1 , j ) ) . \begin{aligned}
Q=\sum_{j\in A}\beta(\theta,(1-\delta)d(i_1,j))+\sum_{j\in I}\beta((1-\delta)d(j,S),(1-\delta)d(i_1,j)) \\
&\leq\sum_{j\in A'}\beta(\theta,(1-\delta)d(i_1,j))+\sum_{j\in I'}\beta((1-\delta)d(j,S'),(1-\delta)d(i_1,j)).
\end{aligned} Q = j ∈ A ∑ β ( θ , ( 1 − δ ) d ( i 1 , j )) + j ∈ I ∑ β (( 1 − δ ) d ( j , S ) , ( 1 − δ ) d ( i 1 , j )) ≤ j ∈ A ′ ∑ β ( θ , ( 1 − δ ) d ( i 1 , j )) + j ∈ I ′ ∑ β (( 1 − δ ) d ( j , S ′ ) , ( 1 − δ ) d ( i 1 , j )) .
so the last term would have been at least f ^ \hat{f} f ^ if Q ≥ f ^ Q\geq\hat{f} Q ≥ f ^ , and then facility i 1 i_1 i 1 would have been ( 1 , 0 ) (1,0) ( 1 , 0 ) -openable in the execution of the previous sequence of type 1. On the other hand, if i 1 ∈ S i_1\in S i 1 ∈ S , the claim is true simply because θ < ( 1 − δ ) d ( i 1 , j ) \theta<(1-\delta)d(i_1,j) θ < ( 1 − δ ) d ( i 1 , j ) for j ∈ A j\in A j ∈ A and d ( j , S ) ≤ d ( i 1 , j ) d(j,S)\leq d(i_1,j) d ( j , S ) ≤ d ( i 1 , j ) for j ∈ I j\in I j ∈ I , so the left-hand side would be zero. Hence Q < f ^ Q<\hat{f} Q < f ^ .
We will prove that Q ≥ P + n η Q\geq P+n\eta Q ≥ P + n η , which is impossible because Q < f ^ ≤ P + n η Q<\hat{f}\leq P+n\eta Q < f ^ ≤ P + n η , and thus we reach the desired contradiction. Let us start by analyzing the active terms in P P P and Q Q Q . We consider three cases:
Case j ∈ N 1 j\in N_1 j ∈ N 1 . Then, because d ( i 1 , j ) ≤ ε θ d(i_1,j)\leq\varepsilon\theta d ( i 1 , j ) ≤ εθ , we have that β ( ( 1 + ε 2 ) θ , ( 1 − δ / 2 ) d ( i 1 , j ) ) \beta((1+\varepsilon^2)\theta,(1-\delta/2)d(i_1,j)) β (( 1 + ε 2 ) θ , ( 1 − δ /2 ) d ( i 1 , j )) and β ( θ , ( 1 − δ ) d ( i 1 , j ) ) \beta(\theta,(1-\delta)d(i_1,j)) β ( θ , ( 1 − δ ) d ( i 1 , j )) are both positive and
[ θ − γ ( 1 − δ ) d ( i 1 , j ) ] + − [ ( 1 + ε 2 ) θ − γ ( 1 − δ / 2 ) d ( i 1 , j ) ] + = − ε 2 θ + ( γ δ / 2 ) d ( i 1 , j ) ≥ − ε 2 θ + n η . [\theta-\gamma(1-\delta)d(i_1,j)]^+-[(1+\varepsilon^2)\theta-\gamma(1-\delta/2)d(i_1,j)]^+
=-\varepsilon^2\theta+(\gamma\delta/2)d(i_1,j)\geq-\varepsilon^2\theta+n\eta. [ θ − γ ( 1 − δ ) d ( i 1 , j ) ] + − [( 1 + ε 2 ) θ − γ ( 1 − δ /2 ) d ( i 1 , j ) ] + = − ε 2 θ + ( γ δ /2 ) d ( i 1 , j ) ≥ − ε 2 θ + n η .
Case j ∈ N 2 j\in N_2 j ∈ N 2 . Then δ θ − ε θ ≤ d ( i 1 , j ) ≤ θ / γ + ε θ \delta\theta-\varepsilon\theta\leq d(i_1,j)\leq\theta/\gamma+\varepsilon\theta δ θ − εθ ≤ d ( i 1 , j ) ≤ θ / γ + εθ , and we have again that β ( ( 1 + ε 2 ) θ , ( 1 − δ / 2 ) d ( i 1 , j ) ) \beta((1+\varepsilon^2)\theta,(1-\delta/2)d(i_1,j)) β (( 1 + ε 2 ) θ , ( 1 − δ /2 ) d ( i 1 , j )) and β ( θ , ( 1 − δ ) d ( i 1 , j ) ) \beta(\theta,(1-\delta)d(i_1,j)) β ( θ , ( 1 − δ ) d ( i 1 , j )) are both positive and
[ θ − γ ( 1 − δ ) d ( i 1 , j ) ] + − [ ( 1 + ε 2 ) θ − γ ( 1 − δ / 2 ) d ( i 1 , j ) ] + = − ε 2 θ + ( γ δ / 2 ) d ( i 1 , j ) ≥ − ε 2 θ + ( γ δ / 2 ) ( δ − ε ) θ ≥ ε 2 θ + n η , [\theta-\gamma(1-\delta)d(i_1,j)]^+-[(1+\varepsilon^2)\theta-\gamma(1-\delta/2)d(i_1,j)]^+
=-\varepsilon^2\theta+(\gamma\delta/2)d(i_1,j)\geq-\varepsilon^2\theta+(\gamma\delta/2)(\delta-\varepsilon)\theta\geq\varepsilon^2\theta+n\eta, [ θ − γ ( 1 − δ ) d ( i 1 , j ) ] + − [( 1 + ε 2 ) θ − γ ( 1 − δ /2 ) d ( i 1 , j ) ] + = − ε 2 θ + ( γ δ /2 ) d ( i 1 , j ) ≥ − ε 2 θ + ( γ δ /2 ) ( δ − ε ) θ ≥ ε 2 θ + n η ,
where we used δ ≫ ε \delta\gg\varepsilon δ ≫ ε .
Case j ∈ A ∖ ( N 1 ∪ N 2 ) j\in A\setminus(N_1\cup N_2) j ∈ A ∖ ( N 1 ∪ N 2 ) . Then d ( i 1 , j ) ≥ ε θ d(i_1,j)\geq\varepsilon\theta d ( i 1 , j ) ≥ εθ . First, we claim that β ( ( 1 + ε 2 ) θ , ( 1 − δ / 2 ) d ( i 1 , j ) ) \beta((1+\varepsilon^2)\theta,(1-\delta/2)d(i_1,j)) β (( 1 + ε 2 ) θ , ( 1 − δ /2 ) d ( i 1 , j )) is positive only if β ( θ , ( 1 − δ ) d ( i 1 , j ) ) \beta(\theta,(1-\delta)d(i_1,j)) β ( θ , ( 1 − δ ) d ( i 1 , j )) is positive: Suppose
( 1 + ε 2 ) θ − γ ( 1 − δ / 2 ) d ( i 1 , j ) ≥ 0. (1+\varepsilon^2)\theta-\gamma(1-\delta/2)d(i_1,j)\geq0. ( 1 + ε 2 ) θ − γ ( 1 − δ /2 ) d ( i 1 , j ) ≥ 0.
Then
θ − γ ( 1 − δ ) d ( i 1 , j ) ≥ γ ( 1 − δ / 2 ) 1 + ε 2 d ( i 1 , j ) − γ ( 1 − δ ) d ( i 1 , j ) ≥ 0 , \theta-\gamma(1-\delta)d(i_1,j)\geq\frac{\gamma(1-\delta/2)}{1+\varepsilon^2}d(i_1,j)-\gamma(1-\delta)d(i_1,j)\geq0, θ − γ ( 1 − δ ) d ( i 1 , j ) ≥ 1 + ε 2 γ ( 1 − δ /2 ) d ( i 1 , j ) − γ ( 1 − δ ) d ( i 1 , j ) ≥ 0 ,
where we used δ ≫ ε \delta\gg\varepsilon δ ≫ ε . So it suffices to consider the case when both are positive. In that case,
[ θ − γ ( 1 − δ ) d ( i 1 , j ) ] + − [ ( 1 + ε 2 ) θ − γ ( 1 − δ / 2 ) d ( i 1 , j ) ] + = − ε 2 θ + ( γ δ / 2 ) d ( i 1 , j ) ≥ − ε 2 θ + ( γ δ / 2 ) ε θ ≥ n η , [\theta-\gamma(1-\delta)d(i_1,j)]^+-[(1+\varepsilon^2)\theta-\gamma(1-\delta/2)d(i_1,j)]^+
=-\varepsilon^2\theta+(\gamma\delta/2)d(i_1,j)\geq-\varepsilon^2\theta+(\gamma\delta/2)\varepsilon\theta\geq n\eta, [ θ − γ ( 1 − δ ) d ( i 1 , j ) ] + − [( 1 + ε 2 ) θ − γ ( 1 − δ /2 ) d ( i 1 , j ) ] + = − ε 2 θ + ( γ δ /2 ) d ( i 1 , j ) ≥ − ε 2 θ + ( γ δ /2 ) εθ ≥ n η ,
where we used again δ ≫ ε \delta\gg\varepsilon δ ≫ ε .
Summing up these contributions over all j ∈ A j\in A j ∈ A , and using that ∣ N 1 ∣ ≤ ∣ N 2 ∣ |N_1|\leq|N_2| ∣ N 1 ∣ ≤ ∣ N 2 ∣ , we get that Q ≥ P Q\geq P Q ≥ P . In fact, if there exists some j ∈ A j\in A j ∈ A with non-zero contribution to P P P , summing up this contributions gives the stronger bound P ≤ Q − n η P\leq Q-n\eta P ≤ Q − n η . Note that the inactive term of P P P is trivially upper bounded by the inactive term of Q Q Q . Therefore we reach the desired contradiction as long as there exists some j ∈ A j\in A j ∈ A with non-zero contribution to P P P .
Finally, consider the special case when all clients j ∈ A j\in A j ∈ A have zero contribution to P P P : β ( ( 1 + ε 2 ) θ , ( 1 − δ / 2 ) d ( i 1 , j ) ) = 0 \beta((1+\varepsilon^2)\theta,(1-\delta/2)d(i_1,j))=0 β (( 1 + ε 2 ) θ , ( 1 − δ /2 ) d ( i 1 , j )) = 0 . Because P ≥ f ^ − n η > 0 P\geq\hat{f}-n\eta>0 P ≥ f ^ − n η > 0 , there exists some j ∈ I j\in I j ∈ I such that β ( ( 1 − δ ) d ( j , S ) , ( 1 − δ / 2 ) d ( i 1 , j ) ) > 0 \beta((1-\delta)d(j,S),(1-\delta/2)d(i_1,j))>0 β (( 1 − δ ) d ( j , S ) , ( 1 − δ /2 ) d ( i 1 , j )) > 0 , and then also β ( ( 1 − δ ) d ( j , S ) , ( 1 − δ ) d ( i 1 , j ) ) > 0 \beta((1-\delta)d(j,S),(1-\delta)d(i_1,j))>0 β (( 1 − δ ) d ( j , S ) , ( 1 − δ ) d ( i 1 , j )) > 0 , i.e., the contribution of j j j to Q Q Q is also positive and at least as large. Then, in fact, the contribution of j j j to Q Q Q is larger by at least n η n\eta n η :
[ ( 1 − δ ) d ( j , S ) − γ ( 1 − δ ) d ( i 1 , j ) ] + − [ ( 1 − δ ) d ( j , S ) − γ ( 1 − δ / 2 ) d ( i 1 , j ) ] + ≥ ( γ δ / 2 ) d ( i 1 , j ) ≥ n η [(1-\delta)d(j,S)-\gamma(1-\delta)d(i_1,j)]^+-[(1-\delta)d(j,S)-\gamma(1-\delta/2)d(i_1,j)]^+\geq(\gamma\delta/2)d(i_1,j)\geq n\eta [( 1 − δ ) d ( j , S ) − γ ( 1 − δ ) d ( i 1 , j ) ] + − [( 1 − δ ) d ( j , S ) − γ ( 1 − δ /2 ) d ( i 1 , j ) ] + ≥ ( γ δ /2 ) d ( i 1 , j ) ≥ n η
because d ( i 1 , j ) ≥ 1 d(i_1,j)\geq1 d ( i 1 , j ) ≥ 1 as discussed in § 2 . Thus, we reach again the desired contradiction, and this concludes the proof.
We also have the following analogue of the structural result in Lemma 5.9 .
Lemma E.8. Assume f ^ > n η \hat{f} > n\eta f ^ > n η and ρ ≥ 1.01 γ \rho\ge1.01\gamma ρ ≥ 1.01 γ . Consider a regular facility i ⋆ i^\star i ⋆ and a subset of clients D ⋆ ⊆ [ n ] D^\star\subseteq[n] D ⋆ ⊆ [ n ] such that for all j ∈ D ⋆ j \in D^\star j ∈ D ⋆ it holds that α j ⋆ ≥ ρ ⋅ d ( j , i ⋆ ) \alpha_j^\star\ge\rho\cdot d(j,i^\star) α j ⋆ ≥ ρ ⋅ d ( j , i ⋆ ) . Suppose that a client j ∈ D ⋆ j \in D^\star j ∈ D ⋆ becomes inactive in the execution of a sequence of type 2 with α j ⋆ > θ \alpha_j^\star> \theta α j ⋆ > θ and a regular facility i 0 i_0 i 0 is opened. Suppose also that facility i ⋆ i^\star i ⋆ was a candidate at the beginning of that atomic step. Then, for the facility i 0 i_0 i 0 that was opened at that time, we have d ( i ⋆ , i 0 ) ≤ δ θ d(i^\star,i_0) \le\delta\theta d ( i ⋆ , i 0 ) ≤ δ θ . Furthermore, all other clients in D ⋆ D^\star D ⋆ that were active before this atomic step become inactive in this atomic step.
Proof. Both i ⋆ i^\star i ⋆ and i 0 i_0 i 0 are candidates, so by Lemma E.7 we have that either d ( i ⋆ , i 0 ) ≤ δ θ d(i^\star,i_0) \le\delta\theta d ( i ⋆ , i 0 ) ≤ δ θ or d ( i ⋆ , i 0 ) ≥ θ / γ d(i^\star,i_0) \ge\theta/\gamma d ( i ⋆ , i 0 ) ≥ θ / γ . Note that, because α j ⋆ > θ \alpha_j^\star> \theta α j ⋆ > θ , we have d ( j , i 0 ) ≤ ϵ θ d(j,i_0) \le\epsilon\theta d ( j , i 0 ) ≤ ϵ θ . In the execution of a sequence of type 2 we have α j ⋆ ≤ ( 1 + ϵ 2 ) θ \alpha_j^\star\le(1+\epsilon^2)\theta α j ⋆ ≤ ( 1 + ϵ 2 ) θ , so combining with α j ⋆ ≥ ρ ⋅ d ( j , i ⋆ ) \alpha_j^\star\ge\rho\cdot d(j,i^\star) α j ⋆ ≥ ρ ⋅ d ( j , i ⋆ ) we get that ( 1 + ϵ 2 ) θ ≥ ρ ⋅ d ( j , i ⋆ ) (1+\epsilon^2)\theta\ge\rho\cdot d(j,i^\star) ( 1 + ϵ 2 ) θ ≥ ρ ⋅ d ( j , i ⋆ ) .
If d ( i ⋆ , i 0 ) ≥ θ / γ d(i^\star,i_0) \ge\theta/\gamma d ( i ⋆ , i 0 ) ≥ θ / γ , we have that d ( j , i ⋆ ) ≥ d ( i ⋆ , i 0 ) − d ( j , i 0 ) ≥ θ / γ − ϵ θ ≥ 0.999 ⋅ θ / γ d(j,i^\star) \ge d(i^\star,i_0)-d(j,i_0) \ge\theta/\gamma-\epsilon\theta\ge0.999\cdot\theta/\gamma d ( j , i ⋆ ) ≥ d ( i ⋆ , i 0 ) − d ( j , i 0 ) ≥ θ / γ − ϵ θ ≥ 0.999 ⋅ θ / γ (using 1 / γ ≫ ϵ 1/\gamma\gg\epsilon 1/ γ ≫ ϵ ), which violates the assumption that d ( j , i ⋆ ) ≤ ( 1 + ϵ 2 ) θ / ρ d(j,i^\star) \le(1+\epsilon^2)\theta/\rho d ( j , i ⋆ ) ≤ ( 1 + ϵ 2 ) θ / ρ .
Hence, it must be the case that d ( i ⋆ , i 0 ) ≤ δ θ d(i^\star,i_0) \le\delta\theta d ( i ⋆ , i 0 ) ≤ δ θ . Suppose some k ∈ D ⋆ k \in D^\star k ∈ D ⋆ that is active before this atomic step does not become inactive at this atomic step. This implies that θ < ( 1 − δ ) d ( k , i 0 ) \theta< (1-\delta)d(k,i_0) θ < ( 1 − δ ) d ( k , i 0 ) . However, after i 0 i_0 i 0 is opened, this client will become inactive at the latest when its θ \theta θ value increases to at least ( 1 − δ ) d ( k , i 0 ) (1-\delta)d(k,i_0) ( 1 − δ ) d ( k , i 0 ) . Then, because θ \theta θ increases in multiples of 1 + ϵ 2 1+\epsilon^2 1 + ϵ 2 , we have that α k ⋆ ≤ ( 1 + ϵ 2 ) ( 1 − δ ) d ( k , i 0 ) \alpha_k^\star\le(1+\epsilon^2)(1-\delta)d(k,i_0) α k ⋆ ≤ ( 1 + ϵ 2 ) ( 1 − δ ) d ( k , i 0 ) .
On the other hand,
α k ⋆ ≥ ρ ⋅ d ( k , i ⋆ ) ≥ ρ ⋅ ( d ( k , i 0 ) − d ( i ⋆ , i 0 ) ) ≥ ρ ⋅ d ( k , i 0 ) − ρ δ θ ≥ ρ ( 1 − δ ( 1 − δ ) ) d ( k , i 0 ) . \alpha_k^\star\ge\rho\cdot d(k,i^\star) \ge\rho\cdot\left(d(k,i_0)-d(i^\star,i_0)\right) \ge\rho\cdot d(k,i_0)-\rho\delta\theta\ge\rho\left(1-\delta(1-\delta)\right)d(k,i_0). α k ⋆ ≥ ρ ⋅ d ( k , i ⋆ ) ≥ ρ ⋅ ( d ( k , i 0 ) − d ( i ⋆ , i 0 ) ) ≥ ρ ⋅ d ( k , i 0 ) − ρ δ θ ≥ ρ ( 1 − δ ( 1 − δ ) ) d ( k , i 0 ) .
Putting the two together, we get that
ρ ( 1 − δ ( 1 − δ ) ) d ( k , i 0 ) ≤ ( 1 + ϵ 2 ) ( 1 − δ ) d ( k , i 0 ) , \rho\left(1-\delta(1-\delta)\right)d(k,i_0) \le(1+\epsilon^2)(1-\delta)d(k,i_0), ρ ( 1 − δ ( 1 − δ ) ) d ( k , i 0 ) ≤ ( 1 + ϵ 2 ) ( 1 − δ ) d ( k , i 0 ) ,
which is a contradiction for ρ ≥ 1.01 \rho\ge1.01 ρ ≥ 1.01 for δ ≫ ϵ > 0 \delta\gg\epsilon> 0 δ ≫ ϵ > 0 small enough.
Algorithm Cost
We now bound the cost of the algorithm in terms of the variables Z Z Z and R R R .
Lemma E.9. The cost (with respect to opening cost f ^ \hat{f} f ^ ) of a solution output by our execution is at most
∑ j = 1 n ( ∑ i = s ( j ) m − 1 β ( Z j , i , R j , i + 1 ) + R j , m ) + δ ⋅ ∑ j = 1 n d ( j , S ⋆ ) + ∣ S r e g ⋆ ∣ n η . \sum_{j=1}^{n}\left(\sum_{i=s(j)}^{m-1}\beta(Z_{j,i},R_{j,i+1})+R_{j,m}\right)+\delta\cdot\sum_{j=1}^{n}d(j,S^\star)+|S^\star_{\mathrm{reg}}|n\eta. j = 1 ∑ n i = s ( j ) ∑ m − 1 β ( Z j , i , R j , i + 1 ) + R j , m + δ ⋅ j = 1 ∑ n d ( j , S ⋆ ) + ∣ S reg ⋆ ∣ n η .
Proof. The j j j -th client has connection cost d ( j , S ⋆ ) d(j,S^\star) d ( j , S ⋆ ) . We also need to calculate the contribution of j j j to the opening of each facility in S ⋆ S^\star S ⋆ . We note that, by definition, if i i i is a free facility then its opening cost is zero. Otherwise, it costs f ^ \hat{f} f ^ to open a regular facility, and we know that at the atomic step when it was opened we had
∑ j ∈ A β ( θ , ( 1 − δ ) d ( i , j ) ) + ∑ j ∈ I β ( ( 1 − δ ) d ( j , S ) , ( 1 − δ ) d ( i , j ) ) ≥ f ^ − n η . \sum_{j\in A}\beta(\theta,(1-\delta)d(i,j))+\sum_{j\in I}\beta((1-\delta)d(j,S),(1-\delta)d(i,j))\ge\hat{f}-n\eta. j ∈ A ∑ β ( θ , ( 1 − δ ) d ( i , j )) + j ∈ I ∑ β (( 1 − δ ) d ( j , S ) , ( 1 − δ ) d ( i , j )) ≥ f ^ − n η .
if it was opened in a sequence of type 1 (by Definition D.1) or
∑ j ∈ A β ( τ j , ( 1 − δ / 2 ) d ( i , j ) ) + ∑ j ∈ I β ( ( 1 − δ ) d ( j , S ) , ( 1 − δ / 2 ) d ( i , j ) ) ≥ f ^ − n η . \sum_{j\in A}\beta(\tau_j,(1-\delta/2)d(i,j))+\sum_{j\in I}\beta((1-\delta)d(j,S),(1-\delta/2)d(i,j))\ge\hat{f}-n\eta. j ∈ A ∑ β ( τ j , ( 1 − δ /2 ) d ( i , j )) + j ∈ I ∑ β (( 1 − δ ) d ( j , S ) , ( 1 − δ /2 ) d ( i , j )) ≥ f ^ − n η .
if it was opened in a sequence of type 2 (by Definition D.2). Therefore, up to an extra cost of ∣ S r e g ⋆ ∣ n η |S^\star_{\mathrm{reg}}|n\eta ∣ S reg ⋆ ∣ n η , it will suffice to bound these left-hand sides.
Type 1 sequences. Suppose that i i i is opened in a sequence of type 1 with respect to a set S S S of open facilities at the beginning of that atomic step, and with active and inactive sets A = A S A=A_S A = A S and I = I S I=I_S I = I S , respectively. (We observe that, if i i i is ( 1 , η ) (1,\eta) ( 1 , η ) -openable w.r.t. a superset S ~ \widetilde{S} S , then it is also ( 1 , η ) (1,\eta) ( 1 , η ) -openable w.r.t. S S S because d ( j , S ) d(j,S) d ( j , S ) is monotone in S S S and by Lemma E.6 there is no overbidding, so consider S ~ = S \widetilde{S}=S S = S and ζ j k = r j k \zeta_{jk}=r_{jk} ζ j k = r j k for all j , k j,k j , k .) Then, if j ∈ A j\in A j ∈ A then the contribution is β ( θ , ( 1 − δ ) d ( i , j ) ) \beta(\theta,(1-\delta)d(i,j)) β ( θ , ( 1 − δ ) d ( i , j )) and if j ∈ I j\in I j ∈ I then the contribution is β ( ( 1 − δ ) d ( j , S ) , ( 1 − δ ) d ( i , j ) ) \beta((1-\delta)d(j,S),(1-\delta)d(i,j)) β (( 1 − δ ) d ( j , S ) , ( 1 − δ ) d ( i , j )) .
We note that if i i i is opened before the atomic step in which j j j becomes inactive, we have that the contribution is zero, because j j j is active after the opening of i i i and hence θ < ( 1 − δ ) d ( j , S ∪ { i } ) \theta<(1-\delta)d(j,S\cup\{i\}) θ < ( 1 − δ ) d ( j , S ∪ { i }) . We now bound the contribution of client j j j to the opening of the facility S k + 1 ∖ S k S_{k+1} \setminus S_k S k + 1 ∖ S k , for k ≥ s ( j ) k \ge s(j) k ≥ s ( j ) , by β ( Z j , k , R j , k + 1 ) \beta(Z_{j,k},R_{j,k+1}) β ( Z j , k , R j , k + 1 ) . This follows by the definitions of Z Z Z and R R R . Specifically, if j ∈ A j \in A j ∈ A , then Z j , s ( j ) = α j ∗ = θ Z_{j,s(j)}=\alpha_j^*=\theta Z j , s ( j ) = α j ∗ = θ , matching the above. If j ∈ I j \in I j ∈ I but k = s ( j ) k=s(j) k = s ( j ) , which can happen if j j j becomes inactive in an atomic step when θ \theta θ increases, we have Z j , s ( j ) = ζ j , j = ( 1 − δ ) d ( j , S ) Z_{j,s(j)}=\zeta_{j,j}=(1-\delta)d(j,S) Z j , s ( j ) = ζ j , j = ( 1 − δ ) d ( j , S ) , again matching the above. For k > s ( j ) k>s(j) k > s ( j ) we have by definition Z j , k = ( 1 − δ ) d ( j , S ) Z_{j,k}=(1-\delta)d(j,S) Z j , k = ( 1 − δ ) d ( j , S ) , matching the above. Finally, for all k ≥ s ( j ) k \ge s(j) k ≥ s ( j ) , R j , k + 1 = ( 1 − δ ) d ( j , S k + 1 ) R_{j,k+1}=(1-\delta)d(j,S_{k+1}) R j , k + 1 = ( 1 − δ ) d ( j , S k + 1 ) , where d ( j , S k + 1 ) d(j,S_{k+1}) d ( j , S k + 1 ) is a lower bound on the distance from j j j to the facility, so together the above suffice to upper bound the contribution by β ( Z j , k , R j , k + 1 ) \beta(Z_{j,k},R_{j,k+1}) β ( Z j , k , R j , k + 1 ) .
Type 2 sequences. Suppose that i i i is opened in a sequence of type 2 with respect to a superset S ~ \widetilde{S} S of the set S S S of open facilities at the beginning of that atomic step, and with active and inactive sets with respect to S ~ \widetilde{S} S denoted as A ~ = A S ~ \widetilde{A}=A_{\widetilde{S}} A = A S and I ~ = I S ~ \widetilde{I}=I_{\widetilde{S}} I = I S , respectively. If j ∈ A ~ j \in\widetilde{A} j ∈ A then the contribution is β ( τ j , ( 1 − δ / 2 ) d ( j , i ) ) \beta(\tau_j,(1-\delta/2)d(j,i)) β ( τ j , ( 1 − δ /2 ) d ( j , i )) and if j ∈ I ~ j \in\widetilde{I} j ∈ I then the contribution is β ( ( 1 − δ ) d ( j , S ~ ) , ( 1 − δ / 2 ) d ( j , i ) ) \beta((1-\delta)d(j,\widetilde{S}),(1-\delta/2)d(j,i)) β (( 1 − δ ) d ( j , S ) , ( 1 − δ /2 ) d ( j , i )) .
Suppose i i i is opened before the atomic step in which j j j becomes inactive. We argue again that the contribution is zero in this case. We have again that j j j is active after the opening of i i i and hence θ < ( 1 − δ ) d ( j , S ∪ { i } ) \theta< (1-\delta)d(j,S \cup\{i\}) θ < ( 1 − δ ) d ( j , S ∪ { i }) . Consider two cases. If j ∈ A ~ j \in\widetilde{A} j ∈ A then we must have τ j = θ \tau_j=\theta τ j = θ , because otherwise by Observation E.3 we have that j j j also becomes inactive in the same atomic step. But θ < ( 1 − δ ) d ( j , S ∪ { i } ) \theta< (1-\delta)d(j,S \cup\{i\}) θ < ( 1 − δ ) d ( j , S ∪ { i }) , so then β ( τ j , ( 1 − δ / 2 ) d ( j , i ) ) = 0 \beta(\tau_j,(1-\delta/2)d(j,i))=0 β ( τ j , ( 1 − δ /2 ) d ( j , i )) = 0 . If j ∈ I ~ j \in\widetilde{I} j ∈ I then we have θ ≥ ( 1 − δ ) d ( j , S ~ ) \theta\ge(1-\delta)d(j,\widetilde{S}) θ ≥ ( 1 − δ ) d ( j , S ) but θ < ( 1 − δ ) d ( j , S ∪ { i } ) ≤ ( 1 − δ ) d ( j , i ) \theta< (1-\delta)d(j,S \cup\{i\}) \le(1-\delta)d(j,i) θ < ( 1 − δ ) d ( j , S ∪ { i }) ≤ ( 1 − δ ) d ( j , i ) , so β ( ( 1 − δ ) d ( j , S ~ ) , ( 1 − δ / 2 ) d ( j , i ) ) = 0 \beta((1-\delta)d(j,\widetilde{S}),(1-\delta/2)d(j,i))=0 β (( 1 − δ ) d ( j , S ) , ( 1 − δ /2 ) d ( j , i )) = 0 too.
We now bound the contribution of client j j j to the opening of the facility S k + 1 ∖ S k S_{k+1} \setminus S_k S k + 1 ∖ S k , for k ≥ s ( j ) k \ge s(j) k ≥ s ( j ) , by β ( Z j , k , R j , k + 1 ) \beta(Z_{j,k},R_{j,k+1}) β ( Z j , k , R j , k + 1 ) . This follows by the definitions of Z Z Z and R R R . Specifically, if j ∈ A ~ j \in\widetilde{A} j ∈ A , then Z j , s ( j ) = α j ∗ = τ j Z_{j,s(j)}=\alpha_j^*=\tau_j Z j , s ( j ) = α j ∗ = τ j , matching the above. If j ∈ I ~ j \in\widetilde{I} j ∈ I but k = s ( j ) k=s(j) k = s ( j ) , we have Z j , s ( j ) = ( 1 − δ ) d ( j , S ~ ) Z_{j,s(j)}=(1-\delta)d(j,\widetilde{S}) Z j , s ( j ) = ( 1 − δ ) d ( j , S ) , again matching the above. For k > s ( j ) k>s(j) k > s ( j ) we have by definition Z j , k = ( 1 − δ ) d ( j , S ~ ) Z_{j,k}=(1-\delta)d(j,\widetilde{S}) Z j , k = ( 1 − δ ) d ( j , S ) , matching the above. Finally, for all k ≥ s ( j ) k \ge s(j) k ≥ s ( j ) , R j , k + 1 = ( 1 − δ ) d ( j , S k + 1 ) R_{j,k+1}=(1-\delta)d(j,S_{k+1}) R j , k + 1 = ( 1 − δ ) d ( j , S k + 1 ) , where ( 1 − δ ) d ( j , S k + 1 ) (1-\delta)d(j,S_{k+1}) ( 1 − δ ) d ( j , S k + 1 ) is a lower bound on ( 1 − δ / 2 ) (1-\delta/2) ( 1 − δ /2 ) times the distance from j j j to the facility, so together the above suffice to upper bound the contribution by β ( Z j , k , R j , k + 1 ) \beta(Z_{j,k},R_{j,k+1}) β ( Z j , k , R j , k + 1 ) .
Putting things together. The costs above only ensure that each facility is paid f ^ − n η \hat{f}-n\eta f ^ − n η , so we need to add ∣ S r e g ∣ n η |S_{\mathrm{reg}}|n\eta ∣ S reg ∣ n η to the final cost. Then the total opening costs are upper bounded by
∑ j = 1 n ∑ i = s ( j ) m − 1 β ( Z j , i , R j , i + 1 ) + ∣ S r e g ∣ n η . \sum_{j=1}^{n}\sum_{i=s(j)}^{m-1}\beta(Z_{j,i},R_{j,i+1})+|S_{\mathrm{reg}}|n\eta. j = 1 ∑ n i = s ( j ) ∑ m − 1 β ( Z j , i , R j , i + 1 ) + ∣ S reg ∣ n η .
Using that R j , m = ( 1 − δ ) d ( j , S ∗ ) R_{j,m}=(1-\delta)d(j,S^*) R j , m = ( 1 − δ ) d ( j , S ∗ ) , we also have that the connection cost satisfies d ( j , S ∗ ) = R j , m + δ d ( j , S ∗ ) d(j,S^*)=R_{j,m}+\delta d(j,S^*) d ( j , S ∗ ) = R j , m + δ d ( j , S ∗ ) . Then the total cost is upper bounded by
∑ j = 1 n ( ∑ i = s ( j ) m − 1 β ( Z j , i , R j , i + 1 ) + R j , m ) + δ ⋅ ∑ j = 1 n d ( j , S ∗ ) + ∣ S r e g ∣ n η . \sum_{j=1}^{n}\left(\sum_{i=s(j)}^{m-1}\beta(Z_{j,i},R_{j,i+1})+R_{j,m}\right)+\delta\cdot\sum_{j=1}^{n}d(j,S^*)+|S_{\mathrm{reg}}|n\eta. j = 1 ∑ n i = s ( j ) ∑ m − 1 β ( Z j , i , R j , i + 1 ) + R j , m + δ ⋅ j = 1 ∑ n d ( j , S ∗ ) + ∣ S reg ∣ n η .
Factor-Revealing Program Feasibility
In this subsection we consider some i ∗ ∈ F i^* \in F i ∗ ∈ F and a subset of clients D g o o d ∗ ⊆ D D^*_{\mathrm{good}} \subseteq D D good ∗ ⊆ D such that, for all j ∈ D g o o d ∗ j \in D^*_{\mathrm{good}} j ∈ D good ∗ , α j ∗ ≥ ρ ⋅ d ( j , i ∗ ) \alpha_j^* \ge\rho\cdot d(j,i^*) α j ∗ ≥ ρ ⋅ d ( j , i ∗ ) . Recall q ( i ) = min { i ′ ∣ i ′ > i , i ′ ∈ D g o o d ∗ ∪ { n + 1 } } q(i)=\min\left\{i' \mid i'>i, i' \in D^*_{\mathrm{good}}\cup\{n+1\}\right\} q ( i ) = min { i ′ ∣ i ′ > i , i ′ ∈ D good ∗ ∪ { n + 1 } } . We will assume throughout that f ^ ≥ n η \hat{f} \ge n\eta f ^ ≥ n η and ρ ≥ 1.01 γ \rho\ge1.01\gamma ρ ≥ 1.01 γ .
We define a new set of variables r j , k ∗ r^*_{j,k} r j , k ∗ for j ∈ D g o o d ∗ j \in D^*_{\mathrm{good}} j ∈ D good ∗ , k ∈ D g o o d ∗ ∪ { n + 1 } k \in D^*_{\mathrm{good}}\cup\{n+1\} k ∈ D good ∗ ∪ { n + 1 } and k ≥ j k \ge j k ≥ j , that we will use with the role of r r r in the factor revealing program in Definition 4.1 . Importantly, we show that the cost of the algorithm associated with clients j ∈ D g o o d ∗ j \in D^*_{\mathrm{good}} j ∈ D good ∗ is upper bounded (up to a small error) by the objective of the factor revealing program with r ∗ r^* r ∗ variables. We proceed to define r ∗ r^* r ∗ , which will depend on the definition of an event FREEZING.
Definition E.10. Let k l a s t ∈ D g o o d ∗ k^{\mathrm{last}} \in D^*_{\mathrm{good}} k last ∈ D good ∗ be the client with the largest index in D g o o d ∗ D^*_{\mathrm{good}} D good ∗ . Suppose that:
In the atomic step in which k l a s t k^{\mathrm{last}} k last becomes inactive, a regular facility i 0 ∗ i^*_0 i 0 ∗ is opened that is ( 2 , n ) (2,n) ( 2 , n ) -openable only with respect to a strict superset S ~ ( k l a s t ) \widetilde{S}^{(k^{\mathrm{last}})} S ( k last ) of S ( k l a s t ) S^{(k^{\mathrm{last}})} S ( k last ) .
Then we say that the event FREEZING happens. In that case, we also denote k f i r s t ∈ D g o o d ⋆ k^{\mathrm{first}} \in D^{\star}_{\mathrm{good}} k first ∈ D good ⋆ to be the client with the smallest index in D g o o d ⋆ D^{\star}_{\mathrm{good}} D good ⋆ that becomes inactive in the same atomic step as k l a s t k^{\mathrm{last}} k last and has α k f i r s t ⋆ > θ \alpha_{k^{\mathrm{first}}}^{\star} > \theta α k first ⋆ > θ , where θ \theta θ is the time of the atomic step in which k l a s t k^{\mathrm{last}} k last becomes inactive.
We can now define r ⋆ r^{\star} r ⋆ for j ∈ D g o o d ⋆ j \in D^{\star}_{\mathrm{good}} j ∈ D good ⋆ and k ∈ D g o o d ⋆ ∪ { n + 1 } k \in D^{\star}_{\mathrm{good}} \cup\{n+1\} k ∈ D good ⋆ ∪ { n + 1 } with k ≥ j k \ge j k ≥ j :
r j k ⋆ = { 0 if FREEZING and k = n + 1 , ζ j k if FREEZING and k ≥ k f i r s t and d ( j , i 0 ⋆ ) ≤ θ / 3 , min ( r j k , max ( ζ j k , d ( j , i 0 ⋆ ) ) ) if FREEZING and k ≥ k f i r s t and d ( j , i 0 ⋆ ) > θ / 3 , r j k otherwise. r^{\star}_{jk} =
\begin{cases}
0 & \text{if FREEZING and } k=n+1,\\
\zeta_{jk} & \text{if FREEZING and } k \ge k^{\mathrm{first}} \text{ and } d(j,i^{\star}_{0}) \le\theta/3,\\
\min(r_{jk},\max(\zeta_{jk},d(j,i^{\star}_{0}))) & \text{if FREEZING and } k \ge k^{\mathrm{first}} \text{ and } d(j,i^{\star}_{0}) > \theta/3,\\
r_{jk} & \text{otherwise.}
\end{cases} r j k ⋆ = ⎩ ⎨ ⎧ 0 ζ j k min ( r j k , max ( ζ j k , d ( j , i 0 ⋆ ))) r j k if FREEZING and k = n + 1 , if FREEZING and k ≥ k first and d ( j , i 0 ⋆ ) ≤ θ /3 , if FREEZING and k ≥ k first and d ( j , i 0 ⋆ ) > θ /3 , otherwise.
We note that FREEZING captures the conditions of Lemma E.8. In the analysis below we will make use of the following property when FREEZING happens:
Lemma E.11. In the event FREEZING, we have for all i ∈ S ~ k l a s t i \in\widetilde{S}_{k^{\mathrm{last}}} i ∈ S k last that d ( i 0 ⋆ , i ) ≥ θ d(i^{\star}_{0},i) \ge\theta d ( i 0 ⋆ , i ) ≥ θ .
Proof. Suppose there exists some i ∈ S ~ k l a s t i \in\widetilde{S}_{k^{\mathrm{last}}} i ∈ S k last such that d ( i 0 ⋆ , i ) < θ d(i^{\star}_{0},i) < \theta d ( i 0 ⋆ , i ) < θ . Then, for every j ∈ B ( i , ε θ ) j \in B(i,\varepsilon\theta) j ∈ B ( i , εθ ) we have d ( j , S ~ k l a s t ) ≤ d ( j , i ) ≤ d ( j , i 0 ⋆ ) + d ( i , i 0 ⋆ ) ≤ ε θ + θ d(j,\widetilde{S}_{k^{\mathrm{last}}}) \le d(j,i) \le d(j,i^{\star}_{0}) + d(i,i^{\star}_{0}) \le\varepsilon\theta+\theta d ( j , S k last ) ≤ d ( j , i ) ≤ d ( j , i 0 ⋆ ) + d ( i , i 0 ⋆ ) ≤ εθ + θ , so ( 1 − δ ) d ( j , S ~ k l a s t ) ≤ θ (1-\delta)d(j,\widetilde{S}_{k^{\mathrm{last}}}) \le\theta ( 1 − δ ) d ( j , S k last ) ≤ θ and all such j j j are either inactive or have τ j = θ \tau_j=\theta τ j = θ .
Using the above, we prove that it is impossible for i 0 ⋆ i^{\star}_{0} i 0 ⋆ to be ( 2 , η ) (2,\eta) ( 2 , η ) -openable only with respect to a strict superset of S l a s t S^{\mathrm{last}} S last . Because i 0 ⋆ i^{\star}_{0} i 0 ⋆ is ( 2 , η ) (2,\eta) ( 2 , η ) -openable with respect to S ~ k l a s t \widetilde{S}_{k^{\mathrm{last}}} S k last and all clients are either inactive or have τ j = θ \tau_j=\theta τ j = θ , we get
∑ j ∈ A ~ β ( θ , ( 1 − δ / 2 ) d ( i 0 ⋆ , j ) ) + ∑ j ∈ I ~ β ( ( 1 − δ ) d ( j , S ~ k l a s t ) , ( 1 − δ / 2 ) d ( i 0 ⋆ , j ) ) ≥ f ^ − n η . \sum_{j\in\widetilde{A}} \beta\left(\theta,(1-\delta/2)d(i^{\star}_{0},j)\right)
+\sum_{j\in\widetilde{I}} \beta\left((1-\delta)d(j,\widetilde{S}_{k^{\mathrm{last}}}),(1-\delta/2)d(i^{\star}_{0},j)\right)
\ge\widehat{f}-n\eta. j ∈ A ∑ β ( θ , ( 1 − δ /2 ) d ( i 0 ⋆ , j ) ) + j ∈ I ∑ β ( ( 1 − δ ) d ( j , S k last ) , ( 1 − δ /2 ) d ( i 0 ⋆ , j ) ) ≥ f − n η .
Note that A ~ ⊆ A \widetilde{A}\subseteq A A ⊆ A and I ~ ⊇ I \widetilde{I}\supseteq I I ⊇ I . We have ( 1 − δ ) d ( j , S ~ k l a s t ) ≤ ( 1 − δ ) d ( j , S l a s t ) (1-\delta)d(j,\widetilde{S}_{k^{\mathrm{last}}}) \le(1-\delta)d(j,S^{\mathrm{last}}) ( 1 − δ ) d ( j , S k last ) ≤ ( 1 − δ ) d ( j , S last ) and ( 1 − δ ) d ( j , S ~ k l a s t ) ≤ θ (1-\delta)d(j,\widetilde{S}_{k^{\mathrm{last}}}) \le\theta ( 1 − δ ) d ( j , S k last ) ≤ θ for all j ∈ I ~ j \in\widetilde{I} j ∈ I , and this then implies
∑ j ∈ A β ( θ , ( 1 − δ / 2 ) d ( i 0 ⋆ , j ) ) + ∑ j ∈ I β ( ( 1 − δ ) d ( j , S l a s t ) , ( 1 − δ / 2 ) d ( i 0 ⋆ , j ) ) ≥ f ^ − n η . \sum_{j\in A} \beta\left(\theta,(1-\delta/2)d(i^{\star}_{0},j)\right)
+\sum_{j\in I} \beta\left((1-\delta)d(j,S^{\mathrm{last}}),(1-\delta/2)d(i^{\star}_{0},j)\right)
\ge\widehat{f}-n\eta. j ∈ A ∑ β ( θ , ( 1 − δ /2 ) d ( i 0 ⋆ , j ) ) + j ∈ I ∑ β ( ( 1 − δ ) d ( j , S last ) , ( 1 − δ /2 ) d ( i 0 ⋆ , j ) ) ≥ f − n η .
Thus, i 0 ⋆ i^{\star}_{0} i 0 ⋆ is ( 2 , η ) (2,\eta) ( 2 , η ) -openable with respect to S S S , as it satisfies all constraints with τ j = θ \tau_j=\theta τ j = θ for all j ∈ A : j\in A: j ∈ A : $ The first two and the fifth constraints are trivial, the third constraint is the inequality we obtained above, and the fourth constraint follows by Lemma E.6. ▫
We can now state the relation between the cost of the algorithm associated with clients j ∈ D g o o d ⋆ j \in D^{\star}_{\mathrm{good}} j ∈ D good ⋆ is upper bounded (up to a small error) and the objective of the factor revealing program with r ⋆ r^{\star} r ⋆ variables.
Lemma E.12. We have
∑ j ∈ D g o o d ⋆ ( ∑ i = s ( j ) m − 1 β ( Z j , i , R j , i + 1 ) + R j , m ) ≤ ∑ j ∈ D g o o d ⋆ ( ∑ i = j i ∈ D g o o d ⋆ n β ( r j , i ⋆ , r j , q ( i ) ⋆ ) + r j , n + 1 ⋆ ) + 6 δ ∑ j ∈ D g o o d ⋆ d ( j , i 0 ⋆ ) . \sum_{j\in D^{\star}_{\mathrm{good}}}
\left(
\sum_{i=s(j)}^{m-1}\beta(Z_{j,i},R_{j,i+1})+R_{j,m}
\right)
\le
\sum_{j\in D^{\star}_{\mathrm{good}}}
\left(
\sum_{\substack{i=j\\i\in D^{\star}_{\mathrm{good}}}}^{n}
\beta(r^{\star}_{j,i},r^{\star}_{j,q(i)})+r^{\star}_{j,n+1}
\right)
+6\delta\sum_{j\in D^{\star}_{\mathrm{good}}}d(j,i^{\star}_{0}). j ∈ D good ⋆ ∑ i = s ( j ) ∑ m − 1 β ( Z j , i , R j , i + 1 ) + R j , m ≤ j ∈ D good ⋆ ∑ i = j i ∈ D good ⋆ ∑ n β ( r j , i ⋆ , r j , q ( i ) ⋆ ) + r j , n + 1 ⋆ + 6 δ j ∈ D good ⋆ ∑ d ( j , i 0 ⋆ ) .
Proof. We will prove the inequality term by term for each j ∈ D g o o d ⋆ j \in D^{\star}_{\mathrm{good}} j ∈ D good ⋆ , i.e.,
∑ i = s ( j ) m − 1 β ( Z j , i , R j , i + 1 ) + R j , m ≤ ∑ i = j i ∈ D g o o d ⋆ n β ( r j , i ⋆ , r j , q ( i ) ⋆ ) + r j , n + 1 ⋆ + 6 δ d ( j , i 0 ⋆ ) . \sum_{i=s(j)}^{m-1}\beta(Z_{j,i},R_{j,i+1})+R_{j,m}
\le
\sum_{\substack{i=j\\i\in D^{\star}_{\mathrm{good}}}}^{n}
\beta(r^{\star}_{j,i},r^{\star}_{j,q(i)})+r^{\star}_{j,n+1}+6\delta d(j,i^{\star}_{0}). i = s ( j ) ∑ m − 1 β ( Z j , i , R j , i + 1 ) + R j , m ≤ i = j i ∈ D good ⋆ ∑ n β ( r j , i ⋆ , r j , q ( i ) ⋆ ) + r j , n + 1 ⋆ + 6 δ d ( j , i 0 ⋆ ) .
If the event FREEZING does not happen, then the bound follows by superadditivity of β \beta β , since Z j , i ≤ R j , i Z_{j,i}\le R_{j,i} Z j , i ≤ R j , i for all j , i j,i j , i , R j , s ( j ) = r j , j = r j , j ⋆ R_{j,s(j)}=r_{j,j}=r^{\star}_{j,j} R j , s ( j ) = r j , j = r j , j ⋆ , R j , m = r j , n + 1 ⋆ R_{j,m}=r^{\star}_{j,n+1} R j , m = r j , n + 1 ⋆ , and R j , i ≥ R j , i + 1 R_{j,i}\ge R_{j,i+1} R j , i ≥ R j , i + 1 for all valid j , i j,i j , i . Suppose then that FREEZING happens. Then, using that Z j , i ≤ R j , i Z_{j,i}\le R_{j,i} Z j , i ≤ R j , i for all j , i j,i j , i ,
∑ i = s ( j ) m − 1 β ( Z j , i , R j , i + 1 ) + R j , m ≤ ∑ i = s ( j ) s ( k l a s t ) − 1 β ( R j , i , R j , i + 1 ) + ∑ i = s ( k l a s t ) m − 1 β ( Z j , i , R j , i + 1 ) + R j , m . \sum_{i=s(j)}^{m-1}\beta(Z_{j,i},R_{j,i+1})+R_{j,m}
\le
\sum_{i=s(j)}^{s(k^{\mathrm{last}})-1}\beta(R_{j,i},R_{j,i+1})
+\sum_{i=s(k^{\mathrm{last}})}^{m-1}\beta(Z_{j,i},R_{j,i+1})+R_{j,m}. i = s ( j ) ∑ m − 1 β ( Z j , i , R j , i + 1 ) + R j , m ≤ i = s ( j ) ∑ s ( k last ) − 1 β ( R j , i , R j , i + 1 ) + i = s ( k last ) ∑ m − 1 β ( Z j , i , R j , i + 1 ) + R j , m .
If j ≥ k f i r s t j \ge k^{\mathrm{first}} j ≥ k first , we note that s ( j ) = s ( k l a s t ) s(j)=s(k^{\mathrm{last}}) s ( j ) = s ( k last ) and the first term is equal to 0. Otherwise, for the first term, because j ∈ D g o o d ⋆ j \in D^{\star}_{\mathrm{good}} j ∈ D good ⋆ and k l a s t ∈ D g o o d ⋆ k^{\mathrm{last}} \in D^{\star}_{\mathrm{good}} k last ∈ D good ⋆ , and because R j , s ( j ) = r j , j R_{j,s(j)}=r_{j,j} R j , s ( j ) = r j , j , R j , s ( k l a s t ) = r j , k l a s t R_{j,s(k^{\mathrm{last}})}=r_{j,k^{\mathrm{last}}} R j , s ( k last ) = r j , k last , and R j , k ≥ R j , k + 1 R_{j,k} \ge R_{j,k+1} R j , k ≥ R j , k + 1 for all j , k j,k j , k , we can use the superadditivity of β \beta β to get
∑ i = s ( j ) s ( k l a s t ) − 1 β ( R j , i , R j , i + 1 ) ≤ ∑ i = j i ∈ D g o o d ⋆ k l a s t − 1 β ( r j , i , r j , q ( i ) ) ≤ ∑ i = j i ∈ D g o o d ⋆ k l a s t − 1 β ( r j , i ⋆ , r j , q ( i ) ⋆ ) . \sum_{i=s(j)}^{s(k^{\mathrm{last}})-1}\beta(R_{j,i},R_{j,i+1}) \le\sum_{\substack{i=j\\i\in D^{\star}_{\mathrm{good}}}}^{k^{\mathrm{last}}-1}\beta(r_{j,i},r_{j,q(i)}) \le\sum_{\substack{i=j\\i\in D^{\star}_{\mathrm{good}}}}^{k^{\mathrm{last}}-1}\beta(r^{\star}_{j,i},r^{\star}_{j,q(i)}). i = s ( j ) ∑ s ( k last ) − 1 β ( R j , i , R j , i + 1 ) ≤ i = j i ∈ D good ⋆ ∑ k last − 1 β ( r j , i , r j , q ( i ) ) ≤ i = j i ∈ D good ⋆ ∑ k last − 1 β ( r j , i ⋆ , r j , q ( i ) ⋆ ) .
where in the last inequality we used that r j , i ⋆ = r j , i r^{\star}_{j,i}=r_{j,i} r j , i ⋆ = r j , i for i < k f i r s t i<k^{\mathrm{first}} i < k first and r j , i = r j , q ( i ) r_{j,i}=r_{j,q(i)} r j , i = r j , q ( i ) for k f i r s t < q ( i ) ≤ k l a s t − 1 k^{\mathrm{first}}<q(i)\le k^{\mathrm{last}}-1 k first < q ( i ) ≤ k last − 1 (hence in this latter case β ( r j , i , r j , q ( i ) ) = 0 \beta(r_{j,i},r_{j,q(i)})=0 β ( r j , i , r j , q ( i ) ) = 0 ), and then for the last term r j , k l a s t ⋆ ≤ r j , k l a s t r^{\star}_{j,k^{\mathrm{last}}}\le r_{j,k^{\mathrm{last}}} r j , k last ⋆ ≤ r j , k last , which gives an upper bound. Then we have
∑ i = s ( j ) m − 1 β ( Z j , i , R j , i + 1 ) + R j , m ≤ ∑ i = j i ∈ D g o o d ⋆ k l a s t − 1 β ( r j , i ⋆ , r j , q ( i ) ⋆ ) + β ( Z j , s ( k l a s t ) , R j , s ( k l a s t ) + 1 ) + ∑ i = s ( k l a s t ) + 1 m − 1 β ( R j , i , R j , i + 1 ) + R j , m ≤ ∑ i = j i ∈ D g o o d ⋆ k l a s t − 1 β ( r j , i ⋆ , r j , q ( i ) ⋆ ) + β ( Z j , s ( k l a s t ) , R j , s ( k l a s t ) + 1 ) + β ( R j , s ( k l a s t ) + 1 , R j , m ) + R j , m . \begin{aligned}
\sum_{i=s(j)}^{m-1}\beta(Z_{j,i},R_{j,i+1})+R_{j,m}
\le\sum_{\substack{i=j\\i\in D^{\star}_{\mathrm{good}}}}^{k^{\mathrm{last}}-1}\beta(r^{\star}_{j,i},r^{\star}_{j,q(i)})+\beta(Z_{j,s(k^{\mathrm{last}})},R_{j,s(k^{\mathrm{last}})+1})+\sum_{i=s(k^{\mathrm{last}})+1}^{m-1}\beta(R_{j,i},R_{j,i+1})+R_{j,m} \\
&\le\sum_{\substack{i=j\\i\in D^{\star}_{\mathrm{good}}}}^{k^{\mathrm{last}}-1}\beta(r^{\star}_{j,i},r^{\star}_{j,q(i)})+\beta(Z_{j,s(k^{\mathrm{last}})},R_{j,s(k^{\mathrm{last}})+1})+\beta(R_{j,s(k^{\mathrm{last}})+1},R_{j,m})+R_{j,m}.
\end{aligned} i = s ( j ) ∑ m − 1 β ( Z j , i , R j , i + 1 ) + R j , m ≤ i = j i ∈ D good ⋆ ∑ k last − 1 β ( r j , i ⋆ , r j , q ( i ) ⋆ ) + β ( Z j , s ( k last ) , R j , s ( k last ) + 1 ) + i = s ( k last ) + 1 ∑ m − 1 β ( R j , i , R j , i + 1 ) + R j , m ≤ i = j i ∈ D good ⋆ ∑ k last − 1 β ( r j , i ⋆ , r j , q ( i ) ⋆ ) + β ( Z j , s ( k last ) , R j , s ( k last ) + 1 ) + β ( R j , s ( k last ) + 1 , R j , m ) + R j , m .
Also note that Z j , s ( k l a s t ) = ζ j , k l a s t Z_{j,s(k^{\mathrm{last}})}=\zeta_{j,k^{\mathrm{last}}} Z j , s ( k last ) = ζ j , k last . For the last three terms, let us consider two cases.
Case d ( j , i 0 ⋆ ) ≤ θ / 3 d(j,i^{\star}_{0})\le\theta/3 d ( j , i 0 ⋆ ) ≤ θ /3 . In this case r j , k l a s t ⋆ = ζ j , k l a s t r^{\star}_{j,k^{\mathrm{last}}}=\zeta_{j,k^{\mathrm{last}}} r j , k last ⋆ = ζ j , k last . If j j j is active with respect to S ~ ( k l a s t ) \widetilde{S}(k^{\mathrm{last}}) S ( k last ) , then ζ j , k l a s t ≥ θ \zeta_{j,k^{\mathrm{last}}}\ge\theta ζ j , k last ≥ θ . Else, by Lemma E.11 , we have for every i ∈ S ~ ( k l a s t ) i\in\widetilde{S}(k^{\mathrm{last}}) i ∈ S ( k last ) that d ( i , i 0 ⋆ ) ≥ θ d(i,i^{\star}_{0})\ge\theta d ( i , i 0 ⋆ ) ≥ θ , so d ( j , i ) ≥ d ( i , i 0 ⋆ ) − d ( j , i 0 ⋆ ) ≥ 2 θ / 3 d(j,i)\ge d(i,i^{\star}_{0})-d(j,i^{\star}_{0})\ge2\theta/3 d ( j , i ) ≥ d ( i , i 0 ⋆ ) − d ( j , i 0 ⋆ ) ≥ 2 θ /3 , so also ζ j , k l a s t ≥ ( 1 − δ ) 2 θ / 3 \zeta_{j,k^{\mathrm{last}}}\ge(1-\delta)2\theta/3 ζ j , k last ≥ ( 1 − δ ) 2 θ /3 . Then in all cases, because i 0 ⋆ i^{\star}_{0} i 0 ⋆ is then added to the set of open facilities, we also have R j , m ≤ R j , s ( k l a s t ) + 1 ≤ d ( j , i 0 ⋆ ) ≤ θ / 3 ≤ ζ j , k l a s t R_{j,m}\le R_{j,s(k^{\mathrm{last}})+1}\le d(j,i^{\star}_{0})\le\theta/3\le\zeta_{j,k^{\mathrm{last}}} R j , m ≤ R j , s ( k last ) + 1 ≤ d ( j , i 0 ⋆ ) ≤ θ /3 ≤ ζ j , k last , where we use that any j ∈ D g o o d ⋆ j\in D^{\star}_{\mathrm{good}} j ∈ D good ⋆ must be inactive after the atomic step. Then, because ζ j , k l a s t ≥ R j , s ( k l a s t ) + 1 ≥ R j , m \zeta_{j,k^{\mathrm{last}}}\ge R_{j,s(k^{\mathrm{last}})+1}\ge R_{j,m} ζ j , k last ≥ R j , s ( k last ) + 1 ≥ R j , m , we can use the superadditivity of β \beta β to conclude
∑ i = s ( j ) m − 1 β ( Z j , i , R j , i + 1 ) + R j , m ≤ ∑ i = j i ∈ D g o o d ⋆ k l a s t − 1 β ( r j , i ⋆ , r j , q ( i ) ⋆ ) + r j , k l a s t ⋆ = ∑ i = j i ∈ D g o o d ⋆ n β ( r j , i ⋆ , r j , q ( i ) ⋆ ) + r j , n + 1 ⋆ , \begin{aligned}
\sum_{i=s(j)}^{m-1}\beta(Z_{j,i},R_{j,i+1})+R_{j,m}\le\sum_{\substack{i=j\\i\in D^{\star}_{\mathrm{good}}}}^{k^{\mathrm{last}}-1}\beta(r^{\star}_{j,i},r^{\star}_{j,q(i)})+r^{\star}_{j,k^{\mathrm{last}}} \\
&=\sum_{\substack{i=j\\i\in D^{\star}_{\mathrm{good}}}}^{n}\beta(r^{\star}_{j,i},r^{\star}_{j,q(i)})+r^{\star}_{j,n+1},
\end{aligned} i = s ( j ) ∑ m − 1 β ( Z j , i , R j , i + 1 ) + R j , m ≤ i = j i ∈ D good ⋆ ∑ k last − 1 β ( r j , i ⋆ , r j , q ( i ) ⋆ ) + r j , k last ⋆ = i = j i ∈ D good ⋆ ∑ n β ( r j , i ⋆ , r j , q ( i ) ⋆ ) + r j , n + 1 ⋆ ,
where we also used that r j , n + 1 ⋆ = 0 r^{\star}_{j,n+1}=0 r j , n + 1 ⋆ = 0 .
Case d ( j , i 0 ⋆ ) > θ / 3 d(j,i^{\star}_{0})>\theta/3 d ( j , i 0 ⋆ ) > θ /3 . In this other case r j , k l a s t ⋆ = min ( r j , k l a s t , max ( ζ j , k l a s t , d ( j , i 0 ⋆ ) ) ) r^{\star}_{j,k^{\mathrm{last}}}=\min(r_{j,k^{\mathrm{last}}},\max(\zeta_{j,k^{\mathrm{last}}},d(j,i^{\star}_{0}))) r j , k last ⋆ = min ( r j , k last , max ( ζ j , k last , d ( j , i 0 ⋆ ))) . Because i 0 ⋆ i^{\star}_{0} i 0 ⋆ is then added to the set of open facilities, we also have R j , m ≤ R j , s ( k l a s t ) + 1 ≤ d ( j , i 0 ⋆ ) ≤ d ( j , i 0 ⋆ ) + d ( i 0 , i 0 ⋆ ) R_{j,m}\le R_{j,s(k^{\mathrm{last}})+1}\le d(j,i^{\star}_{0})\le d(j,i^{\star}_{0})+d(i_{0},i^{\star}_{0}) R j , m ≤ R j , s ( k last ) + 1 ≤ d ( j , i 0 ⋆ ) ≤ d ( j , i 0 ⋆ ) + d ( i 0 , i 0 ⋆ ) , where we use that any j ∈ D g o o d ⋆ j\in D^{\star}_{\mathrm{good}} j ∈ D good ⋆ must be inactive after the atomic step. We have by Lemma E.8 that d ( i 0 , i 0 ⋆ ) ≤ δ θ d(i_{0},i^{\star}_{0})\le\delta\theta d ( i 0 , i 0 ⋆ ) ≤ δ θ , so then the upper bound above becomes d ( j , i 0 ⋆ ) + δ θ d(j,i^{\star}_{0})+\delta\theta d ( j , i 0 ⋆ ) + δ θ . We also note that if r j , k l a s t ⋆ ≥ R j , s ( k l a s t ) + 1 r^{\star}_{j,k^{\mathrm{last}}}\ge R_{j,s(k^{\mathrm{last}})+1} r j , k last ⋆ ≥ R j , s ( k last ) + 1 then we can apply the superadditivity of β \beta β and the result follows as in the previous case, so we assume that r j , k l a s t ⋆ < R j , s ( k l a s t ) + 1 r^{\star}_{j,k^{\mathrm{last}}}<R_{j,s(k^{\mathrm{last}})+1} r j , k last ⋆ < R j , s ( k last ) + 1 , which also implies that r j , k l a s t ⋆ < r j , k l a s t r^{\star}_{j,k^{\mathrm{last}}}<r_{j,k^{\mathrm{last}}} r j , k last ⋆ < r j , k last as R j , s ( k l a s t ) + 1 ≤ R j , s ( k l a s t ) = r j , k l a s t R_{j,s(k^{\mathrm{last}})+1}\le R_{j,s(k^{\mathrm{last}})}=r_{j,k^{\mathrm{last}}} R j , s ( k last ) + 1 ≤ R j , s ( k last ) = r j , k last . Then r j , k l a s t ⋆ = max ( ζ j , k l a s t , d ( j , i 0 ⋆ ) ) ≥ d ( j , i 0 ⋆ ) ≥ R j , s ( k l a s t ) + 1 − δ θ r^{\star}_{j,k^{\mathrm{last}}}=\max(\zeta_{j,k^{\mathrm{last}}},d(j,i^{\star}_{0}))\ge d(j,i^{\star}_{0})\ge R_{j,s(k^{\mathrm{last}})+1}-\delta\theta r j , k last ⋆ = max ( ζ j , k last , d ( j , i 0 ⋆ )) ≥ d ( j , i 0 ⋆ ) ≥ R j , s ( k last ) + 1 − δ θ . Then, also using that r j , k l a s t ⋆ ≥ ζ j , k l a s t r^{\star}_{j,k^{\mathrm{last}}}\ge\zeta_{j,k^{\mathrm{last}}} r j , k last ⋆ ≥ ζ j , k last , we conclude
∑ i = s ( j ) m − 1 β ( Z j , i , R j , i + 1 ) + R j , m ≤ ∑ i = j i ∈ D g o o d ⋆ k l a s t − 1 β ( r j , i ⋆ , r j , q ( i ) ⋆ ) + β ( r j , k l a s t ⋆ , R j , s ( k l a s t ) + 1 ) + β ( R j , s ( k l a s t ) + 1 , R j , m ) + R j , m = ∑ i = j i ∈ D g o o d ⋆ k l a s t − 1 β ( r j , i ⋆ , r j , q ( i ) ⋆ ) + β ( R j , s ( k l a s t ) + 1 , R j , m ) + R j , m , \begin{aligned}
\sum_{i=s(j)}^{m-1}\beta(Z_{j,i},R_{j,i+1})+R_{j,m}\le\sum_{\substack{i=j\\i\in D^{\star}_{\mathrm{good}}}}^{k^{\mathrm{last}}-1}\beta(r^{\star}_{j,i},r^{\star}_{j,q(i)})+\beta(r^{\star}_{j,k^{\mathrm{last}}},R_{j,s(k^{\mathrm{last}})+1})+\beta(R_{j,s(k^{\mathrm{last}})+1},R_{j,m})+R_{j,m} \\
&=\sum_{\substack{i=j\\i\in D^{\star}_{\mathrm{good}}}}^{k^{\mathrm{last}}-1}\beta(r^{\star}_{j,i},r^{\star}_{j,q(i)})+\beta(R_{j,s(k^{\mathrm{last}})+1},R_{j,m})+R_{j,m},
\end{aligned} i = s ( j ) ∑ m − 1 β ( Z j , i , R j , i + 1 ) + R j , m ≤ i = j i ∈ D good ⋆ ∑ k last − 1 β ( r j , i ⋆ , r j , q ( i ) ⋆ ) + β ( r j , k last ⋆ , R j , s ( k last ) + 1 ) + β ( R j , s ( k last ) + 1 , R j , m ) + R j , m = i = j i ∈ D good ⋆ ∑ k last − 1 β ( r j , i ⋆ , r j , q ( i ) ⋆ ) + β ( R j , s ( k last ) + 1 , R j , m ) + R j , m ,
where we dropped the term β ( r j , k l a s t ⋆ , R j , s ( k l a s t ) + 1 ) \beta(r^{\star}_{j,k^{\mathrm{last}}}, R_{j,s(k^{\mathrm{last}})+1}) β ( r j , k last ⋆ , R j , s ( k last ) + 1 ) because it equals zero as r j , k l a s t ⋆ < R j , s ( k l a s t ) + 1 r^{\star}_{j,k^{\mathrm{last}}}<R_{j,s(k^{\mathrm{last}})+1} r j , k last ⋆ < R j , s ( k last ) + 1 . Continuing, because R j , m = β ( R j , m , 0 ) R_{j,m}=\beta(R_{j,m},0) R j , m = β ( R j , m , 0 ) , by using the superadditivity of β \beta β ,
∑ i = s ( j ) m − 1 β ( Z j , i , R j , i + 1 ) + R j , m ≤ ∑ i = j i ∈ D g o o d ⋆ k l a s t − 1 β ( r j , i ⋆ , r j , q ( i ) ⋆ ) + R j , s ( k l a s t ) + 1 ≤ ∑ i = j i ∈ D g o o d ⋆ k l a s t − 1 β ( r j , i ⋆ , r j , q ( i ) ⋆ ) + r j , k l a s t ⋆ + δ θ = ∑ i = j i ∈ D g o o d ⋆ n β ( r j , i ⋆ , r j , q ( i ) ⋆ ) + r j , n + 1 ⋆ + δ θ , \begin{aligned}
\sum_{i=s(j)}^{m-1}\beta(Z_{j,i},R_{j,i+1})+R_{j,m}\le\sum_{\substack{i=j\\i\in D^{\star}_{\mathrm{good}}}}^{k^{\mathrm{last}}-1}\beta(r^{\star}_{j,i},r^{\star}_{j,q(i)})+R_{j,s(k^{\mathrm{last}})+1} \\
&\le\sum_{\substack{i=j\\i\in D^{\star}_{\mathrm{good}}}}^{k^{\mathrm{last}}-1}\beta(r^{\star}_{j,i},r^{\star}_{j,q(i)})+r^{\star}_{j,k^{\mathrm{last}}}+\delta\theta\\
&=\sum_{\substack{i=j\\i\in D^{\star}_{\mathrm{good}}}}^{n}\beta(r^{\star}_{j,i},r^{\star}_{j,q(i)})+r^{\star}_{j,n+1}+\delta\theta,
\end{aligned} i = s ( j ) ∑ m − 1 β ( Z j , i , R j , i + 1 ) + R j , m ≤ i = j i ∈ D good ⋆ ∑ k last − 1 β ( r j , i ⋆ , r j , q ( i ) ⋆ ) + R j , s ( k last ) + 1 ≤ i = j i ∈ D good ⋆ ∑ k last − 1 β ( r j , i ⋆ , r j , q ( i ) ⋆ ) + r j , k last ⋆ + δ θ = i = j i ∈ D good ⋆ ∑ n β ( r j , i ⋆ , r j , q ( i ) ⋆ ) + r j , n + 1 ⋆ + δ θ ,
where in the last step we used that r j , n + 1 ⋆ = 0 r^{\star}_{j,n+1}=0 r j , n + 1 ⋆ = 0 . We also have that θ ≤ 3 d ( j , i ⋆ ) ≤ 3 ( d ( j , i ⋆ ) + d ( i ⋆ , i 0 ⋆ ) ) ≤ 3 d ( j , i ⋆ ) + 3 δ θ \theta\le3d(j,i^{\star})\le3(d(j,i^{\star})+d(i^{\star},i^{\star}_{0}))\le3d(j,i^{\star})+3\delta\theta θ ≤ 3 d ( j , i ⋆ ) ≤ 3 ( d ( j , i ⋆ ) + d ( i ⋆ , i 0 ⋆ )) ≤ 3 d ( j , i ⋆ ) + 3 δ θ , which implies θ ≤ 6 d ( j , i ⋆ ) \theta\le6d(j,i^{\star}) θ ≤ 6 d ( j , i ⋆ ) , so we get
∑ i = s ( j ) m − 1 β ( Z j , i , R j , i + 1 ) + R j , m ≤ ∑ i = j i ∈ D g o o d ⋆ n β ( r j , i ⋆ , r j , q ( i ) ⋆ ) + r j , n + 1 ⋆ + 6 δ d ( j , i ⋆ ) . \sum_{i=s(j)}^{m-1}\beta(Z_{j,i},R_{j,i+1})+R_{j,m}\le\sum_{\substack{i=j\\i\in D^{\star}_{\mathrm{good}}}}^{n}\beta(r^{\star}_{j,i},r^{\star}_{j,q(i)})+r^{\star}_{j,n+1}+6\delta d(j,i^{\star}). i = s ( j ) ∑ m − 1 β ( Z j , i , R j , i + 1 ) + R j , m ≤ i = j i ∈ D good ⋆ ∑ n β ( r j , i ⋆ , r j , q ( i ) ⋆ ) + r j , n + 1 ⋆ + 6 δ d ( j , i ⋆ ) .
In the rest of this section we will show that { r j k ⋆ ∣ j ≤ k , j ∈ D g o o d ⋆ , k ∈ D g o o d ⋆ ∪ { n + 1 } } \{r^{\star}_{jk}\mid j\le k,\ j\in D^{\star}_{\mathrm{good}},\ k\in D^{\star}_{\mathrm{good}}\cup\{n+1\}\} { r j k ⋆ ∣ j ≤ k , j ∈ D good ⋆ , k ∈ D good ⋆ ∪ { n + 1 }} , { d ( j , i ⋆ ) ∣ j ∈ D g o o d ⋆ } \{d(j,i^{\star})\mid j\in D^{\star}_{\mathrm{good}}\} { d ( j , i ⋆ ) ∣ j ∈ D good ⋆ } , f ^ \hat f f ^ is feasible for the factor revealing program in Definition 4.1, except for the normalization constraint (4) .
First we will prove that the facility constraints (5) hold.
Lemma E.13. Consider the central facility i ⋆ i^{\star} i ⋆ and let k ∈ D g o o d ⋆ k\in D^{\star}_{\mathrm{good}} k ∈ D good ⋆ . Then,
∑ j ≥ k j ∈ D g o o d ⋆ β ( α k ⋆ , d ( i ⋆ , j ) ) + ∑ j < k j ∈ D g o o d ⋆ β ( r j k ⋆ , d ( i ⋆ , j ) ) ≤ f ^ . \sum_{\substack{j\ge k\\j\in D^{\star}_{\mathrm{good}}}}\beta(\alpha^{\star}_{k},d(i^{\star},j))+\sum_{\substack{j<k\\j\in D^{\star}_{\mathrm{good}}}}\beta(r^{\star}_{jk},d(i^{\star},j))\le\hat f. j ≥ k j ∈ D good ⋆ ∑ β ( α k ⋆ , d ( i ⋆ , j )) + j < k j ∈ D good ⋆ ∑ β ( r j k ⋆ , d ( i ⋆ , j )) ≤ f ^ . Proof. Consider the phase when k k k goes inactive. k k k goes inactive either in an atomic step in a sequence of type 1, type 2, or when θ \theta θ increases.
Type 1 sequence Consider the state ( S = S ( k ) , θ ) (\mathsf{S}=\mathsf{S}^{(k)},\theta) ( S = S ( k ) , θ ) of the algorithm just before the atomic step in which k k k becomes inactive. If k k k becomes inactive in a type 1 sequence then α k ⋆ = θ \alpha^{\star}_{k}=\theta α k ⋆ = θ . Thus, by Lemma E.6,
f ^ ≥ ∑ j ∈ A ∩ D g o o d ⋆ β ( θ , d ( i ⋆ , j ) ) + ∑ j ∈ I ∩ D g o o d ⋆ β ( ( 1 − δ ) d ( j , S ) , d ( i ⋆ , j ) ) \hat f\ge\sum_{\substack{j\in A\cap D^{\star}_{\mathrm{good}}}}\beta(\theta,d(i^{\star},j))+\sum_{\substack{j\in I\cap D^{\star}_{\mathrm{good}}}}\beta((1-\delta)d(j,\mathsf{S}),d(i^{\star},j)) f ^ ≥ j ∈ A ∩ D good ⋆ ∑ β ( θ , d ( i ⋆ , j )) + j ∈ I ∩ D good ⋆ ∑ β (( 1 − δ ) d ( j , S ) , d ( i ⋆ , j )) ≥ ∑ j ≥ k j ∈ D g o o d ⋆ β ( α k ⋆ , d ( i ⋆ , j ) ) + ∑ j < k j ∈ D g o o d ⋆ β ( r j k ⋆ , d ( i ⋆ , j ) ) , \ge\sum_{\substack{j\ge k\\j\in D^{\star}_{\mathrm{good}}}}\beta(\alpha^{\star}_{k},d(i^{\star},j))+\sum_{\substack{j<k\\j\in D^{\star}_{\mathrm{good}}}}\beta(r^{\star}_{jk},d(i^{\star},j)), ≥ j ≥ k j ∈ D good ⋆ ∑ β ( α k ⋆ , d ( i ⋆ , j )) + j < k j ∈ D good ⋆ ∑ β ( r j k ⋆ , d ( i ⋆ , j )) , where we use that if j < k j<k j < k but j ∈ A j\in A j ∈ A then we have r j k ⋆ = α j ⋆ = θ r^{\star}_{jk}=\alpha^{\star}_{j}=\theta r j k ⋆ = α j ⋆ = θ .
Type 2 sequence Again, consider the state ( S = S ( k ) , θ ) (\mathsf{S}=\mathsf{S}^{(k)},\theta) ( S = S ( k ) , θ ) of the algorithm just before the atomic step in which k k k becomes inactive.
If k k k becomes inactive in a step in which a free facility is opened, we have essentially the same case as in the type 1 sequence and the same argument works.
The case α k ⋆ = θ \alpha^{\star}_{k}=\theta α k ⋆ = θ is also easy: We have r j k ⋆ = r j k r^{\star}_{jk}=r_{jk} r j k ⋆ = r j k , as even if FREEZING happens it only affects k ≥ k f i r s t k\ge k^{\mathrm{first}} k ≥ k first with α k f i r s t > θ \alpha_{k^{\mathrm{first}}}>\theta α k first > θ . Note that r j k = α j ⋆ = θ r_{jk}=\alpha^{\star}_{j}=\theta r j k = α j ⋆ = θ for all j < k j<k j < k with j ∈ A j\in A j ∈ A , as α j ⋆ ≥ θ \alpha^{\star}_{j}\ge\theta α j ⋆ ≥ θ and α j ⋆ ≤ α k ⋆ \alpha^{\star}_{j}\le\alpha^{\star}_{k} α j ⋆ ≤ α k ⋆ (because if j < k j<k j < k and j ∈ A j\in A j ∈ A then j j j must become inactive in the same atomic step as k k k ). Then by Lemma E.6,
f ^ ≥ ∑ j ∈ A ∩ D g o o d ⋆ β ( θ , d ( i ⋆ , j ) ) + ∑ j ∈ I ∩ D g o o d ⋆ β ( ( 1 − δ ) d ( j , S ) , d ( i ⋆ , j ) ) \hat f\ge\sum_{\substack{j\in A\cap D^{\star}_{\mathrm{good}}}}\beta(\theta,d(i^{\star},j))+\sum_{\substack{j\in I\cap D^{\star}_{\mathrm{good}}}}\beta((1-\delta)d(j,\mathsf{S}),d(i^{\star},j)) f ^ ≥ j ∈ A ∩ D good ⋆ ∑ β ( θ , d ( i ⋆ , j )) + j ∈ I ∩ D good ⋆ ∑ β (( 1 − δ ) d ( j , S ) , d ( i ⋆ , j ))
≥ ∑ j ≥ k j ∈ D g o o d ⋆ β ( α k ⋆ , d ( i ⋆ , j ) ) + ∑ j < k j ∈ D g o o d ⋆ β ( r j k ⋆ , d ( i ⋆ , j ) ) , \ge\sum_{\substack{j \ge k \\ j \in D^{\star}_{\mathrm{good}}}} \beta(\alpha^{\star}_{k},d(i^{\star},j))+\sum_{\substack{j<k \\ j \in D^{\star}_{\mathrm{good}}}} \beta(r^{\star}_{j k},d(i^{\star},j)), ≥ j ≥ k j ∈ D good ⋆ ∑ β ( α k ⋆ , d ( i ⋆ , j )) + j < k j ∈ D good ⋆ ∑ β ( r j k ⋆ , d ( i ⋆ , j )) ,
where we use that if j < k j<k j < k but j ∈ A j\in A j ∈ A then we have r j k ⋆ = α j ⋆ = θ r^{\star}_{j k}=\alpha^{\star}_{j}=\theta r j k ⋆ = α j ⋆ = θ .
Else, we have θ < α k ⋆ ≤ ( 1 + ε 2 ) θ \theta<\alpha^{\star}_{k}\le(1+\varepsilon^{2})\theta θ < α k ⋆ ≤ ( 1 + ε 2 ) θ . Assume for contradiction that
∑ j ≥ k j ∈ D g o o d ⋆ β ( α k ⋆ , d ( i ⋆ , j ) ) + ∑ j < k j ∈ D g o o d ⋆ β ( r j k ⋆ , d ( i ⋆ , j ) ) > f ^ . \sum_{\substack{j \ge k \\ j \in D^{\star}_{\mathrm{good}}}} \beta(\alpha^{\star}_{k},d(i^{\star},j))+\sum_{\substack{j<k \\ j \in D^{\star}_{\mathrm{good}}}} \beta(r^{\star}_{j k},d(i^{\star},j))>\hat{f}. j ≥ k j ∈ D good ⋆ ∑ β ( α k ⋆ , d ( i ⋆ , j )) + j < k j ∈ D good ⋆ ∑ β ( r j k ⋆ , d ( i ⋆ , j )) > f ^ .
If j < k j<k j < k , we claim that r j k ⋆ ≤ ( 1 − δ ) d ( j , S ) r^{\star}_{j k}\le(1-\delta)d(j,S) r j k ⋆ ≤ ( 1 − δ ) d ( j , S ) if j ∈ I j\in I j ∈ I and r j k ⋆ ≤ α j ⋆ ≤ ( 1 + ε 2 ) θ r^{\star}_{j k}\le\alpha^{\star}_{j}\le(1+\varepsilon^{2})\theta r j k ⋆ ≤ α j ⋆ ≤ ( 1 + ε 2 ) θ if j ∈ A j\in A j ∈ A . These hold because r j k ⋆ ≤ r j k r^{\star}_{j k}\le r_{j k} r j k ⋆ ≤ r j k , and then for j ∈ I j\in I j ∈ I we have r j k = ( 1 − δ ) d ( j , S ) r_{j k}=(1-\delta)d(j,S) r j k = ( 1 − δ ) d ( j , S ) and for j ∈ A j\in A j ∈ A we have r j k = α j ⋆ r_{j k}=\alpha^{\star}_{j} r j k = α j ⋆ . Then, i ⋆ i^{\star} i ⋆ is a candidate since
∑ j ∈ A ∩ D g o o d ⋆ β ( ( 1 + ε 2 ) θ , ( 1 − δ / 2 ) d ( i ⋆ , j ) ) + ∑ j ∈ I ∩ D g o o d ⋆ β ( ( 1 − δ ) d ( j , S ) , ( 1 − δ / 2 ) d ( i ⋆ , j ) ) ≥ ∑ j ≥ k j ∈ D g o o d ⋆ β ( α k ⋆ , d ( i ⋆ , j ) ) + ∑ j < k j ∈ D g o o d ⋆ β ( r j k ⋆ , d ( i ⋆ , j ) ) > f ^ \begin{aligned}
\sum_{j\in A\cap D^{\star}_{\mathrm{good}}}\beta((1+\varepsilon^{2})\theta,(1-\delta/2)d(i^{\star},j))+\sum_{j\in I\cap D^{\star}_{\mathrm{good}}}\beta((1-\delta)d(j,S),(1-\delta/2)d(i^{\star},j)) \\
&\ge\sum_{\substack{j\ge k \\ j\in D^{\star}_{\mathrm{good}}}}\beta(\alpha^{\star}_{k},d(i^{\star},j))+\sum_{\substack{j<k \\ j\in D^{\star}_{\mathrm{good}}}}\beta(r^{\star}_{j k},d(i^{\star},j))>\hat{f}
\end{aligned} j ∈ A ∩ D good ⋆ ∑ β (( 1 + ε 2 ) θ , ( 1 − δ /2 ) d ( i ⋆ , j )) + j ∈ I ∩ D good ⋆ ∑ β (( 1 − δ ) d ( j , S ) , ( 1 − δ /2 ) d ( i ⋆ , j )) ≥ j ≥ k j ∈ D good ⋆ ∑ β ( α k ⋆ , d ( i ⋆ , j )) + j < k j ∈ D good ⋆ ∑ β ( r j k ⋆ , d ( i ⋆ , j )) > f ^
and all omitted terms are non-negative. Here, the inequality holds by the properties of β \beta β , monotonicity and the scaling. So k ∈ D g o o d ⋆ k\in D^{\star}_{\mathrm{good}} k ∈ D good ⋆ becomes inactive in a sequence of type 2 while i ⋆ i^{\star} i ⋆ is a candidate in a step in which a regular facility is opened. Thus, by Lemma E.8 we know that all clients in A ∩ D g o o d ⋆ A\cap D^{\star}_{\mathrm{good}} A ∩ D good ⋆ become inactive in the same atomic step as k k k . Let i 0 ⋆ i^{\star}_{0} i 0 ⋆ be the facility that is opened in this atomic step with respect to a superset S ~ ⊇ S ( k ) \widetilde{S}\supseteq S^{(k)} S ⊇ S ( k ) .
Note that, because α k ⋆ > θ \alpha^{\star}_{k}>\theta α k ⋆ > θ we have k ∈ A ~ k\in\widetilde{A} k ∈ A . Let I ~ = { j ∈ D ∣ θ ≥ ( 1 − δ ) d ( j , S ~ ) } \widetilde{I}=\{j\in D\mid\theta\ge(1-\delta)d(j,\widetilde{S})\} I = { j ∈ D ∣ θ ≥ ( 1 − δ ) d ( j , S )} and A ~ = D ∖ I ~ \widetilde{A}=D\setminus\widetilde{I} A = D ∖ I . We have
f ^ ≥ ∑ j ∈ A ~ ∩ D g o o d ⋆ β ( τ j , d ( i ⋆ , j ) ) + ∑ j ∈ I ~ ∩ D g o o d ⋆ β ( ( 1 − δ ) d ( j , S ~ ) , d ( i ⋆ , j ) ) . \hat{f}\ge\sum_{j\in\widetilde{A}\cap D^{\star}_{\mathrm{good}}}\beta(\tau_j,d(i^{\star},j))+\sum_{j\in\widetilde{I}\cap D^{\star}_{\mathrm{good}}}\beta((1-\delta)d(j,\widetilde{S}),d(i^{\star},j)). f ^ ≥ j ∈ A ∩ D good ⋆ ∑ β ( τ j , d ( i ⋆ , j )) + j ∈ I ∩ D good ⋆ ∑ β (( 1 − δ ) d ( j , S ) , d ( i ⋆ , j )) .
We also have that α j ⋆ ≥ α k ⋆ > θ \alpha^{\star}_{j}\ge\alpha^{\star}_{k}>\theta α j ⋆ ≥ α k ⋆ > θ for all j ≥ k j\ge k j ≥ k in D g o o d ⋆ D^{\star}_{\mathrm{good}} D good ⋆ since all clients become inactive in the same atomic step and are hence ordered by α ⋆ \alpha^{\star} α ⋆ . Because of this, all these j j j are also in A ~ \widetilde{A} A and satisfy τ j = α j ⋆ \tau_j=\alpha^{\star}_{j} τ j = α j ⋆ . Also note that, for j < k j<k j < k such that j ∈ A ~ j\in\widetilde{A} j ∈ A , we have r j , k ⋆ = r j , k = ζ j , k = α j ⋆ r^{\star}_{j,k}=r_{j,k}=\zeta_{j,k}=\alpha^{\star}_{j} r j , k ⋆ = r j , k = ζ j , k = α j ⋆ . Then
f ^ ≥ ∑ j ≥ k j ∈ D g o o d ⋆ β ( α k ⋆ , d ( i ⋆ , j ) ) + ∑ j < k j ∈ A ~ ∩ D g o o d ⋆ β ( r j , k ⋆ , d ( i ⋆ , j ) ) + ∑ j < k j ∈ I ~ ∩ D g o o d ⋆ β ( ( 1 − δ ) d ( j , S ~ ) , d ( i ⋆ , j ) ) . \hat{f}\ge\sum_{\substack{j\ge k \\ j\in D^{\star}_{\mathrm{good}}}}\beta(\alpha^{\star}_{k},d(i^{\star},j))+\sum_{\substack{j<k \\ j\in\widetilde{A}\cap D^{\star}_{\mathrm{good}}}}\beta(r^{\star}_{j,k},d(i^{\star},j))+\sum_{\substack{j<k \\ j\in\widetilde{I}\cap D^{\star}_{\mathrm{good}}}}\beta((1-\delta)d(j,\widetilde{S}),d(i^{\star},j)). f ^ ≥ j ≥ k j ∈ D good ⋆ ∑ β ( α k ⋆ , d ( i ⋆ , j )) + j < k j ∈ A ∩ D good ⋆ ∑ β ( r j , k ⋆ , d ( i ⋆ , j )) + j < k j ∈ I ∩ D good ⋆ ∑ β (( 1 − δ ) d ( j , S ) , d ( i ⋆ , j )) .
Let us reason now about the r j k ⋆ r^{\star}_{j k} r j k ⋆ in the case j ∈ I ~ j\in\widetilde{I} j ∈ I . If S ~ = S \widetilde{S}=S S = S , then we have that r j k ⋆ = r j k = ( 1 − δ ) d ( j , S ) r^{\star}_{j k}=r_{j k}=(1-\delta)d(j,S) r j k ⋆ = r j k = ( 1 − δ ) d ( j , S ) and the bound will follow easily, as shown below. Else, S ~ \widetilde{S} S is a strict superset of S S S and event FREEZING happens. In this case also k ≥ k f i r s t k\ge k^{\mathrm{first}} k ≥ k first since α k ⋆ > θ \alpha^{\star}_{k}>\theta α k ⋆ > θ . Consider then two cases. First, suppose d ( j , i ⋆ ) ≤ θ / 3 d(j,i^{\star})\le\theta/3 d ( j , i ⋆ ) ≤ θ /3 . Then r j , k ⋆ = ζ j , k = ( 1 − δ ) d ( j , S ~ ) r^{\star}_{j,k}=\zeta_{j,k}=(1-\delta)d(j,\widetilde{S}) r j , k ⋆ = ζ j , k = ( 1 − δ ) d ( j , S ) . Second, suppose d ( j , i ⋆ ) > θ / 3 d(j,i^{\star})>\theta/3 d ( j , i ⋆ ) > θ /3 . Then r j , k ⋆ ≤ max ( ( 1 − δ ) d ( j , S ~ ) , d ( j , i ⋆ ) ) r^{\star}_{j,k}\le\max((1-\delta)d(j,\widetilde{S}),d(j,i^{\star})) r j , k ⋆ ≤ max (( 1 − δ ) d ( j , S ) , d ( j , i ⋆ )) . The only worry is the case d ( j , i ⋆ ) ≥ ( 1 − δ ) d ( j , S ~ ) d(j,i^{\star})\ge(1-\delta)d(j,\widetilde{S}) d ( j , i ⋆ ) ≥ ( 1 − δ ) d ( j , S ) . But then β ( ( 1 − δ ) d ( j , S ~ ) , d ( j , i ⋆ ) ) = 0 \beta((1-\delta)d(j,\widetilde{S}),d(j,i^{\star}))=0 β (( 1 − δ ) d ( j , S ) , d ( j , i ⋆ )) = 0 and β ( r j k ⋆ , d ( j , i ⋆ ) ) ≤ β ( d ( j , i ⋆ ) , d ( j , i ⋆ ) ) = 0 \beta(r^{\star}_{j k},d(j,i^{\star}))\le\beta(d(j,i^{\star}),d(j,i^{\star}))=0 β ( r j k ⋆ , d ( j , i ⋆ )) ≤ β ( d ( j , i ⋆ ) , d ( j , i ⋆ )) = 0 , so we have trivially that β ( ( 1 − δ ) d ( j , S ~ ) , d ( i ⋆ , j ) ) ≥ β ( r j k ⋆ , d ( i ⋆ , j ) ) \beta((1-\delta)d(j,\widetilde{S}),d(i^{\star},j))\ge\beta(r^{\star}_{j k},d(i^{\star},j)) β (( 1 − δ ) d ( j , S ) , d ( i ⋆ , j )) ≥ β ( r j k ⋆ , d ( i ⋆ , j )) . Hence, in all these cases,
f ^ ≥ ∑ j ≥ k j ∈ D g o o d ⋆ β ( α k ⋆ , d ( i ⋆ , j ) ) + ∑ j < k j ∈ D g o o d ⋆ β ( r j k ⋆ , d ( i ⋆ , j ) ) . \hat{f}\ge\sum_{\substack{j\ge k \\ j\in D^{\star}_{\mathrm{good}}}}\beta(\alpha^{\star}_{k},d(i^{\star},j))+\sum_{\substack{j<k \\ j\in D^{\star}_{\mathrm{good}}}}\beta(r^{\star}_{j k},d(i^{\star},j)). f ^ ≥ j ≥ k j ∈ D good ⋆ ∑ β ( α k ⋆ , d ( i ⋆ , j )) + j < k j ∈ D good ⋆ ∑ β ( r j k ⋆ , d ( i ⋆ , j )) .
Increase of θ \theta θ In this case k k k becomes inactive when we increase θ \theta θ to ( 1 + ε 2 ) θ (1+\varepsilon^{2})\theta ( 1 + ε 2 ) θ . Let S S S be the set of open facilities at the end of that atomic step, and note that S = S ( k ) S=S^{(k)} S = S ( k ) since no facility is added. Let A A A and I I I be the sets of active and inactive clients w.r.t. S S S and ( 1 + ε 2 ) θ (1+\varepsilon^{2})\theta ( 1 + ε 2 ) θ . By Lemma E.6,
f ^ ≥ ∑ j ∈ A ∩ D g o o d ⋆ β ( ( 1 + ε 2 ) θ , d ( i ⋆ , j ) ) + ∑ j ∈ I ∩ D g o o d ⋆ β ( ( 1 − δ ) d ( j , S ) , d ( i ⋆ , j ) ) ≥ ∑ j ≥ k j ∈ D g o o d ⋆ β ( α k ⋆ , d ( i ⋆ , j ) ) + ∑ j < k j ∈ D g o o d ⋆ β ( r j k ⋆ , d ( i ⋆ , j ) ) . \begin{aligned}
\hat{f}\ge\sum_{j\in A\cap D^{\star}_{\mathrm{good}}}\beta((1+\varepsilon^{2})\theta,d(i^{\star},j))+\sum_{j\in I\cap D^{\star}_{\mathrm{good}}}\beta((1-\delta)d(j,S),d(i^{\star},j)) \\
&\ge\sum_{\substack{j\ge k\\ j\in D^\star_{\mathrm{good}}}} \beta(\alpha_k^\star,d(i^\star,j))+\sum_{\substack{j<k\\ j\in D^\star_{\mathrm{good}}}}\beta(r_{jk}^\star,d(i^\star,j)).
\end{aligned} f ^ ≥ j ∈ A ∩ D good ⋆ ∑ β (( 1 + ε 2 ) θ , d ( i ⋆ , j )) + j ∈ I ∩ D good ⋆ ∑ β (( 1 − δ ) d ( j , S ) , d ( i ⋆ , j )) ≥ j ≥ k j ∈ D good ⋆ ∑ β ( α k ⋆ , d ( i ⋆ , j )) + j < k j ∈ D good ⋆ ∑ β ( r j k ⋆ , d ( i ⋆ , j )) .
Let us verify that the last inequality holds. For j ≥ k j\ge k j ≥ k , if j ∈ A j\in A j ∈ A then ( 1 + ε 2 ) θ ≥ α k ⋆ (1+\varepsilon^2)\theta\ge\alpha_k^\star ( 1 + ε 2 ) θ ≥ α k ⋆ , and if j ∈ I j\in I j ∈ I then j j j became inactive in the same atomic step as k k k so ( 1 − δ ) d ( j , S ) = α j ⋆ ≥ α k ⋆ (1-\delta)d(j,S)=\alpha_j^\star\ge\alpha_k^\star ( 1 − δ ) d ( j , S ) = α j ⋆ ≥ α k ⋆ , where we used that in this case the clients are ordered by α ⋆ \alpha^\star α ⋆ . Next, if j < k j<k j < k then j ∈ I j\in I j ∈ I since k ∈ I k\in I k ∈ I . If j j j became inactive in the same atomic step as k k k , we have r j k = α j ⋆ = ( 1 − δ ) d ( j , S ) r_{jk}=\alpha_j^\star=(1-\delta)d(j,S) r j k = α j ⋆ = ( 1 − δ ) d ( j , S ) . Else, by definition r j k ⋆ = ( 1 − δ ) d ( j , S ) r_{jk}^\star=(1-\delta)d(j,S) r j k ⋆ = ( 1 − δ ) d ( j , S ) .
Lemma E.14. For all 1 ≤ j ≤ k ≤ n 1\le j\le k\le n 1 ≤ j ≤ k ≤ n with j , k ∈ D g o o d ⋆ j,k\in D^\star_{\mathrm{good}} j , k ∈ D good ⋆ we have r j k ⋆ ≥ r j , q ( k ) ⋆ r_{jk}^\star\ge r_{j,q(k)}^\star r j k ⋆ ≥ r j , q ( k ) ⋆ .
Proof. Let us consider first the case when FREEZING does not happen, or it does happen but q ( k ) < k f i r s t q(k)<k^{\mathrm{first}} q ( k ) < k first . We consider different cases depending on when j j j becomes inactive. First, consider the case where j j j becomes inactive strictly before k k k . Then r j k ⋆ = ( 1 − δ ) d ( j , S ( k ) ) ≥ ( 1 − δ ) d ( j , S ( q ( k ) ) ) = r j , q ( k ) ⋆ r_{jk}^\star=(1-\delta)d(j,S^{(k)})\ge(1-\delta)d(j,S^{(q(k))})=r_{j,q(k)}^\star r j k ⋆ = ( 1 − δ ) d ( j , S ( k ) ) ≥ ( 1 − δ ) d ( j , S ( q ( k )) ) = r j , q ( k ) ⋆ since d ( j , S ) d(j,S) d ( j , S ) is monotonically decreasing with S S S and S ( k ) ⊆ S ( q ( k ) ) S^{(k)}\subseteq S^{(q(k))} S ( k ) ⊆ S ( q ( k )) . Next, consider the case where j j j becomes inactive together with k k k but strictly before q ( k ) q(k) q ( k ) then r j k ⋆ = α j ⋆ ≥ ( 1 − δ ) d ( j , S ( q ( k ) ) ) = r j , q ( k ) ⋆ r_{jk}^\star=\alpha_j^\star\ge(1-\delta)d(j,S^{(q(k))})=r_{j,q(k)}^\star r j k ⋆ = α j ⋆ ≥ ( 1 − δ ) d ( j , S ( q ( k )) ) = r j , q ( k ) ⋆ . In the remaining case when j j j , k k k and q ( k ) q(k) q ( k ) become inactive at the same time we have r j k ⋆ = r j , q ( k ) ⋆ = α j ⋆ r_{jk}^\star=r_{j,q(k)}^\star=\alpha_j^\star r j k ⋆ = r j , q ( k ) ⋆ = α j ⋆ .
Next, suppose FREEZING happens and q ( k ) ≥ k f i r s t q(k)\ge k^{\mathrm{first}} q ( k ) ≥ k first . First, consider the border case q ( k ) = k f i r s t q(k)=k^{\mathrm{first}} q ( k ) = k first . Then we note that r j , k ⋆ = r j , k r_{j,k}^\star=r_{j,k} r j , k ⋆ = r j , k , r j , k ≥ r j , k f i r s t r_{j,k}\ge r_{j,k^{\mathrm{first}}} r j , k ≥ r j , k first , and r j , k f i r s t ≥ r j , k f i r s t ⋆ r_{j,k^{\mathrm{first}}}\ge r_{j,k^{\mathrm{first}}}^\star r j , k first ≥ r j , k first ⋆ , so r j , k ⋆ ≥ r j , k f i r s t ⋆ r_{j,k}^\star\ge r_{j,k^{\mathrm{first}}}^\star r j , k ⋆ ≥ r j , k first ⋆ is true. For k f i r s t ≤ k ≤ k l a s t − 1 k^{\mathrm{first}}\le k\le k^{\mathrm{last}}-1 k first ≤ k ≤ k last − 1 , we have r j , k ⋆ = r j , q ( k ) ⋆ r_{j,k}^\star=r_{j,q(k)}^\star r j , k ⋆ = r j , q ( k ) ⋆ because the clients become inactive in the same atomic step, so the claim is also true. Finally, r j , n + 1 ⋆ = 0 r_{j,n+1}^\star=0 r j , n + 1 ⋆ = 0 , so r j , k l a s t ⋆ ≥ r j , n + 1 ⋆ r_{j,k^{\mathrm{last}}}^\star\ge r_{j,n+1}^\star r j , k last ⋆ ≥ r j , n + 1 ⋆ is also true.
Lemma E.15. For all 1 ≤ j < k ≤ n 1\le j<k\le n 1 ≤ j < k ≤ n with j , k ∈ D g o o d ⋆ j,k\in D^\star_{\mathrm{good}} j , k ∈ D good ⋆ we have α k ⋆ ≤ r j k ⋆ + d j + d k \alpha_k^\star\le r_{jk}^\star+d_j+d_k α k ⋆ ≤ r j k ⋆ + d j + d k .
Proof. Let us consider first the case when FREEZING does not happen, or it does happen but k < k f i r s t k<k^{\mathrm{first}} k < k first . First, consider the case when j j j becomes inactive strictly before k k k . Then r j k ⋆ = ( 1 − δ ) d ( j , S ( k ) ) = ( 1 − δ ) d ( j , i 0 ) r_{jk}^\star=(1-\delta)d(j,S^{(k)})=(1-\delta)d(j,i_0) r j k ⋆ = ( 1 − δ ) d ( j , S ( k ) ) = ( 1 − δ ) d ( j , i 0 ) for some facility i 0 ∈ S ( k ) i_0\in S^{(k)} i 0 ∈ S ( k ) . If the client k k k becomes inactive either in a type 1 sequence or type 2 sequence at the opening of a free facility or with k k k inactive with respect to the relevant superset, then α k ⋆ = θ ≤ ( 1 − δ ) d ( k , S ( k ) ) ≤ ( 1 − δ ) d ( k , i 0 ) \alpha_k^\star=\theta\le(1-\delta)d(k,S^{(k)})\le(1-\delta)d(k,i_0) α k ⋆ = θ ≤ ( 1 − δ ) d ( k , S ( k ) ) ≤ ( 1 − δ ) d ( k , i 0 ) . Else, in a type 2 sequence at the opening of a regular facility with k k k active with respect to the relevant superset, α k ⋆ = τ k ≤ ( 1 − δ ) d ( k , S ( k ) ) ≤ ( 1 − δ ) d ( k , i 0 ) \alpha_k^\star=\tau_k\le(1-\delta)d(k,S^{(k)})\le(1-\delta)d(k,i_0) α k ⋆ = τ k ≤ ( 1 − δ ) d ( k , S ( k ) ) ≤ ( 1 − δ ) d ( k , i 0 ) . Finally, when θ \theta θ increases to ( 1 + ε 2 ) θ (1+\varepsilon^2)\theta ( 1 + ε 2 ) θ , α k ⋆ = ( 1 − δ ) d ( k , S ) ≤ ( 1 − δ ) d ( k , i 0 ) \alpha_k^\star=(1-\delta)d(k,S)\le(1-\delta)d(k,i_0) α k ⋆ = ( 1 − δ ) d ( k , S ) ≤ ( 1 − δ ) d ( k , i 0 ) . Then, by triangle inequality,
α k ⋆ ≤ ( 1 − δ ) d ( k , i 0 ) ≤ ( 1 − δ ) ( d ( k , i ⋆ ) + d ( i ⋆ , j ) + d ( j , i 0 ) ) ≤ r j k ⋆ + d j + d k . \alpha_k^\star\le(1-\delta)d(k,i_0)\le(1-\delta)(d(k,i^\star)+d(i^\star,j)+d(j,i_0))\le r_{jk}^\star+d_j+d_k. α k ⋆ ≤ ( 1 − δ ) d ( k , i 0 ) ≤ ( 1 − δ ) ( d ( k , i ⋆ ) + d ( i ⋆ , j ) + d ( j , i 0 )) ≤ r j k ⋆ + d j + d k .
In the remaining case k k k and j j j become inactive at the same time and r j k ⋆ = α j ⋆ r_{jk}^\star=\alpha_j^\star r j k ⋆ = α j ⋆ . If k k k and j j j become inactive in the execution of a sequence of type 1, or of a sequence of type 2 when a free facility is opened, then α k ⋆ = α j ⋆ = θ \alpha_k^\star=\alpha_j^\star=\theta α k ⋆ = α j ⋆ = θ . Else, if k k k and j j j become inactive in the execution of a sequence of type 2 then we consider a few cases: If k k k and j j j are active with respect to S ~ ( k ) \widetilde{S}^{(k)} S ( k ) , then α k ⋆ ≤ α j ⋆ + d ( k , j ) ≤ α j ⋆ + d k + d j \alpha_k^\star\le\alpha_j^\star+d(k,j)\le\alpha_j^\star+d_k+d_j α k ⋆ ≤ α j ⋆ + d ( k , j ) ≤ α j ⋆ + d k + d j by condition (v) in Definition D.2. If k k k is active with respect to S ~ ( k ) \widetilde{S}^{(k)} S ( k ) but j j j is not, then α k ⋆ ≤ ( 1 − δ ) d ( k , S ~ ( k ) ) \alpha_k^\star\le(1-\delta)d(k,\widetilde{S}^{(k)}) α k ⋆ ≤ ( 1 − δ ) d ( k , S ( k ) ) by (i) and (ii) in Definition D.2 together with θ < ( 1 − δ ) d ( k , S ~ ( k ) ) \theta<(1-\delta)d(k,\widetilde{S}^{(k)}) θ < ( 1 − δ ) d ( k , S ( k ) ) , and α j ⋆ = θ ≥ ( 1 − δ ) d ( j , S ~ ( k ) ) \alpha_j^\star=\theta\ge(1-\delta)d(j,\widetilde{S}^{(k)}) α j ⋆ = θ ≥ ( 1 − δ ) d ( j , S ( k ) ) , so
α k ⋆ ≤ ( 1 − δ ) d ( k , S ~ ( k ) ) ≤ ( 1 − δ ) ( d ( k , i ⋆ ) + d ( i ⋆ , j ) + d ( j , S ~ ( k ) ) ) ≤ r j k ⋆ + d j + d k . \alpha_k^\star\le(1-\delta)d(k,\widetilde{S}^{(k)})\le(1-\delta)(d(k,i^\star)+d(i^\star,j)+d(j,\widetilde{S}^{(k)}))\le r_{jk}^\star+d_j+d_k. α k ⋆ ≤ ( 1 − δ ) d ( k , S ( k ) ) ≤ ( 1 − δ ) ( d ( k , i ⋆ ) + d ( i ⋆ , j ) + d ( j , S ( k ) )) ≤ r j k ⋆ + d j + d k .
Lastly, if k k k is inactive with respect to S ~ ( k ) \widetilde{S}^{(k)} S ( k ) then α k ⋆ = 0 \alpha_k^\star=0 α k ⋆ = 0 , and we have r j k ⋆ = α j ⋆ ≥ 0 r_{jk}^\star=\alpha_j^\star\ge0 r j k ⋆ = α j ⋆ ≥ 0 so the inequality is trivially satisfied.
Otherwise, k k k and j j j become inactive when θ \theta θ increases to ( 1 + ε 2 ) θ (1+\varepsilon^2)\theta ( 1 + ε 2 ) θ and
α k ⋆ = ( 1 − δ ) d ( k , S ( k ) ) ≤ ( 1 − δ ) d ( k , i 0 ) ≤ ( 1 − δ ) ( d ( k , i ⋆ ) + d ( i ⋆ , j ) + d ( j , i 0 ) ) ≤ α j ⋆ + d k + d j \alpha_k^\star=(1-\delta)d(k,S^{(k)})\le(1-\delta)d(k,i_0)\le(1-\delta)(d(k,i^\star)+d(i^\star,j)+d(j,i_0))\le\alpha_j^\star+d_k+d_j α k ⋆ = ( 1 − δ ) d ( k , S ( k ) ) ≤ ( 1 − δ ) d ( k , i 0 ) ≤ ( 1 − δ ) ( d ( k , i ⋆ ) + d ( i ⋆ , j ) + d ( j , i 0 )) ≤ α j ⋆ + d k + d j
where i 0 i_0 i 0 is the facility that j j j connects to, α j ⋆ = ( 1 − δ ) d ( j , S ( k ) ) = ( 1 − δ ) d ( j , i 0 ) \alpha_j^\star=(1-\delta)d(j,S^{(k)})=(1-\delta)d(j,i_0) α j ⋆ = ( 1 − δ ) d ( j , S ( k ) ) = ( 1 − δ ) d ( j , i 0 ) .
Next, suppose FREEZING happens and k ≥ k f i r s t k\ge k^{\mathrm{first}} k ≥ k first . Because α k ⋆ > θ \alpha_k^\star>\theta α k ⋆ > θ , we know that k k k is active w.r.t. the superset S ~ ( k ) \widetilde{S}^{(k)} S ( k ) . Suppose first that j j j is inactive w.r.t. S ~ ( k ) \widetilde{S}^{(k)} S ( k ) . Then r j k ⋆ ≥ ( 1 − δ ) d ( j , S ~ ( k ) ) r_{jk}^\star\ge(1-\delta)d(j,\widetilde{S}^{(k)}) r j k ⋆ ≥ ( 1 − δ ) d ( j , S ( k ) ) . We also have α k ⋆ ≤ ( 1 − δ ) d ( k , S ~ ( k ) ) \alpha_k^\star\le(1-\delta)d(k,\widetilde{S}^{(k)}) α k ⋆ ≤ ( 1 − δ ) d ( k , S ( k ) ) by condition (ii) in Definition D.2, so
α k ⋆ ≤ ( 1 − δ ) ( d ( j , i ⋆ ) + d ( k , i ⋆ ) + d ( j , S ~ ( k ) ) ) ≤ r j k ⋆ + d j + d k . \alpha_k^\star\le(1-\delta)(d(j,i^\star)+d(k,i^\star)+d(j,\widetilde{S}^{(k)}))\le r_{jk}^\star+d_j+d_k. α k ⋆ ≤ ( 1 − δ ) ( d ( j , i ⋆ ) + d ( k , i ⋆ ) + d ( j , S ( k ) )) ≤ r j k ⋆ + d j + d k .
Else, j j j is active w.r.t. S ~ ( k ) \widetilde{S}^{(k)} S ( k ) . Then r j k ⋆ = α j ⋆ r_{jk}^\star=\alpha_j^\star r j k ⋆ = α j ⋆ , and the claim follows because of the triangle inequality condition in the definition of ( 2 , η ) (2,\eta) ( 2 , η ) -openable: α k ⋆ ≤ α j ⋆ + d ( j , k ) ≤ r j k ⋆ + d ( j , i ⋆ ) + d ( k , i ⋆ ) \alpha_k^\star\le\alpha_j^\star+d(j,k)\le r_{jk}^\star+d(j,i^\star)+d(k,i^\star) α k ⋆ ≤ α j ⋆ + d ( j , k ) ≤ r j k ⋆ + d ( j , i ⋆ ) + d ( k , i ⋆ ) .
Lemma E.16. For all 1 ≤ j , ℓ < k ≤ n + 1 1\le j,\ell<k\le n+1 1 ≤ j , ℓ < k ≤ n + 1 with j , ℓ , k ∈ D g o o d ⋆ ∪ { n + 1 } j,\ell,k\in D^\star_{\mathrm{good}}\cup\{n+1\} j , ℓ , k ∈ D good ⋆ ∪ { n + 1 } we have r j k ⋆ ≤ r ℓ k ⋆ + d j + d ℓ r_{jk}^\star\le r_{\ell k}^\star+d_j+d_\ell r j k ⋆ ≤ r ℓ k ⋆ + d j + d ℓ . Proof. Let us consider first the case when FREEZING does not happen, or it does happen but k < k f i r s t k<k^{\mathrm{first}} k < k first . If k = n + 1 k=n+1 k = n + 1 , we have r j k ⋆ = ( 1 − δ ) d ( j , S ⋆ ) r^{\star}_{jk}=(1-\delta)d(j,S^\star) r j k ⋆ = ( 1 − δ ) d ( j , S ⋆ ) and r ℓ k ⋆ = ( 1 − δ ) d ( ℓ , S ⋆ ) r^{\star}_{\ell k}=(1-\delta)d(\ell,S^\star) r ℓ k ⋆ = ( 1 − δ ) d ( ℓ , S ⋆ ) , and then
r j k ⋆ ≤ ( 1 − δ ) ( d ( j , i ⋆ ) + d ( ℓ , i ⋆ ) + d ( ℓ , S ⋆ ) ) ≤ r ℓ k ⋆ + d j + d ℓ . r^{\star}_{jk}\le(1-\delta)(d(j,i^\star)+d(\ell,i^\star)+d(\ell,S^\star))\le r^{\star}_{\ell k}+d_j+d_\ell. r j k ⋆ ≤ ( 1 − δ ) ( d ( j , i ⋆ ) + d ( ℓ , i ⋆ ) + d ( ℓ , S ⋆ )) ≤ r ℓ k ⋆ + d j + d ℓ .
so assume k ≤ n k\le n k ≤ n .
First, consider the case where j j j becomes inactive strictly before k k k . Then r j k ⋆ = ( 1 − δ ) d ( j , S ( k ) ) = ( 1 − δ ) d ( j , i 1 ) r^{\star}_{jk}=(1-\delta)d(j,S^{(k)})=(1-\delta)d(j,i_1) r j k ⋆ = ( 1 − δ ) d ( j , S ( k ) ) = ( 1 − δ ) d ( j , i 1 ) for some open facility i 1 i_1 i 1 . If ℓ \ell ℓ becomes inactive strictly before k k k , then r ℓ k ⋆ = ( 1 − δ ) d ( ℓ , S ( k ) ) = ( 1 − δ ) d ( ℓ , i 2 ) r^{\star}_{\ell k}=(1-\delta)d(\ell,S^{(k)})=(1-\delta)d(\ell,i_2) r ℓ k ⋆ = ( 1 − δ ) d ( ℓ , S ( k ) ) = ( 1 − δ ) d ( ℓ , i 2 ) for some open facility i 2 i_2 i 2 , and because i 1 i_1 i 1 minimizes ( 1 − δ ) d ( j , S ( k ) ) (1-\delta)d(j,S^{(k)}) ( 1 − δ ) d ( j , S ( k ) ) ,
r j k ⋆ = ( 1 − δ ) d ( j , i 1 ) ≤ ( 1 − δ ) d ( j , i 2 ) ≤ ( 1 − δ ) ( d ( j , i ⋆ ) + d ( i ⋆ , ℓ ) + d ( ℓ , i 2 ) ) ≤ r ℓ k ⋆ + d j + d ℓ . r^{\star}_{jk}=(1-\delta)d(j,i_1)\le(1-\delta)d(j,i_2)\le(1-\delta)(d(j,i^\star)+d(i^\star,\ell)+d(\ell,i_2))\le r^{\star}_{\ell k}+d_j+d_\ell. r j k ⋆ = ( 1 − δ ) d ( j , i 1 ) ≤ ( 1 − δ ) d ( j , i 2 ) ≤ ( 1 − δ ) ( d ( j , i ⋆ ) + d ( i ⋆ , ℓ ) + d ( ℓ , i 2 )) ≤ r ℓ k ⋆ + d j + d ℓ .
Now if ℓ \ell ℓ becomes inactive with k k k then r ℓ k ⋆ = α ℓ ⋆ r^{\star}_{\ell k}=\alpha^\star_\ell r ℓ k ⋆ = α ℓ ⋆ . Assume j j j becomes inactive in the execution of a sequence of type 2 when opening a regular facility i 0 i_0 i 0 and when it is active with respect to the superset with respect to which i 0 i_0 i 0 is opened. Suppose i 0 i_0 i 0 opens with bids ( τ j ) j ∈ A (\tau_j)_{j\in A} ( τ j ) j ∈ A . Let θ 0 \theta_0 θ 0 be the time at the atomic step in which i 0 i_0 i 0 is opened. Because j j j becomes inactive when i 0 i_0 i 0 is opened, we must have ( 1 − δ ) d ( j , i 0 ) ≤ θ 0 (1-\delta)d(j,i_0)\le\theta_0 ( 1 − δ ) d ( j , i 0 ) ≤ θ 0 . Because i 0 i_0 i 0 is still open at the time when k k k becomes inactive, we also have r j k ⋆ = ( 1 − δ ) d ( j , S ( k ) ) ≤ ( 1 − δ ) d ( j , i 0 ) r^{\star}_{jk}=(1-\delta)d(j,S^{(k)})\le(1-\delta)d(j,i_0) r j k ⋆ = ( 1 − δ ) d ( j , S ( k ) ) ≤ ( 1 − δ ) d ( j , i 0 ) . Hence r j k ⋆ ≤ θ 0 r^{\star}_{jk}\le\theta_0 r j k ⋆ ≤ θ 0 , but we must have α ℓ ⋆ ≥ θ 0 \alpha^\star_\ell\ge\theta_0 α ℓ ⋆ ≥ θ 0 , so r j k ⋆ ≤ r ℓ k ⋆ r^{\star}_{jk}\le r^{\star}_{\ell k} r j k ⋆ ≤ r ℓ k ⋆ .
Otherwise j j j becomes inactive in the execution of a sequence of type 1, or of type 2 when a free facility was opened or j j j was inactive with respect to the relevant superset, or when θ \theta θ increases to ( 1 + ε 2 ) θ (1+\varepsilon^2)\theta ( 1 + ε 2 ) θ , and
r j k ⋆ = ( 1 − δ ) d ( j , S ( k ) ) ≤ α j ⋆ ≤ α ℓ ⋆ = r ℓ k ⋆ r^{\star}_{jk}=(1-\delta)d(j,S^{(k)})\le\alpha^\star_j\le\alpha^\star_\ell=r^{\star}_{\ell k} r j k ⋆ = ( 1 − δ ) d ( j , S ( k ) ) ≤ α j ⋆ ≤ α ℓ ⋆ = r ℓ k ⋆
since ℓ \ell ℓ becomes inactive strictly after j j j : this implies that in a type 1 sequence or in a type 2 sequence in which j j j was inactive with respect to the relevant superset α j ⋆ \alpha^\star_j α j ⋆ is equal to the θ \theta θ at that step and when θ \theta θ increases α j ⋆ \alpha^\star_j α j ⋆ is equal to at most ( 1 + ε 2 ) θ (1+\varepsilon^2)\theta ( 1 + ε 2 ) θ for the θ \theta θ at that step, but then α ℓ ⋆ \alpha^\star_\ell α ℓ ⋆ is in both cases at least as large.
Next, consider the case where j j j becomes inactive with k k k . Then r j k ⋆ = α j ⋆ r^{\star}_{jk}=\alpha^\star_j r j k ⋆ = α j ⋆ . If ℓ ≥ j \ell\ge j ℓ ≥ j then j j j , ℓ \ell ℓ and k k k become inactive in the same atomic step and r ℓ k ⋆ = α ℓ ⋆ r^{\star}_{\ell k}=\alpha^\star_\ell r ℓ k ⋆ = α ℓ ⋆ . By the ordering of α ⋆ \alpha^\star α ⋆ we know that
r j k ⋆ = α j ⋆ ≤ α ℓ ⋆ = r ℓ k ⋆ . r^{\star}_{jk}=\alpha^\star_j\le\alpha^\star_\ell=r^{\star}_{\ell k}. r j k ⋆ = α j ⋆ ≤ α ℓ ⋆ = r ℓ k ⋆ .
Thus, we can assume that ℓ < j \ell<j ℓ < j . Observe that r ℓ k ⋆ = r ℓ j ⋆ r^{\star}_{\ell k}=r^{\star}_{\ell j} r ℓ k ⋆ = r ℓ j ⋆ since k k k and j j j become inactive in the same atomic step. Notice that now the proof follows from Lemma E.15 as r j k ⋆ = α j ⋆ r^{\star}_{jk}=\alpha^\star_j r j k ⋆ = α j ⋆ and r ℓ k ⋆ = r ℓ j ⋆ r^{\star}_{\ell k}=r^{\star}_{\ell j} r ℓ k ⋆ = r ℓ j ⋆ .
Next, suppose FREEZING happens and k ≥ k f i r s t k\ge k^{\mathrm{first}} k ≥ k first . We also note that, in the case k = n + 1 k=n+1 k = n + 1 the claim holds trivially, because if FREEZING happens then r j , n + 1 ⋆ = 0 r^{\star}_{j,n+1}=0 r j , n + 1 ⋆ = 0 for all j j j , so assume k ≤ n k\le n k ≤ n .
Case 1. If both j j j and ℓ \ell ℓ are active in the superset S ~ ( k ) \widetilde{S}^{(k)} S ( k ) , we have r j k ⋆ = α j ⋆ r^{\star}_{jk}=\alpha^\star_j r j k ⋆ = α j ⋆ and r ℓ k ⋆ = α ℓ ⋆ r^{\star}_{\ell k}=\alpha^\star_\ell r ℓ k ⋆ = α ℓ ⋆ , and then the inequality α j ⋆ ≤ α ℓ ⋆ + d j + d ℓ \alpha^\star_j\le\alpha^\star_\ell+d_j+d_\ell α j ⋆ ≤ α ℓ ⋆ + d j + d ℓ follows because of the triangle inequality condition in the definition of ( 2 , η ) (2,\eta) ( 2 , η ) -openable: α j ⋆ ≤ α ℓ ⋆ + d ( j , ℓ ) ≤ α ℓ ⋆ + d ( j , i ⋆ ) + d ( ℓ , i ⋆ ) \alpha^\star_j\le\alpha^\star_\ell+d(j,\ell)\le\alpha^\star_\ell+d(j,i^\star)+d(\ell,i^\star) α j ⋆ ≤ α ℓ ⋆ + d ( j , ℓ ) ≤ α ℓ ⋆ + d ( j , i ⋆ ) + d ( ℓ , i ⋆ ) .
Case 2. If j j j is active in the superset S ~ ( k ) \widetilde{S}^{(k)} S ( k ) but ℓ \ell ℓ is not, we have r j k ⋆ = α j ⋆ r^{\star}_{jk}=\alpha^\star_j r j k ⋆ = α j ⋆ and r ℓ k ⋆ ≥ ( 1 − δ ) d ( ℓ , S ~ ( k ) ) r^{\star}_{\ell k}\ge(1-\delta)d(\ell,\widetilde{S}^{(k)}) r ℓ k ⋆ ≥ ( 1 − δ ) d ( ℓ , S ( k ) ) . Since j j j is active with respect to S ~ ( k ) \widetilde{S}^{(k)} S ( k ) , we have α j ⋆ ≤ ( 1 − δ ) d ( j , S ~ ( k ) ) \alpha^\star_j\le(1-\delta)d(j,\widetilde{S}^{(k)}) α j ⋆ ≤ ( 1 − δ ) d ( j , S ( k ) ) by (i) and (ii) in Definition D.2 together with θ < ( 1 − δ ) d ( j , S ~ ( k ) ) \theta<(1-\delta)d(j,\widetilde{S}^{(k)}) θ < ( 1 − δ ) d ( j , S ( k ) ) . Then
r j k ⋆ ≤ ( 1 − δ ) ( d ( j , i ⋆ ) + d ( ℓ , i ⋆ ) + d ( ℓ , S ~ ( k ) ) ) ≤ r ℓ k ⋆ + d ( j , i ⋆ ) + d ( ℓ , i ⋆ ) . r^{\star}_{jk}\le(1-\delta)(d(j,i^\star)+d(\ell,i^\star)+d(\ell,\widetilde{S}^{(k)}))\le r^{\star}_{\ell k}+d(j,i^\star)+d(\ell,i^\star). r j k ⋆ ≤ ( 1 − δ ) ( d ( j , i ⋆ ) + d ( ℓ , i ⋆ ) + d ( ℓ , S ( k ) )) ≤ r ℓ k ⋆ + d ( j , i ⋆ ) + d ( ℓ , i ⋆ ) .
Case 3. If j j j is inactive in the superset but ℓ \ell ℓ is active, we have r j k ⋆ ≤ max ( ( 1 − δ ) d ( j , S ~ ( k ) ) , d ( i ⋆ , j ) ) r^{\star}_{jk}\le\max((1-\delta)d(j,\widetilde{S}^{(k)}),d(i^\star,j)) r j k ⋆ ≤ max (( 1 − δ ) d ( j , S ( k ) ) , d ( i ⋆ , j )) and r ℓ k ⋆ = α ℓ ⋆ r^{\star}_{\ell k}=\alpha^\star_\ell r ℓ k ⋆ = α ℓ ⋆ . If r j k ⋆ ≤ ( 1 − δ ) d ( j , S ~ ( k ) ) r^{\star}_{jk}\le(1-\delta)d(j,\widetilde{S}^{(k)}) r j k ⋆ ≤ ( 1 − δ ) d ( j , S ( k ) ) , we also note that because j j j is inactive we have θ ≥ ( 1 − δ ) d ( j , S ~ ( k ) ) \theta\ge(1-\delta)d(j,\widetilde{S}^{(k)}) θ ≥ ( 1 − δ ) d ( j , S ( k ) ) and α ℓ ⋆ ≥ θ \alpha^\star_\ell\ge\theta α ℓ ⋆ ≥ θ , α ℓ ⋆ ≥ ( 1 − δ ) d ( j , S ~ ( k ) ) \alpha^\star_\ell\ge(1-\delta)d(j,\widetilde{S}^{(k)}) α ℓ ⋆ ≥ ( 1 − δ ) d ( j , S ( k ) ) , so we trivially have r j k ⋆ ≤ r ℓ k ⋆ r^{\star}_{jk}\le r^{\star}_{\ell k} r j k ⋆ ≤ r ℓ k ⋆ . Else r j k ⋆ ≤ d ( i ⋆ , j ) r^{\star}_{jk}\le d(i^\star,j) r j k ⋆ ≤ d ( i ⋆ , j ) , and the claim follows trivially as the right-hand side contains a term d ( i ⋆ , j ) d(i^\star,j) d ( i ⋆ , j ) .
Case 4. If j j j and ℓ \ell ℓ are both inactive in the superset, we use again that
r j k ⋆ ≤ max ( ( 1 − δ ) d ( j , S ~ ( k ) ) , d ( i ⋆ , j ) ) . r^{\star}_{jk}\le\max((1-\delta)d(j,\widetilde{S}^{(k)}),d(i^\star,j)). r j k ⋆ ≤ max (( 1 − δ ) d ( j , S ( k ) ) , d ( i ⋆ , j )) .
If r j k ⋆ ≤ ( 1 − δ ) d ( j , S ~ ( k ) ) r^{\star}_{jk}\le(1-\delta)d(j,\widetilde{S}^{(k)}) r j k ⋆ ≤ ( 1 − δ ) d ( j , S ( k ) ) , we also note that r ℓ k ⋆ ≥ ( 1 − δ ) d ( ℓ , S ~ ( k ) ) , r^{\star}_{\ell k}\ge(1-\delta)d(\ell,\widetilde{S}^{(k)}), r ℓ k ⋆ ≥ ( 1 − δ ) d ( ℓ , S ( k ) ) , so
r j k ⋆ ≤ ( 1 − δ ) ( d ( j , i ⋆ ) + d ( ℓ , i ⋆ ) + d ( ℓ , S ~ ( k ) ) ) ≤ r ℓ k ⋆ + d ( j , i ⋆ ) + d ( ℓ , i ⋆ ) . r^{\star}_{jk}\le(1-\delta)(d(j,i^\star)+d(\ell,i^\star)+d(\ell,\widetilde{S}^{(k)}))\le r^{\star}_{\ell k}+d(j,i^\star)+d(\ell,i^\star). r j k ⋆ ≤ ( 1 − δ ) ( d ( j , i ⋆ ) + d ( ℓ , i ⋆ ) + d ( ℓ , S ( k ) )) ≤ r ℓ k ⋆ + d ( j , i ⋆ ) + d ( ℓ , i ⋆ ) .
Else r j k ⋆ ≤ d ( i ⋆ , j ) r^{\star}_{jk}\le d(i^\star,j) r j k ⋆ ≤ d ( i ⋆ , j ) , and the claim follows trivially as the right-hand side contains a term d ( i ⋆ , j ) d(i^\star,j) d ( i ⋆ , j ) .
Proof of Theorem D.7
Before we prove the theorem, we will need the following gluing result that bounds the cost of the algorithm in terms of the upper bound on the factor-revealing program.
Lemma E.17. Assume f ^ > n η \hat{f} > n\eta f ^ > n η and let ρ ≥ 1.01 γ \rho\ge1.01\gamma ρ ≥ 1.01 γ be an upper bound on the optimal value of the factor-revealing program in Definition 4.1 . For some i ⋆ ∈ F i^\star\in\mathbb{F} i ⋆ ∈ F , consider any subset of clients D g o o d ⋆ ⊆ D D^\star_{\mathrm{good}} \subseteq D D good ⋆ ⊆ D such that, for all j ∈ D g o o d ⋆ j \in D^\star_{\mathrm{good}} j ∈ D good ⋆ , α j ⋆ ≥ ρ ⋅ d ( j , i ⋆ ) \alpha_j^\star\ge\rho\cdot d(j,i^\star) α j ⋆ ≥ ρ ⋅ d ( j , i ⋆ ) . Then
∑ j ∈ D g o o d ⋆ ( ∑ i = s ( j ) m − 1 β ( Z j , i , R j , i + 1 ) + R j , m ) ≤ f ^ + ( ρ + 6 δ ) ∑ j ∈ D g o o d ⋆ d ( j , i ⋆ ) . \sum_{j \in D^\star_{\mathrm{good}}} \left( \sum_{i=s(j)}^{m-1} \beta(Z_{j,i},R_{j,i+1}) + R_{j,m} \right) \le\hat{f} + (\rho+ 6\delta) \sum_{j \in D^\star_{\mathrm{good}}} d(j,i^\star). j ∈ D good ⋆ ∑ i = s ( j ) ∑ m − 1 β ( Z j , i , R j , i + 1 ) + R j , m ≤ f ^ + ( ρ + 6 δ ) j ∈ D good ⋆ ∑ d ( j , i ⋆ ) .
Proof. If D g o o d ⋆ = ∅ D^\star_{\mathrm{good}} = \varnothing D good ⋆ = ∅ , the claim is trivial, so assume D g o o d ⋆ ≠ ∅ D^\star_{\mathrm{good}} \ne\varnothing D good ⋆ = ∅ . We know that the variables { r j k ⋆ ∣ j ≤ k , j ∈ D g o o d ⋆ , k ∈ D g o o d ⋆ ∪ { n + 1 } } \{r^\star_{jk} \mid j \le k, j \in D^\star_{\mathrm{good}}, k \in D^\star_{\mathrm{good}} \cup\{n+1\}\} { r j k ⋆ ∣ j ≤ k , j ∈ D good ⋆ , k ∈ D good ⋆ ∪ { n + 1 }} , { d ( j , i ⋆ ) ∣ j ∈ D g o o d ⋆ } \{d(j,i^\star) \mid j \in D^\star_{\mathrm{good}}\} { d ( j , i ⋆ ) ∣ j ∈ D good ⋆ } , f ^ \hat{f} f ^ (see Section E.4), with the clients reindexed to 1 , … , ∣ D g o o d ⋆ ∣ 1,\ldots,|D^\star_{\mathrm{good}}| 1 , … , ∣ D good ⋆ ∣ in the same order as the original indices and n + 1 n+1 n + 1 reindexed to ∣ D g o o d ⋆ ∣ + 1 |D^\star_{\mathrm{good}}|+1 ∣ D good ⋆ ∣ + 1 , satisfy the constraints of the factor-revealing program in Definition 4.1 (note that we identify r j j ⋆ = α j ⋆ r^\star_{jj}=\alpha^\star_j r j j ⋆ = α j ⋆ ), except for the normalization constraint (4): this follows by Lemma E.13, Lemma E.14, Lemma E.15, and Lemma E.16, and because all these variables are non-negative.
Let d s u m = ∑ j ∈ D g o o d ⋆ d ( j , i ⋆ ) d_{\mathrm{sum}}=\sum_{j\in D^\star_{\mathrm{good}}}d(j,i^\star) d sum = ∑ j ∈ D good ⋆ d ( j , i ⋆ ) , which we know is strictly positive because d ( j , i ) ≥ 1 d(j,i)\ge1 d ( j , i ) ≥ 1 for all j ∈ D j\in D j ∈ D , i ∈ F i\in\mathbb{F} i ∈ F . Then, because the factor-revealing program is scale-invariant (except for the normalization constraint), it follows that { r j k ⋆ / d s u m ∣ j ≤ k , j ∈ D g o o d ⋆ , k ∈ D g o o d ⋆ ∪ { n + 1 } } \{r^\star_{jk}/d_{\mathrm{sum}}\mid j\le k,j\in D^\star_{\mathrm{good}},k\in D^\star_{\mathrm{good}}\cup\{n+1\}\} { r j k ⋆ / d sum ∣ j ≤ k , j ∈ D good ⋆ , k ∈ D good ⋆ ∪ { n + 1 }} , { d ( j , i ⋆ ) / d s u m ∣ j ∈ D g o o d ⋆ } \{d(j,i^\star)/d_{\mathrm{sum}}\mid j\in D^\star_{\mathrm{good}}\} { d ( j , i ⋆ ) / d sum ∣ j ∈ D good ⋆ } , f ^ / d s u m \hat{f}/d_{\mathrm{sum}} f ^ / d sum satisfy all the constraints of the factor-revealing program in Definition 4.1 .
Let q ( i ) = min { i ′ ∣ i ′ > i , i ′ ∈ D g o o d ⋆ ∪ { n + 1 } } q(i)=\min\{i'\mid i'>i,i'\in D^\star_{\mathrm{good}}\cup\{n+1\}\} q ( i ) = min { i ′ ∣ i ′ > i , i ′ ∈ D good ⋆ ∪ { n + 1 }} . Then the upper bound ρ \rho ρ on the value of the factor-revealing program implies that
∑ j ∈ D g o o d ⋆ ( ∑ i ∈ D g o o d ⋆ i ≥ j β ( r j , i ⋆ d s u m , r j , q ( i ) ⋆ d s u m ) + r j , n + 1 ⋆ d s u m ) ≤ f ^ d s u m + ρ . \sum_{j\in D^\star_{\mathrm{good}}}\left(\sum_{\substack{i\in D^\star_{\mathrm{good}}\\i\ge j}}\beta\left(\frac{r^\star_{j,i}}{d_{\mathrm{sum}}},\frac{r^\star_{j,q(i)}}{d_{\mathrm{sum}}}\right)+\frac{r^\star_{j,n+1}}{d_{\mathrm{sum}}}\right)\le\frac{\hat{f}}{d_{\mathrm{sum}}}+\rho. j ∈ D good ⋆ ∑ i ∈ D good ⋆ i ≥ j ∑ β ( d sum r j , i ⋆ , d sum r j , q ( i ) ⋆ ) + d sum r j , n + 1 ⋆ ≤ d sum f ^ + ρ .
so multiplying by d s u m d_{\mathrm{sum}} d sum ,
∑ j ∈ D g o o d ⋆ ( ∑ i ∈ D g o o d ⋆ i ≥ j β ( r j , i ⋆ , r j , q ( i ) ⋆ ) + r j , n + 1 ⋆ ) ≤ f ^ + ρ ∑ j ∈ D g o o d ⋆ d ( j , i ⋆ ) . \sum_{j\in D^\star_{\mathrm{good}}}\left(\sum_{\substack{i\in D^\star_{\mathrm{good}}\\i\ge j}}\beta\left(r^\star_{j,i},r^\star_{j,q(i)}\right)+r^\star_{j,n+1}\right)\le\hat{f}+\rho\sum_{j\in D^\star_{\mathrm{good}}}d(j,i^\star). j ∈ D good ⋆ ∑ i ∈ D good ⋆ i ≥ j ∑ β ( r j , i ⋆ , r j , q ( i ) ⋆ ) + r j , n + 1 ⋆ ≤ f ^ + ρ j ∈ D good ⋆ ∑ d ( j , i ⋆ ) .
Finally, by Lemma E.12, the above also implies that
∑ j ∈ D g o o d ⋆ ( ∑ i = s ( j ) m − 1 β ( Z j , i , R j , i + 1 ) + R j , m ) ≤ f ^ + ( ρ + 6 δ ) ⋅ ∑ j ∈ D g o o d ⋆ d ( j , i ⋆ ) . \sum_{j\in D^\star_{\mathrm{good}}}\left(\sum_{i=s(j)}^{m-1}\beta(Z_{j,i},R_{j,i+1})+R_{j,m}\right)\le\hat{f}+(\rho+6\delta)\cdot\sum_{j\in D^\star_{\mathrm{good}}}d(j,i^\star). j ∈ D good ⋆ ∑ i = s ( j ) ∑ m − 1 β ( Z j , i , R j , i + 1 ) + R j , m ≤ f ^ + ( ρ + 6 δ ) ⋅ j ∈ D good ⋆ ∑ d ( j , i ⋆ ) .
We are ready to prove the main theorem of this section.
Proof of Theorem D.7. Consider an optimal solution of cost O P T \mathrm{OPT} OPT to the original problem with facility cost f = f ^ ρ + 6 δ f=\frac{\hat{f}}{\rho+6\delta} f = ρ + 6 δ f ^ , and let k ⋆ k^\star k ⋆ denote the number of facilities opened in this solution. Let { i 1 ⋆ , … , i k ⋆ ⋆ } \{i^\star_1,\ldots,i^\star_{k^\star}\} { i 1 ⋆ , … , i k ⋆ ⋆ } be the facilities opened by the optimal solution, and let { D 1 ⋆ , … , D k ⋆ ⋆ } \{D^\star_1,\ldots,D^\star_{k^\star}\} { D 1 ⋆ , … , D k ⋆ ⋆ } such that D ℓ ⋆ D^\star_\ell D ℓ ⋆ is the set of clients connected to facility i ℓ ⋆ i^\star_\ell i ℓ ⋆ in the optimal solution.
Let C S O L C_{\mathrm{SOL}} C SOL and F S O L F_{\mathrm{SOL}} F SOL be the connection cost and opening cost (with respect to f f f ) of our algorithm, and let C O P T C_{\mathrm{OPT}} C OPT and F O P T F_{\mathrm{OPT}} F OPT be defined analogously for OPT. By Lemma E.9, which bounds the cost with respect to f ^ \hat{f} f ^ , and using that f = f ^ ρ + 6 δ f=\frac{\hat{f}}{\rho+6\delta} f = ρ + 6 δ f ^ , we know that
C S O L + ( ρ + 6 δ ) ⋅ F S O L ≤ ∑ j = 1 n ( ∑ i = s ( j ) m − 1 β ( Z j , i , R j , i + 1 ) + R j , m ) + δ ⋅ ∑ j = 1 n d ( j , S ⋆ ) + ∣ S ⋆ ∣ ln n . C_{\mathrm{SOL}}+(\rho+6\delta)\cdot F_{\mathrm{SOL}}\le\sum_{j=1}^{n}\left(\sum_{i=s(j)}^{m-1}\beta(Z_{j,i},R_{j,i+1})+R_{j,m}\right)+\delta\cdot\sum_{j=1}^{n}d(j,S^\star)+|S^\star|\ln n. C SOL + ( ρ + 6 δ ) ⋅ F SOL ≤ j = 1 ∑ n i = s ( j ) ∑ m − 1 β ( Z j , i , R j , i + 1 ) + R j , m + δ ⋅ j = 1 ∑ n d ( j , S ⋆ ) + ∣ S ⋆ ∣ ln n .
Note that ∑ j = 1 n d ( j , S ⋆ ) = C S O L \sum_{j=1}^{n} d(j,S^\star)=C_{\mathrm{SOL}} ∑ j = 1 n d ( j , S ⋆ ) = C SOL , so we can rewrite
( 1 − δ ) ⋅ C S O L + ( ρ + 6 δ ) ⋅ F S O L ≤ ∑ j = 1 n ( ∑ i = s ( j ) m − 1 β ( Z j , i , R j , i + 1 ) + R j , m ) + ∣ S r e g ⋆ ∣ n η . (1-\delta)\cdot C_{\mathrm{SOL}}+(\rho+6\delta)\cdot F_{\mathrm{SOL}}\leq\sum_{j=1}^{n}\left(\sum_{i=s(j)}^{m-1}\beta(Z_{j,i},R_{j,i+1})+R_{j,m}\right)+|S^\star_{\mathrm{reg}}|n\eta. ( 1 − δ ) ⋅ C SOL + ( ρ + 6 δ ) ⋅ F SOL ≤ j = 1 ∑ n i = s ( j ) ∑ m − 1 β ( Z j , i , R j , i + 1 ) + R j , m + ∣ S reg ⋆ ∣ n η .
Fix now some ℓ ∈ { 1 , … , k ⋆ } \ell\in\{1,\ldots,k^\star\} ℓ ∈ { 1 , … , k ⋆ } and set i ⋆ = i ℓ ⋆ i^\star=i^\star_\ell i ⋆ = i ℓ ⋆ and D ⋆ = D ℓ ⋆ D^\star=D^\star_\ell D ⋆ = D ℓ ⋆ . Define the subset of D ⋆ D^\star D ⋆
D g o o d ⋆ = { j ∈ D ⋆ | α j ⋆ ≥ ρ ⋅ d ( j , i ⋆ ) } . D^\star_{\mathrm{good}}=\left\{j\in D^\star\middle|\alpha^\star_j\geq\rho\cdot d(j,i^\star)\right\}. D good ⋆ = { j ∈ D ⋆ α j ⋆ ≥ ρ ⋅ d ( j , i ⋆ ) } .
For the clients in D g o o d ⋆ D^\star_{\mathrm{good}} D good ⋆ , we have by Lemma E.17 that
∑ j ∈ D g o o d ⋆ ( ∑ i = s ( j ) m − 1 β ( Z j , i , R j , i + 1 ) + R j , m ) ≤ f ^ + ( ρ + 6 δ ) ∑ j ∈ D g o o d ⋆ d ( j , i ⋆ ) . \sum_{j\in D^\star_{\mathrm{good}}}\left(\sum_{i=s(j)}^{m-1}\beta(Z_{j,i},R_{j,i+1})+R_{j,m}\right)\leq\widehat{f}+(\rho+6\delta)\sum_{j\in D^\star_{\mathrm{good}}}d(j,i^\star). j ∈ D good ⋆ ∑ i = s ( j ) ∑ m − 1 β ( Z j , i , R j , i + 1 ) + R j , m ≤ f + ( ρ + 6 δ ) j ∈ D good ⋆ ∑ d ( j , i ⋆ ) .
Furthermore, for the clients j ∈ D ⋆ ∖ D g o o d ⋆ j\in D^\star\setminus D^\star_{\mathrm{good}} j ∈ D ⋆ ∖ D good ⋆ , because R j , s ( j ) = α j ⋆ R_{j,s(j)}=\alpha^\star_j R j , s ( j ) = α j ⋆ , R j , m = β ( R j , m , 0 ) R_{j,m}=\beta(R_{j,m},0) R j , m = β ( R j , m , 0 ) , Z j , i ≤ R j , i Z_{j,i}\leq R_{j,i} Z j , i ≤ R j , i for all valid j , i j,i j , i , and R j , i ≥ R j , i + 1 R_{j,i}\geq R_{j,i+1} R j , i ≥ R j , i + 1 for all valid j , i j,i j , i , we have by the superadditivity of β \beta β that
∑ j ∈ D ⋆ ∖ D g o o d ⋆ ( ∑ i = s ( j ) m − 1 β ( Z j , i , R j , i + 1 ) + R j , m ) ≤ ∑ j ∈ D ⋆ ∖ D g o o d ⋆ α j ⋆ ≤ ρ ∑ j ∈ D ⋆ ∖ D g o o d ⋆ d ( j , i ⋆ ) . \sum_{j\in D^\star\setminus D^\star_{\mathrm{good}}}\left(\sum_{i=s(j)}^{m-1}\beta(Z_{j,i},R_{j,i+1})+R_{j,m}\right)\leq\sum_{j\in D^\star\setminus D^\star_{\mathrm{good}}}\alpha^\star_j\leq\rho\sum_{j\in D^\star\setminus D^\star_{\mathrm{good}}}d(j,i^\star). j ∈ D ⋆ ∖ D good ⋆ ∑ i = s ( j ) ∑ m − 1 β ( Z j , i , R j , i + 1 ) + R j , m ≤ j ∈ D ⋆ ∖ D good ⋆ ∑ α j ⋆ ≤ ρ j ∈ D ⋆ ∖ D good ⋆ ∑ d ( j , i ⋆ ) .
Overall, then,
∑ j ∈ D ⋆ ( ∑ i = s ( j ) m − 1 β ( Z j , i , R j , i + 1 ) + R j , m ) ≤ f ^ + ( ρ + 6 δ ) ∑ j ∈ D ⋆ d ( j , i ⋆ ) . \sum_{j\in D^\star}\left(\sum_{i=s(j)}^{m-1}\beta(Z_{j,i},R_{j,i+1})+R_{j,m}\right)\leq\widehat{f}+(\rho+6\delta)\sum_{j\in D^\star}d(j,i^\star). j ∈ D ⋆ ∑ i = s ( j ) ∑ m − 1 β ( Z j , i , R j , i + 1 ) + R j , m ≤ f + ( ρ + 6 δ ) j ∈ D ⋆ ∑ d ( j , i ⋆ ) .
Note that D 1 ⋆ , … , D k ⋆ ⋆ D^\star_1,\ldots,D^\star_{k^\star} D 1 ⋆ , … , D k ⋆ ⋆ partition [ n ] [n] [ n ] . Then, summing the above over all ( i ℓ ⋆ , D ℓ ⋆ ) (i^\star_\ell,D^\star_\ell) ( i ℓ ⋆ , D ℓ ⋆ ) ,
∑ j = 1 n ( ∑ i = s ( j ) m − 1 β ( Z j , i , R j , i + 1 ) + R j , m ) ≤ k ⋆ ⋅ f ^ + ( ρ + 6 δ ) ⋅ C O P T = ( ρ + 6 δ ) ⋅ F O P T + ( ρ + 6 δ ) ⋅ C O P T = ( ρ + 6 δ ) ⋅ O P T . \begin{aligned}
\sum_{j=1}^{n}\left(\sum_{i=s(j)}^{m-1}\beta(Z_{j,i},R_{j,i+1})+R_{j,m}\right)\leq k^\star\cdot\widehat{f}+(\rho+6\delta)\cdot C_{\mathrm{OPT}} \\
&=(\rho+6\delta)\cdot F_{\mathrm{OPT}}+(\rho+6\delta)\cdot C_{\mathrm{OPT}} \\
&=(\rho+6\delta)\cdot\mathrm{OPT}.
\end{aligned} j = 1 ∑ n i = s ( j ) ∑ m − 1 β ( Z j , i , R j , i + 1 ) + R j , m ≤ k ⋆ ⋅ f + ( ρ + 6 δ ) ⋅ C OPT = ( ρ + 6 δ ) ⋅ F OPT + ( ρ + 6 δ ) ⋅ C OPT = ( ρ + 6 δ ) ⋅ OPT .
Hence,
( 1 − δ ) ⋅ C S O L + ( ρ + 6 δ ) ⋅ F S O L ≤ ( ρ + 6 δ ) ⋅ O P T + ∣ S r e g ⋆ ∣ n η , (1-\delta)\cdot C_{\mathrm{SOL}}+(\rho+6\delta)\cdot F_{\mathrm{SOL}}\leq(\rho+6\delta)\cdot\mathrm{OPT}+|S^\star_{\mathrm{reg}}|n\eta, ( 1 − δ ) ⋅ C SOL + ( ρ + 6 δ ) ⋅ F SOL ≤ ( ρ + 6 δ ) ⋅ OPT + ∣ S reg ⋆ ∣ n η ,
so
C S O L ≤ ρ + 6 δ 1 − δ ( O P T − F S O L ) + 2 ∣ S r e g ⋆ ∣ n η ≤ ( 1 + 8 δ ) ρ ( O P T − F S O L ) + 2 ∣ S r e g ⋆ ∣ n η C_{\mathrm{SOL}}\leq\frac{\rho+6\delta}{1-\delta}(\mathrm{OPT}-F_{\mathrm{SOL}})+2|S^\star_{\mathrm{reg}}|n\eta\leq(1+8\delta)\rho(\mathrm{OPT}-F_{\mathrm{SOL}})+2|S^\star_{\mathrm{reg}}|n\eta C SOL ≤ 1 − δ ρ + 6 δ ( OPT − F SOL ) + 2∣ S reg ⋆ ∣ n η ≤ ( 1 + 8 δ ) ρ ( OPT − F SOL ) + 2∣ S reg ⋆ ∣ n η
for δ > 0 \delta>0 δ > 0 smaller than 0.125 0.125 0.125 and ρ ≥ 1 \rho\geq1 ρ ≥ 1 . Then the conclusion follows because F S O L = ∣ S r e g ⋆ ∣ ⋅ f F_{\mathrm{SOL}}=|S^\star_{\mathrm{reg}}|\cdot f F SOL = ∣ S reg ⋆ ∣ ⋅ f .