Can we choose step size rule in fmincon?

조회 수: 3 (최근 30일)
Fangning Zheng
Fangning Zheng 2022년 6월 24일
댓글: Walter Roberson 2022년 6월 25일
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?

답변 (2개)

Walter Roberson
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.

John D'Errico
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
Walter Roberson 2022년 6월 25일
or perhaps use simulated annealing, which does permit you to control the quenching schedule.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile 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!

Translated by