IOHprofiler / IOHexperimenter

Experimentation procedure for Iterative Optimization Heuristics
Other
47 stars 23 forks source link

Windows: ioh::problem::ProblemRegistry<ioh::problem::CEC>::instance() #197

Closed dimitri-rusin closed 8 months ago

dimitri-rusin commented 9 months ago

This problem only appears on Windows.

ioh::problem::ProblemRegistry::instance() does not have the ID of CEC_Rastrigin. Does not instantiate the problem that it's responsible for. File: IOHexperimenter/tests/cpp/problem/test_cec_problem.cpp

[ RUN      ] BaseTest.sbox_can_create_shared_ptr_problem
[       OK ] BaseTest.sbox_can_create_shared_ptr_problem (0 ms)
[ RUN      ] BaseTest.CECProblem
Registered Names in Problem Factory:
Registered IDs in Problem Factory:
HURRA!
Entry with ID 1001 not found in id_map.
id_maplength: 0
name_length: 0
Name Map Entries:
End of Name Map Entries
ID: 1001
ID Map:
Params: 120
Assertion failed: entry != std::end(id_map), file D:\a\IOHexperimenter\IOHexperimenter\include\ioh/common/factory.hpp, line 219
Error: Process completed with exit code 3.
jacobdenobel commented 8 months ago

Fixed in #198