- Clone this repo using
git clone https://github.com/nikololiahim/AI-Assignment-2.git
- In the project folder initialize the Python virtual environment (provided you have the virtualenv package installed
pip install virtualenv
)
virtualenv venv
- Activate the environment using
source venv/bin/activate
for Linux/MacOS or
venv\Scripts\activate
for Windows
- Install the required packages from requirements.txt
pip install -r requirements.txt
- In order to launch the algorithm, go to
<project root>/src/main.py
and run it.
- population size: 1000, number of generations: 6000
- population size: 1500, number of generations: 1200
- population size: 2000, number of generations: 2000