From db3a2faea99c5f6a9e50348040491931f9041115 Mon Sep 17 00:00:00 2001 From: Miranda Mundt Date: Tue, 7 Jan 2025 06:52:42 -0700 Subject: [PATCH] Same old black tho --- pyomo/solvers/plugins/solvers/cplex_direct.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pyomo/solvers/plugins/solvers/cplex_direct.py b/pyomo/solvers/plugins/solvers/cplex_direct.py index 40b01f85e30..b758453df7d 100644 --- a/pyomo/solvers/plugins/solvers/cplex_direct.py +++ b/pyomo/solvers/plugins/solvers/cplex_direct.py @@ -846,7 +846,9 @@ def _postsolve(self): if extract_slacks: linear_slacks = self._solver_model.solution.get_linear_slacks() - quadratic_slacks = self._solver_model.solution.get_quadratic_slacks() + quadratic_slacks = ( + self._solver_model.solution.get_quadratic_slacks() + ) for i, con_name in enumerate( self._solver_model.linear_constraints.get_names() ):