kibaekkim / DualDecomposition.jl

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

Coupling_id type fix #53

Closed hideakiv closed 3 months ago

hideakiv commented 9 months ago

The type for primal_solution is supposed to be Dict{Any, Float64} instead of Dict{Int, Float64}, to allow general coupling_id types. This happens when the coupling ID is set to 'y', for example in #52.

Also, coupling_id in dcap example was not defined properly, which is fixed.

Finally, heuristics.jl is modified to use string coupling_id to test if the modification works.