``getattr`` is a bit ugly, why not just ``self.strategy = DifferentialEvolutionSolver._best1bin``?