Skip to main content

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.1.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

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

genalpy-0.1.1-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file genalpy-0.1.1.tar.gz.

File metadata

  • Download URL: genalpy-0.1.1.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

Hashes for genalpy-0.1.1.tar.gz
Algorithm Hash digest
SHA256 dffec5c1aa9332a74d517c3fe8f5be82acd53bf75a64dfce4496b11e684cad76
MD5 1fe7e1aebe556479f563fd89a91538bb
BLAKE2b-256 1894f8dd65a11eef1745dc37ba82b6371e5c8aa91141f817821f9cf8d7ed2a50

See more details on using hashes here.

File details

Details for the file genalpy-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: genalpy-0.1.1-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

Hashes for genalpy-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6680a882ebdfb21da0f346e28a9cb64d04c7457a627cecab6e5a35ee63b01366
MD5 7696e13f8f1ee264c0a8dd207669896e
BLAKE2b-256 1fd28edf83aecd10260dc9041c2c7f8b2b78f7f0eafa7177926ec6664cd78f4c

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