warning: Makefile build is deprecated, please use CMake or Bazel based build.
OR-Tools comes with a GNU Make based build (Makefile) that can be used on a wide range of platforms.
You'll need:
GNU Make >= 4.3.- A C++20 compiler (gcc 10 or above)
OR-Tools depends on several mandatory libraries, either as infrastructure or as
optimization solvers. You can either compile all of these dependencies using the
target third_party or compile some of them on your own and give their
installation directories to the others using the Make variables below.
- zlib (
UNIX_ZLIB_DIRorWINDOWS_ZLIB_DIR), - Google Abseil-cpp (
UNIX_ABSL_DIRorWINDOWS_ABSL_DIR), - Google Protobuf (
UNIX_PROTOBUF_DIRorWINDOWS_PROTOBUF_DIR), - SCIP (
UNIX_SCIP_DIRorWINDOWS_SCIP_DIR), - COIN-OR solvers:
- COIN-OR CoinUtils (
UNIX_COINUTILS_DIRorWINDOWS_COINUTILS_DIR), - COIN-OR Osi (
UNIX_OSI_DIRorWINDOWS_OSI_DIR), - COIN-OR Clp (
UNIX_CLP_DIRorWINDOWS_CLP_DIR), - COIN-OR Cgl (
UNIX_CGL_DIRorWINDOWS_CGL_DIR), - COIN-OR Cbc (
UNIX_CBC_DIRorWINDOWS_CBC_DIR),
- COIN-OR CoinUtils (
OR-Tools can also optionally (disabled by default) be compiled with support for the following third-party solvers:
- CPLEX (
UNIX_CPLEX_DIRorWINDOWS_CPLEX_DIR), - GLPK (
UNIX_GLPK_DIRorWINDOWS_GLPK_DIR), - GUROBI (
UNIX_GUROBI_DIRorWINDOWS_GUROBI_DIR), - XPRESS (
UNIX_XPRESS_DIRorWINDOWS_XPRESS_DIR)
warning: Since these solvers are either proprietary (and require a specific license) or available under the GPL, we can't test them on public CI and their support may be broken.