Skip to main content
Log in

Heuristics and look-ahead integration to solve constraint satisfaction problems efficiently

  • Published:
Annals of Operations Research Aims and scope Submit manuscript

Abstract

Logic programming languages, such asProlog, allow a declarative specification of Constraint Satisfaction Problems (CSPs), freeing the user from specifying more or less complex control directives. However, the price to pay for such flexibility is a loss of efficiency, which makes Logic Programming inadequate to solve CSPs of even moderate size and complexity. To extend the range of applicability of logic programming, several improvements have been proposed. The use of heuristics is one such improvement. Although this usually forces the user to specify some form of control (thus abandoning the pure declarative nature of a logic program), these specifications can be made declarative by making use of some appropriate meta-predicates. Another extension to logic programming that improves its efficiency, is the active use of constraints, as done in the various formulations of constraint logic programming languages. In particular, the use of finite domains is quite adequate to implement look-ahead schemes to efficiently solve several types of CSPs. In this paper, we discuss the complementary nature of heuristics and look-ahead schemes and present a constraint logic programming framework that integrates both these techniques. Results obtained with a time-tabling problem executed on a prototype that implements such a framework are presented, and show that significant efficiency improvements can be achieved when compared with the separate use of the two techniques.

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. F. Azevedo and P. Barahona, Timetabling in constraint logic programming, submitted for publication (1993).

  2. A. Colmerauer,Prolog III universe, Commun. ACM 33(1990).

  3. M. Dincbas, P. van Hentenryck, H. Simonis, A. Aggoun, T. Graf and F. Berthier, The constraint logic programming languageChip,Proc. FGCS'88, Tokyo (1988).

  4. M.R. Garey and D.S. Johnson,Computers and Intractability: A Guide to the Theory of NP-Completeness (Freeman, New York, 1979).

    Google Scholar 

  5. P. van Hentenryck,Constraint Satisfaction in Logic Programming (The MIT Press, Cambridge, MA, 1989).

    Google Scholar 

  6. J. Jaffar and J.-L. Lassez, Constraint logic programming,Proc. 14th ACM POPL Symp., Munich (1987).

  7. J. Jaffar and S. Michaylov, Methodology and implementation of a CLP system,Proc. 4th ICLP, Melbourne (1987).

  8. P. Meseguer, Constraint satisfaction problems: An overview, AI Commun. 2(1989).

  9. N. Nilsson,Principles of Artificial Intelligence (Tioga, Palo Alto, 1980).

    Google Scholar 

  10. E. Rich,Artificial Intelligence (McGraw-Hill, New York, 1983).

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

About this article

Cite this article

Menezes, F., Barahona, P. Heuristics and look-ahead integration to solve constraint satisfaction problems efficiently. Ann Oper Res 50, 411–426 (1994). https://doi.org/10.1007/BF02085650

Download citation

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF02085650

Keywords

Navigation