Solving the Dual Problems of Dynamic Programs via Regression | Synapse