Abstract
Experience using constrain programming to solve real-life problems has shown that finding an efficient solution to a problem often requires experimentation with different constrain solvers or even building a problem-specific solver. HAL is a new constrain logic programming language expressly designed to facilitate this process. In this paper we examine different ways of building solvers in HAL. We explain how type classes can be used to specify solver interfaces, allowing the constrain programmer to support modelling of a constrain problem independently of a particular solver, leading to easy “plug and play” experimentation. We compare a number of different ways of writing a simple solver in HAL: using dynamic scheduling, constrain handling rules and building on an existing solver. We also examine how external solvers may be interfaced with HAL, and approaches for removing interface overhead.
| Original language | English |
|---|---|
| Title of host publication | Logic Programming |
| Subtitle of host publication | 17th International Conference, ICLP 2001 Paphos, Cyprus, November 26 – December 1, 2001 Proceedings |
| Editors | Philippe Codognet |
| Place of Publication | Berlin Germany |
| Publisher | Springer |
| Pages | 90-104 |
| Number of pages | 15 |
| ISBN (Print) | 3540429352 |
| DOIs | |
| Publication status | Published - 2001 |
| Event | International Conference on Logic Programming 2001 - Paphos, Cyprus Duration: 26 Nov 2001 → 1 Dec 2001 Conference number: 17th https://link.springer.com/book/10.1007/3-540-45635-X (Proceedings) |
Publication series
| Name | Lecture Notes in Computer Science |
|---|---|
| Publisher | Springer |
| Volume | 2237 |
| ISSN (Print) | 0302-9743 |
Conference
| Conference | International Conference on Logic Programming 2001 |
|---|---|
| Abbreviated title | ICLP 2001 |
| Country/Territory | Cyprus |
| City | Paphos |
| Period | 26/11/01 → 1/12/01 |
| Internet address |
|
Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver