MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   资料存档 (https://www.labfans.com/bbs/forumdisplay.php?f=72)
-   -   如何解决“ Levenberg-Marquardt算法无法处理约束”错误 (https://www.labfans.com/bbs/showthread.php?t=22460)

poster 2019-12-06 13:41

如何解决“ 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. 即使可以通过以下方法解决[URL="https://au.mathworks.com/matlabcentral/answers/231135-error-in-lsqnonlin-line-232-error-in-lsqncommon-line-88"]1[/URL] ,这也可以说LM算法可以修改为解决边界问题[URL="https://au.mathworks.com/matlabcentral/answers/442037-handling-bound-constraints-by-the-levenberg-marquardt-algorithm"]2[/URL] 。是否可以通过使用lsqnonlin函数修改算法来解决此错误?



[url=https://stackoverflow.com/q/59207442]更多&回答...[/url]


所有时间均为北京时间。现在的时间是 23:29

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.