simpeg.optimization.Minimize.doStartIteration#

Minimize.doStartIteration()[source]#

doStartIteration is called at the start of each minimize iteration.

Return type:

None

Returns:

None

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.