Premium Only Content
 
			Creating a Sudoku Solver Algorithm from Scratch
A walkthrough showing how to solve a Sudoku with an algorithm written from scratch (using Kotlin).
ERRATA: I loosely refer to the "Branch-and-Prune" algorithm as "Branch-and-Bound" at times in this presentation. This technically is not correct as I'm not doing any linear relaxation that occurs in optimization variants of state space search problems. I'm simply pruning branches that do not meet constraints.
The branch-and-prune/branch-and-bound algorithm can be enormously useful not just for solving Sudokus, but also real-world problems like scheduling (staff, classrooms, server jobs, transportation) and the knapsack problem.
GitHub source code can be found here:
https://github.com/thomasnield/kotlin-sudoku-solver
Here is an example that generates a classroom schedule:
https://github.com/thomasnield/optimized-scheduling-demo
If you want to learn more about discrete optimization, I highly recommend this class on Coursera:
https://www.coursera.org/learn/discrete-optimization/home/welcome
- 	
				 27:28 27:28Lynda Cromar Online Training5 years agoCreating a New Offer From Scratch257
- 	
				 1:07:16 1:07:16Lynda Cromar Online Training5 years agoCreating A Product Based Lead Funnel From Scratch146
- 	
				 8:53 8:53Lynda Cromar Online Training5 years agoCreating A Product Based Lead Funnel From Scratch Part 331
- 	
				 15:41 15:41Lynda Cromar Online Training5 years agoCreating A Product Based Lead Funnel From Scratch Part 227
- 	
				 14:46 14:46ChaseCurtis4 years agoCreating A Website From Scratch With CARRD | Affordable, Easy, & Fast98
- 	
				 2:25 2:25thomasnield4 years ago $0.01 earnedSolving the World's Hardest Sudoku with Algorithm94
- 	
				 12:24 12:24DvaeoGreg5 years ago $0.01 earnedSoap From Scratch5554
- 	
				 40:09 40:09lcribari4 years ago $0.03 earnedBuilding a Telecaster From Scratch: The neck69
- 	
				 20:06 20:06Lynda Cromar Online Training5 years agoHOW TO GET STARTED FROM SCRATCH195
- 	
				 14:29 14:29Lynda Cromar Online Training5 years agoCreating a Personalized Hangout From PLS Hangout Part 17