-
Sub-task
-
Resolution: Fixed
-
Major
-
3.1
-
None
From Omar:
Hi Nathan,
I found the bug in part_b of the code.
In the 2.5b_retrieve_data.h file, in the void retrieve_all_data() funtion:
use of the following line:
for (k = 0; k < number_of_preferred_zones; k++) fscanf(input,"%d\t", &optimal_solutions[i].assignments[j][k]);
instead of the following line:
for (k = 0; k < number_of_preferred_zones; k++) fscanf(input,"%f\t", &optimal_solutions[i].assignments[j][k]);