From ef7e1afcdaa9e7c333ce2335869aa6bda80656b3 Mon Sep 17 00:00:00 2001 From: odow Date: Wed, 12 Mar 2025 13:26:17 +1300 Subject: [PATCH 1/3] Prep for v1.38.0 --- Project.toml | 2 +- docs/src/changelog.md | 30 ++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 3e690c9c0a..be365fdbe6 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "MathOptInterface" uuid = "b8f27783-ece8-5eb3-8dc8-9495eed66fee" -version = "1.37.2" +version = "1.38.0" [deps] BenchmarkTools = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf" diff --git a/docs/src/changelog.md b/docs/src/changelog.md index f02ac51fdd..a7763f84fe 100644 --- a/docs/src/changelog.md +++ b/docs/src/changelog.md @@ -7,6 +7,36 @@ CurrentModule = MathOptInterface The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## v1.38.0 (March 12, 2025) + +### Added + + - Added the `Nonlinear.SymbolicAD` submodule (#2624), (#2685) + +### Fixed + + - Fixed a bug in `Utilities.operate(vcat, ) -> VectorNonlinearFunction` which + previously did not ensure that the returned function could be mutated (#2682) + - Fixed `get` for [`ConstraintFunction`](@ref) of + [`Bridges.Constraint.SplitHyperRectangleBridge`](@ref) to not add supurious + `+0` and `-0` (#2681) + - Fixed `test_basic_` tests to use [`Nonlinear.SymbolicAD.simplify`](@ref) when + comparing constraint functions. This fixes some tests with + [`VectorNonlinearFunction`](@ref) that failed because the bridge + reformulations were not recognized as being equivalent (#2686) + - Fixed [`FileFormats.MOF.Model`](@ref) to use `use_nlp_block = false` by + default if the model contains [`ScalarNonlinearFunction`](@ref). This change + could be regarded as technically breaking because writing and reading a model + with [`ScalarNonlinearFunction`](@ref) used to return a [`NLPBlock`](@ref), + but now it reads functions as the expected [`ScalarNonlinearFunction`](@ref) + (#2688) + - Fixed [`Test.version_added`](@ref) for a number of tests that were added in + recent versions (#2690), (#2691) + +### Other + + - Refactor some tests in `Bridges` (#2684) + ## v1.37.2 (March 4, 2025) ### Fixed From ff59dd6aea16a7c7be2d119bc92fa1ffd9c59fd1 Mon Sep 17 00:00:00 2001 From: Oscar Dowson Date: Wed, 12 Mar 2025 14:02:30 +1300 Subject: [PATCH 2/3] Update docs/src/changelog.md --- docs/src/changelog.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/changelog.md b/docs/src/changelog.md index a7763f84fe..6e114b1989 100644 --- a/docs/src/changelog.md +++ b/docs/src/changelog.md @@ -18,7 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Fixed a bug in `Utilities.operate(vcat, ) -> VectorNonlinearFunction` which previously did not ensure that the returned function could be mutated (#2682) - Fixed `get` for [`ConstraintFunction`](@ref) of - [`Bridges.Constraint.SplitHyperRectangleBridge`](@ref) to not add supurious + [`Bridges.Constraint.SplitHyperRectangleBridge`](@ref) to not add spurious `+0` and `-0` (#2681) - Fixed `test_basic_` tests to use [`Nonlinear.SymbolicAD.simplify`](@ref) when comparing constraint functions. This fixes some tests with From d37e5ac646bd46db733327fbc1a59764a3385663 Mon Sep 17 00:00:00 2001 From: Oscar Dowson Date: Thu, 13 Mar 2025 16:23:07 +1300 Subject: [PATCH 3/3] Update docs/src/changelog.md --- docs/src/changelog.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/changelog.md b/docs/src/changelog.md index 6e114b1989..63121676b3 100644 --- a/docs/src/changelog.md +++ b/docs/src/changelog.md @@ -7,7 +7,7 @@ CurrentModule = MathOptInterface The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## v1.38.0 (March 12, 2025) +## v1.38.0 (March 13, 2025) ### Added