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.
In order to use Yasol on Mac or Linux you need to perform the following steps:
- Download the latest Yasol version (4.0.1.5 from 2023) and unpack it (Mac: Download, Linux: Download).
- Read the README and edit the respective entries in "build_Yasol.bat" to specify your system settings and in particular the location of your COIN OR or CPLEX distribution by setting the variables YASOL_CLP_PATH or YASOL_CPLEX_PATH, respectively. This might look like:
- export YASOL_CLP_PATH=/opt/tools/coinor_tool
- export YASOL_CPLEX_PATH=/opt/ibm/ILOG/CPLEX_Studio1261/cplex
- Make sure that this path contains the folders 'include' and 'lib'.
- Execute build_Yasol.bat. This will build the executable "Yasol" in the subdirectory Yasol/Debug.
- In order to execute Yasol using CLP from COIN OR as lp solver you might have to add the library location to your library search path variable:
- Mac: export DYLD_LIBRARY_PATH=$YASOL_CLP_PATH/lib:$DYLD_LIBRARY_PATH
- Linux: export LD_LIBRARY_PATH=$YASOL_CLP_PATH/lib:$LD_LIBRARY_PATH
- In ordern to solve a .qlp instance execute Yasol with the qlp file you want to solve as input parameters, for example:
- ./Yasol FirstInstances/Runway.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.
- Always feel free to reach out to us. Setting up new software can be a tedious task and we are happy to help. You find our direct contact on our developers page