Make build_model return a plain JuMP model

This commit is contained in:
2021-05-27 11:09:06 -05:00
parent 5c81be4660
commit 607bbeb75c
10 changed files with 626 additions and 597 deletions

View File

@@ -1,12 +1,21 @@
# Changelog
## [Unreleased]
## [0.2.0] - [Unreleased]
### Added
- Implement sub-hourly unit commitment
- Sub-hourly unit commitment
### Changed
- Renamed "Time (h)" parameter to "Time horizon (h)"
- `UnitCommitment.build_model` now returns a plain JuMP model. The
struct `UnitCommitmentModel` has been completely removed. Accessing model elements can now be accomplished as follows:
- `model.vars.x[idx]` becomes `model[:x][idx]`
- `model.eqs.y[idx]` becomes `model[:eq_y][idx]`
- `model.expr.z[idx]` becomes `model[:expr_z][idx]`
- `model.obj` becomes `model[:obj]`
- `model.isf` becomes `model[:isf]`
- `model.lodf` becomes `model[:lodf]`
- Function `UnitCommitment.get_solution` has been renamed to `UnitCommitment.solution`
## [0.1.1] - 2020-11-16