StructJuMP / StructJuMP.jl

A block-structured optimization framework for JuMP
Other
54 stars 19 forks source link

any better integration of PIPS? #59

Closed kibaekkim closed 4 years ago

kibaekkim commented 6 years ago

It looks like we have to follow the comments in lines (L1, L10, and L11) to use PIPS. Is there any better way to integrate this?

cnpetra commented 6 years ago

I guess so. @joehuchette, do you have any recommendation on how to do this elegantly?

joehuchette commented 6 years ago

We really need to extract the MPI portions of the code to a separate package (StructJuMPMPI.jl?). It shouldn't require too much new code, just some thought about how to restructure things.

I'm not exactly sure why the precompilation is causing trouble, though.

joehuchette commented 6 years ago

@cnpetra @kibaekkim I have created a branch here (https://github.com/StructJuMP/StructJuMP.jl/tree/no-mpi) and a separate package (https://github.com/joehuchette/StructJuMPwithMPI.jl) to try to remove StructJuMP's dependency on MPI. Take a look and see if this addresses your issues/concerns. (See https://github.com/joehuchette/StructJuMPwithMPI.jl/blob/master/README.md for usage).

cnpetra commented 6 years ago

works for me