Optimisation modules built for optimization problem during thesis

Jérôme BUISINE 4db572e143 Merge tag 'v0.1.2' into develop il y a 4 ans
.github df8251b5ac new package name : macop; use of new policy for operators il y a 4 ans
docs df8251b5ac new package name : macop; use of new policy for operators il y a 4 ans
macop df8251b5ac new package name : macop; use of new policy for operators il y a 4 ans
.gitignore df8251b5ac new package name : macop; use of new policy for operators il y a 4 ans
CONTRIBUTING.md df8251b5ac new package name : macop; use of new policy for operators il y a 4 ans
LICENSE 3589fb944b Initial commit il y a 5 ans
README.md df8251b5ac new package name : macop; use of new policy for operators il y a 4 ans
__init__.py 0a1b108095 First version of OR framework il y a 5 ans
build.sh df8251b5ac new package name : macop; use of new policy for operators il y a 4 ans
checkpoints.csv df8251b5ac new package name : macop; use of new policy for operators il y a 4 ans
logo_macop.png df8251b5ac new package name : macop; use of new policy for operators il y a 4 ans
mainExample.py df8251b5ac new package name : macop; use of new policy for operators il y a 4 ans
requirements.txt 5712f568a8 Add of documentation il y a 5 ans
setup.py df8251b5ac new package name : macop; use of new policy for operators il y a 4 ans

README.md

Minimalist And Customizable Optimizations Package

Description

Optimisation generic framework built for optimization problem during thesis

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 had 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.

Add as dependency

git submodule add https://github.com/prise-3d/macop.git

License

The MIT License