Recommend for using Linux / macOS
git clone https://github.com/nimiusrd/MRR.gitgit fetch origin main
git merge origin mainref: https://docs.python.org/3/library/venv.html
python3 -m venv .venvRun this command before execution.
. .venv/bin/activateWhen you use M1 Mac,
brew install openblas
pip install cython pybind11 pythran numpy
OPENBLAS=$(brew --prefix openblas) CFLAGS="-falign-functions=8 ${CFLAGS}" pip install --no-use-pep517 scipy scikit-learnThis program uses numpy, matplotlib, and so on. Need to install modules from pip.
pip3 install -r requirements.txtconfiguration file: src/config/base.py
python main.py引数にはsrc/config/simulateにあるシミュレーションをするものを指定する.
src/config/simulate/12_DE6.py をシミュレーションしたい場合は以下のように実行する.
python simulator.py 12_DE6