Skip to content

Commit

Permalink
Same old black tho
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmundt committed Jan 7, 2025
1 parent e7a8306 commit db3a2fa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pyomo/solvers/plugins/solvers/cplex_direct.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
):
Expand Down

0 comments on commit db3a2fa

Please sign in to comment.