git clone https://github.com/michel2323/PIPS.git
mv ma57-3.9.0.tar.gz ThirdPartyLibs/MA57
./build_3rdparty.sh
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=RELEASE -DBUILD_ALL=OFF -DBUILD_PIPS_NLP=ON -DBUILD_PIPS_DOC=ON -DDUMP=ON -B. -H..
This creates a build setup for PIPS that dumps 1st stage matrices, creates a doxygen makefile target to generate the documentation, and only builds PIPS-NLP. Change the build options to your needs.
make -j4
Pkg.clone("https://github.com/StructJuMP/StructJuMP.jl.git")
Pkg.clone("https://github.com/StructJuMP/StructJuMPSolverInterface.jl")
--- a/src/StructJuMP.jl
+++ b/src/StructJuMP.jl
@@ -1,4 +1,4 @@
-__precompile__()
+#__precompile__()
module StructJuMP
@@ -7,8 +7,8 @@
import MathProgBase
import ReverseDiffSparse
# These modules could be optional.
-# import StructJuMPSolverInterface
-# import MPI
+import StructJuMPSolverInterface
+import MPI
export PIPS_NLP_SHARED_LIB=$YOUR_PIPS_FOLDER/build/PIPS-NLP/libpipsnlp.so
export PIPS_NLP_PAR_SHARED_LIB=$YOUR_PIPS_FOLDER/build/PIPS-NLP/libparpipsnlp.so