The LASSO problem can be formulated in two ways:
1) Constrained formulation: $$ \|Xw-y\|^2\to\min_{w}\\ \text{s.t. } \sum_{i}|w_i|\leq{t}. $$
2)Penalised formulation: $$ \|Xw-y\|^2+\lambda\left(\sum_{i}|w_i|\right)\to\min_w. $$
It is required to show that there exist such $t, \lambda$ that the two formulations are equivalent.
There is already such question on this site here. However, I am not convinced that the accepted answer is correct: it argues that the KKT conditions for the first form are equivalent to the first - order conditions for the second one for certain parameters' values. But, strictly speaking, the first - order conditions are not applicable here since the objective function is not differentiable everywhere for the second form.
Is the provided proof valid? It seems to me that a better way to proceed here would be to use the saddle - point argument:
Consider the constrained formulation. Since the objective and the constraints are convex and Slater's condition is satisfied, the pair $(w^*, \lambda^*)$ is primal-dual optimal iff it is a saddle-point of the Lagrangian: $$ \sup_{\lambda}\inf_wL(w,\lambda)=\inf_{w}\sup_{\lambda}L(w, \lambda)=L(w^*, \lambda^*),\\ L(w, \lambda)=||Xw-y||^2+\lambda(\sum_i|w_i|-t). $$ Moreover, we know that such a pair exists. Substituting $\lambda^*$ into the last equality, we obtain that the original problem is equivalent to $$ ||Xw-y||^2+\lambda^*(\sum_i|w_i|-\underbrace{t}_{\text{const}})\to\min_w.\\ ||Xw-y||^2+\lambda^*(\sum_i|w_i|)\to\min_w. $$ It is now obvious that, if in the second, penalised problem formulation we take $\lambda=\lambda^*$, the problems are exactly identical.