Portland rose seven places to 73rd among 81 cities for overall real-estate prospects, though it slipped one spot to 31st for homebuilding. The improved ranking was a surprise after last year’s near-bottom result. Investors weigh factors including grid capacity, insurance costs, advanced manufacturing, permitting speed, rent regulations and zoning.