Spaces:
Sleeping
Sleeping
metadata
title: Vehicle Routing (Python)
emoji: 👀
colorFrom: gray
colorTo: green
sdk: docker
app_port: 8080
pinned: false
license: apache-2.0
short_description: SolverForge Quickstart for the Vehicle Routing problem
Vehicle Routing (Python)
Find the most efficient routes for a fleet of vehicles.
Prerequisites
Install Python 3.10, 3.11 or 3.12.
Install JDK 17+, for example with Sdkman:
$ sdk install java
Run the application
Git clone the solverforge-quickstarts repo and navigate to this directory:
$ git clone https://github.com/SolverForge/solverforge-quickstarts.git ... $ cd solverforge-quickstarts/fast/vehicle-routing-fastCreate a virtual environment:
$ python -m venv .venvActivate the virtual environment:
$ . .venv/bin/activateInstall the application:
$ pip install -e .Run the application:
$ run-appVisit http://localhost:8080 in your browser.
Click on the Solve button.
Test the application
- Run tests:
$ pytest
More information
Visit solverforge.org.
