This can be useful for resetting to a clean state.Ĭmake -build build -config Release -target all -j -v Installing OR-Tools on your operating system If you need to re-install OR-Tools, the command: You can check that everything is running correctly by entering:Ĭmake -build build -config Release -target test -v Then enter the following command to compile OR-Tools:Ĭmake -build build -config Release -target all -j -v To build the source code, open a terminal and navigate to the directory where Solvers whose support is disabled by default: You can also use OR-Tools with any of the following optional third-party MIP Note: You can disable the support of Gurobi solver by using -DUSE_GUROBI=OFF Using an optional third-party MIP solver On MAC OS X and Windows, or by using the GUROBI_HOME environment variable. The Gurobi shared library in the default install path of the Gurobi installers When needed, at runtime, OR-Tools will search for Note: You can disable the support of SCIP solver by using -DUSE_SCIP=OFF Warning: While OR-Tools ships with SCIP, please consult the Since v7.8, SCIP is now integrated so you won't have to install it manually. B build -DBUILD_DEPS=ON Tip: For a complete list of available OR-Tools CMake options, please take a look Open a terminal and navigate to the directory where you extracted the files.Ĭmake -S. Main branch, enter the following commands in your local repo: git fetch -all -tags -prune git checkout tags/v9.6 -v v9.6īefore building OR-Tools, you'll need to configure the CMake build system You can check out a specific release using a Gitįor example, to work with the v9.6 release instead of the
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |