Getting started on Mac OS and Linux

Since Yasol has no own built-in LP solver you either need to install IBM® ILOG® CPLEX® Optimization Studio or the COIN-OR Optimization Suite in order to use our solver. For download- and license information of these extern tools, we refer to the corresponding webpages of CPLEX® and COIN-OR.

The compiler clang++ is used in the provided makefiles. Make sure that the compiler can be found at /usr/bin/clang++.

In order to use Yasol on Mac or Linux you need to perform the following steps:

  1. Download the latest Yasol version and unpack it (Mac: Download, Linux: Download).
  2. Provide your folder containing COIN OR (CPLEX) by setting the variable YASOL_CLP_PATH (YASOL_CPLEX_PATH). For a bash that might look like:
    • export YASOL_CLP_PATH=/opt/tools/coinor_tool
    • export YASOL_CPLEX_PATH=/opt/ibm/ILOG/CPLEX_Studio1261/cplex
  3. Make sure that this path contains the folders 'include' and 'lib'.
  4. Execute the batch file build_CLP (build_CPLEX) which you should find in the main folder. This will build the executable YASOL_CLP (YASOL_CPLEX) in the subdirectory /Yasol/Debug.
  5. In order to run YASOL_CLP you might have to add the library location to your library search path variable:
    1. Mac: export DYLD_LIBRARY_PATH=$YASOL_CLP_PATH/lib:$DYLD_LIBRARY_PATH
    2. Linux: export LD_LIBRARY_PATH=$YASOL_CLP_PATH/lib:$LD_LIBRARY_PATH
  6. In ordern to solve a .qlp instance execute YASOL_CLP (YASOL_CPLEX) with the qlp file you want to solve as input parameters, for example: 
    • ./Yasol_CLP ../../../Data/p2756.qlp
Further remarks:
  • Be sure that the file is in the .qlp format. For closer details on the file format examine the QLP File Format.
527efb333