Zhengzhong-You / hgs

Modern implementation of the hybrid genetic search (HGS) algorithm specialized to the capacitated vehicle routing problem (CVRP). This code also includes an additional neighborhood called SWAP*.

Home Page:https://arxiv.org/abs/2012.10384

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About This Fork

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.

Installation Instructions

Follow these steps to set up the project and generate the libhgscvrp.so file:

  1. Navigate to the HGS Directory

    cd hgs
  2. Create a Library Directory

    mkdir lib
  3. Generate Build Configuration

    cmake .
  4. Build and Install

    make install

After completing these steps, you will find the compiled library file named libhgscvrp.so in the lib directory.

About

Modern implementation of the hybrid genetic search (HGS) algorithm specialized to the capacitated vehicle routing problem (CVRP). This code also includes an additional neighborhood called SWAP*.

https://arxiv.org/abs/2012.10384


Languages

Language:C++ 90.1%Language:Makefile 5.9%Language:C 3.7%Language:CMake 0.2%