Evaluating SAT and SMT Solvers on Large-Scale Sudoku Puzzles

Liam Davis, Tairan Ji
1/15/2025
cs.AIcs.LO

No official code found. Best implementation: liamjdavis/Sudoku-SMT-Solvers (0 stars, MIT, last commit 2025-01-16).

Abstract

Modern SMT solvers have revolutionized the approach to constraint satisfaction problems by integrating advanced theory reasoning and encoding techniques. In this work, we evaluate the performance of modern SMT solvers in Z3, CVC5 and DPLL(T) against a standard SAT solver in DPLL. By benchmarking these solvers on novel, diverse 25x25 Sudoku puzzles of various difficulty levels created by our improved Sudoku generator, we examine the impact of advanced theory reasoning and encoding techniques. Our findings demonstrate that modern SMT solvers significantly outperform classical SAT solvers. This work highlights the evolution of logical solvers and exemplifies the utility of SMT solvers in addressing large-scale constraint satisfaction problems.

View on arXivView PDF

Code Implementations(1)

MIT

Python Package for solving sudoku with SAT and SMT.

01Python, MakefileNov 24, 20241 years agoMIT
automated-reasoningpythonsat-solverssmt-solverssudokus

Cite this paper

@article{davis2025evaluating,
  title  = {Evaluating SAT and SMT Solvers on Large-Scale Sudoku Puzzles},
  author = {Liam Davis and Tairan Ji},
  year   = {2025},
  eprint = {2501.08569},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.08569v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2501.08569.svg)](https://codeofpaper.com/paper/2501.08569)

Discussion