increase options.MaxFunEvals
1 view (last 30 days)
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
0 Comments
Answers (0)
See Also
Categories
Find more on Problem-Based Optimization Setup 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!