How can I adjust the behavior of 'levenberg-marquardt' algorithm in fsolve?

조회 수: 3 (최근 30일)
Hsin Cheng
Hsin Cheng 2022년 3월 4일
편집: Matt J 2022년 3월 4일
I am solving equation numerically by using fsolve. When I used 'trust-region-dogleg' algorithm, the numerical result changes a lot when I adjust the value of 'FunctionTolerance' and 'OptimalityTolerance' in the optimoptions function.
Then, I tried to use the 'levenberg-marquardt' algorithm. But the numerical result did not change even if I set 'FunctionTolerance' and 'OptimalityTolerance' to some crazy values.
Therefore, I would like to ask which options in the optimoptions function should I set so that I can play with different results with the 'levenberg-marquardt' algorithm? In other words, which parameters are the 'levenberg-marquardt' algorithm more sensitive to?
Thanks in advance.

답변 (1개)

Matt J
Matt J 2022년 3월 4일
편집: Matt J 2022년 3월 4일
There is no general pattern of sensitivity that you will see with either of the algorithms to any particular tolerance parameter. Whatever pattern you are seeing in your experiments is purely due to the specifics of your objective function, and maybe also your initial guess.

카테고리

Help CenterFile Exchange에서 Solver Outputs and Iterative Display에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by