Boosting Answer Set Optimization with Weighted Comparator Networks

by   Jori Bomanson, et al.

Answer set programming (ASP) is a paradigm for modeling knowledge intensive domains and solving challenging reasoning problems. In ASP solving, a typical strategy is to preprocess problem instances by rewriting complex rules into simpler ones. Normalization is a rewriting process that removes extended rule types altogether in favor of normal rules. Recently, such techniques led to optimization rewriting in ASP, where the goal is to boost answer set optimization by refactoring the optimization criteria of interest. In this paper, we present a novel, general, and effective technique for optimization rewriting based on comparator networks, which are specific kinds of circuits for reordering the elements of vectors. The idea is to connect an ASP encoding of a comparator network to the literals being optimized and to redistribute the weights of these literals over the structure of the network. The encoding captures information about the weight of an answer set in auxiliary atoms in a structured way that is proven to yield exponential improvements during branch-and-bound optimization on an infinite family of example programs. The used comparator network can be tuned freely, e.g., to find the best size for a given benchmark class. Experiments show accelerated optimization performance on several benchmark problems. Under consideration in Theory and Practice of Logic Programming (TPLP).


page 1

page 2

page 3

page 4


Train Scheduling with Hybrid Answer Set Programming

We present a solution to real-world train scheduling problems, involving...

Grounding Bound Founded Answer Set Programs

To appear in Theory and Practice of Logic Programming (TPLP) Bound Fou...

The Power of Non-Ground Rules in Answer Set Programming

Answer set programming (ASP) is a well-established logic programming lan...

Complex Optimization in Answer Set Programming

Preference handling and optimization are indispensable means for address...

Efficiency Analysis of ASP Encodings for Sequential Pattern Mining Tasks

This article presents the use of Answer Set Programming (ASP) to mine se...

The DLVHEX System for Knowledge Representation: Recent Advances (System Description)

The DLVHEX system implements the HEX-semantics, which integrates answer ...

The third open Answer Set Programming competition

Answer Set Programming (ASP) is a well-established paradigm of declarati...