Genetic algorithms library
Project description
Genetic algorithms with genalpy
Genalpy is an easy-to-use Python library to solve different types of optimization problems using genetic algorithms.
Installation
pip install genalpy
Get started
How to find the extremum of a function:
from genalpy import Solver
# Instantiate a Multiplication object
extremum_solver = Solver(function='-x*x + 4', goal='max', dimensions=2, boundaries=[-100, 100])
# Call the solve method
result = extremum_solver.solve()
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
genalpy-0.1.4.tar.gz
(7.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file genalpy-0.1.4.tar.gz.
File metadata
- Download URL: genalpy-0.1.4.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0266f5fbfc95c3c5fd7713eda02b89d3577bdac167884959d1ba9525629a6e5c
|
|
| MD5 |
c586fd6a6395ecdc5855d9504f97955a
|
|
| BLAKE2b-256 |
b8a310e018fbc11d04d18b9c19c8eb5aad2b2b4c9f0cc28a04daed513f64cc05
|
File details
Details for the file genalpy-0.1.4-py3-none-any.whl.
File metadata
- Download URL: genalpy-0.1.4-py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7fdcb6f3dc86b8ef401c24f9529729788ac6fe4575e9f4662e7c158136910ecb
|
|
| MD5 |
74c2b5dfcce921dc82d47d076177ea5f
|
|
| BLAKE2b-256 |
66da30871ee96cd9381b2e88ee72834dc76576db60499bb8dd47758201e2fc7d
|