JuliaDecisionFocusedLearning / InferOpt.jl

Combinatorial optimization layers for machine learning pipelines
https://juliadecisionfocusedlearning.github.io/InferOpt.jl/
MIT License
113 stars 4 forks source link

Add option for parallelization of Perturbed maximizers #29

Closed BatyLeo closed 1 year ago

BatyLeo commented 1 year ago

It would be interesting to be able to run perturbed maximizers in parallel, especially when nb_samples is high or/and the combinatorial algorithm has a long runtime.

One option would be to use ThreadsX.jl. For this, we need to wait until the following PR is merged: https://github.com/tkf/ThreadsX.jl/pull/195 in order to not have conflict with SetField version.