Giter Site home page Giter Site logo

nc_loa's Introduction

NC_LOA

Assignment Natural Computing

Based on: Maziar Yazdani and Fariborz Jolai. “Lion optimization algorithm (LOA): a nature-inspired metaheuristic algorithm”. In: Journal of computational design and engineering 3.1 (2016), pp. 24–36.

LOA

The main engine of the algorithm is the LOA_main file. In here the parameters are define and the iterative process is implemented, and the results are collected.

To run the LOA algorithm: run python LOA_main.py

Make sure to set the desired parameters and evaluation function beforehand. The results are saved in two .npy files.

lib

The intricacies of the algorithm can be found in the LOA_lib file. In here we implement the details in the algorithm subroutines. The methods here are called from with the LOA_main file. In here we have for example, manipulate the lions to mate and produce cubs, the initialisation of the first population etc.

In the benchmark file we define our evaluation functions. These are called from within the LOA_main file and passed to the Lion objects in the LOA_lib file for evaluation. Our benchmark functions are based on the CEC guideline.

PSO

In the PSO file we implement the PSO algorithm. This calls on the benchmark file to evaluate the progress throughout its iterations.

to run PSO: python PSO.py

Make sure to set desired parameters and benchmark evaluation function beforehand. The result is saved in a .npy file.

Results

The results of our experiments can be found in the results folder. To plot the results run: python plot.py

nc_loa's People

Contributors

steinarlaenen avatar

Stargazers

 avatar

Watchers

 avatar  avatar

nc_loa's Issues

What do you think of this algorithm?

Hi, I'm learning optimization algorithm recently. I read this paper and found it very complicated. Can you tell me how the algorithm works? What do you think of this algorithm? How does it compare with PSO or other EAs? Thanks.

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.