Search Combinators

03/06/2012
by   Tom Schrijvers, et al.
0

The ability to model search in a constraint solver can be an essential asset for solving combinatorial problems. However, existing infrastructure for defining search heuristics is often inadequate. Either modeling capabilities are extremely limited or users are faced with a general-purpose programming language whose features are not tailored towards writing search heuristics. As a result, major improvements in performance may remain unexplored. This article introduces search combinators, a lightweight and solver-independent method that bridges the gap between a conceptually simple modeling language for search (high-level, functional and naturally compositional) and an efficient implementation (low-level, imperative and highly non-modular). By allowing the user to define application-tailored search strategies from a small set of primitives, search combinators effectively provide a rich domain-specific language (DSL) for modeling search to the user. Remarkably, this DSL comes at a low implementation cost to the developer of a constraint solver. The article discusses two modular implementation approaches and shows, by empirical evaluation, that search combinators can be implemented without overhead compared to a native, direct implementation in a constraint solver.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/06/2018

Correlation Heuristics for Constraint Programming

Effective general-purpose search strategies are an important component i...
research
12/11/2010

On the Implementation of GNU Prolog

GNU Prolog is a general-purpose implementation of the Prolog language, w...
research
01/05/2023

Training a Deep Q-Learning Agent Inside a Generic Constraint Programming Solver

Constraint programming is known for being an efficient approach for solv...
research
05/03/2022

A Typechecker for a Set-Based Constraint Logic Programming Language

log (read 'setlog') is a Constraint Logic Programming (CLP) language and...
research
02/10/2011

Improving DPLL Solver Performance with Domain-Specific Heuristics: the ASP Case

In spite of the recent improvements in the performance of the solvers ba...
research
03/29/2023

Heuristic Search For Physics-Based Problems: Angry Birds in PDDL+

This paper studies how a domain-independent planner and combinatorial se...
research
08/27/2019

Structured Traversal of Search Trees in Constraint-logic Object-oriented Programming

In this paper, we propose an explicit, non-strict representation of sear...

Please sign up or login with your details

Forgot password? Click here to reset