A Strongly Polynomial Algorithm for Finding a Shortest Non-zero Path in Group-Labeled Graphs

Finding a shortest path or cycle in graphs is a fundamental problem. In this paper, we study the problem of finding a shortest non-zero path/cycle in group-labeled graphs with nonnegative edge length, which includes the following two types of tractable variants in undirected graphs, depending on the group in question. One is the parity-constrained shortest path/cycle problem, and the other is computing a shortest noncontractible cycle in surface-embedded graphs. For the shortest non-zero path problem with respect to finite abelian groups, Kobayashi and Toyooka (2017) proposed a randomized, pseudopolynomial algorithm via permanent computation. For a slightly more general class of groups, Yamaguchi (2016) showed a reduction of the problem to the weighted linear matroid parity problem. In particular, some cases are solved in strongly polynomial time via the reduction with the aid of a deterministic, polynomial algorithm for the weighted linear matroid parity problem developed by Iwata and Kobayashi (2017), which generalizes a well-known fact that the parity-constrained shortest path problem is solved via weighted matching. In this paper, as the first general solution independent of the group, we present a rather simple, deterministic, and strongly polynomial algorithm for the shortest non-zero path problem. The algorithm is based on Dijkstra's algorithm for the unconstrained shortest path problem and Edmonds' blossom shrinking technique in matching algorithms, and clarifies a common tractable feature behind the parity and topological constraints in the shortest path/cycle problem.

[1]  Edsger W. Dijkstra,et al.  A note on two problems in connexion with graphs , 1959, Numerische Mathematik.

[2]  Christos H. Papadimitriou,et al.  The even-path problem for graphs and digraphs , 1984, Networks.

[3]  Ulrich Derigs,et al.  An Efficient Dijkstra-like Labeling Method for Computing Shortest Odd/Even Paths , 1985, Inf. Process. Lett..

[4]  Carsten Thomassen,et al.  Embeddings of graphs with no short noncontractible cycles , 1990, J. Comb. Theory, Ser. B.

[5]  Jeff Erickson,et al.  Optimally Cutting a Surface into a Disk , 2004, Discret. Comput. Geom..

[6]  Paul Wollan,et al.  Non-zero disjoint cycles in highly connected group labeled graphs , 2005, Electron. Notes Discret. Math..

[7]  Paul D. Seymour,et al.  Packing Non-Zero A-Paths In Group-Labelled Graphs , 2006, Comb..

[8]  Maria Chudnovsky,et al.  An algorithm for packing non-zero A-paths in group-labelled graphs , 2008, Comb..

[9]  T. Huynh The linkage problem for group-labelled graphs , 2009 .

[10]  Paul Wollan,et al.  Packing cycles with modularity constraints , 2011, Comb..

[11]  Jeff Erickson,et al.  Combinatorial Optimization of Cycles and Bases , 2012 .

[12]  Erin W. Chambers,et al.  Multiple-Source Shortest Paths in Embedded Graphs , 2012, SIAM J. Comput..

[13]  Kyle Fox Shortest Non-trivial Cycles in Directed and Undirected Surface Graphs , 2013, SODA.

[14]  Yasushi Kawase,et al.  Finding a Path in Group-Labeled Graphs with Two Labels Forbidden , 2015, ICALP.

[15]  Shin-ichi Tanigawa,et al.  Packing non-zero A-paths via matroid matching , 2016, Discret. Appl. Math..

[16]  Yutaro Yamaguchi Shortest Disjoint S-Paths Via Weighted Linear Matroid Parity , 2016, ISAAC.

[17]  Yusuke Kobayashi,et al.  Finding a Shortest Non-zero Path in Group-Labeled Graphs via Permanent Computation , 2016, Algorithmica.

[18]  Yutaro Yamaguchi,et al.  MATHEMATICAL ENGINEERING TECHNICAL REPORTS Packing A-paths in Group-Labelled Graphs via Linear Matroid Parity , 2013 .

[19]  Satoru Iwata,et al.  A weighted linear matroid parity algorithm , 2017, STOC.

[20]  Saket Saurabh,et al.  The Half-integral Erdös-Pósa Property for Non-null Cycles , 2017, ArXiv.

[21]  Paul Wollan,et al.  A Unified Erdős–Pósa Theorem for Constrained Cycles , 2019, Comb..

[22]  Yasushi Kawase,et al.  Finding a path with two labels forbidden in group-labeled graphs , 2020, J. Comb. Theory, Ser. B.