Turning Light into Clicks

I recently hacked together a delightfully simple micro:bit app that converts ambient light into sound. Think of it as a poor man’s photodiode oscilloscope — or, more accurately, a light-controlled Geiger counter for photons. The idea is straightforward: more light → faster clicks. What the Code Does (in Human Terms) The micro:bit constantly reads the… Read more Turning Light into Clicks

Solving Sudoku with Constraint Programming

Over the past few months, I’ve shared a couple of Sudoku solvers here — some built with Dynamic Programming, others with Mixed-Integer Linear Programming (MILP). Both approaches work and are great learning exercises, but they each have their quirks when it comes to constraint formulation: This time, I wanted something cleaner — so I turned… Read more Solving Sudoku with Constraint Programming

How to Develop a Sudoku Solver Using Mixed Integer Linear Programming

In today’s blog post, let’s dive into the fascinating realm of solving Sudoku puzzles using Mixed Integer Linear Programming (MILP). Check this previous post to see how a sudoku solver can be developed in python using dynamic programming and backtracking. Sudoku, a classic logic-based number placement puzzle, has long captivated minds around the globe with… Read more How to Develop a Sudoku Solver Using Mixed Integer Linear Programming