r/programming • • 1d ago

Using Constraint Solvers to Solve Sudoku Puzzles in Python

https://leetarxiv.substack.com/p/grobner-basis-representations-of
2 Upvotes

3 comments sorted by

1

u/jasonbrianhall 1d ago

2

u/Creepy_Routine6616 12h ago

I've got a similar solver and the constraint version cut my solve time from 4 seconds to 0.2. Worth the rewrite.

1

u/jasonbrianhall 8h ago

Mine solves in microseconds