Calculation of the gradient of a function in BFGS Quasi-Newton Algorithm
1 次查看(过去 30 天)
显示 更早的评论
I have a function
that I want to minimize using the BFGS Quasi-Newton algorithm.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/303999/image.png)
If
.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/304003/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/304007/image.png)
Also, A is given, B is not given, and C is a function of B only.
If I want to calculate to the gradient of the function (
). Should I calculate it with respect to all variables or with respect to B only?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/304011/image.png)
0 个评论
采纳的回答
Matt J
2020-5-27
With respect to all the variables that are unknown.
4 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!