Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/2488608.2488646acmconferencesArticle/Chapter ViewAbstractPublication PagesstocConference Proceedingsconference-collections
research-article

Fast hamiltonicity checking via bases of perfect matchings

Published: 01 June 2013 Publication History

Abstract

For an even integer t ≥ 2, the Matching Connectivity matrix Ht is a matrix that has rows and columns both labeled by all perfect matchings of the complete graph Kt on t vertices; an entry Ht[M1,M2] is 1 if M1∪ M2 is a Hamiltonian cycle and 0 otherwise. Motivated by the computational study of the Hamiltonicity problem, we present three results on the structure of Ht: We first show that Ht has rank exactly 2t/2-1 over GF(2) via an appropriate factorization that explicitly provides families of matchings Xt forming bases for Ht. Second, we show how to quickly change representation between such bases. Third, we notice that the sets of matchings Xt induce permutation matrices within Ht. We use the factorization to derive an 1.888n nO(1) time Monte Carlo algorithm that solves the Hamiltonicity problem in directed bipartite graphs. Our algorithm as well counts the number of Hamiltonian cycles modulo two in directed bipartite or undirected graphs in the same time bound. Moreover, we use the fast basis change algorithm from the second result to present a Monte Carlo algorithm that given an undirected graph on n vertices along with a path decomposition of width at most pw decides Hamiltonicity in (2+√2)pw nO(1) time. Finally, we use the third result to show that for every ε >0 this cannot be improved to (2+√2-ε)pwnO(1) time unless the Strong Exponential Time Hypothesis fails, i.e., a faster algorithm for this problem would imply the breakthrough result of an O((2-ε')n) time algorithm for CNF-Sat.

References

[1]
S. Arora. Polynomial time approximation schemes for euclidean traveling salesman and other geometric problems. J. ACM, 45(5):753--782, Sept. 1998.
[2]
S. Arora and B. Barak. Computational complexity: a modern approach. 2009.
[3]
E. T. Bax. Inclusion and exclusion algorithm for the hamiltonian path problem. Information Processing Letters, 47(4):203 -- 207, 1993.
[4]
R. Bellman. Combinatorial processes and dynamic programming. 1958.
[5]
R. Bellman. Dynamic programming treatment of the travelling salesman problem. J. ACM, 9(1):61--63, 1962.
[6]
A. Björklund. Determinant sums for undirected hamiltonicity. In FOCS, pages 173--182, 2010.
[7]
A. Björklund, T. Husfeldt, P. Kaski, and M. Koivisto. Trimmed Möbius inversion and graphs of bounded degree. Theory Comput. Syst., 47(3):637--654, 2010.
[8]
H. Bodlaender. Treewidth: Structure and algorithms. In SIROCCO, volume 4474, pages 11--25. 2007.
[9]
H. L. Bodlaender, M. Cygan, S. Kratsch, and J. Nederlof. Solving weighted and counting variants of connectivity problems parameterized by treewidth deterministically in single exponential time. CoRR, abs/1211.1505, 2012.
[10]
H. Broersma, F. V. Fomin, P. van 't Hof, and D. Paulusma. Fast exact algorithms for hamiltonicity in claw-free graphs. In WG, pages 44--53, 2009.
[11]
N. Christofides. Worst-case analysis of a new heuristic for the travelling salesman problem. Technical Report 388, Graduate School of Industrial Administration, Carnegie Mellon University, 1976.
[12]
B. Courcelle. The monadic second-order logic of graphs. i. recognizable sets of finite graphs. Inf. Comput., 85(1):12--75, 1990.
[13]
M. Cygan, H. Dell, D. Lokshtanov, D. Marx, J. Nederlof, Y. Okamoto, R. Paturi, S. Saurabh, and M. Wahlström. On problems as hard as CNF-SAT. In CCC, pages 74--84, 2012.
[14]
M. Cygan, J. Nederlof, M. Pilipczuk, M. Pilipczuk, J. M. M. van Rooij, and J. O. Wojtaszczyk. Solving connectivity problems parameterized by treewidth in single exponential time. In FOCS, pages 150--159, 2011.
[15]
F. Dorn, F. V. Fomin, and D. M. Thilikos. Catalan structures and dynamic programming in h-minor-free graphs. J.\ Comput.\ Syst.\ Sci., 78(5):1606 -- 1622, 2012.
[16]
S. E. Dreyfus and R. A. Wagner. The Steiner problem in graphs. Networks, 1:195--207, 1972.
[17]
D. Eppstein. The traveling salesman problem for cubic graphs. J. Graph Algorithms Appl., 11(1):61--81, 2007.
[18]
F. V. Fomin, S. Gaspers, S. Saurabh, and A. A. Stepanov. On two techniques of combining branching and treewidth. Algorithmica, 54(2):181--207, 2009.
[19]
F. V. Fomin and D. Kratsch. Exact Exponential Algorithms. Springer-Verlag New York, Inc., New York, NY, USA, 1st edition, 2010.
[20]
H. Gebauer. On the number of Hamilton cycles in bounded degree graphs. In ANALCO, pages 241--248, 2008.
[21]
M. Göös and J. Suomela. Locally checkable proofs. In PODC, pages 159--168, 2011.
[22]
M. Held and R. M. Karp. A dynamic programming approach to sequencing problems. In Proceedings of the 1961 16th ACM national meeting, pages 71.201--71.204. ACM, 1961.
[23]
R. Impagliazzo, R. Paturi, and F. Zane. Which problems have strongly exponential complexity? J. Comput. Syst. Sci., 63(4):512--530, 2001.
[24]
K. Iwama and T. Nakashima. An improved exact algorithm for cubic graph TSP. In COCOON, pages 108--117, 2007.
[25]
R. M. Karp. Dynamic programming meets the principle of inclusion and exclusion. Oper. Res. Lett., 1:49--51, 1982.
[26]
J. Kleinberg and É. Tardos. Algorithm Design. 2005.
[27]
S. Kohn, A. Gottlieb, and M. Kohn. A generating function approach to the traveling salesman problem. In ACM '77: Proceedings of the 1977 annual conference, pages 294--300. ACM, 1977.
[28]
S. Lin and B. W. Kernighan. An effective heuristic algorithm for the traveling-salesman problem. Operations Research, 21(2):pp. 498--516, 1973.
[29]
D. Lokshtanov, D. Marx, and S. Saurabh. Known algorithms on graphs of bounded treewidth are probably optimal. In SODA, pages 777--789, 2011.
[30]
K. Mulmuley, U. V. Vazirani, and V. V. Vazirani. Matching is as easy as matrix inversion. Combinatorica, 7(1):105--113, 1987.
[31]
R. Niedermeier. Invitation to Fixed-Parameter Algorithms. 2002.
[32]
M. Patrascu and R. Williams. On the possibility of faster sat algorithms. In SODA, pages 1065--1075, 2010.
[33]
R. Raz and B. Spieker. On the "log rank"-conjecture in communication complexity. Combinatorica, 15(4):567--588, 1995.
[34]
N. Robertson and P. D. Seymour. Graph minors. III. Planar tree-width. J. Comb. Theory, 36(1):49--64, 1984.
[35]
G. J. Woeginger. Exact algorithms for NP-hard problems: A survey. In Combinatorial Optimization, pages 185--208, 2001.

Cited By

View all
  • (2024)Approximate and Randomized Algorithms for Computing a Second Hamiltonian CycleAlgorithmica10.1007/s00453-024-01238-z86:9(2766-2785)Online publication date: 12-Jun-2024
  • (2022)Solving Connectivity Problems Parameterized by Treewidth in Single Exponential TimeACM Transactions on Algorithms10.1145/350670718:2(1-31)Online publication date: 4-Mar-2022
  • (2022)Fast Exact Algorithms for Survivable Network Design with Uniform RequirementsAlgorithmica10.1007/s00453-022-00959-384:9(2622-2641)Online publication date: 20-May-2022
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
STOC '13: Proceedings of the forty-fifth annual ACM symposium on Theory of Computing
June 2013
998 pages
ISBN:9781450320290
DOI:10.1145/2488608
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 01 June 2013

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. dynamic programming
  2. hamiltonicity
  3. matrix rank
  4. pathwidth
  5. perfect matchings
  6. randomized algorithm

Qualifiers

  • Research-article

Conference

STOC'13
Sponsor:
STOC'13: Symposium on Theory of Computing
June 1 - 4, 2013
California, Palo Alto, USA

Acceptance Rates

STOC '13 Paper Acceptance Rate 100 of 360 submissions, 28%;
Overall Acceptance Rate 1,469 of 4,586 submissions, 32%

Upcoming Conference

STOC '25
57th Annual ACM Symposium on Theory of Computing (STOC 2025)
June 23 - 27, 2025
Prague , Czech Republic

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)3
  • Downloads (Last 6 weeks)0
Reflects downloads up to 06 Jan 2025

Other Metrics

Citations

Cited By

View all
  • (2024)Approximate and Randomized Algorithms for Computing a Second Hamiltonian CycleAlgorithmica10.1007/s00453-024-01238-z86:9(2766-2785)Online publication date: 12-Jun-2024
  • (2022)Solving Connectivity Problems Parameterized by Treewidth in Single Exponential TimeACM Transactions on Algorithms10.1145/350670718:2(1-31)Online publication date: 4-Mar-2022
  • (2022)Fast Exact Algorithms for Survivable Network Design with Uniform RequirementsAlgorithmica10.1007/s00453-022-00959-384:9(2622-2641)Online publication date: 20-May-2022
  • (2021)Subexponential Parameterized Algorithms and Kernelization on Almost Chordal GraphsAlgorithmica10.1007/s00453-021-00822-xOnline publication date: 11-Apr-2021
  • (2021)A Generic Convolution Algorithm for Join Operations on Tree DecompositionsComputer Science – Theory and Applications10.1007/978-3-030-79416-3_27(435-459)Online publication date: 17-Jun-2021
  • (2020)Fast Algorithms for Join Operations on Tree DecompositionsTreewidth, Kernels, and Algorithms10.1007/978-3-030-42071-0_18(262-297)Online publication date: 20-Apr-2020
  • (2020)Algorithms for NP-Hard Problems via Rank-Related Parameters of MatricesTreewidth, Kernels, and Algorithms10.1007/978-3-030-42071-0_11(145-164)Online publication date: 20-Apr-2020
  • (2019)Clifford Algebras Meet Tree DecompositionsAlgorithmica10.1007/s00453-018-0489-381:2(497-518)Online publication date: 1-Feb-2019
  • (2019)Edge Bipartization Faster than $$2^k$$2kAlgorithmica10.1007/s00453-017-0319-z81:3(917-966)Online publication date: 1-Mar-2019
  • (2018)Parameterized algorithms for survivable network design with uniform demandsProceedings of the Twenty-Ninth Annual ACM-SIAM Symposium on Discrete Algorithms10.5555/3174304.3175484(2838-2850)Online publication date: 7-Jan-2018
  • Show More Cited By

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media