Can somebody tell me how to evaluate the following in MATLAB or any other programming language?
\begin{equation} \min_{x \in \partial \|w\|_1} \| x+y\|_\infty \end{equation} $x,w,y \in R^n$. $w,y$ is known to us. My concern is that there are many subgradients of $\|w\|_1$. Which one to choose and how? I want the calculation in $O(n)$ flops.
Another way to put the question is: choose a subgradient from subdifferential set of L1 norm that mimimizes $\|\cdot\|_\infty$ norm. Correct me if I interpreted the question wrongly. Thanks.
Hint: to calculate the subgradienet for $f(w)=\|w\|_1=\sum_{k=1}^n|w_k|$, use three facts:
Addendum: After one calculates the subgradient (see here, p. 5) $$ \partial \|w\|_1=\{x\colon \|x\|_\infty\le 1,\ w^Tx=\|w\|_1\} $$ the problem is LP $$ \min_{x,t}\, t\qquad\text{subject to}\ -t\le x_i+y_i\le t,\ -1\le x_i\le 1,\ w^Tx=\|w\|_1. $$