Competitive Analysis of Online Facility Assignment Algorithms on Discrete Grid Graphs: Performance Bounds and Remediation Strategies
Lamya Alif, Raian Tasnim Saoda, Sumaiya Afrin, Md. Rawha Siddiqi Riad, Md. Tanzeem Rahat, Md Manzurul Hasan
TL;DR
This work analyzes Online Facility Assignment on discrete grid graphs under hard capacities, revealing geometry-induced failure modes for natural local rules: a capacity-aware CS-Voronoi heuristic can suffer Zone-Collapse and Boundary-Oscillation, while nearest-available Greedy can incur costly oscillations. It introduces a batching-plus-min-cost-flow remediation (BMCF) to provide bounded lookahead, but proves that cross-batch coordination is not captured by per-batch optimizations, illustrating a batch-boundary trap that yields large cost gaps relative to OPT in adversarial constructions. The paper then proposes practical mitigations—capacity reservation, scarcity-penalized batch costs, and staggered batching triggers—and shows empirically that these guardrails reduce tail risk while preserving reasonable performance on benign inputs. The results highlight the importance of guardrails for grid metrics with capacity constraints and outline promising directions for principled semi-online analysis and parameter tuning in realistic workloads.
Abstract
We study the \emph{Online Facility Assignment} (OFA) problem on a discrete $r\times c$ grid graph under the standard model of Ahmed, Rahman, and Kobourov: a fixed set of facilities is given, each with limited capacity, and an online sequence of unit-demand requests must be irrevocably assigned upon arrival to an available facility, incurring Manhattan ($L_1$) distance cost. We investigate how the discrete geometry of grids interacts with capacity depletion by analyzing two natural baselines and one capacity-aware heuristic. First, we give explicit adversarial sequences on grid instances showing that purely local rules can be forced into large competitive ratios: (i) a capacity-sensitive weighted-Voronoi heuristic (\textsc{CS-Voronoi}) can suffer cascading \emph{region-collapse} effects when nearby capacity is exhausted; and (ii) nearest-available \textsc{Greedy} (with randomized tie-breaking) can be driven into repeated long reassignments via an \emph{oscillation} construction. These results formalize geometric failure modes that are specific to discrete $L_1$ metrics with hard capacities. Motivated by these lower bounds, we then discuss a semi-online extension in which the algorithm may delay assignment for up to $τ$ time steps and solve each batch optimally via a min-cost flow computation. We present this batching framework as a remediation strategy and delineate the parameters that govern its performance, while leaving sharp competitive guarantees for this semi-online variant as an open direction.
