Change initial step length in fmincon

조회 수: 10 (최근 30일)
Romio
Romio 2022년 5월 20일
편집: Matt J 2022년 5월 20일
I am using fmincon to solve an optmization problem with the 'sqp' algorithm. I have set the variable 'StepTolerance' in options to 1e-13. However, when I use fmincon, the first step length is 1e+0. I am not sure why I can't control the stepsize. Is there any way to restrict the stepsize (including the very first one)?

답변 (1개)

Matt J
Matt J 2022년 5월 20일
편집: Matt J 2022년 5월 20일
You have some control over the step distance used for finite differencing operations (through FiniteDifferenceStepSize), and for the active-set algorithm, you can bound the size of the steps taken from to using RelLineSrchBnd and RelLineSrchBndDuration. However, there is no parameter that lets you dictate, in absolute terms, the size of the steps taken from to . Not all fmincon algorithms even have a stepping mechanism where such a thing would make sense.

카테고리

Help CenterFile Exchange에서 Nonlinear Optimization에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by