Skip to main content

Minimalist And Customizable Optimization Package

Project description

Minimalist And Customizable Optimization Package

Description

macop is an optimization Python package which not implement the whole available algorithms in the literature but let you the possibility to quickly develop and test your own algorithm and strategies. The main objective of this package is to be the most flexible as possible and hence, to offer a maximum of implementation possibilities.

Modules

  • algorithms: generic and implemented OR algorithms
  • evaluator: example of an evaluation function to use (you have to implement your own evaluation function)
  • solutions: solutions used to represent problem data
  • operators: mutators, crossovers update of solution. This folder also has policies folder to manage the way of update and use solution.
  • callbacks: callbacks folder where Callback class is available for making callback instructions every number of evaluations.

Note: you can pass a custom validator function to the algorithm in order to check is solution is always correct for your needs after an update.

How to use ?

Fully documentation of package with examples is available.

You can also see examples of use:

Add as dependency

git submodule add https://github.com/jbuisine/macop.git

License

The MIT License

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

macop-0.3.5.tar.gz (16.0 kB view details)

Uploaded Source

Built Distribution

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

macop-0.3.5-py3-none-any.whl (31.1 kB view details)

Uploaded Python 3

File details

Details for the file macop-0.3.5.tar.gz.

File metadata

  • Download URL: macop-0.3.5.tar.gz
  • Upload date:
  • Size: 16.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for macop-0.3.5.tar.gz
Algorithm Hash digest
SHA256 eafb6e393a3b3e9e9071c6f33d15912c7e92103e0ab0ebd2b0f468d6b862125f
MD5 33ccb58c7838ca98f182b612f36457d0
BLAKE2b-256 0a9de5247aeecf8d1edfe5cba127c28a438eb10d802737209a24dce9ae076577

See more details on using hashes here.

File details

Details for the file macop-0.3.5-py3-none-any.whl.

File metadata

  • Download URL: macop-0.3.5-py3-none-any.whl
  • Upload date:
  • Size: 31.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for macop-0.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e4cc9339395e1191b306b612d13e0fb892eaf39bdd1c1c5a7942e10061b0e275
MD5 1f30f59ddeee0a04f05a5e2d41336291
BLAKE2b-256 11fa547aab9008579f08c01036f073f7a0eb17dd01feaa3b1594ff43722f40a5

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