Can we choose step size rule in fmincon?
2 ビュー (過去 30 日間)
古いコメントを表示
In fmincon (or other optimization algorithm), can we choose step size rule (e.g. fixed step size, diminishing, etc) or optimization algorithm has the default step size rule that cannot be changed?
0 件のコメント
回答 (2 件)
Walter Roberson
2022 年 6 月 25 日
https://www.mathworks.com/help/optim/ug/optimizing-a-simulation-or-ordinary-differential-equation.html#btfixqo shows some control for Finite Differences . However there is no control over the step size rule.
0 件のコメント
John D'Errico
2022 年 6 月 25 日
If you could control the stepsize, then it would damage the convergence properties of a tool like fmincon. Sadly for you, this is something you cannot have, or if you could, you would not want it, IF you understood the cost.
I'd wonder if what you may want is essentially the ability to make some of the parameters discrete, thus taking on only certain levels. And that is better done in a tool like GA.
1 件のコメント
Walter Roberson
2022 年 6 月 25 日
or perhaps use simulated annealing, which does permit you to control the quenching schedule.
参考
カテゴリ
Help Center および File Exchange で Get Started with Optimization Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!