[SciPy-dev] ERROR: limited-memory bound-constrained BFGS algorithm

Ed Schofield schofield at ftw.at
Tue Nov 8 13:17:39 CST 2005



On Tue, 8 Nov 2005, Nils Wagner wrote:

> ======================================================================
> ERROR: limited-memory bound-constrained BFGS algorithm
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>    File
> "/usr/local/lib/python2.4/site-packages/scipy/optimize/tests/test_optimize.py",
> line 114, in check_l_bfgs_b
>      args=(), maxfun=self.maxiter)
>    File
> "/usr/local/lib/python2.4/site-packages/scipy/optimize/lbfgsb.py",
> line 207, in fmin_l_bfgs_b
>      return x, f[0], d
> ValueError: 0-d arrays can't be indexed.


Yes, I know this is broken.  I added some new unit tests today, partly to
highlight this problem. It hasn't ever worked with the new scipy core.
I'm working on it :)


-- Ed




More information about the Scipy-dev mailing list