RMSEARCH

버전 1.0.0.0 (105 KB) 작성자: John D'Errico
Randomly multiply started optimizations for global problems
다운로드 수: 4.2K
업데이트 날짜: 2007/3/6

라이선스 보기

Some optimization problems have very simple surfaces to optimize. The optimizer simply proceeds downhill to the unique minimizer and returns happily - all is good in the world. Sadly, more often the objective function has multiple local minimizers, you as the user provide poor starting values, and the optimization returns what is essentially junk for a solution. My response would typically be that you needed to provide better starting values. At that time, I'd also try to explain the idea of a basin of attraction for any minimum. Its the set of points that when used as starting values, will allow a given optimizer to converge to a given local minimum.

Starting values that lie in the basin of attraction of the global minimizer are not always that easy to choose for all problems. One solution is to use a randomly multiply started optimizer. Thus, generate lots of starting values, then start the optimizer from each such point. Or start from only the very best of those sampled points.

RMSEARCH puts a simple framework around this task, automatically generating random samples for you, testing which result in the best initial points, then starting your chosen optimizer at that set of points, finally compiling the results.

RMSEARCH can be used with 7 different optimizers:

fminbnd, fmincon, fminsearch, fminsearchbnd, fminsearchcon, fzero, lsqnonlin.

Fmincon requires the optimization toolbox, while fminsearchbnd and fminsearchcon can be found right here on the file exchange:

http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=8277&objectType=file

http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=13469&objectType=FILE#

인용 양식

John D'Errico (2024). RMSEARCH (https://www.mathworks.com/matlabcentral/fileexchange/13733-rmsearch), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2006b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Linear Programming and Mixed-Integer Linear Programming에 대해 자세히 알아보기
태그 태그 추가
도움

도움 받은 파일: Optimization Tips and Tricks

Community Treasure Hunt

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

Start Hunting!

RandomlyMultiStartedOptimizations/

RandomlyMultiStartedOptimizations/demo/html/

버전 게시됨 릴리스 정보
1.0.0.0

Fixed a bug that sometimes did not search diligently enough for a root near the top of the domain for fzero.