# RL for Algorithm Design

# Setup

`pip install -r requirements.txt`

Install the correct version of `incense`:

`pip install git+https://github.com/rajatvd/incense.git`


# Running experiments

## Run a single experiment

Use MCTS to design an algorithm:

`sorcerun run make_algorithm/make_algorithm_main.py make_algorithm/make_algo_config.py`

Test the designed algorithm:

`sorcerun run test_algorithm/test_algorithm_main.py test_algorithm/test_algo_config.py`

## Run a grid of experiments


csorcerun grid-run make_algorithm/make_algorithm_main.py make_algorithm/make_algo_grid_config.py`

`sorcerun grid-run test_algorithm/test_algorithm_main.py test_algorithm/test_algo_grid_config.py`


## Plots

`python plot.py`

## To reproduce our results

`First do git commit`

`python run_cmd.py`

