Skip to content

Commit

Permalink
prep for release
Browse files Browse the repository at this point in the history
  • Loading branch information
ccoffrin committed May 27, 2023
1 parent 3ad3eed commit d417de6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ PowerModels.jl Change Log
=========================

### Staged
- nothing

### v0.19.9
- Fix implementation of polynomial costs above quadratic
- Add tests for opf objective expression types
- Update tests for compat with Julia v1.9 (#861)
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name = "PowerModels"
uuid = "c36e90e8-916a-50a6-bd94-075b64ef4655"
authors = ["Carleton Coffrin"]
repo = "https://github.com/lanl-ansi/PowerModels.jl"
version = "0.19.8"
version = "0.19.9"

[deps]
InfrastructureModels = "2030c09a-7f63-5d83-885d-db604e0e9cc0"
Expand Down
3 changes: 2 additions & 1 deletion test/opf-obj.jl
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ end
pm = instantiate_model(data, ACPPowerModel, build_opf)

@test JuMP.objective_function(pm.model) == JuMP.AffExpr(0.0)
@test isa(JuMP._nlp_objective_function(pm.model), JuMP.MOI.Nonlinear.Expression)
# would be good to add a test like this one in a future version where the NL expression can be accessed with a public API
#@test isa(JuMP._nlp_objective_function(pm.model), JuMP.MOI.Nonlinear.Expression)
end

@testset "opf objective" begin
Expand Down

0 comments on commit d417de6

Please sign in to comment.