Maximum Iterations exceeded
显示 更早的评论
I'm currently using optimization toolbox quadprog function and i get exitflag values of 0 which means max iter exceeded.
I tried: options = optimset('Display', 'off','LargeScale', 'off','MaxIter','500');
but i get the following error:Invalid value for OPTIONS parameter MaxIter: must be a real non-negative integer (not a string).
how can i increase maximum iterations? thanks for your help.
回答(1 个)
Walter Roberson
2012-2-28
options = optimset('Display', 'off','LargeScale', 'off','MaxIter',500);
Just like it says: it must be a real non-negative integer, not a string.
类别
在 帮助中心 和 File Exchange 中查找有关 Multiobjective Optimization 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!