Implementation of Estimation of Distribution Algorithms (EDAs).
EDA is a framework to optimize black-box discrete optimization problems.
The algorithm of EDA is as follows.
- Initialize a population P whose size is λ.
- Construct a population S which includes promising solutions in P.
- Build an explicit probabilistic model M based on S.
- Generate new λcandidate solutions from M to construct a population O.
- The solutions in P is replaced with those of O.
- If termination conditions are met, then the algorithm is terminated, else go to (2).
EDAs requires:
- Python >= 3.6
Install EDAs
from the sources:
git clone https://github.com/e5120/EDAs.git
cd EDAs
pip install -r requirements.txt
pip install -e .
(Optional) If you want to use main.py
or eda/builder.py
, you need to install BB-DOB project.
cd scripts
- Rewrite a script file
xxx.sh
, if necessary. See output ofpython ../main.py -h
for details of each parameter. - Execute a command
bash xxx.sh
.