On the Complexity of Detecting k-Length Negative Cost Cycles

Given a positive integer k and a directed graph G with a real number cost on each edge, the k-length negative cost cycle (k LNCC) problem that first emerged in deadlock avoidance in synchronized streaming computing network [14] is to determine whether G contains a negative cost cycle of at least k edges. The paper first shows a related problem of k LNCC, namely the fixed-point trail with k-length negative cost cycle (FPT k LNCC) problem which is to determine whether there exists a negative closed trail enrouting a given vertex as the fixed point and containing only cycles with at least k edges, is \(\mathcal{NP}\)-complete in multigraphs even when \(k=3\) by reducing from the 3SAT problem. Then as the main result, we prove the \(\mathcal{NP}\)-completeness of k LNCC by giving a more sophisticated reduction from the 3 Occurrence 3-Satisfiability (3O3SAT) problem, a known \(\mathcal{NP}\)-complete special case of 3SAT in which a variable occurs at most three times. The complexity result is surprising, since polynomial time algorithms are known for both 2LNCC (essentially no restriction on the value of k) and the k-cycle problem with k being fixed which is to determine whether there exists a cycle of at least length k in a given graph. This closes the open problem proposed by Li et al. in [14, 15] whether k LNCC admits polynomial-time algorithms.

[1]  Fahad Panolan,et al.  Representative Sets of Product Families , 2014, ESA.

[2]  Harold N. Gabow,et al.  Finding a long directed cycle , 2004, SODA '04.

[3]  Hadas Shachnai,et al.  Faster Computation of Representative Families for Uniform Matroids with Applications , 2014, ArXiv.

[4]  Craig A. Tovey,et al.  A simplified NP-complete satisfiability problem , 1984, Discret. Appl. Math..

[5]  Hong Shen,et al.  Improved approximation algorithms for computing $$k$$k disjoint paths subject to two constraints , 2015, J. Comb. Optim..

[6]  Fedor V. Fomin,et al.  Efficient Computation of Representative Sets with Applications in Parameterized and Exact Algorithms , 2013, SODA.

[7]  Ariel Orda,et al.  Efficient algorithms for computing disjoint QoS paths , 2004, IEEE INFOCOM 2004.

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

[9]  Peng Li,et al.  Deadlock-free buffer configuration for stream computing , 2017, Int. J. High Perform. Comput. Appl..

[10]  L. R. Ford,et al.  NETWORK FLOW THEORY , 1956 .

[11]  Chunming Qiao,et al.  On the complexity of and algorithms for finding the shortest path with a disjoint counterpart , 2006, TNET.

[12]  Hong Shen,et al.  On Finding Min-Min Disjoint Paths , 2012, Algorithmica.

[13]  Longkun Guo,et al.  Efficient approximation algorithms for computing k disjoint constrained shortest paths , 2016, J. Comb. Optim..

[14]  John E. Hopcroft,et al.  The Directed Subgraph Homeomorphism Problem , 1978, Theor. Comput. Sci..

[15]  David S. Johnson,et al.  Some simplified NP-complete problems , 1974, STOC '74.

[16]  Peng Li,et al.  Efficient Approximation Algorithms for Computing k Disjoint Restricted Shortest Paths , 2015, ArXiv.

[17]  Peng Li,et al.  Deadlock avoidance for streaming computations with filtering , 2010, SPAA '10.

[18]  Michal Pilipczuk,et al.  Parameterized Algorithms , 2015, Springer International Publishing.

[19]  David S. Johnson,et al.  Computers and Intractability: A Guide to the Theory of NP-Completeness , 1978 .