fmincon exitflag=0; MaxIter=3000; output.iterations=277
이전 댓글 표시
fmincon gives me command window warnings that MaxIter is exceeded and returns the correct exitflag. But the returned iteration count is well below MaxIter.
Running MatLab R2014a.
Any idea what is going on?
Rob B.
채택된 답변
추가 답변 (1개)
Robert
2014년 7월 18일
댓글 수: 1
Alan Weiss
2014년 7월 27일
There are only 291 iterations, well below the limit, that is true. But the solver stopped because the number of function evaluations, 3004, exceeded the function evaluation limit MaxFunEvals.
Alan Weiss
MATLAB mathematical toolbox documentation
카테고리
도움말 센터 및 File Exchange에서 Solver Outputs and Iterative Display에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!