install BOOST/GMP/MPFR/ on MacOS

install lzip

tar -xvf lzip-1.16.tar.gz
cd lzip-1.16
./configure
make
make check
sudo make install

install gmp

lzip -d gmp-6.0.0a.tar.lz
tar -xvf gmp-6.0.0a.tar
cd gmp-6.0.0/
./configure --prefix=/usr/local
make
make check
sudo make install

install mpfr

tar -xvf mpfr4.0.2.tar.gz
cd mpfr4.0.2
./configure  --with-gmp=/usr/local
make
make check
sudo make install

install boost

tar -xvf boost_1_70_0.tar
cd boost_1_70_0
./bootstrap.sh
sudo ./b2 install -j2 --prefix=/usr/local

install gfortran

インストーラーがある

install SCIP

scipoptsuite-6.0.2.tgz

tar -xvf scipoptsuite-6.0.2
cd scipoptsuite-6.0.2
cmake .
make
sudo make install
skip
$ read ug/check/instances/MIP/stein27.fzn
$ optimize
$ display solution

CGAL

cd CGAL-5.0
cmake .
export CMAKE_BUILD_TYPE="Release"
echo $CMAKE_BUILD_TYPE
sudo make install

CGAL on xcode


0 件のコメント: