According to Approach0, this question is new.
I am practicing problems, no solutions, for my optimization course (not homework, just extra practices).
Problem:
Apply penalty method to find the minimum distance between point $y$ and $a^Tx=b$ in $\mathbb{R}^n$
My attempt:
Penalty function $$\phi(x,c)=\|x-y\|^2+c(a^Tx-b)^2$$Thus$$\frac{\partial\phi}{\partial x}=2x-2y+2c(a^Tx-b)a=2x-2y+2c(aa^T)x-2(cb)a$$So by setting it equals to $0$, we get $$\begin{align} (I+c(aa^T))x&=y+(cb)a\\ \implies x&=(I+c(aa^T))^{-1}(y+(cb)a)\\ &=(\frac{1}{c}I+aa^T)^{-1}(\frac{y}{c}+b\times a)\\ &\to b(aa^T)^{-1}a\tag{As $c\to\infty$}\quad\quad(1) \end{align}$$ However the optimal solution is $b(aa^T)^{-1}a$ from my calculation, but it has no relation with point $y$. And I am not sure if $(1)$ is correct. Thanks!