mirror of
https://github.com/ANL-CEEESA/UnitCommitment.jl.git
synced 2025-12-06 00:08:52 -06:00
Make build_model return a plain JuMP model
This commit is contained in:
13
CHANGELOG.md
13
CHANGELOG.md
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user