Computing sensitivities in FMINCON optimization

조회 수: 2 (최근 30일)
Holly
Holly 2013년 2월 6일
Hello,
I am using FMINCON for a constrained optimization problem and would like to perform a sensitivity analysis to see which variables are the most important with respect to the output. After reading a few other threads, I believe I should be using the Hessian matrix to do this, but I am unfamiliar with how to go about this. I am rather new to technical computing and would appreciate any help and direction anyone can provide. Thanks!
Holly

답변 (1개)

Alan Weiss
Alan Weiss 2013년 2월 6일
편집: Alan Weiss 2013년 2월 6일
Perhaps the first place to look is the Lagrange multiplier structure that is optionally returned:
[x,fval,exitflag,output,lambda] = fmincon(...)
lambda contains the Lagrange multipliers; see the output argument section of the fmincon reference page. Nonzero values of the Lagrange multipliers indicate that the constraint affects the solution. Larger absolute values of the multipliers indicate relatively more important contributions, at least locally (if you change that constraint a tiny bit, the solution changes more). There is a bit more information on the structure here.
I should probably document this better. In any case, I hope this helps.
Alan Weiss
MATLAB mathematical toolbox documentation

카테고리

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