Tsp.tsp_value

static Tsp.tsp_value(z, adj_matrix)[ソース]

Compute the TSP value of a solution. :param z: list of cities. :param adj_matrix: adjacency matrix.

戻り値:

value of the total length

戻り値の型:

float