Learn R Programming

tspmeta (version 1.2)

center_of_mass: 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.