We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f2b62a commit 7f0f300Copy full SHA for 7f0f300
pyomo/contrib/solver/base.py
@@ -401,11 +401,11 @@ def _map_config(
401
self.config.raise_exception_on_nonoptimal_result = (
402
raise_exception_on_nonoptimal_result
403
)
404
- if solver_io is not NOTSET:
+ if solver_io is not NOTSET and solver_io is not None:
405
raise NotImplementedError('Still working on this')
406
- if suffixes is not NOTSET:
+ if suffixes is not NOTSET and suffixes is not None:
407
408
- if logfile is not NOTSET:
+ if logfile is not NOTSET and logfile is not None:
409
410
if keepfiles or 'keepfiles' in self.config:
411
cwd = os.getcwd()
0 commit comments