Learning to Select SAT Encodings for Pseudo-Boolean and Linear Integer Constraints

07/18/2023
by   Felix Ulrich-Oltean, et al.
0

Many constraint satisfaction and optimisation problems can be solved effectively by encoding them as instances of the Boolean Satisfiability problem (SAT). However, even the simplest types of constraints have many encodings in the literature with widely varying performance, and the problem of selecting suitable encodings for a given problem instance is not trivial. We explore the problem of selecting encodings for pseudo-Boolean and linear constraints using a supervised machine learning approach. We show that it is possible to select encodings effectively using a standard set of features for constraint problems; however we obtain better performance with a new set of features specifically designed for the pseudo-Boolean and linear constraints. In fact, we achieve good results when selecting encodings for unseen problem classes. Our results compare favourably to AutoFolio when using the same feature set. We discuss the relative importance of instance features to the task of selecting the best encodings, and compare several variations of the machine learning method.

READ FULL TEXT
research
05/09/2022

Reusing Comparator Networks in Pseudo-Boolean Encodings

A Pseudo-Boolean (PB) constraint is a linear inequality constraint over ...
research
10/15/2021

SAT Encodings for Pseudo-Boolean Constraints Together With At-Most-One Constraints

When solving a combinatorial problem using propositional satisfiability ...
research
05/08/2015

Short Portfolio Training for CSP Solving

Many different approaches for solving Constraint Satisfaction Problems (...
research
05/05/2020

Encoding Linear Constraints into SAT

Linear integer constraints are one of the most important constraints in ...
research
03/21/2011

BoolVar/PB v1.0, a java library for translating pseudo-Boolean constraints into CNF formulae

BoolVar/PB is an open source java library dedicated to the translation o...
research
06/10/2020

At-Most-One Constraints in Efficient Representations of Mutex Networks

The At-Most-One (AMO) constraint is a special case of cardinality constr...
research
01/24/2023

Solving Quantum-Inspired Perfect Matching Problems via Tutte's Theorem-Based Hybrid Boolean Constraints

Determining the satisfiability of Boolean constraint-satisfaction proble...

Please sign up or login with your details

Forgot password? Click here to reset