Skip to main content

Using Dominators for Solving Constrained Path Problems

  • Conference paper
Book cover Practical Aspects of Declarative Languages (PADL 2006)

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 3819))

Included in the following conference series:

Abstract

Constrained path problems have to do with finding paths in graphs subject to constraints. We present a constraint programming approach for solving the Ordered disjoint-paths problem (ODP), i.e., the Disjoint-paths problem where the pairs are associated with ordering constraints. In our approach, we reduce ODP to the Ordered simple path with mandatory nodes problem (OSPMN), i.e., the problem of finding a simple path containing a set of mandatory nodes in a given order. The reduction of the problem is motivated by the fact that we have an appropriate way of dealing with OSPMN based on DomReachability, a propagator that implements a generalized reachability constraint on a directed graph based on the concept of graph variables.

The DomReachability constraint has three arguments: (1) a flow graph, i.e., a directed graph with a source node; (2) the dominance relation graph on nodes and edges of the flow graph; and (3) the transitive closure of the flow graph.

Our experimental evaluation of DomReachability shows that it provides strong pruning, obtaining solutions with very little search. Furthermore, we show that DomReachability is also useful for defining a good labeling strategy. These experimental results give evidence that DomReachability is a useful primitive for solving constrained path problems over directed graphs.

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. Aho, A.V., Ullman, J.D.: Principles of Compiler Design. Addison-Wesley, Reading (1977)

    Google Scholar 

  2. Beldiceanu, N., Contjean, E.: Introducing global constraints in CHIP. Mathematical and Computer Modelling 12, 97–123 (1994)

    Article  Google Scholar 

  3. Bourreau, E.: Traitement de contraintes sur les graphes en programmation par contraintes. Doctoral dissertation, Université Paris, Paris, France (1999)

    Google Scholar 

  4. Cambazard, H., Bourreau, E.: Conception d’une contrainte globale de chemin. In: 10e Journées nationales sur la résolution pratique de problèmes NP-complets (JNPC 2004), Angers, France, pp. 107–121 (June 2004)

    Google Scholar 

  5. Caseau, Y., Laburthe, F.: Solving small TSPs with constraints. In: International Conference on Logic Programming, pp. 316–330 (1997)

    Google Scholar 

  6. Cormen, T., Leiserson, C., Rivest, R.: Introduction to Algorithms. The MIT Press, Cambridge (1990)

    MATH  Google Scholar 

  7. Dooms, G., Deville, Y., Dupont, P.: Constrained path finding in biochemical networks. In: 5èmes Journées Ouvertes Biologie Informatique Mathématiques (2004)

    Google Scholar 

  8. Dooms, G., Deville, Y., Dupont, P.: CP(Graph):introducing a graph computation domain in constraint programming. In: CP 2005 Proceedings (2005)

    Google Scholar 

  9. Demetrescu, C., Italiano, G.F.: Fully dynamic transitive closure: Breaking through the O(n 2) barrier. In: IEEE Symposium on Foundations of Computer Science, pp. 381–389 (2000)

    Google Scholar 

  10. A disjoint-paths problem solved with Reachability. Available at, http://www.info.ucl.ac.be/~luque/PADL06/DPcase.ps

  11. Focacci, F., Lodi, A., Milano, M.: Solving tsp with time windows with constraints. In: CLP 1999 International Conference on Logic Programming Proceedings (1999)

    Google Scholar 

  12. Garey, M., Johnson, D.: Computers and Intractability: A Guide to the The Theory of NP-Completeness. W. H. Freeman and Company, New York (1979)

    MATH  Google Scholar 

  13. Lengauer, T., Tarjan, R.: A fast algorithm for finding dominators in a flowgraph. ACM Transactions on Programming Languages and Systems 1(1), 121–141 (1979)

    Article  MATH  Google Scholar 

  14. Consortium, M.: The Mozart Programming System, version 1.3.0 (2004), Available at, http://www.mozart-oz.org/

  15. Müller, T.: Constraint Propagation in Mozart. Doctoral dissertation, Universität des Saarlandes, Naturwissenschaftlich-Technische Fakultät I, Fachrichtung Informatik, Saarbrücken, Germany (2001)

    Google Scholar 

  16. Pesant, G., Gendreau, M., Potvin, J., Rousseau, J.: An exact constraint logic programming algorithm for the travelling salesman with time windows (1996)

    Google Scholar 

  17. Quesada, L., van Roy, P., Deville, Y.: Reachability: a constrained path propagator implemented as a multi-agent system. In: CLEI 2005 Proceedings (2005)

    Google Scholar 

  18. Quesada, L., van Roy, P., Deville, Y.: The reachability propagator. Research Report INFO-2005-07, Université catholique de Louvain, Louvain-la-Neuve, Belgium (2005)

    Google Scholar 

  19. Régin, J.C.: A filtering algorithm for constraints of difference in csps. In: Proceedings of the Twelfth National Conference on Artificial Intelligence, pp. 362–367 (1994)

    Google Scholar 

  20. Schulte, C.: Programming Constraint Services. Doctoral dissertation, Universität des Saarlandes, Naturwissenschaftlich-Technische Fakultät I, Fachrichtung Informatik, Saarbrücken, Germany (2000)

    Google Scholar 

  21. Sellmann, M.: Reduction Techniques in Constraint Programming and Combinatorial Optimization. Doctoral dissertation, University of Paderborn, Paderborn, Germany (2002)

    Google Scholar 

  22. Sreedhar, V.C., Gao, G.R., Lee, Y.-F.: Incremental computation of dominator trees. ACM Transactions on Programming Languages and Systems 19(2), 239–252 (1997)

    Article  Google Scholar 

  23. Shiloach, Y., Perl, Y.: Finding two disjoint paths between two pairs of vertices in a graph. Journal of the ACM (1978)

    Google Scholar 

  24. Spmn_22. Available at, http://www.info.ucl.ac.be/~luque/PADL06/test_22.ps

  25. Spmn_22full. Available at, http://www.info.ucl.ac.be/~luque/PADL06/test_22full.ps

  26. Spmn_52a. Available at, http://www.info.ucl.ac.be/~luque/PADL06/test_52.ps

  27. Spmn_52full. Available at, http://www.info.ucl.ac.be/~luque/PADL06/test_52full.ps

  28. Van Roy, P., Haridi, S.: Concepts, Techniques, and Models of Computer Programming. The MIT Press, Cambridge (2003)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2005 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Quesada, L., Van Roy, P., Deville, Y., Collet, R. (2005). Using Dominators for Solving Constrained Path Problems. In: Van Hentenryck, P. (eds) Practical Aspects of Declarative Languages. PADL 2006. Lecture Notes in Computer Science, vol 3819. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11603023_6

Download citation

  • DOI: https://doi.org/10.1007/11603023_6

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-30947-5

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

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics