Various optimization problems and solutions.