This repository implements an algorithm for sampling candidates from constrained high dimensional space. This algorithm is detailed by S. Golchi et al in "Monte Carlo based Designs for Constrained Domains".
To install and run this sampling method the following are required.
pip3
python 3.6.*
Below are steps to install this API:
sudo pip3 install --upgrade pip setuptools wheel
git clone git@github.com:odibua/citrine_challenge.git && cd citrine_challenge
pip3 install -r requirements.txt
pip3 install -r third_party_requirements.txt
chmod +x sampler.sh
sampler.sh
assumes that python 3.6.* is run usingpython3 <script>.py
If this is not the case modify line 8 ofsampler.sh
to bepython sampler.py $1 $2 $3 $4
./sampler.sh <input_file> <output_file> <n_results>