Optimality Conditions in Convex Optimization