pygmo2 icon indicating copy to clipboard operation
pygmo2 copied to clipboard

Accessing the number of generations and the exit flag

Open fialat opened this issue 4 years ago • 0 comments

Is there a way to access and store the total number of generations and the exit flag?

I only came up with the following solution

...
algo.set_verbosity(1)
...
uda = algo.extract(pg.sade)
uda.get_log() 

but it is slow and solves only half of the problem.

fialat avatar May 12 '21 13:05 fialat