Find the most efficient routes for a fleet of vehicles.
Tip
Check out our off-the-shelf model for Field Service Routing. This model goes beyond basic Vehicle Routing and supports additional constraints such as priorities, skills, fairness and more.
-
Install Python 3.10+.
-
Install JDK 17+, for example with Sdkman:
$ sdk install java
-
Git clone the timefold-quickstarts repo and navigate to this directory:
$ git clone https://github.com/TimefoldAI/timefold-quickstarts.git ... $ cd timefold-quickstarts/python/vehicle-routing
-
Create a virtual environment:
$ python -m venv .venv
-
Activate the virtual environment:
$ . .venv/bin/activate
-
Install the application:
$ pip install -e .
-
Run the application:
$ run-app
-
Visit http://localhost:8080 in your browser.
-
Click on the Solve button.
- Run tests:
$ pytest
Visit timefold.ai.