Skip to content

Commit

Permalink
back to working code
Browse files Browse the repository at this point in the history
  • Loading branch information
juanjospina committed Aug 15, 2024
1 parent d3bf3b9 commit abf541b
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions src/core/multiprocessing.jl
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ function optimize_subproblem_multiprocessing(
export_models::Bool=false
)

@info "Enter optimize_subproblem_multiprocessing function"

# Instantiate the PMD model
subproblem_instantiated = _IM.instantiate_model(data,
type,
Expand Down Expand Up @@ -86,12 +84,12 @@ function optimize_subproblem_multiprocessing(
close(mp_string_rc)
close(sp_string_rc)

# Clear references to help the garbage collector
subproblem_instantiated = nothing
subprob_linking_vars_vector = nothing
result = nothing
result_json = nothing
data = nothing
# # Clear references to help the garbage collector
# subproblem_instantiated = nothing
# subprob_linking_vars_vector = nothing
# result = nothing
# result_json = nothing
# data = nothing

# Clean everything before leaving process
GC.gc()
Expand Down

0 comments on commit abf541b

Please sign in to comment.