Optimization Error: How do I set the algorithm of used by a function?
18 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Devdatt Thengdi
am 27 Mär. 2018
Kommentiert: Devdatt Thengdi
am 27 Mär. 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 Kommentare
Akzeptierte Antwort
Birdman
am 27 Mär. 2018
Try this:
options=optimset('fmincon');
options.Display='iter';
options.Algorithm='sqp';
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Problem-Based Optimization Setup finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!