You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "src\pyscipopt\scip.pyx", line 1387, in pyscipopt.scip.Model.writeProblem
File "src\pyscipopt\scip.pyx", line 239, in pyscipopt.scip.PY_SCIP_CALL
OSError: SCIP: cannot create file!
I found in a forum that I would have to change the allowed maximum of simulatiously opened files. However, it might be better to close opened files after writing to them anyway. The error happens after writing 83 .sol files but my simulation is going to produce 8759 of those solution files. Any idea to get this working?
I appreciate any help! And thank you very much for your work on pyscipopt!
Best
Johannes
The text was updated successfully, but these errors were encountered:
line 70, in <module>
scip.writeStatistics()
File "src/pyscipopt/scip.pyx", line 4612, in pyscipopt.scip.Model.writeStatistics
OSError: [Errno 9] Bad file descriptor
model.writeStatistics() is failing - seems to be introduced by #543, ideas @mattmilten ?
I honestly don't know how to resolve that issue. On the one hand, we cannot close the file explicitly (see #570), still there are apparently some dangling file descriptors flying around.
File "src\pyscipopt\scip.pyx", line 1387, in pyscipopt.scip.Model.writeProblem
File "src\pyscipopt\scip.pyx", line 239, in pyscipopt.scip.PY_SCIP_CALL
OSError: SCIP: cannot create file!
I found in a forum that I would have to change the allowed maximum of simulatiously opened files. However, it might be better to close opened files after writing to them anyway. The error happens after writing 83 .sol files but my simulation is going to produce 8759 of those solution files. Any idea to get this working?
I appreciate any help! And thank you very much for your work on pyscipopt!
Best
Johannes
The text was updated successfully, but these errors were encountered: