Skip to content

Commit

Permalink
fix colgen with parallelized subproblems (#730)
Browse files Browse the repository at this point in the history
  • Loading branch information
guimarqu authored Sep 30, 2022
1 parent f6bfec2 commit d5f559c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Algorithm/colgen.jl
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ function _optimize_sps_in_parallel(spforms, pricing_prob_solve_alg, env)
sp_optstates = Vector{OptimizationState}(undef, length(spforms))
spuids = collect(keys(spforms))
Threads.@threads for i in 1:length(spforms)
spform = spsforms[spuids[i]]
spform = spforms[spuids[i]]
sp_optstates[i] = _optimize_sp(spform, pricing_prob_solve_alg, env)
end
return sp_optstates
Expand Down

0 comments on commit d5f559c

Please sign in to comment.