Interior point maximization on non-smooth surface

조회 수: 1 (최근 30일)
DoVile Last Name:
DoVile Last Name: 2012년 8월 23일
댓글: John D'Errico 2018년 6월 18일
I am estimating a state-space model using maximum likelihood, and i am also doing simulations. For the actual maximisation part i have found that Interior point is the fastest way and also more accurate than BFGS, however my function to be maximized is very "bumpy" locally, overall it does behave nicely but if you soom in there are alot of local max and mins, so i figure meaby it would help if the nummerical derivatives were calculated over a greater length of area(as oposed to just moving slightly around the estimates to get them).
Is this possible ?
Thank you
  댓글 수: 2
Sayyed Ahmad
Sayyed Ahmad 2018년 6월 18일
You can also devlp your algorithm in C++ inline function to accelerating your code use it by mex compiler in matlab. You will be surprised. An inline function in C++ looked like this:
template<class T> inline T plus2(T a,T b) { return a+b; }
The following Link is a very easy example to understanding mex:
have fun Ahmad
John D'Errico
John D'Errico 2018년 6월 18일
This is not a question of speed, of compiling a mex function at all, and all you did was resurrect a 6 year old dead question.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Online Estimation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by