The dynamic lot size problem is a classic optimization problem. I describe how to implement a linear-time algorithm for solving the dynamic programming recursion.
Sets and repetitions are essential building blocks in all strength training programs. In this article I present a novel idea: formulating the creation of repetition schemes as a combinatorial optimization problem.