                                                         Competitively Consistent Clustering



candidate center locations, S ⊆ F . The constraints and                          1.1 for the fully dynamic k-center problem is obtained by

objectives are different for each of the problems we study:                      combining the guarantee on the fractional solution along

                                                                                 with the following theorem that we prove.

   • In k-center, the algorithm is allowed to open at most                       Theorem 3.1 (Dynamic k-center rounding). Let xt be a

     k centers and the goal is to minimize the maximal                           fractional solution to the dynamic k-center problem that

     distance of a client in C to its closest open center.                       maintains a solution that is a β-approximation at any time,

                                                                                 uses at most k ′ centers, and its total fractional recourse is R.

   • In facility location, the algorithm is allowed to open

                                                                                 Then, for any ϵ ≤ 1/2, there is an algorithm that maintains

     any number of centers (which we alternatively refer

                                                                                 an integral solution with at most (1 + 2ϵ)k ′ centers that is

     to as a facilities), but opening a facility in position

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

     i ∈ F incurs an opening cost of fi . The goal is to

                                                                                 O (log(∆)/ϵ) · R, where α = 3 + 2 2 ≈ 5.28.

     minimize the total opening cost plus the total service

     cost, defined as the sum of distances from the clients

     in C to their nearest open facility.                                        The Algorithm: Our algorithm maintains at time t a set

                                                                                 of open centers S t . For each i ∈ S t , let ti ≤ t be the time in

   • In k-median, the algorithm is allowed to open at most k                     which the center is added to the solution and let ri = Dti =

     centers and the goal is to minimize the sum of distances                    min{β · OP T ti , ∆} be the radius of the balls that can serve

     between clients and their closest center.                                   the clients when i was added to S t (note√that ri ≤ ∆).   √ With

                                                                                 foresight, we set parameters α = 3 + 2 2 and δ = 2 and

In the fully dynamic version of each of these problems, we                       define Bi := {j | dij ≤ ri } and B ct := {j | dij ≤ α · Dt }.

                                                                                                                       i

are given at every time t = 1, . . . , T a different set of clients              We identify each facility with the ball around it, and count

C t ⊆ M . The algorithm must maintain a solution S t at                          in our analysis the number of balls that we add or drop. Our

each time step that is approximately optimal with respect to                     algorithm is simple to describe and works as follows. At

the clustering objective at that timeP  step, while also minimiz-                time t we update the fractional solution and the value of

                                          T

ing the total recourse, defined as t=1 |S t ⊕ S t−1 |. More                      OP T t (the radius of the k-center optimal fractional solution

precisely, our goal in this work is to maintain an (α · β)-                      at time t). Then,

approximate solution to the clustering objective while pay-

ing recourse at most c · O PTβR EC , where O PTβR EC denotes the                    • S t = S t−1 .

optimal recourse of an offline solution that maintains a β-

approximate solution at all times. For each problem, we use                         • Drop from S t any i such that

                                                                                                                        P        t

                                                                                                                           j∈Bi xj < 1 − ϵ.

O PTt to denote the cost of the optimal fractional solution at

time t.

                                                                                    • Iteratively: as long as there exists a client j ∈ C t such

                                                                                               S

                                                                                      that j ̸∈ i∈S t Bct (uncovered by our current solution).

                                                                                                        i

3. Algorithms

                                                                                         – Add j to S t (and Bj is, as defined, of radius rj =

3.1. A rounding algorithm for fully-dynamic k-center                                       Dt ).

In this section we design a rounding algorithm for the fully                             – Drop from S t any center/ball i ∈ S t , i ̸= j such

dynamic k-center problem. Following Appendix A.1, for                                      that

every ϵ ∈ (0, 1] there is an algorithm that maintains a frac-

tional solution x ≥ 0 to the fully dynamic k-center problem                                        dij ≤ ri + rj + δ · min{ri , rj }.          (3.1)

satisfying the guarantees:

 T                                                                               Analysis: We will prove by induction on the steps of the

                                log( nϵ )

 X                                         

     ∥xt − xt−1 ∥1 ≤ O                          · O PTβR EC ,                    algorithm that the algorithm maintains the following invari-

 t=1

                                   ϵ                                             ants.

 X

      xti ≥ 1                                       ∀j ∈ C t , t ∈ [T ],

 i∈Bjt                                                                            (i) For each j ∈ C t , we have j ∈                ct

                                                                                                                          S

  n                                                                                                                           i∈S t Bi .

 X

       xti ≤ (1 + ϵ)k                                           ∀t ∈ [T ].

                                                                                  (ii) For all i1 , i2 ∈ S t : di1 ,i2 ≥ ri1 +ri2 +δ·min{ri1 , ri2 }.

 i=1

                                                                                       In particular the balls around the centers are disjoint.

For an active client j ∈ C t and time t, Bjt = {i ∈ M | dij ≤

                                                                                 (iii) For all i ∈ S t , we have           t

                                                                                                                   P

min{β · OP T t , ∆}} is the set of centers at distance at most                                                       j∈Bi xj ≥ 1 − ϵ.

β · OP T t , and therefore feasibly serve client j at time t,

                                                                                                                           ti

and let Dt = min{β · OP T t , ∆}. The bound in Theorem                           (iv) For all i ∈ S t , we have

                                                                                                                   P

                                                                                                                     j∈Bi xj ≥ 1.





                                                                             4

