Coder Social home page Coder Social logo

emarkou / large-scale-optimization-vehicle-routing-problem Goto Github PK

View Code? Open in Web Editor NEW
23.0 4.0 7.0 57 KB

Java Constraint Solvers for Vehicle Routing Problem (VRP)

Java 99.18% Makefile 0.82%
vrp large-scale-optimizations constraint-solver vehicle-routing-problem tabu-search local-search optimization optimization-algorithms solver

large-scale-optimization-vehicle-routing-problem's Introduction

Vehicle Routing Problem (VRP) Solvers

HitCount

Java Constraint Solvers for Vehicle Routing Problem (VRP).

Quick Start

make && make run-all

Features

Currently the following algorithms are supported:

  • Nearest Neighbors
  • Local search with intra- relocation moves
  • Local search with intra- and inter- relocation moves
  • Tabu search

Nearest Neigbors

A constructive heuristic is developed based on Nearest Neighbor to produce an initial solution for the VRP. It is based on the nearest neighbor heuristic for TSP. However, in this case the capacity constraints of the routes must be taken into consideration while inserting a new customer. If no neighbor that respects the limitations exist, then the current route is finalized and the method continues by building the second route and so on. Obviously the method terminates when all customers have been inserted into the solution.

Local Search with intra- relocations

The nearest neighbors algorithm is initially applied. Afterwwards, the selected routes get refined using the local search method. This method considers all possible customer relocations within their routes. The relocation yielding the biggest cost reduction is selected to be applied to the candidate solution. The method terminates if no improving intra-route relocation can be identified.

Local Search with intra- & inter- relocations

This local search method is an extension of the one described above. This method considers all possible customer relocations (both intra- and inter-route). This means that at each iteration, the method explores all potential relocations of customers to any point of the existing solution.

Tabu Search

The nearest neighbors algorithm is initially applied. Afterwards, the selected routes get refined using a tabu-search method. This method considers all possible customer relocations (both intra- and inter-route) with respect to the selected tabu policy. The method terminates after 200 iterations.

large-scale-optimization-vehicle-routing-problem's People

Contributors

dependabot[bot] avatar emarkou avatar mikepapadim avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.