Raymond Toy wrote:
> After looking this over a bit, and looking at lbfgs, I think the right
> interface to minpack's least squares solver is this:
>
> minpack_lsquares(vars, initpt, fcns, [jacobian = matrix], [tolerance =
> 1d-8])
>
I've implemented this and checked in the changes. The default for the
Jacobian is true, which means to compute the Jacobian from the functions.
And since the code is very similar, I've implemented the nonlinear
solver from minpack:
minpack_solve(vars, initpt, fcns, [jacobian = matrix], [tolerance = 1d-8])
Some quick tests indicate that these work as expected.
No documentation yet, though.
Ray