OR-Tools comes with a GNU Make based build (Makefile) that can be used on a wide range of platforms.
OR-Tools depends on severals mandatory libraries. You can compile them all
using the target third_party
or you can compile few of them and give the
installation directory to the others using the Make variable below.
- ZLIB (
UNIX_ZLIB_DIR
orWINDOWS_ZLIB_DIR
), - Google Abseil-cpp (
UNIX_ABSL_DIR
orWINDOWS_ABSL_DIR
), - Google Gflags (
UNIX_GFLAG_DIR
orWINDOWS_GFLAG_DIR
), - Google Glog (
UNIX_GLOG_DIR
orWINDOWS_GLOG_DIR
), - Google Protobuf (
UNIX_PROTOBUF_DIR
orWINDOWS_PROTOBUF_DIR
), - COIN-OR CoinUtils (
UNIX_COINUTILS_DIR
orWINDOWS_COINUTILS_DIR
), - COIN-OR Osi (
UNIX_OSI_DIR
orWINDOWS_OSI_DIR
), - COIN-OR Clp (
UNIX_CLP_DIR
orWINDOWS_CLP_DIR
), - COIN-OR Cgl (
UNIX_CGL_DIR
orWINDOWS_CGL_DIR
), - COIN-OR Cbc (
UNIX_CBC_DIR
orWINDOWS_CBC_DIR
),
OR-Tools also have few (ed compile time) optional solvers support (disabled by default):
- SCIP (
UNIX_SCIP_DIR
orWINDOWS_SCIP_DIR
), - CPLEX (
UNIX_CPLEX_DIR
orWINDOWS_CPLEX_DIR
), - XPRESS (
UNIX_XPRESS_DIR
orWINDOWS_XPRESS_DIR
)
warning: Since these solvers require license and are proprietary, we can't test it on public CI and support can be broken.