simpeg.optimization.ProjectedGNCG.doEndIteration#
- ProjectedGNCG.doEndIteration(xt)[source]#
Operation called at the end of each minimize iteration.
By default, function values and x locations are shuffled to store 1 past iteration in memory.
- Parameters:
- xt
numpy.ndarray
An accepted model at the end of each iteration.
If you have things that also need to run in the method doEndIteration, you can create a method:
def _doEndIteration*(self, ... ): pass
Where the * can be any string. If present, _doEndIteration* will be called at the start of the default doEndIteration call. You may also completely overwrite this function.
- xt