pymoo icon indicating copy to clipboard operation
pymoo copied to clipboard

Expose algorithm.data

Open jacktang opened this issue 1 year ago • 0 comments

Hello,

I wrote some pymoo Callbacks and store the data into algorithm.data, and I found that finally I could not retrieve it from the Result object.

So I think in L256 should add the code https://github.com/anyoptimization/pymoo/blob/af8d260a5ba34c5e427b671586c32351765419a9/pymoo/core/algorithm.py#L250-L257

res.data = self.data

jacktang avatar Feb 27 '24 07:02 jacktang