On 6/25/09, Leo Butler <l.butler at ed.ac.uk> wrote:
> I believe that lbfgs attempts to compute the gradient symbolically, and
> there is no means to supply this gradient if it is unable to compute it.
> Is this correct?
You can specify the figure of merit and gradient together as a list.
e.g.
lbfgs ([x^2 + y^2, [2*x, 2*y]], [x, y], ....);
I guess it isn't documented. Sorry about that.
best
Robert Dodier