Email Record: Duality in stochastic linear and dynamic programming