English

Graph Coloring Approach to Solving Sudoku with Oscillatory Neural Networks

Machine Learning 2026-07-17 v1

Abstract

Oscillatory Neural Networks (ONNs) present an attractive physics-based computing paradigm rooted in the dynamics of a network of typically fully coupled oscillators aiming to minimize an underlying energy function. In this paper, we propose an ONN-based solver for one well-known constrained combinatorial optimization problem, namely a Sudoku, by formulating the problem as a Graph Coloring problem. By modifying the already existing Graph Coloring solver to a computationally cheaper version and introducing an additional term ensuring the fulfillment of the Sudoku constraints, our solver is shown to significantly outperform the existing HNN- and ONN solvers in terms of accuracy. In particular, we are able to achieve nearly flawless accuracies on 4×44 \times 4 as well as rather high accuracies on 9×99 \times 9 Sudoku puzzles for different numbers of unknown digits.

Keywords

Cite

@article{arxiv.2607.15814,
  title  = {Graph Coloring Approach to Solving Sudoku with Oscillatory Neural Networks},
  author = {Filip Sabo and Aida Todri-Sanial},
  journal= {arXiv preprint arXiv:2607.15814},
  year   = {2026}
}