TP-recherche-operationnelle/TP1/script.sh

23 lines
415 B
Bash
Raw Normal View History

2021-11-18 16:49:43 +00:00
mkdir solveurGLPK
cd solveurGLPK
mkdir sources
cd sources
wget ftp://ftp.gnu.org/gnu/glpk/glpk-5.0.tar.gz
tar -xzvf glpk-5.0.tar.gz
cd glpk-5.0
./configure --disable-shared
make
#make --jobs=4
make check
cd ../..
mkdir executables
cp sources/glpk-5.0/examples/glpsol executables/.
cp sources/glpk-5.0/doc/glpk.pdf executables/.
cp sources/glpk-5.0/doc/gmpl.pdf executables/.
cd executables
./glpsol --help