In this paper, we consider the optimal investment problem for an insurer who has n dependent lines of business. The surplus process of the insurer is described by a n-dimensional compound Poisson risk process. Moreover, the insurer is allowed to invest in a risk-free asset and a risky asset whose price process follows the constant elasticity of variance (CEV) model. The investment objective is ...