Sudoku Solver

Please be aware that this solver may not always solve the Sudoku, as it uses simulated annealing for solving, a local search algorithm.

Generate a sudoku puzzle

Exercise caution when making modifications to these settings, as it has the potential to cause page to be unresponsive.


Simulated Annealing

is an optimization algorithm that mimics the process of annealing in metallurgy. It explores different solutions, including worse ones, gradually reducing the acceptance of worse solutions over time. This helps it find the best solution to a problem, even in complex scenarios.

Warning

In order to prevent the page from becoming unresponsive, it is best to avoid raising the initial temperature and reheating it to extremely high levels. Working at excessively high temperatures will consistently produce suboptimal solutions, and when combined with a high number of iterations, it will significantly prolong the time required to complete the task.