Fsolve convergence when the variables are changing of the order of 1e-3 or less
2 ビュー (過去 30 日間)
古いコメントを表示
I am interested in using fsolve to get the initial guess which satisfies a boundary condition in a Boundary Value Problem(BVP). The issue I am currently facing is let u0 = [4.31952;-3.75572;15.99999] be the starting guess in fsolve.
The solution would be something of this kind u1 = [4.31952+1e-5;-3.75572+1e-5;15.99999+1e-5]. Fsolve says no solution found, I tried to change the TolX and TolFun but had no success.
I am looking for a way to solve this issue, I tried scaling u0*1e2 still I don't obtain any convergence. I know should be an easy way to deal with these problems. Looking for some help.
2 件のコメント
回答 (1 件)
Matt J
2016 年 12 月 18 日
編集済み: Matt J
2016 年 12 月 18 日
I don't get solution when I start with u1.
If you cannot get to the solution from u1, which is supposedly very close to the solution, it is likely that there is no solution near u1 as you expect. This might be due to some implementation error that you have made in the objective function, i.e, you are not implementing the equations that you intend to.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!