English

Sublinear Algorithms and Lower Bounds for Estimating MST and TSP Cost in General Metrics

Data Structures and Algorithms 2023-05-04 v3

Abstract

We consider the design of sublinear space and query complexity algorithms for estimating the cost of a minimum spanning tree (MST) and the cost of a minimum traveling salesman (TSP) tour in a metric on nn points. We first consider the o(n)o(n)-space regime and show that, when the input is a stream of all (n2)\binom{n}{2} entries of the metric, for any α2\alpha \ge 2, both MST and TSP cost can be α\alpha-approximated using O~(n/α)\tilde{O}(n/\alpha) space, and that Ω(n/α2)\Omega(n/\alpha^2) space is necessary for this task. Moreover, we show that even if the streaming algorithm is allowed pp passes over a metric stream, it still requires Ω~(n/αp2)\tilde{\Omega}(\sqrt{n/\alpha p^2}) space. We next consider the semi-streaming regime, where computing even the exact MST cost is easy and the main challenge is to estimate TSP cost to within a factor that is strictly better than 22. We show that, if the input is a stream of all edges of the weighted graph that induces the underlying metric, for any ε>0\varepsilon > 0, any one-pass (2ε)(2-\varepsilon)-approximation of TSP cost requires Ω(ε2n2)\Omega(\varepsilon^2 n^2) space; on the other hand, there is an O~(n)\tilde{O}(n) space two-pass algorithm that approximates the TSP cost to within a factor of 1.96. Finally, we consider the query complexity of estimating metric TSP cost to within a factor that is strictly better than 22, when the algorithm is given access to a matrix that specifies pairwise distances between all points. For MST estimation in this model, it is known that a (1+ε)(1+\varepsilon)-approximation is achievable with O~(n/εO(1))\tilde{O}(n/\varepsilon^{O(1)}) queries. We design an algorithm that performs O~(n1.5)\tilde{O}(n^{1.5}) distance queries and achieves a strictly better than 22-approximation when either the metric is known to contain a spanning tree supported on weight-11 edges or the algorithm is given access to a minimum spanning tree of the graph.

Keywords

Cite

@article{arxiv.2203.14798,
  title  = {Sublinear Algorithms and Lower Bounds for Estimating MST and TSP Cost in General Metrics},
  author = {Yu Chen and Sanjeev Khanna and Zihan Tan},
  journal= {arXiv preprint arXiv:2203.14798},
  year   = {2023}
}