on learning dynamic programming, in the case oflcs