[SciPy-user] optimize.fmin_bfgs only returning a scalar for xopt?
Thu Apr 3 14:30:17 CDT 2008
On Thu, 3 Apr 2008 15:21:27 -0400
David Warde-Farley <firstname.lastname@example.org> wrote:
> Hi folks,
> I just checked out a fresh copy of scipy this morning
>and I'm having
> an odd problem with optimize.fmin_bfgs (and actually
> Namely, the function I give it (and the initial guess)
> arguments of length > 1, but I only get a scalar back
> numpy.float64) in the first tuple position, which, if
>I'm reading the
> docs right, should contain the value of x that minimizes
> you provided.
> This happens whether or not I supply a gradient
>Furthermore, my objective function actually raises an
> it's called with a scalar arg instead of an array of the
> Is this a bug? Can anyone confirm this behaviour in
>r4076? Or am I
> doing it wrong?
> SciPy-user mailing list
Can you provide us with your example code ?
More information about the SciPy-user