Comploi-Taupe, R., Friedrich, G., Schekotihin, K., & Weinzierl, A. (2023). Domain-Specific Heuristics in Answer Set Programming: A Declarative Non-Monotonic Approach. Journal of Artificial Intelligence Research, 76, 59–114. https://doi.org/10.1613/jair.1.14091
Domain-specific heuristics are an essential technique for solving combinatorial problems efficiently. Current approaches to integrate domain-specific heuristics with Answer Set Programming (ASP) are unsatisfactory when dealing with heuristics that are specified non-monotonically on the basis of partial assignments. Such heuristics frequently occur in practice, for example, when picking an item that has not yet been placed in bin packing. Therefore, we present novel syntax and semantics for declarative specifications of domain-specific heuristics in ASP. Our approach supports heuristic statements that depend on the partial assignment maintained during solving, which has not been possible before. We provide an implementation in Alpha that makes Alpha the first lazy-grounding ASP system to support declaratively specified domain-specific heuristics. Two practical example domains are used to demonstrate the benefits of our proposal. Additionally, we use our approach to implement informed search with A*, which is tackled within ASP for the first time. A* is applied to two further search problems. The experiments confirm that combining lazy-grounding ASP solving and our novel heuristics can be vital for solving industrial-size problems.
Dynamic knowledge-based (re)configuration of cyber-physical systems: 861263 (FFG - Österr. Forschungsförderungs- gesellschaft mbH)