feat: add tailored irace config files

This commit is contained in:
Johann Dreo 2020-10-06 15:44:08 +02:00
commit 2c80a01fad
4 changed files with 378 additions and 0 deletions

19
eo/contrib/irace/run_irace.sh Executable file
View file

@ -0,0 +1,19 @@
#!/bin/bash
if [[ $# != 1 ]] ; then
echo "ERROR: build dir not indicated"
exit 1
fi
cd $1
pwd
# Fore some reason, irace absolutely need those files...
cp ../irace-config/example.scen .
cp ../irace-config/target-runner .
cp ../irace-config/default.instances .
# Generate the parameter list file.
./fastga -h > fastga.param 2>/dev/null
/usr/lib/R/site-library/irace/bin/irace --scenario example.scen