simpeg.optimization.ProjectedGNCG.doStartIteration#

ProjectedGNCG.doStartIteration()[source]#

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:

def _doStartIteration*(self, ... ):
    pass

Where the * can be any string. If present, _doStartIteration* will be called at the start of the default doStartIteration call. You may also completely overwrite this function.