brkga_mp_ipr_cpp
brkga_mp_ipr_cpp copied to clipboard
Compile errors with gcc 11.4.0 and proposed solution
Hi, I got some compile errors when trying to compile the test program, and my solution was to cast as below:
std::chrono::duration_cast<std::chrono::seconds>(status.current_time).count()
all calls in logger of file brkga_mp_ipr.hpp.
The same for files main_minimal.cpp and main_complete.cpp from TSP example, path brkga_mp_ipr_cpp/examples/tsp/src/single_obj.
Could you please check this proposed change and see if it makes sense? Thank you.