Computing sensitivities in FMINCON optimization
古いコメントを表示
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
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
カテゴリ
ヘルプ センター および File 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!