geatpy icon indicating copy to clipboard operation
geatpy copied to clipboard

Can Geatpy strengthen the cooperation with Ray?

Open hazeone opened this issue 3 years ago • 3 comments

Ray provides a simple, universal API for building distributed applications. Meanwhile, it has been widely used in industry. Such as Intel, Mircosoft, Antgroup... https://ray.io/ https://github.com/ray-project/ray I wish that Geatpy and Ray can make sparks in the distributed field. I can provide the necessary help in the cooperation. Wish your reply~

hazeone avatar Jun 17 '21 03:06 hazeone

Hello! There is no conflict between Ray and Geatpy. You can utilize Ray in your aim function. Just like the way we use Scoop and MultiProcessing. Except in the case that the population size is quite big (e.g. over 1 million), the only necessary place that needs distributed calculations or parallel calculations is the aim function. i.e. The crossover, mutation and many other core operators of EA don't need to be run distributively or parallelly.

geatpy-dev avatar Jun 17 '21 04:06 geatpy-dev

I'm a developer of computing systems (streaming, distributed algorithm..) based on ray. Ray will support C++ worker this year. If you or another meet big population case need distribution support, I'm willing to support you to make this algorithm parallel. Or if the core was open source someday, I'd like to fork a version based on ray. Thanks for your reply.

hazeone avatar Jun 22 '21 07:06 hazeone

Oh, it's very kind of you. Geatpy will be rewritten, so it's not the time to make it open source.

geatpy-dev avatar Jun 22 '21 10:06 geatpy-dev