city1990: city1990

Description Usage Format Details References Examples

Description

This dataset contains population and property valuation information for a hypothetical facility location problem (obtained from Daskin 1995). Each row corresponds to a different city. The cities present in the dataset are the 50 most populous cities in the lower 48 states in addition to the state capitals. The name, state, longitude and latitude of each city are the corresponding columns. The 'first.demand' column contains the 1990 population of each city. The 'second.demand' column contains the number of households in the city in 1990. The 'fixed.cost' is the 1990 median home values in the city. All data are obtained from the 1990 Population and Housing Census.

Usage

1

Format

data.frame object

Details

The package vignette contains a worked example using this dataset.

References

Daskin, M. S. (1995). Appendix G: Longitudes, latitudes, demands, and fixed costs for CITY1990.GRT: An 88-node problem defined on the Continental United States. In Network and Discrete Location pp. 459-62, John Wiley & Sons Inc, New York.

Examples

1
2
3
4
5
6
7
8
# load data
data(city1990)
# plot cities
plot(latitude~longitude, data=city1990)
# open package vignette
dontrun{
vignette('rgurobi', package='rguorbi')
}

jeffreyhanson/rgurobi documentation built on May 19, 2019, 4 a.m.