solver
This commit is contained in:
parent
856ff4015e
commit
5aa7ed5600
1 changed files with 0 additions and 1 deletions
|
@ -75,7 +75,6 @@ class Solver_TSP:
|
||||||
total_length += self.instance.dist_matrix[from_node, node]
|
total_length += self.instance.dist_matrix[from_node, node]
|
||||||
from_node = node
|
from_node = node
|
||||||
|
|
||||||
total_length += self.instance.dist_matrix[from_node, starting_node]
|
|
||||||
self.found_length = total_length
|
self.found_length = total_length
|
||||||
if return_value:
|
if return_value:
|
||||||
return total_length
|
return total_length
|
||||||
|
|
Reference in a new issue