What a fascinating little optimization algorithm.