Optimal mean-variance reinsurance and investment strategy with constraints in a non-Markovian regime-switching model. Issue 2 (2nd July 2020)