查看单个帖子
旧 2019-12-06, 13:41   #1
poster
高级会员
 
注册日期: 2019-11-21
帖子: 3,006
声望力: 66
poster 正向着好的方向发展
默认 如何解决“ Levenberg-Marquardt算法无法处理约束”错误

我正在尝试使用LM算法来使用lsqnonlin而不是内部点进行优化,以实现无梯度优化。但是我收到以下错误

Error using lsqncommon (line 64) The Levenberg-Marquardt algorithm does not handle bound constraints and the trust-region-reflective algorithm requires at least as many equations as variables; aborting. 即使可以通过以下方法解决1 ,这也可以说LM算法可以修改为解决边界问题2 。是否可以通过使用lsqnonlin函数修改算法来解决此错误?



更多&回答...
poster 当前离线   回复时引用此帖