필터 지우기
필터 지우기

Hessian in fmincon

조회 수: 1 (최근 30일)
mathuet
mathuet 2011년 9월 7일
Dear Members,
I am using fmincon for the optimization of parameters. fmincon has nicely evaluated the optimized parameters. For the sensitivity analysis, I need to compute the Hessian. I have observed that the Hessian in fmincon is the Hessian of the Lagrangian, but I want to have the Hessian as the matrix of second derivatives of the objective function f (as in fminunc). How Can I evaluate this matrix using fmincon. I would be really thankful to you for giving me the answer. Any idea is welcome.
Thanks
Best Regards

답변 (1개)

Karthik  Vemireddy
Karthik Vemireddy 2011년 12월 13일
select the option under derivatives as 'Gradient and Hessian supplied' for Trust region reflective algorithm or 'Gradient supplied' for the other algorithms.
Write your objective fcn as described in the following doc (see section 'including derivatives') :
You can use Trust region algorithm r interior point algorithm, if they suit ur problem
r try meddling with the hessian fcn by giving your own fcn handle r forcefully giving a user supplied fcn (just a suggestion, not sure if it wud work)

카테고리

Help CenterFile Exchange에서 Solver Outputs and Iterative Display에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by