Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Typo in Parameter Name #41

Merged
merged 2 commits into from
Jun 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading