minimize a function using the LBFGS routine
| Parameters : | X : array
pot :
nsteps : int
tol : float
iprint : int
maxstep : float
maxErise : float
M : int
rel_energy : bool
H0 : float
events : list of callables
alternate_stop_criterion : callable
debug :
logger : logger object
energy, gradient : float, float array
armijo : bool
armijo_c : float
fortran : bool
|
|---|
Notes
This each iteration of this minimization routine is composed of the following parts
http://dx.doi.org/10.1007/BF01589116
Methods
| adjustStepSize(X, E, G, stp) | We now have a proposed step. |
| attachEvent(event) | |
| getStep(X, G) | update the LBFGS memory and compute a step direction and size |
| get_result() | return a results object |
| get_state() | return the state of the LBFGS memory |
| one_iteration() | do one iteration of the LBFGS loop |
| reset() | reset the LBFGS memory and H0 |
| run() | run the LBFGS minimizer |
| set_state(state) | set the LBFGS memory from the passed state |
| stop_criterion_satisfied() | test the stop criterion |
| update_coords(X, E, G) | change the location of the minimizer manually |