What should be the optimization method for my case?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Orcan Maktal
am 27 Apr. 2021
Kommentiert: Orcan Maktal
am 11 Mai 2021
I have an optimization problem which I minimize rms of velocity output of ODE function. When optimization runs, in each iteration first-order optimality goes high and low and repeats. I have inequality constraints, 5 for positions and, 5 for velocities. What method should it be to solve my problem?
Note: The lowest value for rms of velocity is 0 but it means there is no movement at all but I consider it in my constraints.
Thank you for help.
0 Kommentare
Akzeptierte Antwort
Alan Weiss
am 29 Apr. 2021
For such a general question I can give only general advice. See the topics Optimizing a Simulation or Ordinary Differential Equation and, perhaps (though it might not be applicable), Fit ODE, Problem-Based and Fit an Ordinary Differential Equation (ODE) and Optimize an ODE in Parallel (uses Global Optimization Toolbox, but you can use fmincon as well).
I hope this helps in some way,
Alan Weiss
MATLAB mathematical toolbox documentation
5 Kommentare
Alan Weiss
am 11 Mai 2021
Just one more thought. Perhaps you should not be using a fixed-step ODE solver. You can always get the solution at any times you like by using deval. Perhaps the solution process would be more reliable using a variable-step solver, possibly even one designed for stiff equations such as ode15s.
But maybe you know all this already. Sorry for wasting your time if so.
Alan Weiss
MATLAB mathematical toolbox documentation
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Get Started with Optimization Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!