English

Finding a Shortest $M$-link Path in a Monge Directed Acyclic Graph

Data Structures and Algorithms 2024-08-02 v1

Abstract

A Monge directed acyclic graph (DAG) GG on the nodes 1,2,,N1,2,\cdots,N has edges (i,j)\left( i,j\right) for 1i<jN1\leq i<j\leq N carrying submodular edge-lengths. Finding a shortest MM-link path from 11 to NN in GG for any given 1<M<N11<M<N-1 has many applications. In this paper, we give a contract-and-conquer algorithm for this problem which runs in O(NM(NM)log(NM))O\left( \sqrt{NM\left( N-M\right) \log\left( N-M\right) }\right) time and O(N)O\left( N\right) space. It is the first o(NM)o\left( NM\right) -time algorithm with linear space complexity, and its time complexity decreases with MM when MN/2M\geq N/2. In contrast, all previous strongly polynomial algorithms have running time growing with MM. For both O(poly(logN))O\left( poly\left( \log N\right) \right) and NO(poly(logN))N-O\left( poly\left( \log N\right) \right) regimes of MM, our algorithm has running time O(Npoly(logN))O\left( N\cdot poly\left( \log N\right) \right) , which partially answers an open question rased in \cite{AST94} affirmatively.

Keywords

Cite

@article{arxiv.2408.00227,
  title  = {Finding a Shortest $M$-link Path in a Monge Directed Acyclic Graph},
  author = {Joy Z. Wan},
  journal= {arXiv preprint arXiv:2408.00227},
  year   = {2024}
}
R2 v1 2026-06-28T17:59:58.186Z