Giter VIP home page Giter VIP logo

salvacorts / ugr-metaheuristics Goto Github PK

View Code? Open in Web Editor NEW
17.0 2.0 2.0 13.93 MB

:seedling: Genetic Algorithm, Memetic Algorithms, GRASP, Simulated Annealing, Multi start search, Reiterated Local Search, Local Search, Greedy and randomized Greedy

License: Other

CMake 0.91% C++ 98.76% Shell 0.33%
genetic-algorithm memetic-algorithms greedy-algorithms local-search grasp simulated-annealing ils

ugr-metaheuristics's Introduction

A collection of different metaheuristics written in C++ to solve QAP problems.

Technical Paper comparing and explaining them (PDF in Spanish)

Available Algorithms

  • Greedy
  • Randomized Greedy
  • Local Search
  • Local Search with Don't loock Bits mask
  • Genetic (Generational and Estacionary)
  • Memetic (Based on Generational Genetic Algorithm)
  • Simulated Annealing
  • Basic Multistart Search
  • GRASP
  • Iterated Local Search
  • Iterated Local Search using Simulated Annealing instead of Local search

alt text

Compilation

In order to compile with debug symbols:

cd build/
cmake -D CMAKE_BUILD_TYPE=Debug ..
make

To compile with optimization:

cd build/
cmake -D CMAKE_BUILD_TYPE=Release ..
make

Execution

./bin/main <problem> <random_seed>

Parameters:

  • Problem: QAP problem definition, you can find some of them in instancias/
  • Random Seed: Seed for random numbers generator, default is 7

Example:

./bin/main ./instancias/chr22a.dat 7

ugr-metaheuristics's People

Contributors

salvacorts avatar

Stargazers

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

Watchers

 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.