Back to Trending
RepositoryPython
dungtran209

dungtran209/Modelling-and-Analysis-of-a-Vehicle-Routing-Problem-with-Time-Windows-in-Freight-Delivery

A MSc's Dissertation Project which focuses on Vehicle Routing Problem with Time Windows (VRPTW), using both exact method and heuristic approach (General Variable Neighbourhood Search)

154stars
37forks
1issues
3views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: vrptw

#1 Repository of the month

1
TINIX TRENDING·Topic: heuristics

#1 Repository of the month

1
TINIX TRENDING·Topic: metaheuristics

#1 Repository of the month

Modelling and Analysis of a Vehicle Routing Problem with Time Windows in Freight Delivery

Introduction

A MSc's Dissertation Project which focuses on Vehicle Routing Problem with Time Windows (VRPTW), using both exact method and heuristic approach (General Variable Neighbourhood Search - GVNS).

The exact approach is based on a classical Mix-Integer Programming (MIP) model and solved by IBM ILOG CPLEX 12.9. Both exact and heuristic algorithm are implemented by Python 3.7 and run on a ASUS Intel Core i7 with 1.8 GHz CPU and 8 GB RAM.

Data

Both methodologies are first tested on the famous Solomon (1987) benchmark instances. The data is avalaible on SINTEF.

Then, the methods are applied to solve an logistics problem in a UK-based company.

Methodology Summary

1. Exact Method: Mathematical Formulations

MIP Model: View

2. General Variable Neighbourhood Search (GVNS)

Pseudo-code: View

Flowchart: View

Detailed elements of the GVNS:

ElementContent
Initial Solution CreationSolomon I1 Heuristic and Clark & Wright Savings Heuristic
Improvement Operator2-opt, Or-opt, 2-opt*, Relocation, Exchange, CROSS, ICROSS, GENI, 𝜆-interchange
Local Search ProcessVariable Neighbourhood Descent (Best-accept strategy)
Stopping CriteriaAll neighbours (improvement operators) are explored

Visualization

Best solution (minimum total distance of all tours) found by the GVNS for benchmark instance R206 (100 customers) Image

Similar Projects

Discover other similar projects and AI models.

RepositoryC++
VROOM-Project/vroom

Vehicle Routing Open-source Optimization Machine

1.9k
Nov 27, 2026
RepositoryPython
iRB-Lab/py-ga-VRPTW

A Python Implementation of a Genetic Algorithm-based Solution to Vehicle Routing Problem with Time Windows

666
Nov 2, 2026
RepositoryJava
TimefoldAI/timefold-solver

The open source Solver AI for Java and Kotlin to optimize scheduling and routing. Solve the vehicle routing problem, employee rostering, task assignment, maintenance scheduling and other planning problems.

1.9k
Nov 30, 2026
RepositoryLinear Programming
sudhan-bhattarai/vehicle_routing_problem

Solving the Capacitated Vehicle Routing Problem with Time Windows (CVRPTW) using Mixed Integer Linear Programming (MILP) in Python with the Gurobi API.

109
Jul 23, 2025
RepositoryC++
optframe/optframe

OptFrame - C++17/C++20/C++23 Optimization Framework in Single or Multi-Objective. Supports classic metaheuristics and hyperheuristics: Genetic Algorithm, Simulated Annealing, Tabu Search, Iterated Local Search, Variable Neighborhood Search, NSGA-II, Genetic Programming etc. Examples for Traveling Salesman, Vehicle Routing, Knapsack Problem, etMu

92
Sep 15, 2025
RepositoryPython
PyVRP/VRPLIB

Python package to read and write vehicle routing problem instances.

131
Apr 6, 2026
RepositoryJava
apache/incubator-kie-optaplanner

OplaPlanner has moved to https://github.com/apache/incubator-kie-drools. This repository is archived. OptaPlanner is an AI constraint solver in Java to optimize the vehicle routing problem, employee rostering, task assignment, maintenance scheduling, conference scheduling and other planning problems.

3.5k
Jul 14, 2026
RepositoryJava
graphhopper/jsprit

jsprit is a java based, open source toolkit for solving rich vehicle routing problems

1.8k
Nov 19, 2026
RepositoryRust
reinterpretcat/vrp

A Vehicle Routing Problem solver

513
Oct 28, 2026