A BSDE approach to risk-based asset allocation of pension funds with regime switching · Study