Convex Analysis and Duality Methods