Finding a Shortest Non-zero Path in Group-Labeled Graphs via Permanent Computation

A group-labeled graph is a directed graph with each arc labeled by a group element, and the label of a path is defined as the sum of the labels of the traversed arcs. In this paper, we propose a polynomial time randomized algorithm for the problem of finding a shortest s-t path with a non-zero label in a given group-labeled graph (which we call the Shortest Non-Zero Path Problem). This problem generalizes the problem of finding a shortest path with an odd number of edges, which is known to be solvable in polynomial time by using matching algorithms. Our algorithm for the Shortest Non-Zero Path Problem is based on the ideas of Björklund and Husfeldt (Proceedings of the 41st international colloquium on automata, languages and programming, part I. LNCS 8572, pp 211–222, 2014). We reduce the problem to the computation of the permanent of a polynomial matrix modulo two. Furthermore, by devising an algorithm for computing the permanent of a polynomial matrix modulo $$2^r$$2r for any fixed integer r, we extend our result to the problem of packing internally-disjoint s-t paths.

[1]  Vijay V. Vazirani,et al.  Matching is as easy as matrix inversion , 1987, STOC.

[2]  Thomas Zaslavsky,et al.  Biased graphs. I. Bias, balance, and gains , 1989, J. Comb. Theory, Ser. B.

[3]  Alexander Schrijver,et al.  Combinatorial optimization. Polyhedra and efficiency. , 2003 .

[4]  James F. Geelen,et al.  An Algebraic Matching Algorithm , 2000, Comb..

[5]  W. T. Tutte The Factorization of Linear Graphs , 1947 .

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

[7]  Andreas Björklund,et al.  Shortest Two Disjoint Paths in Polynomial Time , 2014, ICALP.

[8]  László Lovász,et al.  On determinants, matchings, and random algorithms , 1979, FCT.

[9]  Biased Graph , 2014, Encyclopedia of Social Network Analysis and Mining.

[10]  Jonathan L. Gross,et al.  Generating all graph coverings by permutation voltage assignments , 1977, Discret. Math..

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

[12]  Noga Alon,et al.  The Probabilistic Method , 2015, Fundamentals of Ramsey Theory.

[13]  Leslie G. Valiant,et al.  The Complexity of Computing the Permanent , 1979, Theor. Comput. Sci..

[14]  Jonathan L. Gross,et al.  Topological Graph Theory , 1987, Handbook of Graph Theory.

[15]  Richard Bellman,et al.  ON A ROUTING PROBLEM , 1958 .

[16]  M. R. Rao,et al.  Combinatorial Optimization , 1992, NATO ASI Series.

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

[18]  Martin Grötschel,et al.  Weakly bipartite graphs and the Max-cut problem , 1981, Oper. Res. Lett..