As we see in Geoffs answer, this is a very simple quadratically constrained problem, or more generally a second-order cone program. If you don't have extreme performance requirements or enormous dimensions, solving it using a standard nonlinear solver in the quadratic form $z^Tz \leq 1$ or using an SOCP solver in the norm formulation $\|z\|\leq 1$ will work perfectly fine.
If you have to improve performance, there are methods to exploit the single cone feature. Here is one example
SIAM J. Optim., 17(2), 459–484. (26 pages) An Active Set Method for
Single-Cone Second-Order Cone Programs E. Erdougan and G. Iyengar
I would like to point out that replacing the norm with a 1-norm probably won't work well. The quadratic norm has its origin in the geometric background of this problem (which I interpret as finding a vector which has the smallest angle to a given set of vectors).
Interestingly, a QP approximation of the problem seems to work extremely well. Remove the quadratic constraint, and add a penalty $\alpha z^Tz$ to the objective instead. I would not be surprised if it is possible to prove something about this.
In the code below, implemented using YALMIP (Disclaimer, developed by me) in MATLAB, using CPLEX as the solver, the average distance from the true $z$ and the $z$ computed using the QP heuristics, is on the order of $10^{-6}$, while the distance to the solution from the LP (1-norm) formulation is on the order $10^{-1}$.
z = sdpvar(5,1);
r = sdpvar(1);
err1 = [];
err2 = [];
for i = 1:1000
X = randn(5,10);
Con = [r*sqrt(sum(X.^2,1)) <= z'*X,norm(z,2) <= 1]
sol = solvesdp(Con,-r)
if sol.problem == 0 & double(r)>1e-3
zSOCP = double(z);
Con = [r*sqrt(sum(X.^2,1)) <= z'*X];
sol = solvesdp(Con,-r+0.001*z'*z);
zQP = double(z/norm(double(z)));
err1 = [err1 norm(zQP-zSOCP)];
Con = [r*sqrt(sum(X.^2,1)) <= z'*X, norm(z,1)<=1];
sol = solvesdp(Con,-r);
zLP = double(z/norm(double(z)));
err2 = [err2 norm(zLP-zSOCP)];
end
end
Finally, using geometric insight might lead to a much better approach to solve this problem. You are essentially looking for a particularly defined center of a set of points on the unit-sphere.