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

fix de.py selection bug and add ode.py #164

Merged
merged 13 commits into from
Jan 11, 2025

Conversation

starquakee
Copy link
Contributor

Description

fix de.py selection bug and add ode.py

Checklist

  • I have formatted my Python code with black.
  • I have good commit messages.
  • If adding new algorithms, problems, operators:
    • Added related test cases.
    • Added docstring to explain important parameters.
    • Added entries in the docs.

"""
Initialize the DE algorithm with the given parameters.

Args:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:param pop_size: The size of the population.
:param lb: The lower bounds of the particle positions. Must be a 1D tensor.

Copy link
Collaborator

@BillHuang2001 BillHuang2001 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The two docstring-related problems need to be fixed.
The rest are good.

@sses7757 sses7757 merged commit 5bf37a8 into EMI-Group:evoxtorch-main Jan 11, 2025
1 check passed
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

Successfully merging this pull request may close these issues.

3 participants