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

CSO algorithm's new population is not clipped #19

Closed
sses7757 opened this issue Sep 12, 2022 · 2 comments
Closed

CSO algorithm's new population is not clipped #19

sses7757 opened this issue Sep 12, 2022 · 2 comments

Comments

@sses7757
Copy link
Collaborator

sses7757 commented Sep 12, 2022

The CSO algorithm's generation of new population ends here, and it seems that there is no code like jnp.clip or jnp.min, jnp.max. Is it okay to let the population run free on an unconstrained sapce?

@BillHuang2001
Copy link
Collaborator

You are right, and actually, nsga2, naive_es, pso all have jnp.clip, a PR is welcome.

@BillHuang2001
Copy link
Collaborator

Fixed in #21 (comment)

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