Running EvoAl
This page describes how to run EvoAl from the command line: what a release contains, the start scripts, the settings of a run and where the results go.
Requirements
- Java 25. The start scripts call
java, so a Java 25 runtime has to be on thePATH. - A bash shell. The start scripts are bash scripts.
- A release of EvoAl for your platform (
linux-x86_64,macosx-arm64,macosx-x86_64orwindows-x86_64; the packages differ in their native libraries), see the Installation. Extract it to a folder of your choice; the scripts find the release by their own location.
Instead of a local installation, you can use the Docker image of EvoAl, which contains Java and
the Linux package (in /opt/evoal, with bin/ on the PATH):
docker run --rm -it gitlab.informatik.uni-bremen.de:5005/evoal/source/evoal-core/evoal/evoal:nightly
cp -r "$EVOAL_HOME/examples/random-search" . && cd random-search
bash 01-run-search.sh
The tag nightly is the newest build of the branch release, latest the newest release, and
a version such as 2027.4.0 a particular release.
Contents of a release
| Folder or file | Content |
|---|---|
bin/ |
the start scripts |
examples/ |
the examples, one folder each with a README and a script 01-run-*.sh |
plugins/, modules/ |
the plugins and the core of EvoAl with their libraries |
definitions/ |
the DL files of all plugins, e.g. for an editor; EvoAl itself reads them from the plugins |
licenses/, LICENSE.md, NOTICE, sbom.json, CITATION.cff |
licences, the bill of materials and how to cite EvoAl, see Credits and Licences |
eclipse-update-site.zip |
the Eclipse plugins for editing the DSL files |
Running an example
Every example runs with its script, from a copy of its folder:
cp -r <release>/examples/random-search . && cd random-search
bash 01-run-search.sh
The README of an example explains what it shows, what to look at in its output folder and what
to try next. The Use Cases page lists the examples.
Start scripts
Every script takes the folder to run in (the execution folder) as its first argument; the other paths are relative to it.
| Script | Arguments | Runs |
|---|---|---|
evoal-search.sh |
<execution-folder> <ol-file> <output-folder> |
an optimisation |
evoal-evaluate-search.sh |
<execution-folder> <ol-file> <output-folder> <number-of-runs> |
repeated runs of one optimisation, e.g. to compare algorithms (heuristic-search-evaluation) |
evoal-search-with-surrogate.sh |
<execution-folder> <ol-file> <mll-file> <pre-trained.pson> <training-points.json> <output> [parameters] |
an optimisation with a trained surrogate and its training data |
evoal-training.sh |
<execution-folder> <mll-file> [parameters] |
the training of a surrogate (Machine Learning Language) |
evoal-pipeline.sh |
<execution-folder> <generator-file> [parameters] |
a data pipeline (Generator Language) |
evoal-arff-to-ddl.sh |
<execution-folder> <input.arff> <output.ddl> |
derives a DDL file from an ARFF file (ARFF) |
evoal-convert-arff.sh |
<execution-folder> <input.arff> <specification.ddl> <output.json> |
converts an ARFF file to JSON |
evoal-credits.sh |
see Credits and Licences | lists the libraries and the literature |
evoal-print-help.sh |
– | prints all parameters of EvoAl |
Parameters of the form -B<name>=<value> set further options, e.g.
-Bcore:search-path=<folders> for the search path of the imports;
evoal-print-help.sh lists them all.
Settings of a run
The scripts read these environment variables:
| Variable | Effect |
|---|---|
EVOAL_HOME |
the release to use; by default the release that contains the script |
EVOAL_SEED |
the seed of the random numbers (-Bcore:seed); the same seed gives the same results |
EVOAL_THREADS |
the number of threads that evaluate candidates in parallel (-Bcore:evaluation-threads), see Running a Search in Parallel |
EVOAL_LOGGING |
the logging level ERROR, WARN, INFO or DEBUG (-Bcore:logging) |
EVOAL_DEBUG |
if set, Java waits for a debugger on port 1044 before EvoAl starts |
EVOAL_VM |
further options for the Java virtual machine |
EVOAL_SEED=42 EVOAL_THREADS=4 bash $EVOAL_HOME/bin/evoal-search.sh . search.ol output
Results
A search writes its results into a folder named after the OL file in the output folder, e.g.
output/search for search.ol: the files of its statistics writers (see
Documentation), e.g. the memory model, the
literature of the configuration (citations.bib) and the provenance of the run, which records
what is needed to verify and repeat it (see Provenance of a Run).