Maximum Iterations exceeded

조회 수: 14 (최근 30일)
Matthias
Matthias 2012년 2월 28일
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
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.

카테고리

Help CenterFile Exchange에서 Multiobjective Optimization에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by