Skip to main content

A generic evolutionary algorithm for function optimisation.

Project description

Evolutionary-Optimization

A generic evolutionary algorithm for function optimization.

Introduction

This package allows the user to optimise a function using an evolutionary algorithm. An evolutionary algorithm uses the principles of evolution to find optimal solutions.

Using the Package

Getting Started

To get started with this package install this package:

pip install evolutionary_optimization

Running Experiments

To run the code type the following in your terminal. The default experiment is a simple optimization of the $x^{2}$ using integers.

run_evolution

The parameters used for the run can be edited within the main.py file.

Personalising Experiments

To personalise your experiment you can either use the prebuilt phenotypes and genotypes using our interface, or you can build your own. To do so, you simply need to create a new phenotype / genotype class that inherits from the corresponding abstract class and implement the methods to suit your needs.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

evolutionary-optimization-3.0.0.tar.gz (14.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

evolutionary_optimization-3.0.0-py3-none-any.whl (28.4 kB view details)

Uploaded Python 3

File details

Details for the file evolutionary-optimization-3.0.0.tar.gz.

File metadata

  • Download URL: evolutionary-optimization-3.0.0.tar.gz
  • Upload date:
  • Size: 14.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.8.8 Darwin/21.6.0

File hashes

Hashes for evolutionary-optimization-3.0.0.tar.gz
Algorithm Hash digest
SHA256 95055883a050e65487f2623f43a89f052c5c21bee13e9373b4bcb0a442bb6bf6
MD5 4a8e0e2ddf5bbcec9926aa2d54a76bfe
BLAKE2b-256 9479a183e961f72d68adcf05d7c7ecc9512b9dac82c0c8871d28638cd3372dd9

See more details on using hashes here.

File details

Details for the file evolutionary_optimization-3.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for evolutionary_optimization-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8f5e3fa41c208ef8d566d13de31094aa50ecfef8da22a3bb04a604838486f2ad
MD5 ab104021de529b4d35ccf417ad8d56f1
BLAKE2b-256 ed3aab2a512d85e7728dc004e8ff33c75a975162d4c6f880c144cdd76a8f7ce5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page