Fix this stupid mistake

Now it works!
This commit is contained in:
Segcolt 2024-10-12 19:11:24 -03:00
parent d8086caa18
commit 859b34308c

View File

@ -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();
}