Skip to content

Commit

Permalink
Just some black adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
phchri committed Jun 23, 2023
1 parent 5eeffde commit be423b9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
3 changes: 2 additions & 1 deletion pyomo/solvers/plugins/solvers/SAS.py
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,8 @@ def _apply_solver(self):

# Prepare the solver results
results = self.results = self._create_results_from_status(
self._macro.get("STATUS", "ERROR"), self._macro.get("SOLUTION_STATUS","ERROR")
self._macro.get("STATUS", "ERROR"),
self._macro.get("SOLUTION_STATUS", "ERROR"),
)

if "Objective Sense Maximization" in self._lst:
Expand Down
11 changes: 2 additions & 9 deletions pyomo/solvers/tests/checks/test_SAS.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,8 @@
minimize,
Suffix,
)
from pyomo.opt.results import (
SolverStatus,
TerminationCondition,
ProblemSense,
)
from pyomo.opt import (
SolverFactory,
check_available_solvers,
)
from pyomo.opt.results import SolverStatus, TerminationCondition, ProblemSense
from pyomo.opt import SolverFactory, check_available_solvers


CAS_OPTIONS = {
Expand Down

0 comments on commit be423b9

Please sign in to comment.