The House of Lords said raising the state pension age and increasing immigration would not be a solution.