The constrained ridge regression problem is of the form: $\arg\min_{\|\beta\|_2\le t}\|X\beta-y\|_2$. Given a matrix $X$, a vector $y$ and the constrain parameter $t$, how do you solve it numerically?
I'm aware of the equivalent penalized form of ridge regression, which has a simple solution of the form $(X^TX+\lambda I)^{-1}X^Ty$. Unfortunately, my problem is given in the constrained form, and I don't know any analytical relation between $t$ and $\lambda$.