Skip to main content

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.

Metadata

Release files for evolutionary-optimization 3.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for evolutionary-optimization 3.0.0
File Size Uploaded
evolutionary-optimization-3.0.0.tar.gz 14.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for evolutionary-optimization 3.0.0
File Interpreter ABI Platform
evolutionary_optimization-3.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 42.3 kB

Release files / evolutionary-optimization-3.0.0.tar.gz

Download URL evolutionary-optimization-3.0.0.tar.gz
Size 14.0 kB
Tags Source
SHA-256 checksum
How to use checksums
95055883a050e65487f2623f43a89f052c5c21bee13e9373b4bcb0a442bb6bf6
BLAKE2b-256 checksum
How to use checksums
9479a183e961f72d68adcf05d7c7ecc9512b9dac82c0c8871d28638cd3372dd9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.8.8 Darwin/21.6.0

Release files / evolutionary_optimization-3.0.0-py3-none-any.whl

Download URL evolutionary_optimization-3.0.0-py3-none-any.whl
Size 28.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8f5e3fa41c208ef8d566d13de31094aa50ecfef8da22a3bb04a604838486f2ad
BLAKE2b-256 checksum
How to use checksums
ed3aab2a512d85e7728dc004e8ff33c75a975162d4c6f880c144cdd76a8f7ce5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.8.8 Darwin/21.6.0

Release history Release notifications | RSS feed

This release

3.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page