pyleecan.Methods.Optimization.OptiGenAlgNsga2Deap.solve module

create_setter(accessor, attribute)[source]

Create a simulation setter

solve(self, xoutput=None)[source]

Method to perform NSGA-II using DEAP tools

Parameters:

self (OptiGenAlgNsga2Deap) – Solver to perform NSGA-II

Returns:

  • multi_output (OutputMultiOpti) – class containing the results

  • xoutput (XOutput) – class containing the results of the simulations

print_gen_simu(time, gen_id, simu_id, size_pop, nb_error, to_eval)[source]
print_obj(obj_func, indiv)[source]