stochastic delay differential equation; SDDE; optimality; stochastic optimal control problems; optimal control