Skip to content

Conversation

@DanieleOranges
Copy link
Contributor

@DanieleOranges DanieleOranges commented Mar 31, 2025

Types of changes

  • Docs change / refactoring / dependency upgrade
  • [X ] Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Motivation and Context / Related issue

The original implementation for dominated points filtering was inefficient, so it get very slow very quickly with pareto size.
In our problems, with a budget of 30k samples, the original implementation needed 2 h runtime, vs 15 min only with the new implementation.

The new implementation comes from https://stackoverflow.com/questions/32791911/fast-calculation-of-pareto-front-in-python

How Has This Been Tested (if it applies)

Some timings on generated numbers

image
image

Checklist

  • The documentation is up-to-date with the changes I made.
  • I have read the CONTRIBUTING document and completed the CLA (see CLA).
  • All tests passed, and additional code has been covered with new tests.

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Mar 31, 2025
@teytaud
Copy link
Contributor

teytaud commented Apr 14, 2025

Waow!!! This looks super exciting.
I run the checks.

@teytaud
Copy link
Contributor

teytaud commented Apr 14, 2025

This is not a lot of lines, but it is very impactful. Thanks a lot @DanieleOranges !

@teytaud teytaud merged commit e1412e4 into facebookresearch:main Apr 14, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed Do not delete this pull request or issue due to inactivity.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants