Is there a way to set MaxSQPIter for active-set algorithm under fmincon?

Is there a way to set MaxSQPIter for active-set algorithm under fmincon?
I tried -
options.MaxSQPIter = 1e3;
However, that didn't work, and it just showed me that the optimisation stopped as options.MaxSQPIter is 1.8E+02.

Réponses (1)

Matt J
Matt J le 20 Oct 2021
Probably because you didn't pass options to fmincon. Otherwise, show us your code.

Catégories

En savoir plus sur Optimization Toolbox dans Centre d'aide et File Exchange

Produits

Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by