Abstract
Combinatorial problems can be efficiently tackled with constraint programming systems. The main tasks of the development of a constraint-based application are modeling the problem at hand and subsequently implementing that model. Typically, erroneous behavior of a constraint-based application is caused by either the model or the implementation (or both of them). Current constraint programming systems provide limited debugging support for modeling and implementing a problem.
This paper proposes the Constraint Investigator, an interactive tool for debugging the model and the implementation of a constraint-based application. In particular, the Investigator is targeted at problems like wrong, void, or partial solutions. A graph metaphor is used to reflect the constraints in the solver and to present them to the user. The paper shows that this metaphor is intuitive and proposes appraoches to deal with real-life problem sizes.
The Investigator has been implemented in Mozart Oz and complements other constraint programming tools as an interactive visual search engine, forming the base for an integrated constraint debugging environment.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
A. Agoun and H. Simonis. Search tree visualization. Technical Report D.WP1.1.M1.1-2, COSYTEC SA, June 1997. In the ESPRIT LTR Project 22352 DiSCiPl.
Manuel Carro and Manuel Hermenegildo. Some design issues in the visualization of constraint logic program execution. In AGP’98, A Coruña, Spain, 1998.
Philippe Codognet and Daniel Diaz. Compiling constraints in clp(FD). Journal of Logic Programming, 27(3):185–226, June 1996.
M. Dincbas, P. Van Hentenryck, H. Simonis, A. Aggoun, T. Graf, and F. Berthier. The constraint logic programming language CHIP. In Proceedings of the International Conference on Fifth Generation Computer Systems FGCS-88, pages 693–702, Tokyo, Japan, December 1988. Institute for New Generation Computer Technology (ICOT), Tokyo, Japan.
Mehmet Dincbas, Helmut Simonis, and Pascal Van Hentenryck. Solving large combinatorial problems in logic programming. Journal of Logic Programming, 8:75–93, 1990.
DiSCiPl. Debugging systems for constraint programming. http://discipl.inria.fr/.
ECRC and International Computers Limited and IC-Parc. ECLi PSe, User Manual Version 3.7, February 1998.
Carmen Gervet. Interval propagation to reason about sets: Definition and implementation of a practical language. Constraints, 1(3):191–244, 1997.
Micha Meier. Debugging constraint programs. In Ugo Montanari and Francesca Rossi, editors, Proceedings of the First International Conference on Principles and Practice of Constraint Programming, volume 976 of Lecture Notes in Computer Science, Springer, pages 204–221, Cassis, France, September 1995.
Ugo Montanari and Francesca Rossi. True concurrency in concurrent constraint programming. In Vijay Saraswat and Kazunori Ueda, editors, Proceedings of the 1991 International Symposium on Logic Programming, pages 694–713, San Diego, USA, June 1991. The MIT Press.
The Mozart Consortium. The Mozart Programming System. http://www.mozart-oz.org/.
Tobias Müller. Practical investigation of constraints with graph views. In Konstantinos Sagonas and Paul Tarau, editors, Proceedings of the International Workshop on Implementation of Declarative Languages (IDL’ 99), September 1999.
Tobias Müller. Promoting constraints to first-class status. In Proceedings of the First International Conference on Computational Logic, London, July 2000. To appear.
Tobias Müller and Martin Müller. Finite set constraints in Oz. In François Bry, Burkhard Freitag, and Dietmar Seipel, editors, 13. Workshop Logische Programmierung, pages 104–115, Technische Universität München, 17–19 September 1997.
Tobias Müller and Jörg Würtz. Extending a concurrent constraint language by propagators. In Jan MaMluszyński, editor, Proceedings of the International Logic Programming Symposium, pages 149–163. The MIT Press, Cambridge, 1997.
Jean-François Puget and Michel Leconte. Beyond the glass box: Constraints as objects. In John Lloyd, editor, Logic Programming-Proceedings of the 1995 International Symposium, pages 513–527. The MIT Press, Cambridge, December 1995.
Christian Schulte. Oz Explorer: A visual constraint programming tool. In Lee Naish, editor, Proceedings of the Fourteenth International Conference on Logic Programming, pages 286–300, Leuven, Belgium, 8–11 July 1997. The MIT Press, Cambridge.
Universität Bremen, Group of Prof. Dr. Bernd Krieg-Brückner. The Graph Visualization System daVinci. http://www.informatik.uni-bremen.de/~davinci/.
Mark Wallace, Stefano Novello, and Joachim Schimpf. ECLiPSe: A platform for constraint logic programming. ICL Systems Journal, 12(1), May 1997.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2000 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Müller, T. (2000). Practical Investigation of Constraints with Graph Views. In: Dechter, R. (eds) Principles and Practice of Constraint Programming – CP 2000. CP 2000. Lecture Notes in Computer Science, vol 1894. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-45349-0_24
Download citation
DOI: https://doi.org/10.1007/3-540-45349-0_24
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-41053-9
Online ISBN: 978-3-540-45349-9
eBook Packages: Springer Book Archive