From 37f794d29297be19d45c2a58ed311cd29c79152a Mon Sep 17 00:00:00 2001 From: Oscar Dowson Date: Wed, 18 May 2022 10:22:42 +1200 Subject: [PATCH] Add warning on thread safety --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index bf9b992..e8c6727 100644 --- a/README.md +++ b/README.md @@ -104,6 +104,12 @@ julia> termination_status(model) LOCALLY_SOLVED::TerminationStatusCode = 4 ``` +## Thread safety + +PATH is not thread-safe and there are no known work-arounds. Do not run it in parallel +using `Threads.@threads`. See [issue #62](https://github.com/chkwon/PATHSolver.jl/issues/62) +for more details. + ## Factorization methods By default, `PATHSolver.jl` will download the [LUSOL](https://web.stanford.edu/group/SOL/software/lusol/)