Modification of fminunc

버전 1.0.0.0 (7.47 KB) 작성자: Olivier Salvado
Update of the fminunc line search optimization.
다운로드 수: 3.2K
업데이트 날짜: 2006/8/2

라이선스 보기

It may not be a bug but something I am missing. In some cases fminuc starts a line search during the first iteration and returns the message that it cannot find a good solution along the search direction, although it went through some points with a lower cost (easily seen by printing the cost function at each call of the optimization function).
To solve that problem I modified one of the sub-function called by fminuc (fminusub) so that it checks that the best solution along the line search is not lower than the last best solution before claiming that it cannot find a good solution.
Well, I don?t know it is clear, but it is an easy fix. Of course I welcome any suggestion if someone has any experience with this issue.
Just replace the function fminsub.m in the folder: \toolbox\optim\private

인용 양식

Olivier Salvado (2024). Modification of fminunc (https://www.mathworks.com/matlabcentral/fileexchange/11778-modification-of-fminunc), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2006a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Direct Search에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0

Check that exitflagLnSrch~=-1