bfgsmin iterations

Levente Torok toroklev at gmail.com
Wed May 13 03:27:32 CDT 2009


Dear Michael Creel,

I used your bfgsmin implementation and I found that it evaluates the
objective function unnessessarily many times.
I have recorded the points at which my function was evaluated 

Please find the enclosed png file. x axis - iteration, y - value of my 1 dimensional obj.func parameter.
And this is the array in which I recorded the location of the evaluations
z=[
   3.00000000000000e+02   
    6.00000000000000e+02  
    1.00000000000000e-01   
    4.50000000000000e+02  
    4.50000000000000e+02  
    1.50000000000000e+02  
    1.00000000000000e-01   
    1.00000000000000e-01   
    2.25000000000000e+02  
...

As I see it usually calles the obj.func two times with exactly the same argument.
I'd like to know it if is normal and if so, isn't there an easy way of doing a caching
instead of double calling.

Levente

-- 
Blogger of http://fapuma.blogspot.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bfgsmin.png
Type: image/png
Size: 8616 bytes
Desc: not available
Url : https://www-old.cae.wisc.edu/pipermail/octave-maintainers/attachments/20090513/bac48e3d/attachment.png 


More information about the Octave-maintainers mailing list