From 64c17299c14b118bccbe75f40c41b2f789aa5e44 Mon Sep 17 00:00:00 2001 From: odow Date: Thu, 9 May 2024 15:23:40 +1200 Subject: [PATCH 1/3] Prep for v1.22 --- Project.toml | 4 ++-- docs/Project.toml | 2 +- docs/packages.toml | 12 ++++++------ docs/src/changelog.md | 29 +++++++++++++++++++++++++++++ 4 files changed, 38 insertions(+), 9 deletions(-) diff --git a/Project.toml b/Project.toml index 4c5f60f31a5..0454e4f34bb 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "JuMP" uuid = "4076af6c-e467-56ae-b986-b466b2749572" repo = "https://github.com/jump-dev/JuMP.jl.git" -version = "1.21.1" +version = "1.22.0" [deps] LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" @@ -20,7 +20,7 @@ DimensionalData = "0703355e-b756-11e9-17c0-8b28908087d0" JuMPDimensionalDataExt = "DimensionalData" [compat] -DimensionalData = "0.24, 0.25, 0.26.2" +DimensionalData = "0.24, 0.25, 0.26.2, 0.27" LinearAlgebra = "<0.0.1, 1.6" MacroTools = "0.5" MathOptInterface = "1.25.2" diff --git a/docs/Project.toml b/docs/Project.toml index 633ed5cc8ae..4ada6524cce 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -56,7 +56,7 @@ Ipopt = "=1.6.2" JSON = "0.21" JSONSchema = "1" Literate = "2.8" -MathOptInterface = "=1.27.1" +MathOptInterface = "=1.29.0" MultiObjectiveAlgorithms = "=1.3.2" PATHSolver = "=1.7.4" Plots = "1" diff --git a/docs/packages.toml b/docs/packages.toml index 33140962e33..3665b0c2488 100644 --- a/docs/packages.toml +++ b/docs/packages.toml @@ -51,7 +51,7 @@ [ECOS] rev = "v1.1.2" [GLPK] - rev = "v1.1.3" + rev = "v1.2.0" [Gurobi] rev = "v1.2.3" [HiGHS] @@ -122,10 +122,10 @@ has_html = true [COPT] user = "COPT-Public" - rev = "v1.1.15" + rev = "v1.1.16" [COSMO] user = "oxfordcontrol" - rev = "v0.8.8" + rev = "v0.8.9" has_html = true [DAQP] user = "darnstrom" @@ -144,7 +144,7 @@ rev = "e00a845d42653adf5d26c7cef1ef84fb990c91c7" [InfiniteOpt] user = "infiniteopt" - rev = "v0.5.8" + rev = "v0.5.9" filename = "docs/jump/README.md" extension = true [Juniper] @@ -171,13 +171,13 @@ # user = "JuliaOpt" [Optim] user = "JuliaNLSolvers" - rev = "v1.9.2" + rev = "v1.9.4" [OSQP] user = "osqp" rev = "443706e34c2619acbe65281c60bbe850ca4a8fac" [PATHSolver] user = "chkwon" - rev = "v1.7.2" + rev = "v1.7.5" [Percival] user = "JuliaSmoothOptimizers" rev = "0448763a5f8aa9d43a5ad684309c839f70d10fbf" diff --git a/docs/src/changelog.md b/docs/src/changelog.md index 0276fb94ae0..f3c1e1597e8 100644 --- a/docs/src/changelog.md +++ b/docs/src/changelog.md @@ -7,6 +7,35 @@ CurrentModule = JuMP 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). +## Version 1.22.0 (May 10, 2024) + +### Added + + - Added `Base.complex(r, i)` where `r` and `i` may be real-valued variables or + affine or quadratic expressions (#3734) + - Added [`@force_nonlinear`](@ref) for controlling when affine and quadratic + expressions are instead parsed as nonlinear expressions. This can be useful + for advanced users in a limited set of circumstances. (#3732) + - Added support for returning the variable coefficients of a vector-valued + constraint via [`normalized_coefficient`](@ref). In addition, + [`set_normalized_coefficients`](@ref) has been softly deprecated (no warning + is thrown and old code will still work for all future 1.X releases of JuMP) + in favor of [`set_normalized_coefficient`](@ref). This change was made to + unify how we get and set variable coefficients. (#3743) + +### Fixed + + - Fixed missing `promote_operation` method that resulted in slow code (#3730) + - Improved performance of `getindex` for `Containers.DenseAxisArray` (#3731) + - Fixed the error message when the legacy nonnlinear API is mixed with the new + nonlinear API. In particular, we now uniformly throw an error message when + unexpected objects occur in nonlinear expressions. (#3741) + +### Other + + - Updated documentation (#3727), (#3728), (#3739) + - Updated versions in GitHub actions (#3735) + ## Version 1.21.1 (April 11, 2024) ### Fixed From c14ad8bf2f59048d184bb12b40c6d9789bafcaf6 Mon Sep 17 00:00:00 2001 From: Oscar Dowson Date: Thu, 9 May 2024 17:29:28 +1200 Subject: [PATCH 2/3] Update docs/src/changelog.md Co-authored-by: James Foster <38274066+jd-foster@users.noreply.github.com> --- 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 f3c1e1597e8..87a478869e1 100644 --- a/docs/src/changelog.md +++ b/docs/src/changelog.md @@ -27,7 +27,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Fixed missing `promote_operation` method that resulted in slow code (#3730) - Improved performance of `getindex` for `Containers.DenseAxisArray` (#3731) - - Fixed the error message when the legacy nonnlinear API is mixed with the new + - Fixed the error message when the legacy nonlinear API is mixed with the new nonlinear API. In particular, we now uniformly throw an error message when unexpected objects occur in nonlinear expressions. (#3741) From 65b75df275bfe75ebef7b3da00e5845d766f948f Mon Sep 17 00:00:00 2001 From: Oscar Dowson Date: Sun, 12 May 2024 10:41:22 +1200 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 87a478869e1..f1adf5c579d 100644 --- a/docs/src/changelog.md +++ b/docs/src/changelog.md @@ -7,7 +7,7 @@ CurrentModule = JuMP 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). -## Version 1.22.0 (May 10, 2024) +## Version 1.22.0 (May 12, 2024) ### Added