change stepsize of fmincon
46 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Heiko Scholz
le 21 Fév 2019
Réponse apportée : Alan Weiss
le 21 Fév 2019
Hi
I am using fmincon to optimize the result of a unknown executable function (function.exe).
Fmincon changes the variables in the size of 1e-3 ~ 1e-4. But the result of the function leads to the same result. I'm sure that the changes are within the rounding tolerance of output of the function. How can i change the settings of fmincon to use a larger step size.
I already tried 'OptimalityTolerance', 'FiniteDifferenceStepSize' and 'DiffMinChange'. Non of them changed the stepsize of the variation of the variables.
Greetings
0 commentaires
Réponse acceptée
Alan Weiss
le 21 Fév 2019
See Set Larger Finite Differences. Also, check that your function returns different values for different inputs.
Alan Weiss
MATLAB mathematical toolbox documentation
0 commentaires
Plus de réponses (0)
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!