Before revision:  We characterize an optimal control solving this problem by proving existence and uniqueness of a viscosity solution to the associated Hamilton Jacobi Bellman equation.
After revision:  We characterize an optimal control solving this problem by proving existence and uniqueness of a viscosity solution to the associated Hamilton-Jacobi-Bellman equation.