simpeg.optimization.GaussNewton#
- class simpeg.optimization.GaussNewton(**kwargs)[source]#
-
Attributes
callback
counter
parent
print_type
Methods
doEndIteration
(xt)doEndIteration is called at the end of each minimize iteration.
doStartIteration is called at the start of each minimize iteration.
findSearchDirection should return an approximation of:
finish
()finish is called at the end of the optimization.
minimize
(evalFunction, x0)Minimizes the function (evalFunction) starting at the location x0.
modifySearchDirection changes the search direction based on some sort of linesearch or trust-region criteria.
Code is called if modifySearchDirection fails to find a descent direction.
printDone
([inLS])printDone is called at the end of the optimization routine.
printInit
([inLS])printInit is called at the beginning of the optimization routine.
printIter
([inLS])printIter is called directly after function evaluations.
projection
(p)projects the search direction.
scaleSearchDirection should scale the search direction if appropriate.
startup
(x0)startup is called at the start of any new minimize call.
recall
remember
save
stoppingCriteria