add method to optimize stochastic solvers
add method to optimize stochastic solvers