For installation it is recommended to use a virtual environment. This project uses Python 3.7.3
- Clone or fork the repository.
- Go into the project directory:
cd vrp
- Create a virtual environment
python3 -m venv venv
- Activate the virtual environment
source venv/bin/activate
- Upgrade pip
pip install --upgrade pip
- Install the necessary requirements:
pip install -r requirements.txt
- Install the project in editable mode:
pip install -e .
In the terminal switch to the vrp
subdirectory and run the following command: python3 main.py
.
This will solve the ILP for a problem and plot the solution.
The problem instance parameters as well as the random seed can be modified in main.py