CITIES
City Distance Datasets


CITIES is a collection of datasets describing intercity distances.

This data can be used for

Related Data and Programs:

ASA058 is a C++ library which implements the K-means algorithm of Sparks.

ASA136 is a MATLAB library which implements the Hartigan and Wong clustering algorithm.

CITIES is a FORTRAN90 library which handles various problems associated with a set of "cities" on a map.

DISTANCE_TO_POSITION is a FORTRAN90 program which can estimate the positions of cities based on a city-to-city distance table.

KMEANS is a FORTRAN90 library which contains several different algorithms for the K-Means problem.

KMEDIAN is a FORTRAN77 program which handles the K-Median problem.

LAU_NP is a FORTRAN90 library which implements heuristic algorithms for various NP-hard combinatorial problems.

SPAETH, a dataset directory which contains datasets for cluster analysis;

SPAETH is a FORTRAN90 library which can cluster data according to various principles.

SPAETH2, a dataset directory which contains datasets for cluster analysis;

SPAETH2 is a FORTRAN90 library which can cluster data according to various principles.

TOMS456 a FORTRAN77 library which implements the routing algorithm;
this is ACM TOMS algorithm 456.

Datasets:

CO04 gives the distances between 4 cities; the goal is to choose some of the cities as distribution sites; for each city, we then choose the FURTHEST distribution site, so as to MAXIMIZE the total transportation cost to all cities.

GRID04 describes 4 "cities" on a simple grid.

HA29 describes the airline distances, in hundreds of miles, between 29 international cities. For this problem, the spherical geometry is significantly different from the planar approximation.

KN57 describes the distance in miles between 57 cities. Since these are "highway miles", the distances are difficult to use to construct an exact planar map.

LAU15 describes the distance between 15 cities, and seeks a solution to the traveling salesman problem. The XY data was computed as a least squares fit to the DIST data, and so does not exactly correspond.

SGB128 describes 128 cities in North America.

SH07 gives the distances between 7 cities; the goal is to choose 3 of the cities as distribution sites so as to minimize the total transportation cost to all cities.

SP11 describes 11 artificial cities, with arbitrary integer distances.

UK12 describes 12 cities, with integer distances representing the travel time, in minutes, between pairs of cities.

USCA312 describes 312 cities in the US and Canada.

WG22 describes 22 cities in West Germany.

WG59 describes 59 cities in West Germany.

You can go up one level to the DATASETS directory.


Last revised on 25 February 2009.