The paper deals with a method for numerical minimization of convex functions with separable convex constraints. Applications to 3D contact problems with friction are shown.