Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@LiHao-MS
Copy link
Contributor

Description

Checklist

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

population = length * population + lb

self.pop = Mutable(population)
self.fit = Mutable(torch.empty((self.pop_size, self.n_objs), device=device).fill_(torch.inf))
Copy link
Collaborator

Choose a reason for hiding this comment

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

Use torch.full.

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.

Please add nsga3 to unit_test/algorithms/test_moea.py

@BillHuang2001 BillHuang2001 merged commit 6d8be3a into EMI-Group:main Feb 21, 2025
4 checks 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.

2 participants