lbfgsd 1.1.0

A L-BFGS Solver


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

lbfgsd

Automatic differentiation and L-BFGS implementation in the D Programming Language.

auto solver = new SimpleSolver!(double, 2);

struct Func
{
    T opCall(T)(in T[] x)
    {
        return x[0] * x[0] + x[1] * x[1];
    }
}

Func f;
solver.setAutoDiffCost(f);

auto x = new double[2];
x[] = 1;
solver.solve(x); //solve by L-BFGS
assert(equals(x, [0.0, 0.0]));
Authors:
  • lempiji
Dependencies:
none
Versions:
1.1.0 2020-Aug-03
1.0.0 2020-Jul-11
~master 2020-Aug-03
Show all 3 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 0 downloads total

Score:
0.0
Short URL:
lbfgsd.dub.pm