Conic formulation of a convex programming problem and duality | Synapse