                                                                  Competitively Consistent Clustering



the fully k-median problem such that:                                                             • A solution to the modified formulation can be trans-

                                                                                                    formed online into a feasible solution to the original

 T

                                         log( nϵ )

                                                    

 X                                                                                                  formulation with the same recourse.

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

 t=1

                                            ϵ

 X

          t

         yij ≥1                                               ∀j ∈ C t , t ∈ [T ],             Proof. Let (x, y) be a solution to the original formulation.

 i∈M

                                                                                               We need to prove that it satisfies all the new constraints of

   t      t

                                   ∀i ∈ M, j ∈ C t , t ∈ [T ],                                 the form (B.1). This is true since,

 yXij ≤ xi

        t

       xi ≤ (1 + ϵ) · k                           ∀t ∈ [T ],                                                  X                X                 X

                                                                                                                       t

 i∈M

  X                                                                                                                   yij +              xti ≥          t

                                                                                                                                                       yij ≥ 1,

            t

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

  i∈M                                                                                                                                  t

 j∈C t                                                                                         where the first inequality holds since yij ≤ xti , and the

                                                                                               second inequality holds by the original constraint that

                                                                                                      t

                                                                                               P

B. A covering-packing LP formulation for the                                                     i∈F yij ≥ 1.



   facility location and the k-median Problems                                                 On the other direction, if (x, y) is a solution to the modified

                                                                                                                    ′

                                                                                               LP, then setting yijt = min{yij t

                                                                                                                                 , xti } satisfies the constraint

We show here that the facility location problem can be                                          t                           ′

                                                                                                   ≤ xti . Next, if i∈F yijt = i∈F min{yij          t

                                                                                                                                                       , xti } < 1, it

                                                                                                                      P           P

                                                                                               yij

captured by a covering-packing formulation. The arguments                                                         ′               t       t

                                                                                               means that for F = {i ∈ F | xi ≥ yij },

for the k-median problem are similar.

                                                                                                      X               X         X

Recall, the formulation in Section A.2. Let xti be an indi-                                                  t

                                                                                                            yij +        xti =        min{yij t

                                                                                                                                                , xti } < 1.

cator for the opening of a facility at position i ∈ F at time                                         i∈F ′           i∈F \F ′           i∈F

        t

t. Let yij  be an indicator for serving client j with facility

i at time t. Let OP T t be the optimal facilitiy location ob-                                  This contradicts the feasibility of the solution x, y to the

                                                                                                                                  ′



jective at time t. Given these variables, the following is a                                   modified LP. Hence, the solution yijt is feasible to the origi-

formulation of the offline fully dynamic facility location                                     nal LP. Moreover, since we didn’t modify the variable xti , it

problem.                                                                                       has the same recourse.



         T                                                                                     Finally, given a solution x, y to the modified LP check-

                                                                                                                                                        ′

                                                                                               ing for each client j, whether               P with F t =

                                                                                                                              Pthe constraint

         X

                t       t−1

 min           ∥x − x         ∥1 ,                                                                         t     t                     t

         t=1

                                                                                               {i ∈ F | xi ≥ yij } satisfies i∈F ′ yij + i∈F \F ′ xi =

                                                                                                             t   t

                                                                                               P

                                                                                                  i∈F min{yij , xi } ≥ 1 suffices for the feasibility of the

 X

        t

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

                                                                                               LP, and otherwise we get a violated constraint.

 i∈F

  t

 yij ≤ xti                                                   ∀j ∈ C t , t ∈ [T ],

 X                  X                                                                          C. Lower bounds

     fi xti +                      t

                              dij yij ≤ β · OP T t                           ∀t ∈ [T ],

 i∈F             i∈F,j∈C t                                                                     In this section we prove the following lower bounds for any

 xti , yij

        t

           ≥0                                   ∀i ∈ F, j ∈ C , t ∈ [T ].t                     randomized dynamic clustering algorithm. We draw ideas

                                                                                               from (Fotakis, 2008).

The above formulation is not a covering-packing formula-                                       Theorem 1.2 (Lower Bound). Suppose there is a random-

tion. However, it is not hard to transform it into a covering                                  ized algorithm that given a parameter β ≥ 1 as an input

                                                       t       t                               maintains an (α · β)-approximation for one of fully-dynamic

packing formulation by removing the constraint  P yijt ≤ xi                                    facility location, k-center, or k-median. Then this algorithm

and introducing in addition to the constraint i∈F yij ≥ 1,

the following exponential number of constraints:                                               has recourse at least Ω(min{log |F |, logα ∆}·O PTβR EC . For

                                                                                               k-center and k-median, the lower bound holds even if the

                                                                                               algorithm is allowed to open O(k) facilities.

  X           X

        t

      yij +         xti ≥ 1      ∀j ∈ C t , F ′ ⊆ F, t ∈ [T ].

 i∈F ′          i∈F \F ′

                                                                                  (B.1)        Proof. The lower bounds share common ideas, but the ex-

                                                                                               act metric, the adversarial sequence, and the cost analysis

We observe the following.                                                                      are different for each clustering problem. Therefore, we

Lemma B.1. The modified formulation is separable in poly-                                      prove the lower bounds separately for each problem. For

nomial time. Moreover,                                                                         all these problems, we prove a lower bound for an online

                                                                                               fractional solution that may generate a fractional solution to

   • Any solution to the original LP is feasible to the new                                    the linear formulation. Since the marginal probabilities of

     formulation.                                                                              any randomized algorithm induce a fractional solution with



                                                                                          13

