Re: Pls, I need some help on fzero's optimset settings.



I see what you mean by now... Hmmm... It's logical as what you have
mentioned. I will look through the codes more thoroughly and see if i
can modify it.

Thanks alot for pointing that out! Thank you so much, John.

Keah Ying

John D'Errico wrote:


KYing wrote:


Thank you so much, John!!
I drank the first cup of coffee, and didn't go for a second
one,
coz
i couldn't sleep after that....

I am wondering where and how you checked those using the
debugger
though...

Thanks again!

Further checking, before I submitted a
bug report, coupled with a read of the
doc for fzero, shows it is not actually
a bug.

Fzero uses only 4 of the options from
optimset.

Display
FunValCheck
OutputFcn
TolX

I'd have to call this more of a feature
than a bug, since one would reasonably
expect all the optimizers to use MaxIter
and MaxFunEvals as important flags too.
They stop it from runaway convergence
problems.

Actually checking this fact was as
simple as typing

dbstop fzero

then stepping through the code. Its a
short code. Just watch the values of
fcount and iter as they are incremented,
looking to see if a test is ever made.

John
.



Relevant Pages

  • Re: ie6 peekaboo problem
    ... "Beauregard T. Shagnasty" wrote:OK, John. ... This long standing bug has been suppressed in IE7 ... How's that for a lingering prejudice against MS browsers! ... schmuck in question has brains. ...
    (alt.html)
  • Re: Incremental population stops
    ... John ... > whether or not this is a bug or a PRB. ... > MSSearch service is not able to take the push of data from SQL Server at ... >> users search for could meet with an XML element tag). ...
    (microsoft.public.sqlserver.fulltext)
  • Re: Once in a lifetime for golfers
    ... John H wrote: ... After my MGA died when I worked at the KC Star, I bought a new Bug. ... the assignment editor had me running to small towns in Missouri for the sort of color feature stories the paper liked in those days. ... I can report, however, that it was possible to get laid in the back seat of a VW. ...
    (rec.boats)
  • Re: [wwwsearch-general] Re: Urllib2 / add_password method
    ... On Sat, 29 Apr 2006, John J. Lee wrote: ... but I haven't found documentation on what 'realm' and 'host' are for. ... I'm surprised if it worked at all given that bug. ... You can use HTTPPasswordMgrWithDefaultRealm so that at least you can forget about the realm part. ...
    (comp.lang.python)
  • Re: Pls, I need some help on fzeros optimset settings.
    ... i couldn't sleep after that.... ... bug report, coupled with a read of the ... Fzero uses only 4 of the options from ...
    (comp.soft-sys.matlab)