Skip to content

Commit

Permalink
remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
BSnelling committed Nov 30, 2022
1 parent e628293 commit ce17b42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ load = get_loads(system)
sum(model[:generation][u, t] for u in units) == sum(load(l, t) for l in axiskeys(load, 1))
)

# for simplicity, assume units submitted a fixed price per MW, rather than a variable price offer curve
# for simplicity, use a fixed price per MW, rather than a variable price offer curve
offer_curves = get_offer_curve(system)
prices = map(curve -> only(first.(curve)), offer_curves)
cost = AffExpr()
Expand All @@ -47,7 +47,7 @@ for u in units, t in datetimes
end

@objective(model, Min, cost)
# define a JuMP model for it

set_optimizer(model, HiGHS.Optimizer)
optimize!(model)
```
Expand Down

0 comments on commit ce17b42

Please sign in to comment.