Code Monkey home page Code Monkey logo

vehicle-routing-problem's Introduction

Vehicle routing problem

Assignment for the course Optimization Methods in Management Science of the 3rd year winter semester.

Description

This assignment requires to solve a vehicle routing problem. The business scenario is as follows:

  1. The central warehouse of a company receives orders from a total number of 100 customers.
  2. Trucks are based in the central warehouse.
  3. The purpose is to build a route for each truck in order to achieve best customer service.
  4. Each route starts starts from the main warehouse and visits various customers. Then the route ends at the last customer that the truck visited.
  5. Every order must be completed by one and only visit of a truck. Therefore, when a truck visits a customer, it transfers to the customer the whole amount of his/her order.
  6. Each truck has a specific product capacity, hence the goods transported by a truck must not exceed the truck's maximum capacity.
  7. Assume that the vehicles travel at 35 km / hr and that for each customer, the time of unloading the goods is 15 minutes.
  8. The following trucks are available in the warehouse:
    a. 15 trucks with a maximum capacity of 1500 kg.
    b. 15 trucks with a maximum capacity of 1200 kg.
  9. Each route has a limit of a total duration of 3.5 โ„Ž๐‘Ÿ.

The goal is to minimize the sum of distances that all the trucks travel.

Running the application

Run the following command from the command line:

java -jar vehicle-routing-problem-executable.jar

Solutions

VND Solution

The produced VND solution can be seen with the sum distance of 1399 km:

VRP Solution

The produced VRP solution can be seen with the sum distance of 1476 km

Complete Greek version of the assignment description

vehicle-routing-problem's People

Contributors

adamavrantinis avatar stef4k avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

ma-schenk

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.