We present an algorithm for the approximation of a finite horizon optimal
control problem for advection-diffusion equations. The method is based on the
coupling between an adaptive POD representation of the solution and a Dynamic
Programming approximation scheme for the corresponding evolutive
Hamilton-Jacobi equation. We discuss several features regarding the adaptivity
of the method, the role of error estimate indicators to choose a time
subdivision of the problem and the computation of the basis functions. Some
test problems are presented to illustrate the method.Comment: 17 pages, 18 figure