This commit is contained in:
UmbertoJr 2019-11-04 06:31:15 +01:00
parent 7d30773a76
commit 677e5f7656

View file

@ -45,7 +45,7 @@ class Instance:
# read all data points and store them # read all data points and store them
self.optimal_tour = np.zeros(self.nPoints) self.optimal_tour = np.zeros(self.nPoints)
for i in range(self.nPoints): for i in range(self.nPoints):
line_i = self.lines[5 + i].split(' ') line_i = lines[5 + i].split(' ')
self.optimal_tour[0] = int(line_i[0]) self.optimal_tour[0] = int(line_i[0])
def print_info(self): def print_info(self):