Python
IDAES: Optimization package
Install dependencies:
Ubuntu 18.04 and 19.10 and distributions based on them:
sudo apt-get install libgfortran4 libgomp1 liblapack3 libblas3
Ubuntu 20.04 and distributions based on it
sudo apt-get install libgfortran5 libgomp1 liblapack3 libblas3
Current RedHat based distributions, including CentOS:
yum install lapack blas libgfortran libgomp
Add package to code environment pip list and update: (Option Update all package only)
idaes-pse
Go to code environment bin:
cd /dataiku/dss_data/code-envs/python/CODE_ENV_NAME/bin
Run:
./idaes get-extensions
./idaes get-examples
Test:
./pytest --pyargs idaes -W ignore
Cbc: Optimization package
Installation from console
Go to the expected code environment folder:
cd /dataiku/dss_data/code-envs/python/CODE_ENV_NAME
Run installation:
svn checkout https://projects.coin-or.org/svn/Cbc/releases/2.9.8 Cbc-2.9.8
cd Cbc-2.9.8
./configure
make
make install