You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
where
$$
\mathbf{A}=\left[\matrix{1&0&0\0&2&0\0&0&3}\right]
$$
the derivative should be
$$
\begin{aligned}
\nabla f(\boldsymbol{x}) &= (\mathbf{A} + \mathbf{A}^\top)\boldsymbol{x}\
&= [\matrix{2x_1&4x_2&6x_3}]^\top
\end{aligned}
$$
Ackey N. 2 Function with L1 constraint
The Ackey N. 2 Function has the form
$$
f(x, y) = -200e^{-0.2\sqrt{x^2 + y^2}}
$$
In this testing,
$$
F(\boldsymbol{x})=f(x, y)+0.1|x|+0.1|y|
$$
By using APGD, if Lipschitz constant $L$ is not given, simple line search here cannot guarantee convergence. In this case $f$ is Lipschitz continuous, as shown in the analysis below.
$$
|\nabla f(x,y)|=40e^{-0.2\sqrt{x^2+y^2}}
\le 40
$$
Therefore we can conclude that
$$
|f(x_1, y_1)-f(x_2,y_2)| \le 40\sqrt{(x_1-x_2)^2+(y_1-y_2)^2}
$$
And the minimum $L$ should be 40. In practice, APGD converges rather fast for this problem.