Optimization by fmincon with central finite differences gradient
3 views (last 30 days)
Show older comments
I am using (MATLAB version R2015b,fmincon function, sequential quadratic programming algorithm) to identify a nonlinear state space model using MLE and Kalman filter. I used an UKF to calculate The log-likelihood expression: http://stats.stackexchange.com/questions/249626/negative-loglikelihood-kalman-filter.
fmincon is a gradient-based optimization method, I used a supplied gradient of the negative log-likelihood function to find the optimal point. Now I want to compare my results and the results found by using gradient estimated by central finite differences, To know which method is more time-consuming than the other.
I performed multiple optimizations runs, the optimization with my supplied gradient takes approximately the same time at each run, But with central finite differences gradient, I Get a different time at each run.
0 Comments
Answers (0)
See Also
Categories
Find more on Get Started with Optimization Toolbox 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!