scipy.optimize.lbfgsb help please!!!

Robert Kern robert.kern at gmail.com
Sat Jan 20 19:36:11 EST 2007


mclaugb wrote:
> " x, f, d = lbfgsb.fmin_l_bfgs_b(Permmin, x0, Jacobi, params, 
> bounds=[(.001,100),(-50,-.001)] , maxfun=500)
>   File "C:\Python24\lib\site-packages\scipy\optimize\lbfgsb.py", line 197, 
> in fmin_l_bfgs_b
>     isave, dsave)
> ValueError: failed to initialize intent(inout) array -- expected elsize=8 
> but got 4 -- input 'l' not compatible to 'd'"

And also tell us your platform. I suspect this is a 64-bit problem.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco




More information about the Python-list mailing list