Clear Filters
Clear Filters

hi all, is it possible to put more then two tasks in options?? like i want three "options = optimset('​MaxFunEval​s',50000,'​MaxIter',3​0000',MaxF​unInterval​',1020');"​...but its showing error.... do i need to use another options for third one????

2 views (last 30 days)
hi all, is it possible to put more then two tasks in options?? like i want three "options = optimset('MaxFunEvals',50000,'MaxIter',30000',MaxFunInterval',1020');"...but its showing error.... do i need to use another options for third one????

Accepted Answer

Alan Weiss
Alan Weiss on 1 May 2017
There is no MaxFunInterval option. Did you mean MaxFunEvals? Look in the function reference page for the solver you are using and copy the applicable options exactly.
Alan Weiss
MATLAB mathematical toolbox documentation
  3 Comments
Steven Lord
Steven Lord on 1 May 2017
MaxIntervalCount is not an option for the functions in Optimization Toolbox but is an option used by the quadgk function. Inside the function that you pass into the Optimization Toolbox function you're using, you call quadgk.
If you show the integral your function is trying to compute we may be able to say if increasing the MaxIntervalCount option in the quadgk call will work, if the integral of the function just plain doesn't exist (it doesn't converge), or if there are other techniques you can use to integrate it more easily.
ZAHID MALIK
ZAHID MALIK on 6 May 2017
not able to reproduce this plot after doing minimization...plzzz help... program and plot both i m sending u in attached files

Sign in to comment.

More Answers (0)

Categories

Find more on Board games in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!