Solving dynamic economic problems.