Solution of systems of columns with energy exchange between recycle streams