A Unified Formulation of the Theory of Optimal Plastic Design with Convex Cost Function