This repository is my personal fork of the project, "featuring a modern implementation of the hybrid genetic search (HGS) algorithm, specifically tailored for the capacitated vehicle routing problem (CVRP). In addition to the standard features, this codebase includes an extra neighborhood, known as SWAP*." For more details on the original project, visit HGS-CVRP by vidalt.
To seamlessly integrate this repository with RouteOpt, I have designed a custom interface.
Follow these steps to set up the project and generate the libhgscvrp.so
file:
-
Navigate to the HGS Directory
cd hgs
-
Create a Library Directory
mkdir lib
-
Generate Build Configuration
cmake .
-
Build and Install
make install
After completing these steps, you will find the compiled library file named libhgscvrp.so
in the lib
directory.