increase options.MaxFunEvals

Hi,
I am following the example for fitting interest rate curve, Svensson model, and I received following error message. How can I fix the problem and increase the options.MaxFunEvals? By the way, I have tried options.MaxFunEvals=200000; and options=optimset(options,'MaxFunEvals',10000,'MaxIter',10000); but it seems they dont increase the local parameters. Do you have any suggestion? Thank you
Maximum number of function evaluations exceeded; increase options.MaxFunEvals Warning: Function evaluation or iteration limit exceeded > In IRFunctionCurve.IRFunctionCurve>IRFunctionCurve.fitFunction at 545 In IRFunctionCurve.IRFunctionCurve>IRFunctionCurve.fitSvensson at 692

Respuestas (0)

Categorías

Productos

Preguntada:

el 30 de Dic. de 2012

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by