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

Hypervolume representation and comparison #3

Open
nikohansen opened this issue Oct 18, 2021 · 1 comment
Open

Hypervolume representation and comparison #3

nikohansen opened this issue Oct 18, 2021 · 1 comment
Assignees

Comments

@nikohansen
Copy link
Contributor

nikohansen commented Oct 18, 2021

The line

kernel.tell(offspring, [-float(u) for u in hypervolume_improvements])
converts the HV computation result to float. This seems to defeat the very idea why Fractions are available in the moarchiving module.

Possible solutions:

  • check the converted floats for equality and when equal values are found, subtract the minimal value still in Fraction type before the conversion. This could also be optional.
  • make the cma package work with Fraction and remove the conversion.
@nikohansen
Copy link
Contributor Author

I believe the current cma package can now deal with Fractions. Hence the idea would be to see whether we still need the float in the following assignment of the values that are later passed to tell (line 500 in development@gitlab):

kernel._last_offspring_neg_UHVI_values = [-float(self.indicator_front.hypervolume_improvement(point))

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