jMetal / jMetalPy

A framework for single/multi-objective optimization with metaheuristics
https://jmetal.github.io/jMetalPy/index.html
MIT License
498 stars 150 forks source link

Fix bug in IBEA #76

Closed 12yuens2 closed 4 years ago

12yuens2 commented 4 years ago

Running the code for the IBEA example gave the following bug:

TypeError: object of type 'FloatSolution' has no len()

This seems to come from lines 75 and 95 in ibea.py as the whole solution object is passed into the EpsilonIndicator rather than the values for each objective.

Let me know if I've misunderstood the algorithm, and something else such as variables should be passed here instead of objectives.