increase options.MaxFunEvals
Show older comments
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
Answers (0)
Categories
Find more on Interpolation in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!