Skip to main content

On approximating the longest path in a graph

Preliminary version

  • Conference paper
  • First Online:

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 709))

Abstract

We consider the problem of approximating the longest path in undirected graphs and present both positive and negative results. A simple greedy algorithm is shown to find long paths in dense graphs. We also present an algorithm for finding paths of a logarithmic length in weakly Hamiltonian graphs, and this result is the best possible. For sparse random graphs, we show that a relatively long path can be obtained. To explain the difficulty of obtaining better approximations, we provide some strong hardness results. For any ε<1, the problem of finding a path of length n−n ε in an n-vertex Hamiltonian graph is shown to be NP-hard. We also show that no polynomial time algorithm can find a constant factor approximation to the longest path problem unless P=NP. Finally, it is shown that if any polynomial time algorithm can approximate the longest path to a ratio of 2O(log1−ε n), for any ε>0, then NP has a quasi-polynomial deterministic time simulation.

Supported by NSF Grant CCR-9010517, and grants from Mitsubishi and OTL.

Supported an NSF Graduate Fellowship.

Supported by a grant from Toshiba Corporation.

This is a preview of subscription content, log in via an institution.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. S. Arora, C. Lund, R. Motwani, M. Sudan and M. Szegedy. Proof Verification and Hardness of Approximation Problems. In Proc. 33rd FOCS, pages 14–23, 1992.

    Google Scholar 

  2. S. Arora and S. Safra. Approximating Clique is NP-complete. In Proc. 33rd FOCS, pages 2–13, 1992.

    Google Scholar 

  3. M. Bellare. Interactive Proofs and Approximation. IBM Research Report RC 17969, April 1992.

    Google Scholar 

  4. B. Bollobas. Random Graphs. Academic Press, 1985.

    Google Scholar 

  5. A. Broder, A.M. Frieze and E. Shamir. Finding hidden Hamiltonian cycles. In Proc. 23rd STOC, pages 182–89, 1991.

    Google Scholar 

  6. R. B. Boppana and M. M. Halldorsson. Approximating maximum independent sets by excluding subgraphs. In Proc. 2nd SWAT, pages 13–25, 1990.

    Google Scholar 

  7. P. Berman and G. Schnitger. On the Complexity of Approximating the Independent Set Problem. Information and Computation, vol. 96, pages 77–94, 1992.

    Article  Google Scholar 

  8. V. Chvatal. Hamiltonian cycles, in The Traveling Salesman Problem: A Guided Tour of Combinatorial Optimization, (ed: E.L. Lawler et al), pages 402–430, 1985.

    Google Scholar 

  9. U. Feige, S. Goldwasser, L. Lovász, S. Safra, and M. Szegedy. Approximating clique is almost NP-complete. In Proc. 32nd FOCS, pages 2–12, 1991.

    Google Scholar 

  10. M. Furer and B. Raghavachari. Approximating the Minimum Degree Spanning Tree to within One from the Optimal Degree. In Proc. 3rd SODA, pages 317–324, 1992.

    Google Scholar 

  11. Michael R. Garey and David S. Johnson. Computers and Intractability: A Guide to the Theory of NP-Completeness. W. H. Freeman, 1979.

    Google Scholar 

  12. B. Monien. How to find long paths efficiently. Annals of Discrete Mathematics, vol. 25, pages 239–254, 1984.

    Google Scholar 

  13. R. Motwani. Lecture Notes on Approximation Algorithms. Report No. STAN-CS-92-1435, Department of Computer Science, Stanford University (1992).

    Google Scholar 

  14. C. H. Papadimitriou and M. Yannakakis. Optimization, Approximation, and Complexity Classes. In Proc. 20th STOC, pages 229–234, 1988.

    Google Scholar 

  15. C. H. Papadimitriou and M. Yannakakis. The traveling salesman problem with distances one and two, Mathematics of Operations Research, to appear.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Frank Dehne Jörg-Rüdiger Sack Nicola Santoro Sue Whitesides

Rights and permissions

Reprints and permissions

Copyright information

© 1993 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Karger, D., Motwani, R., Ramkumar, G.D.S. (1993). On approximating the longest path in a graph. In: Dehne, F., Sack, JR., Santoro, N., Whitesides, S. (eds) Algorithms and Data Structures. WADS 1993. Lecture Notes in Computer Science, vol 709. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-57155-8_267

Download citation

  • DOI: https://doi.org/10.1007/3-540-57155-8_267

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-57155-1

  • Online ISBN: 978-3-540-47918-5

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics