Giter VIP home page Giter VIP logo

vehicle-routing-problem-gpu-cuda's Introduction

Vehicle-Routing-Problem

This repo contains a source code in Python as well C/C++ and CUDA for VRP

To compile the program both python and CUDA you will need following tools and libraries.

  1. Python 3 and above with numpy, networkx and matplotlib
  2. CUDA 8.0 Toolkit, NVidia GPU, Visual Studio 2015(Any edition)
  3. Microsoft Windows 7 and above OS

Compiling and Executing Python Program:

  1. Keep the vrp.py file and datasets in same folder
  2. Run command in command prompt on Windows "python vrp.py dataset_name.vrp"

Compiling and Executing CUDA Program:

  1. Create new NVidia project in Visual Studio and update project properties with all necessary included headers
  2. Add vrp.cu as source in project
  3. Set thread define values to MAX supported by your NVidia GPU
  4. Build the program
  5. Go to your project folder and keep all datasets and routesGraphGen.py in Debug folder
  6. Run in Bash with the following command "YourProjectName.exe dataset_name.vrp"
  7. This will generate routes.txt, an output file
  8. To generate graph run the python script "python routesGraphGen.py" in command prompt

Please contact Prasad Pandit ([email protected]), Radhika Mandlekar ([email protected]) if you have any questions.

Thank You..!!!!!!!

vehicle-routing-problem-gpu-cuda's People

Contributors

prasadp4009 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.