Re: scipy.optimize.lbfgsb help please!!!

2007-01-20 Thread Robert Kern
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

Re: scipy.optimize.lbfgsb help please!!!

2007-01-20 Thread Robert Kern
mclaugb wrote: > Just to clarify--this is a multivariate algorithm. Yes. That means that the domain of the objective function is multivariate. The image is still a scalar. RR^n -f-> RR > I changed the function > Permmin to simply take the absolute value of (xmin, ymin) so that it returns >

Re: scipy.optimize.lbfgsb help please!!!

2007-01-20 Thread mclaugb
Just to clarify--this is a multivariate algorithm. I changed the function Permmin to simply take the absolute value of (xmin, ymin) so that it returns one value. Unfortunately, the error remains--it still returns this error: " x, f, d = lbfgsb.fmin_l_bfgs_b(Permmin, x0, Jacobi, params, bounds

Re: scipy.optimize.lbfgsb help please!!!

2007-01-20 Thread Robert Kern
mclaugb wrote: > Does anyone out there have a piece of code that demonstrates the use of the > lbfgsb multivariate, bounded solver in the scipy.optimize toolkit? An > example would get me started because my code below does not seem to work. You will probably get better/faster/more answers on th

scipy.optimize.lbfgsb help please!!!

2007-01-20 Thread mclaugb
Does anyone out there have a piece of code that demonstrates the use of the lbfgsb multivariate, bounded solver in the scipy.optimize toolkit? An example would get me started because my code below does not seem to work. Thanks alot, Bryan I have tried to use the LBFGSB optimisation algorithm w