Giter Site home page Giter Site logo

capacitated-vrp's Introduction

AI_Planning_Project


  • README.txt including brief file descriptions, and guidelines how to run it

File Description


/create_venv.sh
For creating a python virtual environment.

/run_benchmark.sh
For running the benchmark suite.

/benchmark
benchmark suite, the vrp file parsers and the instance files

/analysis
Tool to calculate the result_xxx.json statistics

/genetic_algorithm
source code of Genetic Algorithm

/sim_annealing
source code of Simulated Annealing

/tabu_search
source code of Tabu Search

How to Run


  1. Check your environment (Unix-like & Python 3.4+)
    Recommend to run the source code in EECS Shell servers
    See: https://intra.ict.kth.se/en/it-service/shell-servers-ict-1.36363

  2. Run create_venv.sh Notes: if you want to run in other OS (e.g. Windows),
    please read create_venv.sh and create a python virtual enviroment to
    run the source code.

  3. run the main.py inside the algorithm folder to see the basic results
    For example:

source venv/bin/activate   # activate python virtual environment
cd tabu_search
python3 main.py
  1. run the shell script run_benchmark.sh
    Notes: It takes about two hours to run all the cases.
  2. check the result json file in benchmark_result
  3. If you would like to make the statistic csv, please source the virtual
    environment and run the analysis python script.
source venv/bin/activate
python3 analysis/make_stat_csv.py

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.