Project-Platypus / Platypus

A Free and Open Source Python Library for Multiobjective Optimization
GNU General Public License v3.0
563 stars 153 forks source link

Single objective problem #169

Closed jgree1 closed 1 year ago

jgree1 commented 3 years ago

Hello: I am running some multiple objective with Platypus, it works great. Specifically I use NSGAII for my purpose. However, I have to test some single objective problems initially and I have been working with the same NSGAII algorithm. In this case I just change nobjs to be 1. Apparently it works fine too but I would like you to tell me if I must be careful with something regarding the use of a multiobjective algorithm to solve a single objective one. Thank you

PS: I have taken a look at algorithms.py and the iterate section for the abstractgeneticalgorithm/singleobjectivealgorithm has not been implemented yet and, consequently, the singleobjectivealgorithm raises an error.

jgree1 commented 3 years ago

And sorry for my english

github-actions[bot] commented 1 year ago

This issue is stale and will be closed soon. If you feel this issue is still relevant, please comment to keep it active. Please also consider working on a fix and submitting a PR.