Multiperiod portfolio optimization for asset-liability management with quadratic transaction costs