Parameter Optimization in an interval
Show older comments
I have a scoring function asd that takes 4 parameters. Normally this works:
[m n]=fminsearch(asd,[40,40,0.04,0.75] , ...
optimset('MaxFunEvals',4000000,'MaxIter',4000000));
This gives the actual answer, the best possible point
However if I choose the starting point differently:
[m n]=fminsearch(asd,[10,100,0.04,0.75] ,...
optimset('MaxFunEvals',4000000,'MaxIter',4000000))
The optimizer just gives up and finds a non optimal solution. How do I make sure all the values within a certain interval are considered. It would be far more useful if I could specify a [lower bound, starting position, upper bound] for each parameter.
Accepted Answer
More 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!