Run instructions:
# Current working directory should be trr/
# Install dependencies
pip install -r ga-tsp/requirements.txt
# Run the script for the Western Sahara dataset
python ga-tsp/main.py
# Run the script for arbitrary dataset at path [PATH]
python ga-tsp/main.py [PATH]
TSP datasets taken from https://www.math.uwaterloo.ca/tsp/data/index.html
All example functions are taken from here: Wikipedia
# Current working directory should be trr/
# Install dependencies
pip install -r de/requirements.txt
# Run the script for the Western Sahara dataset
python de/main.py
CMake 3.20
or higher- Functional build system such as
Unix Makefiles, Ninja
orMSVC
# Current working directory should be trr/
cd ga-test-func
cmake -S . -B build
cmake --build build
# Run the test
cd build
./ga sphere <num_of_dimensions> # or "ga beale"