A Least-Squares Temporal Difference based method for solving resource allocation problems. (September 2020)