Optimisation modules built for optimization problem during thesis

Jérôme BUISINE 83ce449892 Merge tag 'v1.0.5' into develop 3 anos atrás
.github 9f3aca158a Fix issue into basic checkpoint 3 anos atrás
docs 186385737e update of solutions inheritance and doc 3 anos atrás
examples 899ec8e7d3 rename all paramaters as protected 4 anos atrás
macop dbd4ab57df use of inheritance for solutions; check if sol already computed 3 anos atrás
.gitignore feb1e4263c enable solutions dynamic imports using python package 4 anos atrás
CONTRIBUTING.md 287df287e2 update math syntax on paper 4 anos atrás
LICENSE 3589fb944b Initial commit 5 anos atrás
README.md 287df287e2 update math syntax on paper 4 anos atrás
__init__.py 0a1b108095 First version of OR framework 5 anos atrás
build.sh 899ec8e7d3 rename all paramaters as protected 4 anos atrás
logo_macop.png df8251b5ac new package name : macop; use of new policy for operators 4 anos atrás
paper.bib 0e743faba7 Prepare to major version 4 anos atrás
paper.md 287df287e2 update math syntax on paper 4 anos atrás
requirements.txt 4fbbbf39d3 documentation updates for algorithms 4 anos atrás
setup.py 186385737e update of solutions inheritance and doc 3 anos atrás

README.md

Minimalist And Customisable Optimisation Package

Description

macop is an optimisation 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 if a 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