IDEAS home Printed from https://ideas.repec.org/a/spr/jcomop/vyid10.1007_s10878-018-00371-0.html
   My bibliography  Save this article

On the complexity of and algorithms for detecting k-length negative cost cycles

Author

Listed:
  • Longkun Guo

    (Fuzhou University)

  • Peng Li

    (Amazon.com Inc.)

Abstract

Let G be a directed graph with an integral cost on each edge. For a given positive integer k, the k-length negative cost cycle (kLNCC) problem is to determine whether G contains a negative cost cycle with at least k edges. Because of its applications in deadlock avoidance in synchronized streaming computing network, kLNCC was first studied in paper (Li et al. in Proceedings of the 22nd ACM symposium on parallelism in algorithms and architectures, pp 243–252, 2010), but remains open whether the problem is $${\mathcal{NP}}$$ NP -hard. In this paper, we first show that an even harder problem, the fixed-point k-length negative cost cycle trail (FPkLNCCT) problem that is to determine whether G contains a negative closed trail enrouting a given vertex (as the fixed point) and containing only cycles with at least k edges, is $${\mathcal{NP}}$$ NP -complete in a multigraph even when $$k=3$$ k = 3 by reducing from the 3SAT problem. Then, we prove the $${\mathcal{NP}}$$ NP -completeness of kLNCC by giving a more sophisticated reduction from the 3 occurrence 3-satisfiability (3O3SAT) problem which is known $${\mathcal{NP}}$$ NP -complete. The complexity result for kLNCC is interesting since polynomial-time algorithms are known for both 2LNCC, which is actually equivalent to negative cycle detection, and the k-cycle problem, which is to determine whether G contains a cycle with of length at least k. Thus, this paper closes the open problem proposed by Li et al. (2010) whether kLNCC admits polynomial-time algorithms. Last but not the least, we present for 3LNCC a randomized algorithm that, if G contains a negative cycle of length at most L, can find a solution with a probability $$1-\epsilon $$ 1 - ϵ for any $$\epsilon \in (0,\,1]$$ ϵ ∈ ( 0 , 1 ] within runtime $$O(2^{\min \{L,\,h\}}mn\left\lceil \ln \frac{1}{\epsilon }\right\rceil )$$ O ( 2 min { L , h } m n ln 1 ϵ ) , where m, n and h are respectively the numbers of edges, vertices and length 2 negative cost cycles in G.

Suggested Citation

  • Longkun Guo & Peng Li, 0. "On the complexity of and algorithms for detecting k-length negative cost cycles," Journal of Combinatorial Optimization, Springer, vol. 0, pages 1-13.
  • Handle: RePEc:spr:jcomop:v::y::i::d:10.1007_s10878-018-00371-0
    DOI: 10.1007/s10878-018-00371-0
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1007/s10878-018-00371-0
    File Function: Abstract
    Download Restriction: Access to the full text of the articles in this series is restricted.

    File URL: https://libkey.io/10.1007/s10878-018-00371-0?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    References listed on IDEAS

    as
    1. Longkun Guo, 2016. "Efficient approximation algorithms for computing k disjoint constrained shortest paths," Journal of Combinatorial Optimization, Springer, vol. 32(1), pages 144-158, July.
    2. Longkun Guo & Hong Shen & Kewen Liao, 2015. "Improved approximation algorithms for computing $$k$$ k disjoint paths subject to two constraints," Journal of Combinatorial Optimization, Springer, vol. 29(1), pages 153-164, January.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Longkun Guo & Peng Li, 2021. "On the complexity of and algorithms for detecting k-length negative cost cycles," Journal of Combinatorial Optimization, Springer, vol. 42(3), pages 396-408, October.
    2. Mohammad Ali Raayatpanah & Salman Khodayifar & Thomas Weise & Panos Pardalos, 2022. "A novel approach to subgraph selection with multiple weights on arcs," Journal of Combinatorial Optimization, Springer, vol. 44(1), pages 242-268, August.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:spr:jcomop:v::y::i::d:10.1007_s10878-018-00371-0. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.