Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

initial_population not effectively used/retained for multiobjective problems? #279

Open
Labels
questionFurther information is requested
@kaurao

Description

Hi,

Thanks for PyGAD, it's a great resource.
I am trying to use it for an multiobjective optimization task. I have a good idea for what good solutions could be so I am providing them via the initial_population argument. However, some of those solutions are bot being used, I think.

My set up is as follows.

ga_instance = pygad.GA(num_genes=68,
 sol_per_pop=100,
 initial_population=initial_population,
 num_generations=100,
 num_parents_mating=np.round(sol_per_pop/2).astype(int),
 parent_selection_type=parent_selection_type,
 gene_space={'low': 0, 'high': 1},
 crossover_type="uniform",
 mutation_type=None,
 mutation_num_genes=[5, 1],
 keep_elitism=10,
 fitness_func=fitness_func,
 on_generation=on_generation)

The image shows the final front 0 as blue dots and the red cross as one of the initial solutions that I provided whiuch apparently "disappeared".

image

I will appreciate any tips on how to set this up properly using PyGAD, thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /