Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Problem with paretosearch after including ode45 inside solver

1 Ansicht (letzte 30 Tage)
henry kagey
henry kagey am 28 Jan. 2019
Geschlossen: henry kagey am 30 Jan. 2019
I had a perectly functioning paretoserach script that I tried to improve by solving a differential equation using ode45 inside the solver. I tested the ode45 code separately, and it does exactly what I expectd it to do, and then tested it inside the longer algorithm over a single run (before applying the paretosearch) anbd again it worked flawlessly. After adding this into the paretosearch script the code runs, but the number of pareto solutions is small, and hardly spaced apart at all. I also used (an already functioning) gamultiobj script with the same ode45 inclusion, and while I get a number of solutions using this code, they are only infinitessimally spaced apart.
After searching about some, I put the ode45 call inside of a (nested) function within the paretosearch function, but this did not change anything in the solution. I do not undertand what could be causing the problem.
I am concerned that incuding the code here will distract from the question as it is hundreds of lines long. If there are details I can provide that will illuminate my question, please ask and I will include them.
Thank you

Antworten (0)

Produkte


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by