Maximum Iterations exceeded

19 visualizaciones (últimos 30 días)
Matthias
Matthias el 28 de Feb. de 2012
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.

Respuestas (1)

Walter Roberson
Walter Roberson el 28 de Feb. de 2012
options = optimset('Display', 'off','LargeScale', 'off','MaxIter',500);
Just like it says: it must be a real non-negative integer, not a string.

Categorías

Más información sobre Multiobjective Optimization en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by