![]() ![]() To force Python-MIP to use your freshly compiled CBC binaries, you can set the PMIP_CBC_LIBRARY environment variable, indicating the full path to this shared library. In Linux, this file is named libCbcSolver.so, in Windows and MacOS the extension should be. ![]() Python-MIP uses the CbcSolver shared library to communicate with CBC. To do so, Open PowerShell as Administrator and run: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux. ![]() Most Windows PCs are now 64-bit so it is likely that during the installation of GEMPACK you will be able to select 64-bit GFortran, which we recommend. During the installation of Source-code GEMPACK you choose which one to use. # build, replace prefix with your install directory, add -enable-debug if necessaryīash coinbrew build -no-prompt -prefix =/home/haroldo/prog/ -tests =none -enable-cbc-parallel -enable-relocatable Taken from the Microsoft page, you first need to enable the 'Windows Subsystem for Linux' optional feature and reboot. The install packages available below provide a GFortran which makes both 32-bit and 64-bit programs. # download CBC and its dependencies with coinbrew Sudo apt-get install gcc g++ gfortran libgfortran-9-dev liblapack-dev libamd2 libcholmod3 libmetis-dev libsuitesparse-dev libnauty2-dev git
0 Comments
Leave a Reply. |