The LBFGS_NoLS class is used to find optima for functions of vectors. The solve method finds local optima using a Quasi Newton method, the Limited Memory BFGS Method that keeps track of the most recent m changes in x-positions and gradients. The Ring class is used to store the most recent m vectors.
min f(x) where f: R^n -> R
Value parameters
f
the vector to scalar function to find optima of
m
the memory size or number of historical s and y vectors to maintain
Solve for an optima by finding a local optima close to the starting point/guess 'x0'. This version uses explicit functions for the gradient (partials derivatives)
Solve for an optima by finding a local optima close to the starting point/guess 'x0'. This version uses explicit functions for the gradient (partials derivatives)