Notes

What I learned, written down for the next engineer.

Free notes from industry work in planning and control and from research in optimization. Each note pairs the math with code, and ends with what changes when you do it for real.

Control · Series1 part

Model predictive control in practice

From the receding-horizon idea to a nonlinear MPC that meets its time budget on a real vehicle.

  1. 1The receding-horizon idea
Level: IntermediateNeeds: State-space models, basic optimization27 October 2026
Optimization · Series1 part

Optimization from scratch, in C++

Simplex, branch and bound and interior-point methods, built by hand so the solver stops being a black box.

  1. 1The simplex method, by hand and in C++
Level: Beginner to intermediateNeeds: Linear algebra, C++27 October 2026
Routing · Series1 part

Vehicle routing problems

Formulations, heuristics and benchmarks, from the classic VRP to fuel-aware heterogeneous fleets.

  1. 1From the CVRP to fuel-aware heterogeneous fleets
Level: IntermediateNeeds: Integer programming basics27 October 2026
Something you would like explained?Suggest a topic. The most requested ones get written first.Suggest a topic →

New notes, once a month

Sent together with the monthly problem. No other email.

One email a month: the new problem, last month’s solution and new notes.