Skip to content

Commit

Permalink
remove code which changes the idaes default solver
Browse files Browse the repository at this point in the history
  • Loading branch information
bknueven committed Apr 8, 2024
1 parent e8d7b85 commit 510b948
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions watertap/core/plugins/solvers.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,14 +202,3 @@ def _is_user_scaling(self):
)
return False
return True


## reconfigure IDAES to use the ipopt-watertap solver
import idaes

_default_solver_config_value = idaes.cfg.get("default_solver")
_idaes_default_solver = _default_solver_config_value._default

_default_solver_config_value.set_default_value("ipopt-watertap")
if not _default_solver_config_value._userSet:
_default_solver_config_value.reset()

0 comments on commit 510b948

Please sign in to comment.