diff --git a/CHANGELOG.md b/CHANGELOG.md index 6da95cf9..d303a3b5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/Project.toml b/Project.toml index 51fd54c6..9da27367 100644 --- a/Project.toml +++ b/Project.toml @@ -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" diff --git a/test/opf-obj.jl b/test/opf-obj.jl index 875df5cb..a021291a 100644 --- a/test/opf-obj.jl +++ b/test/opf-obj.jl @@ -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