Skip to content

Commit

Permalink
Improve SCIPAMPL readability
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Uerlich committed May 26, 2022
1 parent ef48f89 commit 001ae2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyomo/solvers/plugins/solvers/SCIPAMPL.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def _default_executable(self):
executable = Executable("scipampl")
if not executable:
logger.warning("Could not locate the 'scipampl' executable or"
" the 'scip' executable since 8.0.0, which is"
" the 'scip' executable since 8.0.0, which is "
"required for solver %s" % self.name)
self.enable = False
return None
Expand Down Expand Up @@ -144,7 +144,7 @@ def create_command_line(self, executable, problem_files):
if executable not in self._known_versions:
self._known_versions[executable] = self._get_version(executable)
_ver = self._known_versions[executable]
if _ver and _ver > (8, 0, 0):
if _ver and _ver >= (8, 0, 0):
problem_file = os.path.splitext(problem_files[0])[0]
else:
problem_file = problem_files[0]
Expand Down

0 comments on commit 001ae2b

Please sign in to comment.