Skip to main content

A hard problem that is almost always easy

  • Session 7A
  • Conference paper
  • First Online:
Algorithms and Computations (ISAAC 1995)

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

Included in the following conference series:

Abstract

NP-completeness is, in a well-defined sense, a worst case notion. Thus, 3-colorability of a graph, for a randomly generated graph, can be determined in constant expected time even though the general problem is NP-complete. The reason for this is that some hard problems exhibit a structure where only a small (perhaps exponentially small) fraction of all possible instances is intractable, while the remaining large fraction has a polynomial time solution algorithm. We add a new problem to the list of NP-complete problems that are solvable in average polynomial time.

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

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  • Aho, A.V. and Hopcroft, J.E. and Ullman, J.D. (1974), The Design and Analysis of Computer Algorithms. Addison-Wesley Pub. Co., Reading, Mass.

    Google Scholar 

  • Angluin, D. and Valiant, L.G. (1977), “Fast Probabilistic Algorithms for Hamiltonian Circuits and Matchings”, Proceedings 9th Annual ACM Symposium on Theory of Computing, pp. 30–41.

    Google Scholar 

  • Bradley, G.H. (1970), “Algorithm and Bound for the Greatest Common Divisor of n Integers”, Communications of the ACM, 13, 433–436.

    Google Scholar 

  • Chvátal, V. (1977), “Determining the Stability Number of a Graph”, SIAM J. on Computing, 6, 643–662.

    Google Scholar 

  • Chvátal, V. (1980), “Hard Knapsack Problems”, Operations Research, 28, 1402–1411.

    Google Scholar 

  • Garey, M.R. and Johnson, D.S. (1979), Computers and Intractability: A Guide to the Theory of NP-completeness. W.H. Freeman, San Francisco.

    Google Scholar 

  • Havas, G. and Majewski, B.S. (1995), “Extended Gcd Calculation”, Research Report TR0325, The University of Queensland, Brisbane.

    Google Scholar 

  • Johnson, D.S. (1984), “The NP-Completeness Column: An Ongoing Guide”, Journal of Algorithms, 5, 284–299.

    Google Scholar 

  • Karp, R.M. (1975), “On the Complexity of Combinatorial Problems”, Networks, 5, 45–68.

    Google Scholar 

  • Knuth, D.E. (1973), The Art of Computer Programming, Vol. 2: Seminumerical Algorithms (2nd edition). Addison-Wesley, Reading, Mass.

    Google Scholar 

  • Levin, L. (1986), “Average Case Complete Problems”, SIAM J. on Computing, 15, 285–286.

    Google Scholar 

  • Majewski, B.S. and Havas, G. (1994), “The Complexity of Greatest Common Divisor Computations”: Algorithmic Number Theory pp. 184–193. Springer-Verlag.

    Google Scholar 

  • McDiarmid, C.J.H. (1979), “Determining the Chromatic Number of a Graph”, SIAM J. on Computing, 8, 1–14.

    Google Scholar 

  • Pichai, V. and Sezer, M.E. and Šiljak, D.D. (1984), “Reply to “Input-output Decomposition of Dynamic Systems is NP-complete””, IEEE Transactions on Automatic Control, 29(9), 864.

    Google Scholar 

  • Tarjan, R.E. (1984), “Input-output Decomposition of Dynamic Systems is NP-complete”, IEEE Transactions on Automatic Control, 29(9), 863–864.

    Google Scholar 

  • Wilf, H.S. (1984), “An O(1) Expected Time Graph Coloring Algorithm”, Information Processing Letters, 18, 119–122.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

John Staples Peter Eades Naoki Katoh Alistair Moffat

Rights and permissions

Reprints and permissions

Copyright information

© 1995 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Havas, G., Majewski, B.S. (1995). A hard problem that is almost always easy. In: Staples, J., Eades, P., Katoh, N., Moffat, A. (eds) Algorithms and Computations. ISAAC 1995. Lecture Notes in Computer Science, vol 1004. Springer, Berlin, Heidelberg. https://doi.org/10.1007/BFb0015426

Download citation

  • DOI: https://doi.org/10.1007/BFb0015426

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-60573-7

  • Online ISBN: 978-3-540-47766-2

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics