Re: Pls, I need some help on fzero's optimset settings.
- From: KYing <hanashian@xxxxxxxxx>
- Date: Sat, 30 Jun 2007 07:08:57 -0400
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:
one,
KYing wrote:
Thank you so much, John!!
I drank the first cup of coffee, and didn't go for a second
debuggercoz
i couldn't sleep after that....
I am wondering where and how you checked those using the
.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
- References:
- Pls, I need some help on fzero's optimset settings.
- From: KYing
- Re: Pls, I need some help on fzero's optimset settings.
- From: John D'Errico
- Re: Pls, I need some help on fzero's optimset settings.
- From: KYing
- Re: Pls, I need some help on fzero's optimset settings.
- From: John D'Errico
- Pls, I need some help on fzero's optimset settings.
- Prev by Date: Re: mx Function, I don't understand an example
- Next by Date: interpulation into look up table
- Previous by thread: Re: Pls, I need some help on fzero's optimset settings.
- Next by thread: using output of simulink in gui
- Index(es):
Relevant Pages
|