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.
References
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.
S. Arora and S. Safra. Approximating Clique is NP-complete. In Proc. 33rd FOCS, pages 2–13, 1992.
M. Bellare. Interactive Proofs and Approximation. IBM Research Report RC 17969, April 1992.
B. Bollobas. Random Graphs. Academic Press, 1985.
A. Broder, A.M. Frieze and E. Shamir. Finding hidden Hamiltonian cycles. In Proc. 23rd STOC, pages 182–89, 1991.
R. B. Boppana and M. M. Halldorsson. Approximating maximum independent sets by excluding subgraphs. In Proc. 2nd SWAT, pages 13–25, 1990.
P. Berman and G. Schnitger. On the Complexity of Approximating the Independent Set Problem. Information and Computation, vol. 96, pages 77–94, 1992.
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.
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.
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.
Michael R. Garey and David S. Johnson. Computers and Intractability: A Guide to the Theory of NP-Completeness. W. H. Freeman, 1979.
B. Monien. How to find long paths efficiently. Annals of Discrete Mathematics, vol. 25, pages 239–254, 1984.
R. Motwani. Lecture Notes on Approximation Algorithms. Report No. STAN-CS-92-1435, Department of Computer Science, Stanford University (1992).
C. H. Papadimitriou and M. Yannakakis. Optimization, Approximation, and Complexity Classes. In Proc. 20th STOC, pages 229–234, 1988.
C. H. Papadimitriou and M. Yannakakis. The traveling salesman problem with distances one and two, Mathematics of Operations Research, to appear.
Author information
Authors and Affiliations
Editor information
Rights 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