cs.LGJul 17, 2026

Graph Coloring Approach to Solving Sudoku with Oscillatory Neural Networks

Authors: Filip Sabo, Aida Todri-Sanial

Organizations: NanoComputing Research Lab, Electrical Engineering Department Eindhoven University of Technology Eindhoven, the Netherlands

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.

Explore similar work

CardsList
  1. DiBS: Diffusion-Informed Branch Selection

    Jun 2, 2026Bo Liu, Yuan Xie, Yuan Gao +4Puzzle