  Using the tools of the Markov Decision Processes, we justify the dynamic
programming approach to the optimal impulse control of deterministic dynamical
systems. We prove the equivalence of the integral and differential forms of the
optimality equation. The theory is illustrated by an example from mathematical
epidemiology. The developed methods can be also useful for the study of
piecewise deterministic Markov processes.
