为什么 fmincon 中的信任区域反射算法需要梯度作为输入?
根据 Matlab fmincon 文档,“trust-区域反射算法需要指定目标梯度。我阅读了算法解释但是然而,我无法理解其中的原因。 1-为什么需要梯度作为输入? 2-目标函数必须是解析函数吗?因为我的目标函数是计算某个矩阵作为输出的函数句柄 感谢您提前的帮助
According to Matlab fmincon documentation, the 'trust-region-reflective' algorithm needs to specify the objective gradient. I read the algorithm explanation but yet, I cannot understand the reason for that.
1- Why does it need gradient as input?
2- Does the objective function have to be analytical? since my objective function, is function handle that calculates some matrix as output
Thanks for your help in advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论