pyleecan.Methods.Optimization.OptiGenAlgNsga2Deap.create_toolbox module

create_toolbox(self)[source]

OptiGenAlgNsga2Deap method to create DEAP toolbox :param self: :type self: OptiGenAlgNsga2Deap

Returns:

self – OptiGenAlgNsga2Deap with toolbox created

Return type:

OptiGenAlgNsga2Deap

create_indiv(create, output, design_var_list)[source]

Create individual using DEAP tools

Parameters:
  • creator (function) – function to create the individual

  • output (....Classes.Output) – output of the individual

  • design_var_list (list) – Design variables

  • Returns

  • --------

  • indiv (list) – individual