Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mixed_variable_operator was removed from pymoo.operators in v0.6.0. #19

Closed
bouthilx opened this issue Aug 1, 2022 · 6 comments
Closed

Comments

@bouthilx
Copy link

bouthilx commented Aug 1, 2022

Since release v0.6.0 of pymoo yesterday (https://github.com/anyoptimization/pymoo/releases/tag/0.6.0), HEBO's acq_optimizers fail to import because of an ImportError during the module's own imports:

  tests/unittests/algo/long/hebo/test_hebo.py:9: in <module>
      from hebo.models.model_factory import model_dict
  .tox/algo/lib/python3.7/site-packages/hebo/__init__.py:10: in <module>
      from . import acq_optimizers
  .tox/algo/lib/python3.7/site-packages/hebo/acq_optimizers/__init__.py:10: in <module>
      from . import evolution_optimizer
  .tox/algo/lib/python3.7/site-packages/hebo/acq_optimizers/evolution_optimizer.py:15: in <module>
      from pymoo.operators.mixed_variable_operator import MixedVariableMutation, MixedVariableCrossover
@julioasotodv
Copy link

Indeed, pymoo==0.6.0 causes import issues

@LXlearning
Copy link

the same problems with me

@gengjun
Copy link

gengjun commented Nov 23, 2022

same here, also pymoo 0.5.0 only support up to python 3.8, so for python 3.9 and 3.10, there's no way to use hebo

@gengjun
Copy link

gengjun commented Dec 5, 2022

I may have a fix here: #35

@bouthilx
Copy link
Author

Latest numpy release does not contain numpy.object anymore, which is now causing even pymoo==0.5.0 to fail.

@AntGro
Copy link
Collaborator

AntGro commented May 11, 2023

This should be fixed with the upgrade to v0.3.5.

@AntGro AntGro closed this as completed May 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants