Deterministic lower bound k for the k-server problem #
This file proves the deterministic lower bound of Manasse, McGeoch and Sleator, Competitive
algorithms for server problems (Theorem 6 with h = k, and
Corollary 7): on any metric space with at least k + 1 points, no deterministic online k-server
algorithm is c-competitive for any c < k, whatever the additive constant. More generally no
rational ratio p / q < k is achievable (exists_ratio_violation). The argument follows the
source proof: a lazy online algorithm, its nemesis request sequence, and an ensemble of offline
algorithms whose average cost is a 1 / k fraction of the online cost. The source theorem also
compares against h < k offline servers, giving k / (k - h + 1); that case is not formalized.
See also Borodin and El-Yaniv, Online Computation and Competitive Analysis, Chapter
10.
Proof structure #
- Lazy normalization (
lazify,cost_lazify_le). Any online strategyAcan be simulated by one that moves at most one server per request, and only when the request is uncovered. By the triangle inequality this never costs more thanA. - Adversary. Fix
k + 1pointsS(the initialkdistinct positions and one more pointz). The adversary always requests the unique point ofSnot covered by the lazy simulation. The simulation then pays exactly the length of the request path, and at least1per request (lazy_costFrom_ge). - Shadow schedules (
shadowStates,exists_shadow_le). For each initial server position there is an offline schedule that keeps exactly that point ofSuncovered after the first request. When it must serve its hole it moves the server sitting on the previous request. Summed over thekholes, these schedules pay the path length once, plus the initial distances toz(sum_holeCost). So the cheapest pays at most a1 / kfraction.
Main definitions #
Cslib.DataStructure.KServer.lazify: lazy normalization of an online strategy.Cslib.DataStructure.KServer.shadowStates: the offline shadow schedule.
Main results #
cost_lazify_le: the lazy simulation never costs more than the original strategy.exists_shadow_le: some shadow schedule costs at most a1 / kfraction of the request path plus the initial distances toz.exists_ratio_violation: no rational ratiop / q < kwith any additive constant.not_isCompetitiveFrom_of_lt,not_isCompetitive_of_lt,not_isCompetitiveAnyInit_of_lt: no integer ratioc < k.
References #
Lazy normalization #
Lazy normalization of an online strategy: simulate A and move at most one server per
request, only when the request is uncovered.
Offline shadow schedules #
Move every server located at x to y.
Shadow schedule: stay when the request is covered, otherwise move the server at the
previous request q to the new request.
Cost of the shadow schedule whose uncovered point is h, after previous request q.
If s covers exactly S \ {h} with distinct servers, and the previous request q lies in
S \ {h}, then the shadow schedule is valid on requests from S and costs holeCost h q rs.
Averaging over the k shadow schedules: if the first request is the extra point z and all
later requests lie in the (k + 1)-point set, some valid offline schedule costs at most a 1 / k
fraction of the request path plus the initial distances to z.
The adversary: request the uncovered point #
The lower bound #
Manasse–McGeoch–Sleator lower bound, rational form. Let s₀ place the k servers on
distinct points and let z be a further point. For every deterministic online strategy A,
every rational ratio p / q < k and every additive constant b, some request sequence and valid
offline schedule from s₀ satisfy p * OPT + b < q * cost_A.
Manasse–McGeoch–Sleator lower bound. From k distinct initial positions avoiding some
further point, no deterministic online k-server strategy is (c, b)-competitive for c < k.
On any metric with k + 1 distinct points, no deterministic online k-server strategy is
(c, b)-competitive for c < k.
The lower bound also refutes competitiveness against offline schedules from arbitrary initial configurations.