Skip to content

Faster Algorithms for Disjoint Paths in DAGs and Two Disjoint Shortest Paths

Yang Cao, Haoran Qi, Hanzhi Wang

cs.DSarXiv:2611.02154

Abstract

For k vertex-disjoint paths with prescribed endpoints in a directed acyclic graph (DAG), the O(mnk-1)-time pebbling algorithm of Fortune, Hopcroft, and Wyllie [TCS 1980] has remained the fastest for every k≥3 for over four decades, even when the paths must be shortest. We break this bound for every k≥3 with randomized algorithms running in expected Ok(m+nk-3+ω+) time for every >0, where ω<2.372 is the matrix multiplication exponent; this is Ok(m+nk-0.62). For two disjoint shortest paths, we find the paths as fast as we detect them: in expected linear time on DAGs and on undirected graphs with polynomially bounded integer weights, and in expected O(\mn,nω+\) time on directed graphs whose cycles have positive weight, which on dense graphs is o(mn) even for detection. All algorithms evaluate a polynomial whose monomials are the solutions: a new first-collision circuit speeds up the evaluation in DAGs, and a correlated extraction step at cuts crossed once by every path finds a solution at the cost of a constant number of evaluations.

Create a lesson