I'm trying to speed up my optimization using batch fitness evaluations. However, I cannot apply set_bfe() to any of the algorithms. I'm running Python in Miniconda. I can use the bfe in the population initialization stage, however, I can't seem to get it working with the algorithm.
Hello,
I'm trying to speed up my optimization using batch fitness evaluations. However, I cannot apply set_bfe() to any of the algorithms. I'm running Python in Miniconda. I can use the bfe in the population initialization stage, however, I can't seem to get it working with the algorithm.
Code bfe_instance = pg.mp_bfe(chunksize=popSize) bfe_instance.resize_pool(threads)
algo = pg.algorithm(pg.nspso(gen=nGen)) algo.set_bfe(bfe_instance)
Error Message AttributeError: 'pygmo.core.algorithm' object has no attribute 'set_bfe'. Did you mean: 'set_seed'?
I've tried several other algorithms and they all have the same error message.
Thank you!