Skip to content

Commit

Permalink
Update check im pyomo is used to new parameter names
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaraBuettner committed Mar 21, 2024
1 parent c6bc890 commit 08815b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etrago/tools/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -2589,7 +2589,7 @@ def check_args(etrago):
)
etrago.args["method"]["pyomo"] = True

if not etrago.args["method"]["pyomo"]:
if etrago.args["method"]["formulation"] != "pyomo":
try:
# The import isn't used, but just here to test for Gurobi.
# So we can make `flake8` stop complaining about the "unused
Expand Down

0 comments on commit 08815b3

Please sign in to comment.