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.3.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.3-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: genalpy-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 9ec17035693784571d8d9fdd02015eb4dcba9fa1029d82eca3d8f1692bac486a
MD5 5790c4dcc0d0739db34f8d618bf0ba7d
BLAKE2b-256 6dec8c61d80cecab8c0218da4ebf1aed5a7fb0001de7f8a9190d021d9b2a9a74

See more details on using hashes here.

File details

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

File metadata

  • Download URL: genalpy-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 01f557463d1698f809f3ef0dc6f4ac8b5538d80ddf2122dae39b974e1e817898
MD5 ac818d4604dbb5995d51d23fdbba4f97
BLAKE2b-256 473a084752f9344ff1d2f58dc6246f2f5d53e1fed0891233bf73574345958216

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