Advanced Optimization, Conjugrate, Bfgs.
should not implement these algorithms — conjugate gradient, L-BGFS, BFGS — yourself unless you’re an expert in numerical computing. Instead, just as I wouldn’t recommend that you write your own code to compute square roots of numbers or to compute inverses of matrices, for these algorithms also