poster
2019-12-06, 13:41
我正在尝试使用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 (https://au.mathworks.com/matlabcentral/answers/231135-error-in-lsqnonlin-line-232-error-in-lsqncommon-line-88) ,这也可以说LM算法可以修改为解决边界问题2 (https://au.mathworks.com/matlabcentral/answers/442037-handling-bound-constraints-by-the-levenberg-marquardt-algorithm) 。是否可以通过使用lsqnonlin函数修改算法来解决此错误?
更多&回答... (https://stackoverflow.com/q/59207442)
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 (https://au.mathworks.com/matlabcentral/answers/231135-error-in-lsqnonlin-line-232-error-in-lsqncommon-line-88) ,这也可以说LM算法可以修改为解决边界问题2 (https://au.mathworks.com/matlabcentral/answers/442037-handling-bound-constraints-by-the-levenberg-marquardt-algorithm) 。是否可以通过使用lsqnonlin函数修改算法来解决此错误?
更多&回答... (https://stackoverflow.com/q/59207442)