Optimization by fmincon with central finite differences gradient

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개)

카테고리

도움말 센터File Exchange에서 Problem-Based Optimization Setup에 대해 자세히 알아보기

질문:

2017년 4월 9일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by