Ulrich-Oltean, Felix ORCID: https://orcid.org/0000-0001-5162-5826 (2023) Learning SAT Encodings for Constraint Satisfaction Problems. PhD thesis, University of York.
Abstract
Constraint programming addresses many interesting and challenging problems in
our world, including recent applications to contexts as diverse as allocating
refugee relief funds, short-term mine planning and hardware circuit design.
Users define their problems in high-level modelling languages which include
descriptive global constraints. One of the most effective ways to solve
constraint satisfaction problems (CSPs) is by translating them into instances
of the Boolean Satisfiability Problem (SAT). For some global constraints in
CSPs there exist many algorithms which encode the constraint into SAT;
choosing an appropriate SAT encoding can alter the ultimate solving time
dramatically.
We investigate the problem of selecting the best SAT encoding for
pseudo-Boolean and linear integer constraints. Many machine learning
techniques are explored, applied and evaluated to aid this selection. The
result is a significant improvement in performance compared to the default
choice and to the single best choice from a training set. The approach is
successful even for previously unseen problem classes and it greatly
outperforms a sophisticated general algorithm selection and configuration
tool.
This work provides a thorough empirical study and detailed analysis of each
stage in the machine learning process as applied to choosing SAT encodings.
It does this in three phases: firstly by using generic CSP instance features
to select an encoding per constraint type for each instance, then by
introducing new features which focus on the constraint types in question, and
finally by learning to select encodings for individual constraints.
We find that even generic instance features can produce good predictions, but
that the specialised features introduced give more robust performance
especially when predicting for unseen problem classes. Training to predict
per constraint shows potential and leads to better performance for some
problem classes, but per-instance selection is still competitive across the
corpus of problems as a whole.
Metadata
Supervisors: | Nightingale, Peter and Walker, James Alfred |
---|---|
Related URLs: | |
Keywords: | constraint programming, logic, machine learning, Boolean satisfiability |
Awarding institution: | University of York |
Academic Units: | The University of York > Computer Science (York) |
Depositing User: | Dr Felix Ulrich-Oltean |
Date Deposited: | 22 Mar 2024 14:39 |
Last Modified: | 22 Mar 2024 14:39 |
Open Archives Initiative ID (OAI ID): | oai:etheses.whiterose.ac.uk:34581 |
Download
Examined Thesis (PDF)
Filename: fvuo-dissertation.pdf
Licence:
This work is licensed under a Creative Commons Attribution NonCommercial NoDerivatives 4.0 International License
Related datasets
Export
Statistics
You do not need to contact us to get a copy of this thesis. Please use the 'Download' link(s) above to get a copy.
You can contact us about this thesis. If you need to make a general enquiry, please see the Contact us page.