Abstract
The past decade witnessed rapid development of constraint satisfaction technologies, where algorithms are now able to cope with larger and harder problems. However, owing to the fact that constraints are inherently declarative, attention is quickly turning toward developing high-level programming languages within which such problems can be modeled and also solved. Along these lines, this paper presents DEPICT, the language. Its use is illustrated through modeling a number of benchmark examples. The paper continues with a description of a prototype system within which such models may be interpreted. The paper concludes with a description of a sample run of this interpreter showing how a problem modeled as such is typically solved.
Similar content being viewed by others
Explore related subjects
Discover the latest articles, news and stories from top researchers in related subjects.References
F. Rossi, P. V. Beek, T. Walsh. Handbook of Constraint Programming, Elsevier Science Publishers, Amsterdam, Holand, 2006.
R. Detcher. Constraint Processing, Morgan Kaufmann Publishers, USA, 2003.
P. Flener. ASTRA Research Group on the Analysis, Synthesis, and Transformation/Reformulation of Algorithms in Constraint Technology (CT), [Online], Available: http://www.it.uu.se/research/group/astra, November, 2007.
E. P. K. Tsang. CSP Research Group, [Online], Available: http://www.bracil.net/CSP/, November, 2007.
M. Wallace. Eclipse, [Online], Available: http://www.eclipse.org/, November, 2007.
ILOG Inc. ILOG, [Online], Available: http://www.ilog.com, November, 2007.
P. V. Hentenryck. The OPL Optimization Programming Language, MIT Press, Cambridge, MA, USA, 1999.
L. Michel, P. V. Hentenryck. OPL++ A Modeling Layer for Constraint Programming Libraries, Technical Report CS-00-07, Brown University, USA, 2000.
J. L. Lauriere. ALICE: A Language and a Program for Solving Combinatorial Problems. Artificial Intelligence, vol. 10, pp. 29–127, 1978.
H. Simonis. The CHIP System and Its Applications. In Proceedings of the 1st International Conference on Principles and Practice of Constraint Programming, Lecture Notes In Computer Science, Springer-Verlag, vol. 976, pp. 643–646, 1995.
A. Dovier, E. G. Omodeo, E. Pontelli, G. Rossi. {log}: A Language for Programming in Logic with Finite Sets. Journal of Logic Programming, vol. 28, no. 1, pp. 1–44, 1996.
C. Gervet. Conjuncto: Constraint Logic Programming with Finite Set Domains. In Proceedings of International Symposium on Logic Programming, MIT Press, Symposia, Melbourne, pp. 339–358, 1994.
R. Fourer, D. M. Gay, B. W. Kernighan. AMPL: A Modeling Language for Mathematical Programming, Thomson/Brooks/Cole, Australia, 2002.
C. Schulte. The Oz Programming System, [Online], Available: http://www.ps.uni-sb.de/oz2.
E. P. K. Tsang. Foundations of Constraint Satisfaction, Academic Press, San Diego, USA, 1993.
A. Abbas, E. Tsang. Toward a General Language for the Specification of Constraint Satisfaction Problems. In Proceedings of Constraint Programming, Artificial Intelligence and Operations Research, Imperial College, London, UK, pp. 237–257, 2001.
B. Hnich. Function Variables for Constraint Programming, Ph.D. dissertation, University of Uppsala, Sweden, 2003.
A. Abbas. Programming with Types and Rules in Martin-Löf’s Theory of Types, Ph. D. dissertation, Queen Mary College, University of London, UK, 1987.
P. Mills, E. P. K. Tsang, R. Williams, J. Ford, J. Borrett. EaCL 1.5: An Easy Abstract Constraint Optimization Programming Language, Technical Report CSM-324, Department of Computer Science, The University of Essex, UK, 2000.
J. E. Borrett, E. P. K. Tsang. A Context for Constraint Satisfaction Problem Formulation Selection. Constraints, vol. 6, no. 4, pp. 299–327, 2001.
T. Walsh. CSPLIB: A Benchmark Library for Constraints, [Online], Available: http://www.csplib.org/.
A. Abbas, E. P. K. Tsang. Software Engineering Aspects of Constraint-based Timetabling — A Case Study. Information & Software Technology Journal, vol. 46, no. 6, pp. 359–372, 2004.
R. Fourer. Hooking a Constraint Programming Solver to an Algebraic Modeling Language. In the 3rd International Workshop on Integration of AI and OR Techniques in Constraint Programming for Combinatorial Optimization Problems, Ashford, Kent, UK, 2001.
J. E. Borrett. Formulation Selection for Constraint Satisfaction Problems: A Heuristic Approach, Ph.D. dissertation, Department of Computer Science, The University of Essex, UK, 1998.
P. Dasgupta, P. P. Chakrabarti, A. Dey, S. Ghose, W. Bibel. Solving Constraint Optimization Problems from CLP-style Specifications Using Heuristic Search Techniques. IEEE Transactions on Knowledge and Data Engineering Archive, vol. 14, no. 2, pp. 353–368, 2002.
F. Laburthe, Y. Caseau. SALSA: A Language for Search Algorithms. Constraints, vol. 7, no. 3–4, pp. 255–288, 2002.
Author information
Authors and Affiliations
Corresponding author
Additional information
This work was supported by Lebanese National Council for Scientific Research.
Abdulwahed M. Abbas received his B. Sc. degree in pure mathematics from the Lebanese University in Beirut, Lebanon, in 1979, the M. Sc. degree in computer studies from the University of Essex, UK, in 1982, and the Ph.D. degree in computer science from Queen Mary College, London, UK, in 1987. He spent six years teaching computer science at the University of Queensland, Australia. He helped found the Department of Computer Science at the University of Balamand, Lebanon, where he currently is an associate professor.
His research interests include computer aided geometric design (CAGD), constraint satisfaction problems (CSP), and scheduling and programming languages.
Edward P. K. Tsang is a professor in computer science at University of Essex, UK. He is also the deputy director of the Center for Computational Finance and Economic Agents (CCFEA), and a founding member of the Center for Computational Intelligence at the University of Essex, UK.
He has broad interest in business application of artificial intelligence including computational finance, computational economics and constraint satisfaction. His main techniques used including heuristic search, optimization, and evolutionary computation.
Ahmad H. Nasri is a professor in computer graphics and chair of the Computer Science Department, American University of Beirut, Lebanon. He received his B. Sc. degree in mathematics from the Lebanese University, Lebanon, in 1978, a qualifying degree in computer science from the University of Essex, UK, in 1982, and the Ph.D. degree in computer graphics from the University of East Anglia, UK, in 1985. He was a research visitor at MIT, Arizona State University, USA, Purdue University, USA, Brigham Young University, USA, Seoul National University, Korea, Cambridge University, UK, City Hong Kong University, PRC, and Bremen University, Germany. He is a member of the board of directors of the Lebanese National Council for Scientific Research. He is also on the editorial board of the International Journal of CAD/CAM, Journal of Shape Modeling, Computer-Aided Design and Applications Journal, and Lebanese Scientific Journal. He has served on the PC committee of several international conferences. With Malcolm Sabin, he co-edited a special issue of the Journal of Visual Computer on subdivision surfaces, in 2002. Since 1982, he has been involved in promoting subdivision surfaces and its use in computer graphics, geometric modeling, and animation.
His research interests include recursive subdivision in animation, computer graphics, geometric modeling, data visualization, and the use of computer graphics in education and digital arts.
Rights and permissions
About this article
Cite this article
Abbas, A.M., Tsang, E.P.K. & Nasri, A.H. DEPICT: A high-level formal language for modeling constraint satisfaction problems. Int. J. Autom. Comput. 5, 208–216 (2008). https://doi.org/10.1007/s11633-008-0208-7
Received:
Revised:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11633-008-0208-7