The Mathemagician
I use mathematics and computer science to magically solve real-world problems.
Services
The problems worth bringing to me are the ones where the mathematics is the hard part. I solve that part, then build software that makes the answer usable.
-
Scheduling & optimization
Custom software for scheduling and optimization problems too complex for off-the-shelf tools.
Leagues and tournaments, staff rosters, timetables, venue and resource allocation, routing. When the rules multiply and the constraints start to conflict, I model the problem precisely and build a solver around it. Exact methods such as mixed integer and constraint programming2 are combined with purpose-built heuristics1 where exact methods stop scaling. The result plugs into your existing systems, produces plans people trust, and can explain why a schedule looks the way it does3.
-
Simulation
See a decision play out thousands of times before you make it once.
Monte Carlo methods4 for risk, pricing and forecasting. Discrete-event simulation for queues, operations and capacity planning. Agent-based models where the behaviour you care about emerges from many interacting parts. Each model is calibrated against real data and reports its uncertainty honestly, with confidence intervals, sensitivity and scenario analysis. Variance reduction keeps the runs short enough to be useful, and simulation-based optimization searches for the policy that holds up best across all those futures.
-
AI & agentic engineering
Helping companies use AI where it actually pays off.
I start by separating what AI does reliably today from what only demos well, then help you build the parts that hold up. That means agents that plan, call tools and act on real systems, with the evaluations and guardrails that tell you when they are right. For engineering teams, it means getting productive with coding agents: workflows, review practices, and the codebase conventions that let agents do their best work.
-
Software development
Well-engineered software, from first prototype to production.
Backends and APIs, data pipelines, algorithmic services and interactive visualizations like the figures on this page. The code is tested, documented and readable, so the people who inherit it can maintain it.
-
Sports organizations
Analytics, AI and optimization for clubs, leagues and federations.
Sport is full of hard problems. Fixtures have to be scheduled around venues, travel and fairness3. Referees and officials need assigning, performance needs measuring, and results invite ratings, rankings and forecasts. I help sports organizations find where data, AI and optimization make a measurable difference, then build the tools that deliver it.
Areas of interest
Worked examples
Most real problems turn into one of a few shapes once you write them down properly. Four more of them follow, small enough to play with.
Other things I like
- Cooking
- And, consequently, eating.
- Sardines
- The gourmet kind, in a nice tin.
- Sports
- Skiing, swimming, running, mountain biking, hiking.
- Greece
- The place, the food, the sea.
- Macroeconomics
- As a spectator sport.
Contact
Have a problem that needs some mathematics? Tell me about it.