Tekstiviesti: Convex analysis and variational problems