The purpose of research is the study and analysis of some of the stochastic semi-gradient methods and their applicability to find the optimal solution for the issues of optimization are subject to the effects Random and conditions are controlled by chance, as we proved the convergence of some of these mathematical methods and their effectiveness for some of the issues of stochastic non-convex and equipped objective function and specific constraints and where taken energy complex solar as an example