fmincon exitflag=0; MaxIter=3000; output.iterations=277
17 ビュー (過去 30 日間)
古いコメントを表示
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.
0 件のコメント
採用された回答
Alan Weiss
2014 年 7 月 18 日
I am not sure what is going on here. Can you show us your options, and the way you called fmincon? I am also interested in seeing ALL of the fmincon output.
Alan Weiss
MATLAB mathematical toolbox documentation
0 件のコメント
その他の回答 (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
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!