$\{-1,0,1\}$-APSP and (min,max)-Product Problems
Abstract
In the -APSP problem the goal is to compute all-pairs shortest paths (APSP) on a directed graph whose edge weights are all from . In the (min,max)-product problem the input is two matrices and , and the goal is to output the (min,max)-product of and . This paper provides a new algorithm for the -APSP problem via a simple reduction to the target-(min,max)-product problem where the input is three matrices , and , and the goal is to output a Boolean matrix such that the entry of is 1 if and only if the entry of the (min,max)-product of and is exactly the entry of the target matrix . If (min,max)-product can be solved in time then it is straightforward to solve target-(min,max)-product in time. Thus, given the recent result of Bringmann, K\"unnemann, and Wegrzycki [STOC 2019], the -APSP problem can be solved in the same time needed for solving approximate APSP on graphs with positive weights. Moreover, we design a simple algorithm for target-(min,max)-product when the inputs are restricted to the family of inputs generated by our reduction. Using fast rectangular matrix multiplication, the new algorithm is faster than the current best known algorithm for (min,max)-product.
Keywords
Cite
@article{arxiv.1911.06132,
title = {$\{-1,0,1\}$-APSP and (min,max)-Product Problems},
author = {Hodaya Barr and Tsvi Kopelowitz and Ely Porat and Liam Roditty},
journal= {arXiv preprint arXiv:1911.06132},
year = {2019}
}