Open
Description
Summary
We have an issue where are solving multiple independent problems at the same time using pyomo and highs.
This somehow leads to the error message Significant delay observed waiting to join reader threads, possible output stream deadlock
and a deadlock.
Steps to reproduce the issue
Sorry, no MWE for now, I hope to get feedback on what the cause of this could.
$ command1 [options]
$ command2 [options]
...
# example.py
import pyomo.environ
...
Error Message
$ # Output message here, including entire stack trace, if available
Information on your system
Pyomo version: 6.8.2
Python version: 3.12
Operating system: Debian 12
How Pyomo was installed (PyPI, conda, source): pip
Solver (if applicable): pyhighs/HiGHs
Additional information
This occurs when using multiprocessing equally well as when using two terminals to start two optimizations at the same time