Skip to content

Commit

Permalink
Merge pull request #41 from SECQUOIA/med_term_purchasing_bug
Browse files Browse the repository at this point in the history
Fix Typo in Parameter Name
  • Loading branch information
ZedongPeng authored Jun 10, 2024
2 parents c1fee75 + e804fd4 commit ff64f41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gdplib/med_term_purchasing/med_term_purchasing.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def build_model():
# pd1(j, t) in GAMS
model.RegPrice_Discount = Param(
model.Streams,
model.TimePeriod,
model.TimePeriods,
doc='Price for quantities less than min amount under discount contract',
)

Expand Down Expand Up @@ -339,7 +339,7 @@ def getCostUBs(model, j, t):
model.Streams,
model.TimePeriods,
initialize=getCostUBs,
DOC='Upper bound on cost of discount contract',
doc='Upper bound on cost of discount contract',
)
model.CostUB_Bulk = Param(
model.Streams,
Expand Down

0 comments on commit ff64f41

Please sign in to comment.