Optimal debt ratio and dividend strategies for an insurer under a regime-switching model. Issue 4 (2nd October 2018)