Giter Site home page Giter Site logo

talhaahussain / ant-colony-optimisation Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 2.12 MB

Continuous Assessment for ECM3412 - Nature-Inspired Computation, set by Prof. Ayah Helal (Year 3, Semester 1). Implements the ant colony optimisation algorithm to address the travelling salesperson problem for two given networks.

License: MIT License

Python 100.00%
ant-colony-optimization evolutionary-algorithms

ant-colony-optimisation's Introduction

ant-colony-optimisation

Continuous Assessment for ECM3412 - Nature-Inspired Computation, set by Prof. Ayah Helal (Year 3, Semester 1). Implements the ant colony optimisation algorithm to address the travelling salesperson problem for two given networks. Please see results/results.pdf for insights on results and written answers to questions.

This work received a final mark of 70/100.

Please see specification.pdf for specification.

Prerequisites

Project was developed in Python 3. Install prerequisites with:

pip install -r requirements.txt

aco.py and elitist-aco.py require ant.py and load_data.py to run.

Usage

The program is executed from aco.py. To run the program, please use

python aco.py

To run elitist-aco.py, please use

python elitist-aco.py

Details on modifying parameters/variables to reflect experiments can be found in the Python source code. This is done at the call of the main method, right at the bottom of the script.

Results

Results shown in results/results.pdf and the associated text files, which can be found in results/BurmaResults/ and results/BrazilResults/. Execution durations are also stored in the text files, and images are included in the directories.

ant-colony-optimisation's People

Contributors

talhaahussain avatar

Watchers

 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.