A varying terminal time structure for stochastic optimal control under constrained condition. (24th June 2020)