diff --git a/main.cpp b/main.cpp index 15992e4..e28923e 100644 --- a/main.cpp +++ b/main.cpp @@ -4,15 +4,15 @@ #include "sa.hpp" #ifndef TEMP -#define TEMP 1000 +#define TEMP 100000 #endif #ifndef ALPHA -#define ALPHA 0.99 +#define ALPHA 0.999 #endif #ifndef TEMP_MIN -#define TEMP_MIN 10 +#define TEMP_MIN 0.01 #endif int main() @@ -27,7 +27,7 @@ int main() } sa::solution act = sa::solution::simulated_annealing(capacity, items, - TEMP, ALPHA, TEMP_MIN); + ALPHA, TEMP, TEMP_MIN); act.print_sol(); }