Skip to main content

Counting Weighted Spanning Trees to Solve Constrained Minimum Spanning Tree Problems

  • Conference paper
  • First Online:
Integration of AI and OR Techniques in Constraint Programming (CPAIOR 2017)

Abstract

Building on previous work about counting the number of spanning trees of an unweighted graph, we consider the case of edge-weighted graphs. We present a generalization of the former result to compute in pseudo-polynomial time the exact number of spanning trees of any given weight, and in particular the number of minimum spanning trees. We derive two ways to compute solution densities, one of them exhibiting a polynomial time complexity. These solution densities of individual edges of the graph can be used to sample weighted spanning trees uniformly at random and, in the context of constraint programming, to achieve domain consistency on the binary edge variables and, more importantly, to guide search through counting-based branching heuristics. We exemplify our contribution using constrained minimum spanning tree problems.

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 EPUB and 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

Notes

  1. 1.

    We generalize slightly their definition in order to include multigraphs, which may occur when we contract edges in the context of cp search.

References

  1. Achuthan, N.R., Caccetta, L., Caccetta, P., Geelen, J.F.: Algorithms for the minimum weight spanning tree with bounded diameter problem. Optim. Tech. Appl. 1(2), 297–304 (1992)

    MathSciNet  MATH  Google Scholar 

  2. Beldiceanu, N., Flener, P., Lorca, X.: The tree constraint. In: Barták, R., Milano, M. (eds.) CPAIOR 2005. LNCS, vol. 3524, pp. 64–78. Springer, Heidelberg (2005). doi:10.1007/11493853_7

    Chapter  Google Scholar 

  3. Brockbank, S., Pesant, G., Rousseau, L.-M.: Counting spanning trees to guide search in constrained spanning tree problems. In: Schulte, C. (ed.) CP 2013. LNCS, vol. 8124, pp. 175–183. Springer, Heidelberg (2013). doi:10.1007/978-3-642-40627-0_16

    Chapter  Google Scholar 

  4. Broder, A.Z., Mayr, E.W.: Counting minimum weight spanning trees. J. Algorithms 24(1), 171–176 (1997)

    Article  MathSciNet  MATH  Google Scholar 

  5. de Uña, D., Gange, G., Schachte, P., Stuckey, P.J.: Weighted spanning tree constraint with explanations. In: Quimper, C.-G. (ed.) CPAIOR 2016. LNCS, vol. 9676, pp. 98–107. Springer, Cham (2016). doi:10.1007/978-3-319-33954-2_8

    Google Scholar 

  6. Dooms, G., Katriel, I.: The Minimum Spanning Tree constraint. In: Benhamou, F. (ed.) CP 2006. LNCS, vol. 4204, pp. 152–166. Springer, Heidelberg (2006). doi:10.1007/11889205_13

    Chapter  Google Scholar 

  7. Dooms, G., Katriel, I.: The “Not-Too-Heavy Spanning Tree” constraint. In: Hentenryck, P., Wolsey, L. (eds.) CPAIOR 2007. LNCS, vol. 4510, pp. 59–70. Springer, Heidelberg (2007). doi:10.1007/978-3-540-72397-4_5

    Chapter  Google Scholar 

  8. Hromčík, M., Šebek, M.: New algorithm for polynomial matrix determinant based on FFT. In: Proceedings of the 5th European Control Conference (ECC99), September 1–3, Karlsruhe, Germany, (1999)

    Google Scholar 

  9. Subhash, S.C., Ho, C.A.: Degree-constrained minimum spanning tree. Comput. Oper. Res. 7(4), 239–249 (1980)

    Article  Google Scholar 

  10. Pesant, G.: Achieving domain consistency and counting solutions for dispersion constraints. INFORMS J. Comput. 27(4), 690–703 (2015)

    Article  MathSciNet  MATH  Google Scholar 

  11. Pesant, G.: Counting-based search for constraint optimization problems. In: Schuurmans, D., Wellman, M.P. (eds.) AAAI, pp. 3441–3448. AAAI Press, Palo Alto (2016)

    Google Scholar 

  12. Pesant, G., Quimper, C.-G., Zanarini, A.: Counting-based search: branching heuristics for constraint satisfaction problems. J. Artif. Intell. Res. 43, 173–210 (2012)

    MathSciNet  MATH  Google Scholar 

  13. Régin, J.-C.: Simpler and incremental consistency checking and arc consistency filtering algorithms for the weighted spanning tree constraint. In: Perron, L., Trick, M.A. (eds.) CPAIOR 2008. LNCS, vol. 5015, pp. 233–247. Springer, Heidelberg (2008). doi:10.1007/978-3-540-68155-7_19

    Chapter  Google Scholar 

  14. Régin, J.-C., Rousseau, L.-M., Rueher, M., Hoeve, W.-J.: The weighted spanning tree constraint revisited. In: Lodi, A., Milano, M., Toth, P. (eds.) CPAIOR 2010. LNCS, vol. 6140, pp. 287–291. Springer, Heidelberg (2010). doi:10.1007/978-3-642-13520-0_31

    Chapter  Google Scholar 

  15. Tutte, W.T.: Graph Theory. Encyclopedia of Mathematics and Its Applications. Cambridge University Press, New york (2001)

    MATH  Google Scholar 

  16. Zanarini, A., Pesant, G.: Solution counting algorithms for constraint-centered search heuristics. In: Bessière, C. (ed.) CP 2007. LNCS, vol. 4741, pp. 743–757. Springer, Heidelberg (2007). doi:10.1007/978-3-540-74970-7_52

    Chapter  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Gilles Pesant .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2017 Springer International Publishing AG

About this paper

Cite this paper

Delaite, A., Pesant, G. (2017). Counting Weighted Spanning Trees to Solve Constrained Minimum Spanning Tree Problems. In: Salvagnin, D., Lombardi, M. (eds) Integration of AI and OR Techniques in Constraint Programming. CPAIOR 2017. Lecture Notes in Computer Science(), vol 10335. Springer, Cham. https://doi.org/10.1007/978-3-319-59776-8_14

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-59776-8_14

  • Published:

  • Publisher Name: Springer, Cham

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

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

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics