Title: The optimality of Richter's model of repair and waste disposal