aarongarrett / inspyred

Python library for bio-inspired computational intelligence
MIT License
190 stars 57 forks source link

Added warning to DTLZ5 about non complete global Optimum pareto set #6

Closed hishnash closed 9 years ago

hishnash commented 9 years ago

(Huband, Simon, et al) show that for 4 or more objects DTLZ5 (DTLZ6 in the original paper) has global Optimum solution were g != 0.

Here I have added a warning to the class doc string and make the global_optimal function raise a warning.

Huband, Simon, et al. "A review of multiobjective test problems and a scalable test problem toolkit." Evolutionary Computation, IEEE Transactions on 10.5 (2006): 477-506.

aarongarrett commented 9 years ago

Good addition to the documentation. Use the warning syntax (https://pythonhosted.org/an_example_pypi_project/sphinx.html#paragraph-markup) and check your spelling, and then I'll merge it.

hishnash commented 9 years ago

done. i have also cleaned up the commit history