pymoo
pymoo copied to clipboard
NSGA2, NSGA3, R-NSGA3, MOEAD, Genetic Algorithms (GA), Differential Evolution (DE), CMAES, PSO
Installing pymoo from PyPI, i.e. 0.6.1.1, results in an AttributeError when importing ElementwiseProblem. The problem seems to be numpy version 2.0.0. Downgrading numpy to 1.26.4 resolves the issue. ### MWE...
Hi, I was trying to plot some results with the Scatter visualization function, but I got the following error: I found this "issue" Re-add matplotlib.cm.get_cmap from matplotlib: https://github.com/matplotlib/matplotlib/pull/28355 Replacing self.cmap...
If the following is called, the seed is ignored. ``` algorithm = CMAES(popsize, ...) algorithm.setup(problem, seed, termination) ``` The above setup method is located in base class Algorithm, which calls...
If you start two different Python processes and run: `get_reference_directions("energy", 4, 32, seed=42)` I get different outputs each time. I believe there is something wrong with how the random seed...
Reproducible:   Suggestion: - Try to fix it by adding an exception in https://github.com/anyoptimization/pymoo/blob/9d851f46ea98a209f11044b6bafab2dec17ab53b/pymoo/util/normalization.py#L57-L69 - Try to fix it using epsilon, i.e. `norm[norm==0] = np.finfo(norm.dtype).eps`
```python from pymoo.termination import get_termination from pymoo.algorithms.moo.age import AGEMOEA from pymoo.algorithms.moo.sms import SMSEMOA from pymoo.util.ref_dirs import get_reference_directions, LayerwiseRieszEnergyReferenceDirectionFactory from pymoo.algorithms.moo.ctaea import CTAEA from pymoo.algorithms.moo.age2 import AGEMOEA2 from pymoo.core.variable import Binary,...
Termination Criteria page: https://pymoo.org/interface/termination.html?highlight=ftol A few confusions: 1. Typo: "Commonly used are the movement in the design space f_tol..." => should be x_tol or xtol because f is for objectives....
Hello, Firstly, a big thanks for this library! It is very useful. When I run the example of CMA-ES (https://pymoo.org/algorithms/soo/cmaes.html) : ``` import numpy as np from pymoo.algorithms.soo.nonconvex.cmaes import CMAES...
I want to run the optimization of a list of integers. I have been able to run the equivalent code with the NSGA II, but, when using R-NSGA II, I...
I'm new to Pymoo and currently working with a code I found on GitHub. However, I'm encountering an error when trying to import the following packages: `from pymoo.factory import get_sampling,...