Solution Dominance over Constraint Satisfaction Problems

Tias Guns, Peter J. Stuckey, Guido TackarXiv 2018

Abstract

This paper introduces Constraint Dominance Problems (CDPs), a unified framework for modeling and solving preference-based constraint satisfaction problems. By defining dominance relations as preorders and implementing them via "dominance nogoods" in MiniZinc, the authors enable generic solving of optimization, multi-objective, and qualitative ranking problems using standard solvers. A key contribution is the efficient handling of CP-nets through local dominance approximations, making qualitative preference optimization practical in a declarative setting.

Introduction

Standard Constraint Satisfaction Problems (CSPs) are typically binary: a valuation either satisfies all constraints or it does not. However, real-world applications—from industrial scheduling to data mining—often require finding the "best" solution rather than just any valid one. While specialized techniques exist for cost-function optimization or multi-objective Pareto frontiers, they are often treated as separate domains.

This research addresses the lack of a unified, declarative way to express complex preferences, such as lexicographic orders, minimal models, or Conditional Preference networks (CP-nets). The authors propose the Constraint Dominance Problem (CDP) framework to bridge this gap, providing a language-level extension to model these preferences generically.

The CDP Framework and Methodology

A Constraint Dominance Problem (CDP) is defined as a CSP paired with a dominance relation (a preorder). The objective is to identify the "Pareto optimal" set—solutions that are not dominated by any others according to the defined relation.

Technical Contributions

  1. Dominance Nogoods: Rather than hard-coding preference logic into a solver's core, the authors propose using "dominance nogoods." When a solver identifies a solution $S$, it dynamically adds a constraint (the nogood) to the search space. This ensures that any subsequent solutions found are not dominated by $S$.
  2. MiniZinc Extension: The framework introduces the dominance_nogood keyword to the MiniZinc modeling language, allowing users to define mathematical preferences (e.g., f(V) < f(sol(V))) directly within the model.
  3. Generic Solving via MiniSearch: Using the MiniSearch meta-search language, the authors implemented a branch-and-bound style algorithm. This algorithm iteratively calls a standard CSP solver, updates the search bound using the dominance nogood, and continues until the non-dominated set is found.

Handling Qualitative Preferences with CP-nets

A significant challenge in preference modeling is handling CP-nets, where dominance checks are notoriously NP-hard. The authors address this by proposing a "local" dominance check. This check is linear in time and provides a computationally efficient over-approximation of the preferred solution set, making it feasible to use within a standard CP search.

Example of a CP-net with three variables $V_1, V_2, V_3$ and their associated conditional preference tables.

Evaluation and Results

The framework was evaluated across three distinct categories: MaxCSP benchmarks, Multi-objective Traveling Salesman Problems (TSP), and CP-nets (using a variant of the "Photo" problem).

Key Findings

  • Unification: The most powerful insight is that optimization, Max-SAT, and Pareto efficiency are all specific instances of a preorder dominance relation, allowing a single algorithmic framework to handle them all.
  • Solver Independence: By moving dominance logic to the modeling layer, the approach is solver-agnostic. Users can switch between traditional CP solvers (like Gecode) and lazy clause generation solvers (like Chuffed) without rewriting preference logic.
  • Performance: While generic methods may not beat highly specialized solvers, the CDP framework proved viable. In MaxCSP tests, specific search orders significantly improved runtimes. For multi-objective TSP, the framework successfully generated Pareto frontiers, offering higher modeling flexibility than specialized tools.

Limitations and Future Work

Currently, generic "dominance nogoods" do not match the pruning power of specialized propagators. Future work aims to implement automatic detection of dominance patterns. If a compiler recognizes a nogood as a simple minimization or lexicographic order, it could automatically substitute the generic algorithm with a more efficient, specialized one. Additionally, exploring how to automatically derive search heuristics from dominance definitions remains a key area for improvement.

Summary updated

BibTeX
@misc{guns2018solution,
  author = {Tias Guns and Peter J. Stuckey and Guido Tack},
  title = {{Solution Dominance over Constraint Satisfaction Problems}},
  year = {2018},
  eprint = {1812.09207},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1812.09207},
}
Figure