Optimal Proportional Reinsurance And Investment With Regime-Switching For Mean–Variance Insurers