Skip to main content

Speeding Up Dynamic Programming with Representative Sets

An Experimental Evaluation of Algorithms for Steiner Tree on Tree Decompositions

  • Conference paper
Parameterized and Exact Computation (IPEC 2013)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 8246))

Included in the following conference series:

Abstract

Dynamic programming on tree decompositions is a frequently used approach to solve otherwise intractable problems on instances of small treewidth. In recent work by Bodlaender et al. [5], it was shown that for many connectivity problems, there exist algorithms that use time, linear in the number of vertices, and single exponential in the width of the tree decomposition that is used. The central idea is that it suffices to compute representative sets, and these can be computed efficiently with help of Gaussian elimination.

In this paper, we give an experimental evaluation of this technique for the Steiner Tree problem. A comparison of the classic dynamic programming algorithm and the improved dynamic programming algorithm that employs the table reduction shows that the new approach gives significant improvements on the running time of the algorithm and the size of the tables computed by the dynamic programming algorithm, and thus that the rank based approach from Bodlaender et al. [5] does not only give significant theoretical improvements but also is a viable approach in a practical setting, and showcases the potential of exploiting the idea of representative sets for speeding up dynamic programming algorithms.

The third author is supported by the NWO project ’Space and Time Efficient Structural Improvements of Dynamic Programming Algorithms’.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Aneja, Y.P.: An integer linear programming approach to the Steiner problem in graphs. Networks 10, 167–178 (1980)

    Article  MathSciNet  MATH  Google Scholar 

  2. Arnborg, S., Lagergren, J., Seese, D.: Easy problems for tree-decomposable graphs. Journal of Algorithms 12, 308–340 (1991)

    Article  MathSciNet  MATH  Google Scholar 

  3. Beasley, J.E.: An algorithm for the Steiner problem in graphs. Networks 14, 147–159 (1984)

    Article  MathSciNet  MATH  Google Scholar 

  4. Bodlaender, H.L.: Dynamic programming algorithms on graphs with bounded tree-width. In: Lepistö, T., Salomaa, A. (eds.) ICALP 1988. LNCS, vol. 317, pp. 105–119. Springer, Heidelberg (1988)

    Chapter  Google Scholar 

  5. Bodlaender, H.L., Cygan, M., Kratsch, S., Nederlof, J.: Deterministic single exponential time algorithms for connectivity problems parameterized by treewidth. In: Fomin, F.V., Freivalds, R., Kwiatkowska, M., Peleg, D. (eds.) ICALP 2013, Part I. LNCS, vol. 7965, pp. 196–207. Springer, Heidelberg (2013)

    Chapter  Google Scholar 

  6. Bodlaender, H.L., Koster, A.M.C.A.: Treewidth computations I. Upper bounds. Information and Computation 208, 259–275 (2010)

    Article  MathSciNet  MATH  Google Scholar 

  7. Borie, R.B., Parker, R.G., Tovey, C.A.: Automatic generation of linear-time algorithms from predicate calculus descriptions of problems on recursively constructed graph families. Algorithmica 7, 555–581 (1992)

    Article  MathSciNet  MATH  Google Scholar 

  8. Chimani, M., Mutzel, P., Zey, B.: Improved Steiner tree algorithms for bounded treewidth. Journal of Discrete Algorithms 16, 67–78 (2012)

    Article  MathSciNet  MATH  Google Scholar 

  9. Cook, W., Seymour, P.D.: Tour merging via branch-decomposition. INFORMS Journal on Computing 15(3), 233–248 (2003)

    Article  MathSciNet  MATH  Google Scholar 

  10. Cygan, M., Kratsch, S., Nederlof, J.: Fast Hamiltonicity checking via bases of perfect matchings. In: Proceedings of the 45th Annual Symposium on Theory of Computing, STOC 2013, pp. 301–310 (2013)

    Google Scholar 

  11. Cygan, M., Nederlof, J., Pilipczuk, M., Pilipczuk, M., van Rooij, J., Wojtaszczyk, J.O.: Solving connectivity problems parameterized by treewidth in single exponential time. In: Proceedings of the 52nd Annual Symposium on Foundations of Computer Science, FOCS 2011, pp. 150–159 (2011)

    Google Scholar 

  12. Duin, C.: Steiner Problems in Graphs. PhD thesis, University of Amsterdam, Amsterdam, the Netherlands (1993)

    Google Scholar 

  13. Fafianie, S., Bodlaender, H.L., Nederlof, J.: Speeding-up dynamic programming with representative sets — an experimental evaluation of algorithms for Steiner tree on tree decompositions. Report on arXiv 1305.7448 (2013)

    Google Scholar 

  14. Fomin, F.V., Lokshtanov, D., Saurabh, S.: Efficient computation of representative sets with applications in parameterized and exact algorithms. Report on arXiv 1304.4626 (2013)

    Google Scholar 

  15. Hanan, M.: On Steiner’s problem with rectilinear distance. SIAM J. Applied Math. 14, 255–265 (1966)

    Article  MathSciNet  MATH  Google Scholar 

  16. Hwang, F., Richards, D.S., Winter, P.: The Steiner Tree Problem. Annals of Discrete Mathematics, vol. 53. Elsevier (1992)

    Google Scholar 

  17. Karp, R.M.: Reducibility among combinatorial problems. In: Miller, R.E., Thatcher, J.W. (eds.) Complexity of Computer Computations, pp. 85–104. Plenum Press (1972)

    Google Scholar 

  18. Kloks, T.: Treewidth. LNCS, vol. 842. Springer, Heidelberg (1994)

    Book  MATH  Google Scholar 

  19. Koch, T., Martin, A., Voß, S.: Steinlib, an updated library on Steiner tree problems in graphs. Technical Report ZIB-Report 00-37, Konrad-Zuse Zentrum für Informationstechnik Berlin (2000), http://elib.zib.de/steinlib

  20. Korach, E., Solel, N.: Linear time algorithm for minimum weight Steiner tree in graphs with bounded treewidth. Technical Report 632, Technion, Haifa, Israel (1990)

    Google Scholar 

  21. Lovász, L.: Flats in matroids and geometric graphs. In: Combinatorial Surveys. Proceedings 6th Britisch Combinatorial Conference, pp. 45–86. Academic Press (1977)

    Google Scholar 

  22. Marx, D.: A parameterized view on matroid optimization problems. Theoretical Computer Science 410, 4471–4479 (2009)

    Article  MathSciNet  MATH  Google Scholar 

  23. Monien, B.: How to find long paths efficiently. Annals of Discrete Mathematics 25, 239–254 (1985)

    MathSciNet  Google Scholar 

  24. Robertson, N., Seymour, P.D.: Graph minors. II. Algorithmic aspects of tree-width. Journal of Algorithms 7, 309–322 (1986)

    Article  MathSciNet  MATH  Google Scholar 

  25. Telle, J., Proskurowski, A.: Efficient sets in partial k-trees. Discrete Applied Mathematics 44, 109–117 (1993)

    Article  MathSciNet  MATH  Google Scholar 

  26. Treewidthlib (2004), http://www.cs.uu.nl/people/hansb/treewidthlib

  27. Wald, J.A., Colbourn, C.J.: Steiner trees, partial 2-trees, and minimum IFI networks. Networks 13, 159–167 (1983)

    Article  MathSciNet  MATH  Google Scholar 

  28. Warme, D., Winter, P., Zachariasen, M.: GeoSteiner, software for computing Steiner trees, http://www.diku.dk/hjemmesider/ansatte/martinz/geosteiner/

  29. Wei-Kleiner, F.: Tree decomposition based Steiner tree computation over large graphs. Report on arXiv 1305.5757 (2013)

    Google Scholar 

  30. Winter, P.: Steiner problem in networks: A survey. Networks 17, 129–167 (1987)

    Article  MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2013 Springer International Publishing Switzerland

About this paper

Cite this paper

Fafianie, S., Bodlaender, H.L., Nederlof, J. (2013). Speeding Up Dynamic Programming with Representative Sets. In: Gutin, G., Szeider, S. (eds) Parameterized and Exact Computation. IPEC 2013. Lecture Notes in Computer Science, vol 8246. Springer, Cham. https://doi.org/10.1007/978-3-319-03898-8_27

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-03898-8_27

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-03897-1

  • Online ISBN: 978-3-319-03898-8

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics