Skip to content

Commit

Permalink
Fix black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
blnicho authored Jan 31, 2024
1 parent 2ae37c4 commit d90761f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions pyomo/contrib/interior_point/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,10 +258,9 @@ def __init__(self, pyomo_model):

# set the init_duals_primals_lb/ub from ipopt_zL_out, ipopt_zU_out if available
# need to compress them as well and initialize the duals_primals_lb/ub
(
self._init_duals_primals_lb,
self._init_duals_primals_ub,
) = self._get_full_duals_primals_bounds()
(self._init_duals_primals_lb, self._init_duals_primals_ub) = (
self._get_full_duals_primals_bounds()
)
self._init_duals_primals_lb[np.isneginf(self._nlp.primals_lb())] = 0
self._init_duals_primals_ub[np.isinf(self._nlp.primals_ub())] = 0
self._duals_primals_lb = self._init_duals_primals_lb.copy()
Expand Down

0 comments on commit d90761f

Please sign in to comment.