A simple optimization algorithm.