startup is called at the start of any new minimize call.
This will set:
x0 = x0 xc = x0 iter = iterLS = 0
x0 (numpy.ndarray) – initial x
- Return type:
If you have things that also need to run in the method startup, you can create a method:
def _startup*(self, ... ): pass
Where the * can be any string. If present, _startup* will be called at the start of the default startup call. You may also completely overwrite this function.