What should be the optimization method for my case?

1 回表示 (過去 30 日間)
Orcan Maktal
Orcan Maktal 2021 年 4 月 27 日
コメント済み: Orcan Maktal 2021 年 5 月 11 日
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.

採用された回答

Alan Weiss
Alan Weiss 2021 年 4 月 29 日
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 件のコメント
Alan Weiss
Alan Weiss 2021 年 5 月 11 日
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
Orcan Maktal
Orcan Maktal 2021 年 5 月 11 日
I will try what you offer. I appreciate how fast you reply and bring ideas kind sir. Thank you, have a nice day.

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by