jonathanBieler / BlackBoxOptimizationBenchmarking.jl

BlackBoxOptimizationBenchmarking
Other
21 stars 2 forks source link

Register new version? #9

Open jbrea opened 3 years ago

jbrea commented 3 years ago

I'm using this package for testing of my CMAES implementation, but failed to run the tests on julia 1.6 with the registered version. Would it be possible to register a new version of this package?

jonathanBieler commented 3 years ago

Hey, cool I was using cmaes a lot back in the days. I actually tried to do an implementation as well but I never managed to match the python version (all the different versions of the algorithm get a bit confusing).

I did some work on updating this package recently but I ended up trying to make benchmark multithreaded and ran into serious troubles. I need to go back to it and revert some changes I think, I'll see if I can find some time to do it.

jonathanBieler commented 3 years ago

New version should be registered soon. I made a couple of breaking changes :

res = BBOB.benchmark(ms, 1:length(enumerate(BBOBFunction)), lengths, 2, D, 1e-6)

Now should be :

res = BBOB.benchmark(ms, BBOB.list_functions(), lengths, 2, D, 1e-6)

And res is now a NamedTuple (see here), so instead of res[1] you should do res.success_counts. These are also NamedDimsArray but I think they should work as previously.

Tell me if you run into some issues, I've done this quite quickly.