Demo datasets
Timefold Platform includes pick-up and deliver routing demo datasets that you can use to explore the functionality of the model and the platform.
You can access the demo datasets in the platform UI or with the API.
1. Use the demo datasets in the UI
To access the demo dataset in the UI:
-
Log into Timefold Platform: app.timefold.ai
-
Select the pick-up and deliver routing tile.
-
Click + New plan.
-
Select a demo dataset, and click Run.
2. Use the demo datasets with the API
To get the list of available demo datasets and information about each dataset from the API, make the following call:
curl -X GET -H 'X-API-KEY: <API_KEY>' https://app.timefold.ai/api/models/pickup-delivery-routing/v1/demo-data
To download the BASIC demo dataset, make the following API call:
curl -X GET -H 'X-API-KEY: <API_KEY>' https://app.timefold.ai/api/models/pickup-delivery-routing/v1/demo-data/BASIC -o sample.json
To post the demo dataset for solving, use the following API call:
The output from the POST operation includes a metadata ID that you need for subsequent commands.
|
curl -X POST -H 'X-API-KEY: <API_KEY>' https://app.timefold.ai/api/models/pickup-delivery-routing/v1/route-plans [email protected]
To get the current status and score of the dataset, replace <ID> with the identifier from the previous post operation and make the following API call:
curl -X GET -H 'X-API-KEY: <API_KEY>' https://app.timefold.ai/api/models/pickup-delivery-routing/v1/route-plans/<ID>/metadata
To get the complete route plan, replace <ID> with the identifier from the previous post operation and make the following API call:
curl -X GET -H 'X-API-KEY: <API_KEY>' https://app.timefold.ai/api/models/pickup-delivery-routing/v1/route-plans/<ID>
Next
-
See the full API spec or try the online API.