Optimisation modules built for optimization problem during thesis

Jérôme BUISINE 2e68489694 update whole class documentation; add algo reference into policy преди 3 години
.github df8251b5ac new package name : macop; use of new policy for operators преди 3 години
docs 2e68489694 update whole class documentation; add algo reference into policy преди 3 години
macop 2e68489694 update whole class documentation; add algo reference into policy преди 3 години
.gitignore 2e68489694 update whole class documentation; add algo reference into policy преди 3 години
CONTRIBUTING.md df8251b5ac new package name : macop; use of new policy for operators преди 3 години
LICENSE 3589fb944b Initial commit преди 4 години
README.md 2e68489694 update whole class documentation; add algo reference into policy преди 3 години
__init__.py 0a1b108095 First version of OR framework преди 4 години
build.sh df8251b5ac new package name : macop; use of new policy for operators преди 3 години
logo_macop.png df8251b5ac new package name : macop; use of new policy for operators преди 3 години
mainExample.py 2e68489694 update whole class documentation; add algo reference into policy преди 3 години
requirements.txt 4fbbbf39d3 documentation updates for algorithms преди 3 години
setup.py 2e68489694 update whole class documentation; add algo reference into policy преди 3 години

README.md

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