On the optimality of the logistic growth