DACBench icon indicating copy to clipboard operation
DACBench copied to clipboard

CMA-ES Windows Compatibility

Open Steven-Adriaensen opened this issue 3 years ago • 2 comments

Some import in the cma-es environment currently fails on windows. Fix: Only import benchmarks that the user wants to use?

Steven-Adriaensen avatar Mar 05 '21 10:03 Steven-Adriaensen

It turns out that this failure also sometimes occurs on other OS (resource limit call fails)

Steven-Adriaensen avatar Apr 16 '21 06:04 Steven-Adriaensen

Things to try / possible solutions:

At install time:

  • check whether adding resource can cause failure on windows / mac
  • check whether we can store what benchmarks are installed for later use at runtime to do conditional important

At runtime, in init.py

  • ideally, only import environments that are belonging to benchmarks that are installed
  • alternatively, import all benchmarks, but catch import errors to produce warnings that a certain benchmark is not installed (rather than failing)

Steven-Adriaensen avatar Jul 14 '22 09:07 Steven-Adriaensen

CMA-ES can be installed separately or run in a container, closing this issue since Windows won't be a priority OS.

TheEimer avatar Sep 25 '24 10:09 TheEimer