English

Shortest (A+B)-path packing via hafnian

Combinatorics 2017-06-14 v2 Data Structures and Algorithms

Abstract

Bj\"orklund and Husfeldt developed a randomized polynomial time algorithm to solve the shortest two disjoint paths problem. Their algorithm is based on computation of permanents modulo 4 and the isolation lemma. In this paper, we consider the following generalization of the shortest two disjoint paths problem, and develop a similar algebraic algorithm. The shortest perfect (A+B)(A+B)-path packing problem is: given an undirected graph GG and two disjoint node subsets A,BA,B with even cardinalities, find a shortest A/2+B/2|A|/2+|B|/2 disjoint paths whose ends are both in AA or both in BB. Besides its NP-hardness, we prove that this problem can be solved in randomized polynomial time if A+B|A|+|B| is fixed. Our algorithm basically follows the framework of Bj\"orklund and Husfeldt but uses a new technique: computation of hafnian modulo 2k2^k combined with Gallai's reduction from TT-paths to matchings. We also generalize our technique for solving other path packing problems, and discuss its limitation.

Keywords

Cite

@article{arxiv.1603.08073,
  title  = {Shortest (A+B)-path packing via hafnian},
  author = {Hiroshi Hirai and Hiroyuki Namba},
  journal= {arXiv preprint arXiv:1603.08073},
  year   = {2017}
}

Comments

To appear in Algorithmica

R2 v1 2026-06-22T13:19:01.126Z