Last data update: 2014.03.03

R: Return the center of all cities of a TSP instance.
center_of_massR Documentation

Return the center of all cities of a TSP instance.

Description

Return the center of all cities of a TSP instance.

Usage

center_of_mass(instance)

Arguments

instance

[tsp_instance]
TSP instance.

Value

[numeric(2)] Center of all cities of the TSP instance.

Results