Re:From Sudoku Solver to Program Synthesis
by LanceH on Thursday February 21, 2019 @12:22PM
(#19218502)
My first attempt did no backtracking at all. It would guess randomly, propagate constraints and continue. If it got stuck, it would just start again. The most it ever took to solve a puzzle was 2100 attempts. Sure it wasn't guaranteed to solve a puzzle in finite time, but it worked well enough for something written during one of those endless big-corp conference calls.
[ Parent
| on HN ]