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

Guidance on Using Coevolution Methods with Evox Framework #156

Closed
2395959141 opened this issue Dec 10, 2024 · 3 comments
Closed

Guidance on Using Coevolution Methods with Evox Framework #156

2395959141 opened this issue Dec 10, 2024 · 3 comments

Comments

@2395959141
Copy link

Hello! I would like to use the coevolution methods in the Evox framework to solve numerical optimization problems, but my coding skills are somewhat limited. Could you please provide an example of how to implement coevolution methods?

Additionally, if I want to customize a coevolution optimization algorithm, should I base my implementation on the Coevolution class in evox.algorithms.containers.coevolution?

Your guidance would be immensely appreciated, and I am grateful for your support in helping users like me better understand and utilize this excellent framework. Thank you so much for your time and assistance!

@BillHuang2001
Copy link
Collaborator

It depends on your goal:

1. Developing a New Coevolution Algorithm

  • You can use the Coevolution or VectorizedCoevolution classes with a standard algorithm, as documented in the EvoX documentation
  • Alternatively, you can write a custom algorithm tailored to your needs.

The key difference is that the first approach restricts you to two predefined coevolution strategies, while the second allows you to create entirely new logic without limitations.

2. Designing a New Coevolution Framework

If you’re aiming to build a new framework for coevolution, I recommend checking out the example in our GitHub repository.

The concept behind a container algorithm is straightforward: instead of directly implementing the ask and tell methods, you delegate these tasks to other algorithms and combine their results.

@2395959141
Copy link
Author

Thank you for your help! Your detailed explanation gave me a much clearer understanding of EvoX's coevolution functionality. Your code is amazing, thank you so much!

@Wukong-SCUT
Copy link

Wukong-SCUT commented Dec 21, 2024 via email

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

3 participants