Hi Michael,<br><br>I will give the new nightly build a try this evening and let your know whether or not I experience the same problems. In case I do, I would sent my code and data to the bug tracking system, so you could try to reproduce them.<br>
<br>Sebastien<br><br><div class="gmail_quote">On Mon, Oct 19, 2009 at 4:49 AM, Michaël Baudin <span dir="ltr"><<a href="mailto:michael.baudin@scilab.org">michael.baudin@scilab.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Dear Sébastien,<br>
<br>
Thank you for reporting your experience with fminsearch<br>
in the nighty build.<br>
Any bug which might be discovered before the actual release<br>
of v5.2 will help us to release an even more robust version.<br>
<br>
As soon as you are able to run any version of Scilab (be it a<br>
nighty build or a source version), whatever the platform,<br>
do not hesitate to report any bug you may find on our<br>
bug tracking system :<br>
<br>
<a href="http://bugzilla.scilab.org" target="_blank">http://bugzilla.scilab.org</a><br>
<br>
Could you clarify the error message you got with respect<br>
to the "funccount vs funcCount" problem ?<br>
<br>
Your problem with the number of function evaluations is not clear for<br>
me. I checked the behaviour of Scilab's fminsearch by comparison<br>
with Matlab's, and found exactly the same number of function<br>
evaluations in the end (I can provide further details if necessary).<br>
The initial number of function evaluations is n+1,<br>
since one function evaluation is required for each vertex.<br>
<br>
Best regards,<br>
<br>
Michaël<br>
<br>
Sébastien Bihorel a écrit :<div><div></div><div class="h5"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
By the way,<br>
<br>
If that can help anybody finalizing the Nelder-Mead algorithm, I saw something that looks like a bug to me. Although I was unable to run the fminsearch function to its end, I saw that for the initial iteration (ie. the iteration 0), more than one function evaluations are reported... this is weird, the cost or objective function (however your want to call it) should only be evaluated once, ie using the initial guesses of the parameters to optimize.<br>
<br>
Sebastien<br>
</blockquote>
<br>
</div></div></blockquote></div><br>