How to tune fmincon approximate gradient estimation in sqp algorithm
Show older comments
Greetings,
Using r2013b and the relevant Optimisation toolbox, I use fmincon with sqp algorithm.
Is it possible to know how the approximate gradient are computed ? Like which finite difference method is used and the associated FD step ?
Answers (1)
Alan Weiss
on 21 Jan 2019
Edited: Alan Weiss
on 21 Jan 2019
0 votes
See, for example, the descriptions of FiniteDifferenceStepSize and FiniteDifferenceType in fmincon options.
Alan Weiss
MATLAB mathematical toolbox documentation
P.S. Option names changed and so FiniteDifferenceStepSize is, for you, FinDiffRelStep, and FiniteDifferenceType, for you, is FinDiffType.
Categories
Find more on Solver Outputs and Iterative Display in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!