Optimization by fmincon with central finite differences gradient
3 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Get Started with Optimization Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!