Evolution of population-resource dynamics models