kibaekkim / DualDecomposition.jl

An algorithmic framework for parallel dual decomposition methods in Julia
MIT License
19 stars 4 forks source link

mpi branch not working #3

Closed kibaekkim closed 5 years ago

kibaekkim commented 5 years ago

With mpi branch, we cannot run with more than a process. If we run with a process, the dual decomposition does not converge.

michel2323 commented 5 years ago

Which example is that with how many processes?

You need:

kibaekkim commented 5 years ago

I have tested dcap.jl with use_admm=false in line 104.

diff --git a/examples/dcap.jl b/examples/dcap.jl
index 0ab3ed9..9db0535 100644
--- a/examples/dcap.jl
+++ b/examples/dcap.jl
@@ -101,4 +101,4 @@ end
 # return the array of nonanticipativity variables
 nonanticipativity_vars() = [:x,:u]

-main_dcap(2,3,3,20; use_admm=true)
+main_dcap(2,3,3,20; use_admm=false)

Here is my environment:

I do not see any bundle is added to the master problem.

michel2323 commented 5 years ago

It runs fine here in 19 iterations with the latest commit.

kibaekkim commented 5 years ago

works now