MinLCA algorithms
|
To build the source files, you need to have:
First of all, create some directory to output the programs for executing the algorithms and change to that directory.
Suppose the path of this project is $MINLCA
, then run:
cmake $MINLCA
and the code will be ready to be built using make
or some other tool.
You can add some custom flags before the project path to customise the build:
-DLEMON_ROOT_DIR=$LEMON_PATH
to set the path to where the directories lib
and include
for LEMON are found-DGUROBI_ROOT_DIR=$GUROBI_PATH
to set the path to where Gurobi is found (do not include the system name linux64
or mac64
)-DCMAKE_BUILD_TYPE=Release
if you want to generate the optimised versions of the programs.-DCMAKE_CXX_FLAGS='$CUSTOM_FLAGS'
if you want to pass some flags to the C++ compiler. To show the simulated annealing logs on the standard error output, use -DSA_VERBOSE
. In case your compiler does not support using
template typedefs (if you use GCC 4.6 or older, for instance), add the flag -DUSING_NOT_AVAILABLE
.