On manpower planning in the presence of learning