--- configs: - config_name: instances data_files: - split: catalog path: index.parquet license: other license_name: evrptw-d-mixed license_link: LICENSE.md pretty_name: EVRPTW-D language: [en] size_categories: [10K", repo_type="dataset") table = pq.read_table(path).sort_by("node_idx") meta = json.loads(table.schema.metadata[b"evrptwd.instance"])["payload"] D = np.array(table["shortest_distance_m"].to_pylist()) # D[i, j]: metres from node i to node j vehicle = json.loads(meta["instance"]["vehicle_json"]) ``` ### Splits | Split | Purpose | n | Instances per city | Cities | |---|---|---|---|---| | `train` | training | 100 / 500 / 1000 | 1000 / 200 / 100 | 10 | | `val` | model selection | 100 / 500 / 1000 | 30 each | 10 | | `test1` | new instances in the training cities | 100 / 500 / 1000 | 50 each | 10 | | `xs` | transfer to a larger scale in the training cities | 2000 | 50 | 10 | | `test2` | transfer to an unseen city | 100 / 500 / 1000 | 500 each | Jacksonville | `xs` and `test2` use their own instances. Jacksonville appears in no other split. ### Index columns | Column | Meaning | |---|---| | `city` | City containing the instance. | | `split` | Dataset split assigned to the instance. | | `n` | Number of customers. | | `cs_budget` | Number of charging stations allocated to the instance. | | `instance_id` | Unique 24-character hexadecimal instance identifier. | | `path` | Path to the instance Parquet file relative to the dataset root. | | `bytes` | Instance file size in bytes for integrity checks. | | `sha256` | SHA-256 checksum of the complete instance file. | | `service_date` | Calendar date assigned to the instance. | | `day_type` | Weekday or weekend, determined by the service date. | | `depot_id` | Location identifier of the depot. | | `p` | Modeled probability that a household has a delivery on the service date. | | `K_seed` | Number of starting census tracts sampled for the service footprint. | | `K_geo` | Number of connected components among the selected census tracts. | | `R` | Target candidate-to-customer ratio. | | `M_target` | Target candidate count, equal to n multiplied by R. | | `M` | Realized candidate count. | | `tract_count` | Number of census tracts in the selected service footprint. | | `content_sha256` | SHA-256 checksum of instance metadata, city binding and solving rules. | | `solver_input_sha256` | SHA-256 checksum covering node attributes, matrix checksums, vehicle settings, path policy and objective. | ## City Environments `cities//shared/` holds the frozen directed road network with weekday and weekend speeds, the eligible customer, depot and charging locations, their access to the road network, and the service boundary. `cities//roads/osm_ways.parquet` holds the road geometries for drawing streets and route shapes. Each instance records the city environment it was built on in its file metadata. Checksums for all city files are in `release.json`. The generator code is not part of this release and will be published separately. ## Sources and license Built from OpenStreetMap, Microsoft building footprints, U.S. public data and the Amazon Last Mile Routing Research Challenge dataset. See [NOTICE.md](NOTICE.md). Mixed license. OpenStreetMap-derived road networks, travel matrices and location coordinates are under ODbL 1.0. Order attributes, instance composition, the catalog and documentation are under CC BY-NC 4.0. A complete instance may be used for non-commercial purposes only. See [LICENSE.md](LICENSE.md).