|
"ankush chaudhary" wrote in message <kb1nmc$cvl$1@newscl01ah.mathworks.com>...
> Hello
> I am trying to use optimset in matlab.
> I could understand that it is used for optimization. There are two terms to use "TolFun" and "TolX".
> I could not understand their usage.
> Can somebody please explain this with proper example. Its urgent
>
> Thanks
In short:
If from iteration (i-1) to i, the objective function changes by less than TolFun _or_
the solution variables change by less thanTolX, the optimizer will stop after iteration i.
Best wishes
Torsten.
|