biophysics_fittingoptimizerget_population_with_different_n_objectives

get_population_with_different_n_objectives

biophysics_fitting.optimizer.get_population_with_different_n_objectives(old_pop, n_objectives)

Adapt the number of objectives of individuals

Parameters:
  • old_pop – list of deap.Individuals

  • n_objectives (int) – number of objectives

Returns:

population with adapted number of objectives

Return type:

list of deap.Individuals