esa / esa/pygmo2

[FEATURE] save&load (e.g., pickle) population snapshot easily based on certain criteria

Open
#91 3 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C++
Stars
536
Forks
74
PR merge metrics
No merged PRs in 30d

Description

Hi,

i couldnt find any example to be able to save&load the population during evolving.

For example, something like this would be really useful:

# pseudo code:
```
for i in range(n_iterations):
pop = evolve(pop)
if pop.champion_f < best_f:
save_snapshot(pop, i)
```

I wonder how / if this wold be easily possible with pygmo. Any example would be highly appreciated!

P.S: Would this way of evolving break any adaptive DE variants ?
Many Thanks

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.