English

Approximating APSP without Scaling: Equivalence of Approximate Min-Plus and Exact Min-Max

Data Structures and Algorithms 2019-07-26 v1 Computational Complexity

Abstract

Zwick's (1+ε)(1+\varepsilon)-approximation algorithm for the All Pairs Shortest Path (APSP) problem runs in time O~(nωεlogW)\widetilde{O}(\frac{n^\omega}{\varepsilon} \log{W}), where ω2.373\omega \le 2.373 is the exponent of matrix multiplication and WW denotes the largest weight. This can be used to approximate several graph characteristics including the diameter, radius, median, minimum-weight triangle, and minimum-weight cycle in the same time bound. Since Zwick's algorithm uses the scaling technique, it has a factor logW\log W in the running time. In this paper, we study whether APSP and related problems admit approximation schemes avoiding the scaling technique. That is, the number of arithmetic operations should be independent of WW; this is called strongly polynomial. Our main results are as follows. - We design approximation schemes in strongly polynomial time O(nωεpolylog(nε))O(\frac{n^\omega}{\varepsilon} \text{polylog}(\frac{n}{\varepsilon})) for APSP on undirected graphs as well as for the graph characteristics diameter, radius, median, minimum-weight triangle, and minimum-weight cycle on directed or undirected graphs. - For APSP on directed graphs we design an approximation scheme in strongly polynomial time O(nω+32ε1polylog(nε))O(n^{\frac{\omega + 3}{2}} \varepsilon^{-1} \text{polylog}(\frac{n}{\varepsilon})). This is significantly faster than the best exact algorithm. - We explain why our approximation scheme for APSP on directed graphs has a worse exponent than ω\omega: Any improvement over our exponent ω+32\frac{\omega + 3}{2} would improve the best known algorithm for Min-Max Product In fact, we prove that approximating directed APSP and exactly computing the Min-Max Product are equivalent.

Keywords

Cite

@article{arxiv.1907.11078,
  title  = {Approximating APSP without Scaling: Equivalence of Approximate Min-Plus and Exact Min-Max},
  author = {Karl Bringmann and Marvin Künnemann and Karol Węgrzycki},
  journal= {arXiv preprint arXiv:1907.11078},
  year   = {2019}
}

Comments

Presented at STOC'19. Full Version. 35 pages