Make explicit solver_dir=tmpdir

Running the rule solve_network in the university cluster, I was getting a "No space left on device" error. Making solve_dir=tmpdir by default avoids this error and makes it easier to identify any problem with temp files
This commit is contained in:
martavp 2020-12-28 15:39:05 +01:00
parent b7b7407756
commit c623b82b39

View File

@ -272,6 +272,7 @@ def solve_network(n, config=None, solver_log=None, opts=None):
solver_name=solver_name,
solver_logfile=solver_log,
solver_options=solver_options,
solver_dir=tmpdir,
extra_functionality=extra_functionality,
formulation=solve_opts['formulation'])
#extra_postprocessing=extra_postprocessing