Is there any way to enhance the step of iteration of optimization with fmincon?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello. I am trying to do optimization by fmincon. My objection is to minimize the loss. However, when the optimization running, in every iteration the function decrement is so small. Therefore its taking too much time for optimization. Is there any way to enhance the step means decreases with big step? Thanks in advance.
2 commentaires
Walter Roberson
le 9 Fév 2018
Are analytic gradient and hessian available? If so then passing functions for those in can improve the performance.
Réponses (1)
Walter Roberson
le 9 Fév 2018
According to https://www.mathworks.com/matlabcentral/answers/6694-controlling-stepsize-of-fmincon#answer_266363 you can adjust the FiniteDifferenceStepSize to make it larger, to effectively put a lower bound on the adaptive step size that fmincon uses.
I suspect you will find that it does not make much difference towards obtaining a global minima: what it might do is get it to give up earlier when it encounters a local minima.
0 commentaires
Voir également
Catégories
En savoir plus sur Solver Outputs and Iterative Display 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!