                                                Competitively Consistent Clustering



and j xtj ≤ k(1 + ϵ), this step can occur at most k(1 + ϵ)

    P

                                                                         a fractional solution satisfying the guarantees

times.                                                                                                             !

                                                                                                      log( |Fϵ | )

                                                                          X T

                                                                                  t    t−1

                                                                               ∥x − x ∥1 ≤ O                         · O PTβR EC ,

A ball of radius rj is added, and a single ball i with                                                    ϵ

                                                                          t=1

ri > (α − δ − 1) · rj is dropped. The LHS of Inequality                   X

                                                                                t

                                                                             yij  ≥1                                  ∀j ∈ C t , t ∈ [T ],

(3.3) increases by at most ∆N2t + ∆Φ ≤ 1 − η log2 r∆j +                   i∈F

                                                                           t      t

                          

                                                                           ij ≤ xi

                                                                          yX                                   ∀j ∈ C t , t ∈ [T ],

η log2 r∆i = 1−η log2 rrji ≤ 1−η log2 (α − δ − 1) ≤                               t

                                                                                      X

                                                                              fi xi +        t

                                                                                        dij yij ≤ (1 + ϵ)β · OP T t    ∀t ∈ [T ].

0, where the last inequality follows by the definition η =                i∈F           i∈F

1/ log2 (α − δ − 1). As in each such step, the potential                               j∈C t

function decreases by at least 1, the potential function only

decreases in the previous case, and |Φt | ≤ O(k log ∆),                  The variable xti is the fraction to which facility at position

                                                                                                           t

this step can also happen at most O(k log ∆) times. We                   i ∈ F is open at time t and yij     is the fraction by which

conclude that the main loop of the algorithm must terminate              client j is served with facility i at time t. The bound in

after a finite number of steps.                                          Theorem 1.1 for the fully dynamic facility location problem

                                                                         is obtained by combining the guarantee on the fractional

Proof of Lemma 3.3. Since client j is uncovered (i.e. j ̸∈               solution along with the following theorem that we prove,

S       ct                       t              t                        and choosing ϵ = 1.

  i∈S t Bi ), we have dij > α · D for all i ∈ S . The new

added ball Bj is of radius rj = Dt . Thus, for any i ∈ S t               Theorem 3.4 (Dynamic facility location rounding). Let

such that dij ≤ ri + rj + δ min{ri , rj } we have,                       xt be a fractional solution to the dynamic facility location

                                                                         problem that maintains a solution that is a β-approximation

       ri + (1 + δ)Dt = ri + (1 + δ)rj                                   at any time with total fractional recourse R. Then, there

        ≥ ri + rj + δ · min{ri , rj } ≥ dij > α · Dt .                   is an algorithm that maintains an integral solution that is

                                                                         (α · β)-approximate at any time, and its total recourse is

Thus, for such a ball it must be that ri > (α − δ − 1) · Dt .            O (log ∆) · R, where α = 11.

Assume for the sake of contradiction that there are two balls

Bi1 , Bi2 such that di1 ,j ≤ ri1 + rj + δ · min{ri1 , rj } and           The Algorithm: At any time t, for each j ∈ C t , let Rjt =

                                                                                     t

                                                                         P

di2 ,j ≤ ri2 + rj + δ · min{ri2 , rj }. Then                                i∈F dij yij be the fractional connection cost of client j.

                                                                         The algorithm maintains at any time a set of active clients

 di1 ,i2 ≤ di1 ,j + di2 ,j                                               At and a set of open facilities S t . For each client j ∈

 ≤ ri1 + ri2 + 2rj + δ · min{ri1 , rj } + δ · min{ri2 , rj }             At there is (exactly) a single associated facility ij ∈ S t .

 = ri1 + ri2 + (2 + 2δ) · rj = ri1 + ri2 + (2 + 2δ) · Dt                 Whenever the algorithm adds or removes a client from At it

                                                                         also adds/removes the associated facility from S t . Let ti ≤ t

                 2 + 2δ                                                  be the time a client i (and the associated facility) were added

 < ri1 + ri2 +             · min{ri1 , ri2 }.

               α−δ−1                                                     to At (correspondingly to S t ). We associate each j ∈ At

The first inequality follows by the triangle inequality. The             with a radius rj and a ball Bj = {i ∈ F | dij ≤ rj }. With

second inequality follows by our assumption. The next two                foresight, set the parameters α = 11, δ = 2, γ = 10/9, η =

steps follow by our above observation rj = Dt , and because              1/ log((α−γ(1+δ))/2γ ). At time t, the fractional solution is

ri1 > (α − δ − 1) · Dt and ri2 > (α − δ −√1) · Dt . Finally, √           updated from (xt−1 , y t−1 ) to (xt , y t ), and the algorithm is

recalling our specific values of α = 3 + 2 2 and δ = 2,                  the following.

we get that this last line is at most ri1 +ri2 +δ·min{ri1 , ri2 },

which contradicts the inductive hypothesis that Invariant (ii)              • At ← At−1 , S t ← S t−1 .

holds before adding ball Bj .

                                                                            • Drop from At (and correspondinglyP its associated fa-

After adding the new ball of radius Dt and dropping at                        cility S t ) any j ∈ At such that i∈Bj xti < 1/α.

most one ball violating Invariant (ii), the new balls satisfy

Invariant         Finally, as j ∈ C t by the LP constraints

            (ii). P                                                         • Iteratively: as long as there exists j ∈ C t such that

            t                ti

                                                                              dij > α · Rjt for all i ∈ S t .

P

   j ′ ∈Bj xj ′ =   j ′ ∈Bj xj ′ ≥ 1 and therefore Invariant (iv)

holds.                                                                           – Add the client j to At , and set rj = γ · Rjt .

                                                                                 – For client j add to S t a facility with minimal cost

3.2. A rounding algorithm for fully-dynamic facility

                                                                                   fi such that dij ≤ rj .

     location

                                                                                 – Drop from At (and the corresponding facility in

We turn to our dynamic rounding scheme for facility loca-                          S t ) any i ∈ At , i ̸= j such that dij ≤ ri + rj +

tion. Following Appendix A.2, for every ϵ ∈ (0, 1] we have                         δ · min{ri , rj }.



                                                                     6

