Applications Of Stochastic Gradient Descent For Optimization Of Complex Systems With Uncertainty