Optimal control of stochastic differential equations with random impulses and the Hamilton–Jacobi–Bellman equation | Synapse