better target-runner and run_irace.sh
This commit is contained in:
parent
48430567b0
commit
ffafaa5b40
2 changed files with 4 additions and 3 deletions
|
|
@ -23,6 +23,7 @@ error() {
|
||||||
|
|
||||||
|
|
||||||
EXE="./fastga"
|
EXE="./fastga"
|
||||||
|
LOG_DIR="irace_logs"
|
||||||
|
|
||||||
FIXED_PARAMS="--problem=0"
|
FIXED_PARAMS="--problem=0"
|
||||||
|
|
||||||
|
|
@ -41,8 +42,8 @@ shift 11 || error "Not enough parameters"
|
||||||
|
|
||||||
INSTANCE_PARAMS=$*
|
INSTANCE_PARAMS=$*
|
||||||
|
|
||||||
# STDOUT=c${CONFIG_ID}_i${INSTANCE_ID}_s${SEED}.stdout
|
# STDOUT=${LOG_DIR}/c${CONFIG_ID}_i${INSTANCE_ID}_s${SEED}.stdout
|
||||||
# STDERR=c${CONFIG_ID}_i${INSTANCE_ID}_s${SEED}.stderr
|
# STDERR=${LOG_DIR}/c${CONFIG_ID}_i${INSTANCE_ID}_s${SEED}.stderr
|
||||||
STDOUT="/dev/null"
|
STDOUT="/dev/null"
|
||||||
STDERR="/dev/null"
|
STDERR="/dev/null"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,5 +15,5 @@ cp ../irace-config/default.instances .
|
||||||
|
|
||||||
# Generate the parameter list file.
|
# Generate the parameter list file.
|
||||||
./fastga -h > fastga.param 2>/dev/null
|
./fastga -h > fastga.param 2>/dev/null
|
||||||
/usr/lib/R/site-library/irace/bin/irace --scenario example.scen
|
/usr/lib/R/site-library/irace/bin/irace --scenario example.scen 2>&1 | tee irace.log
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue