Calculating the Hessian matrix using lsqnonlin
7 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hello
I am optimising a multiobjective function using the lsqnonlin function with the trust-region reflective algorithm.
I was wondering how I can get the hessian matrix as an output?, is there any way other than estimating it with H=J`J?
Thanks
0 Commenti
Risposte (1)
yanqi liu
il 12 Feb 2022
yes,sir,may be transfer your method to use fmincon,we can see the output parameters,such as
[x,resnorm,residual,exitflag,output,lambda,jacobian] = lsqnonlin(___)
[x,fval,exitflag,output,lambda,grad,hessian] = fmincon(___)
if possible,may be upload your function to analysis
Vedere anche
Categorie
Scopri di più su Multiobjective Optimization in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!