We refer to the book of Boyd and Vandenberghe (2004) for the theory behind convex optimization.
the overall expected risk (Vapnik, 1991) is the weighted sum of two components: the empirical risk and a regularization penalty term, expression referred to as "Loss+Penalty" by Hastie et al.