  Stochastic optimal control problems with constraints on the probability
distribution of the final output are considered. Necessary conditions for
optimality in the form of a coupled system of partial differential equations
involving a forward Fokker-Planck equation and a backward
Hamilton-Jacobi-Bellman equation are proved using convex duality techniques.
