Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

开发者您好,我正在做一个多目标优化求解的问题,希望使用多进程提高效率 #355

Open
Acofeleven opened this issue Mar 4, 2024 · 1 comment

Comments

@Acofeleven
Copy link

我在进行在求解的过程中,通过使用multiprocessing模块并行求解目标函数值和约束条件,这对我的运算时间有一点帮助,但没有很多,同时我发现,使用这种方法并不能显著提高cpu多核的使用效率,我想问一下,有没有什么方法可以并行的求解适应度、交叉、变异等,最后将结果合并输出和作图,十分期待您的回复,感谢!

@geatpy-dev
Copy link
Owner

交叉、变异应该使用内置的并行功能,它不走python,直接调用CPU多核计算。目标函数的并行计算得依赖Python的并行库了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants