Optimal allocation in regression models with cost consideration. (August 2020)