Closed ttusar closed 4 years ago
The user interface is slightly cryptic, but setting the reference point a posteriori is not supported (because assigning the reference point possibly means the state of the archive must change).
from moarchiving import BiobjectiveNondominatedSortedList as NDA
points = [[0, 5], [1, 4], [1.1, 3.9], [5, 0]]
ref = [6, 6]
archive = NDA(points, ref)
# archive.reference_point = ref
archive.hypervolume_improvement([2, 2])
works for me.
It works! Thanks a lot for the quick reply.
Hi :-)
Found this nice repository and wanted to use it, but encountered a problem. Here's the code to recreate it:
The error: