The document proposes a two-layer recurrent neural network to solve non-smooth convex optimization problems subject to constraints. It proves that the neural network has a low complexity, reaches the feasible region in finite time, and converges to an equilibrium point that is equivalent to the optimal solution of the original problem. The neural network is then applied to solve nonlinear convex programs with constraints and L1-norm minimization problems.