For the problem of energy hole in the wireless sensor networks (WSN),this paper analyzes the relevant models of the WSN in which the nodes are distributed uniformly in a ring.Based on the analysis,we transform the energy hole problem into the problem of finding the maximum energy consumption of the nodes with the largest energy consumption of different emission radius.The objective function with discontinuous,un-derivable and multi-peaks characteristics is defined.Finally,this optimization problem is solved using the composite DE (CoDE) algorithm.The correctness and feasibility of this method is verified by simulation experiment.