Electronic Proceedings in Theoretical Computer Science (Sep 2019)

Exploiting Partial Knowledge in Declarative Domain-Specific Heuristics for ASP

  • Richard Taupe,
  • Konstantin Schekotihin,
  • Peter Schüller,
  • Antonius Weinzierl,
  • Gerhard Friedrich

DOI
https://doi.org/10.4204/EPTCS.306.9
Journal volume & issue
Vol. 306, no. Proc. ICLP 2019
pp. 22 – 35

Abstract

Read online

Domain-specific heuristics are an important technique for solving combinatorial problems efficiently. We propose a novel semantics for declarative specifications of domain-specific heuristics in Answer Set Programming (ASP). Decision procedures that are based on a partial solution are a frequent ingredient of existing domain-specific heuristics, e.g., for placing an item that has not been placed yet in bin packing. Therefore, in our novel semantics negation as failure and aggregates in heuristic conditions are evaluated on a partial solver state. State-of-the-art solvers do not allow such a declarative specification. Our implementation in the lazy-grounding ASP system Alpha supports heuristic directives under this semantics. By that, we also provide the first implementation for incorporating declaratively specified domain-specific heuristics in a lazy-grounding setting. Experiments confirm that the combination of ASP solving with lazy grounding and our novel heuristics can be a vital ingredient for solving industrial-size problems.