Rectilinear Matching to the Integer Grid in Nearly-Linear Time
Abstract
Rectilinear matching to the integer grid asks to assign each of points in to a distinct point of , minimizing total movement. The main difficulty is that the target set is infinite: one must first identify a finite set of relevant grid points without losing optimality. We prove a geometric compression theorem for this infinite-target problem. In time, we construct a set of asymptotically optimal size such that, simultaneously for every , some optimal assignment uses only points of . The construction is independent of the subsequent optimization algorithm and of the coordinate spread. For the rectilinear case, we combine this candidate set with a linear-size sparse network representation of distances. In the word-RAM model with -word dyadic coordinates and fractional bits, a nearly-linear time minimum-cost flow algorithm then gives a randomized exact algorithm with expected running time . This improves the standard approach. Combined with existing finite geometric matching algorithms, the same candidate set also gives an -time approximation for every fixed integer .
Cite
@article{arxiv.2607.10703,
title = {Rectilinear Matching to the Integer Grid in Nearly-Linear Time},
author = {Yu Gao},
journal= {arXiv preprint arXiv:2607.10703},
year = {2026}
}