This paper proposes and analyses a mathematical model for the problem of distribution of a finite number of irradiation sources during radiotherapy in continuous environments to maximize the minimal cumulative effects. A new algorithm based on nondifferentiable optimization techniques has been developed to solve this problem.