increase options.MaxFunEvals

1 view (last 30 days)
fatemeh
fatemeh on 30 Dec 2012
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 Problem-Based Optimization Setup in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!