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.
  • checkpoints: checkpoints folder where Checkpoint class is available for making checkpoint 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 ?

You can see an example of use in the mainExample.py python file.

Fully documentation of package with examples is also available.

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.1.4.tar.gz (8.6 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.1.4-py3-none-any.whl (12.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: macop-0.1.4.tar.gz
  • Upload date:
  • Size: 8.6 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.1.4.tar.gz
Algorithm Hash digest
SHA256 eaab761376d37783ccfd22e094a764b529d2e25aac854c591695c0f315b62f6b
MD5 05467367f22d3647dca1653dacffb592
BLAKE2b-256 0c2d8abe7474c7e9684845e98c8cfea4bb036470c22e4ed255bff6e5e7b7e55e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: macop-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 12.8 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.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 73fd7552c5a1f448365d4c7d7167f5cfc5ed1d4aa50a1c3e5ace91e481d68ab9
MD5 13d937d8919e563407ae5adb1c9b3646
BLAKE2b-256 eb749bdc4b27d91eaa4e4665d34c37b4f1888a44bd15f0d740f24786563da7f4

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