Optimal deterministic reinsurance and investment for an insurer under mean–variance criterion. Issue 13 (3rd July 2021)