Optimization Error: How do I set the algorithm of used by a function?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Devdatt Thengdi
le 27 Mar 2018
Commenté : Devdatt Thengdi
le 27 Mar 2018
e.g. (R2011a) if I am using 'fmincon', I used options:
options = optimoptions('fmincon','Display','iter','Algorithm','sqp');
I am getting an error:
Undefined function 'optimoptions' for input arguments of type 'char'.
0 commentaires
Réponse acceptée
Birdman
le 27 Mar 2018
Try this:
options=optimset('fmincon');
options.Display='iter';
options.Algorithm='sqp';
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Problem-Based Optimization Setup dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!