How can I optimize initial guess of a solution?

7 views (last 30 days)
Elia Paini
Elia Paini on 13 May 2021
Commented: Elia Paini on 19 May 2021
Hi, I solved a system of non linear ODEs with bvp4c. The system is a bit complicated, since it contains 17 equations with 17 variables. I realized that initial guess strongly influences the final solution, which is normal. I tried to enter optimal values of my variables as initial guess, giving them the order of magnitude I expect during simulation. In this way, the maximum residual has decreased a lot, however it seems still high.
I have the following warning: ... The maximum residual is 0.16, while requested accuracy is 0.001
How can I further decrease the residue? Is there available an optimizer of initial guess?
Thank you!
  5 Comments

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by