simpeg.optimization.SteepestDescent#
- class simpeg.optimization.SteepestDescent(**kwargs)[source]#
-
Attributes
A used defined callback function.
counter
parent
print_type
Methods
doEndIteration
(xt)Operation called at the end of each minimize iteration.
Called at the start of each minimize iteration. If you have things that also need to run in the method doStartIteration, you can create a method::.
Return the direction to search along for a minimum value.
finish
()Called at the end of the optimization. If you have things that also need to run in the method finish, you can create a method::.
minimize
(evalFunction, x0)Minimizes the function (evalFunction) starting at the location x0.
Changes the search direction based on some sort of linesearch or trust-region criteria.
Called if modifySearchDirection fails to find a descent direction.
printDone
([inLS])Called at the end of the optimization routine.
printInit
([inLS])Called at the beginning of the optimization routine.
printIter
([inLS])Called directly after function evaluations.
projection
(p)Projects a model onto bounds (if given)
Scales the search direction if appropriate.
startup
(x0)Called at the start of any new minimize call.
recall
remember
save
stoppingCriteria