Fork of http://code.google.com/p/libcrl/ to add more experimental rl and planning algorithms, domain template and multiagent support, etc.
It is currently maintained at https://github.com/robbel/libcrlext.
- Install scons, boost, gsl, zlib, and clang++3.5 (or, alternatively, change compiler in each SConstruct file)
- Deprecated: lpsolve (5.5) is required to support the ALP solver. Required is the static library version that was compiled with -fPIC (e.g.
liblpsolve55-dev
in Ubuntu). Note: For cplex model export, lpsolve'slibxli_CPLEX
has to be compiled from source. - Instead of lpsolve, we now use Gurobi as the ALP solver. An academic license can be obtained from the Gurobi website
- Install RLGlueCore, e.g. via the version 3.04 DEB package from the rl-glue website
- For approximate inference support in larger ALPs, the latest development version of libDAI from git is required. Our extensions (max-plus) currently require an additional patch before compilation, see
libdai.git.patch
in theexternal
directory. - Optional: Install the latest version of SPUDD to support model file export and policy import. Note: on 64bit architectures, needs Makefile changes to use -fPIC switch.
- For unit tests, the Google Test framework is used (use
libgtest-dev
in Ubuntu). Note: Some versions of Ubuntu require an additional compilation step, see here. - Adjust the paths in setpaths.sh to mimic your installation. Source them into the current shell via
. setpaths.sh
- To compile, invoke
scons
in every folder, starting withexternal
(the dependencies, which need to be installed), thenlibcrl
(the main library),rlgnmn
(the network wrapper), and then the remaining ones in arbitrary order
Files are licensed under the LGPL version 3.0, or (at your option) any later version.
The repo owner can be contacted at robbel@gmail.com.