From 5d28e63e0f80651c8448ad5d50c891b5251a187a Mon Sep 17 00:00:00 2001 From: Oscar Dowson Date: Wed, 5 Feb 2025 08:56:04 +1300 Subject: [PATCH] Prep for v1.24.0 (#3935) --- Project.toml | 2 +- docs/Project.toml | 10 ++++---- docs/packages.toml | 18 ++++++------- docs/src/changelog.md | 25 +++++++++++++++++++ .../transitioning_from_matlab.jl | 9 +++---- 5 files changed, 44 insertions(+), 20 deletions(-) diff --git a/Project.toml b/Project.toml index 16515f73987..093057a8fae 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.23.6" +version = "1.24.0" [deps] LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" diff --git a/docs/Project.toml b/docs/Project.toml index b6c84c94f76..3c7a58d4a3c 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -48,14 +48,14 @@ Wavelets = "29a6e085-ba6d-5f35-a997-948ac2efa89a" tectonic_jll = "d7dd28d6-a5e6-559c-9131-7eb760cdacc5" [compat] -CDDLib = "=0.9.4" +CDDLib = "=0.10.0" CSV = "0.10" -Clarabel = "=0.9.0" +Clarabel = "=0.10.0" Clustering = "0.15.7" -DSP = "0.7.10" +DSP = "0.8.0" DataFrames = "1" DifferentiationInterface = "0.6.5" -DimensionalData = "=0.29.6" +DimensionalData = "=0.29.12" Distributions = "0.25" Documenter = "=1.8.0" DocumenterCitations = "1" @@ -75,7 +75,7 @@ LinearOperatorCollection = "2.0.7" Literate = "2.8" MarkdownAST = "0.1" MathOptInterface = "=1.35.2" -MultiObjectiveAlgorithms = "=1.3.4" +MultiObjectiveAlgorithms = "=1.3.5" PATHSolver = "=1.7.8" ParametricOptInterface = "0.8.1" Plots = "1" diff --git a/docs/packages.toml b/docs/packages.toml index 4ec8b5e3fe7..89405215750 100644 --- a/docs/packages.toml +++ b/docs/packages.toml @@ -127,10 +127,10 @@ rev = "6d165e8e8f59b14e36e99c8efb19f0e775bbd292" [CDDLib] user = "JuliaPolyhedra" - rev = "v0.9.4" + rev = "v0.10.0" [Clarabel] user = "oxfordcontrol" - rev = "v0.9.0" + rev = "v0.10.0" has_html = true [COPT] user = "COPT-Public" @@ -167,18 +167,18 @@ rev = "v0.2.5" [MadNLP] user = "MadNLP" - rev = "v0.8.4" + rev = "v0.8.5" has_html = true [MAiNGO] user = "MAiNGO-github" rev = "v0.2.2" [Manopt] user = "JuliaManifolds" - rev = "v0.5.3" + rev = "v0.5.5" filename = "Readme.md" [MathOptAI] user = "lanl-ansi" - rev = "v0.1.6" + rev = "v0.1.7" extension = true [MathOptSymbolicAD] user = "lanl-ansi" @@ -186,7 +186,7 @@ extension = true [Optim] user = "JuliaNLSolvers" - rev = "v1.9.4" + rev = "v1.11.0" [OSQP] user = "osqp" rev = "v0.8.1" @@ -207,12 +207,12 @@ has_html = true [SCIP] user = "scipopt" - rev = "v0.12.1" + rev = "v0.12.2" [SDDP] user = "odow" - rev = "v1.10.1" + rev = "v1.10.4" has_html = true extension = true [Tulip] user = "ds4dm" - rev = "v0.9.6" + rev = "438a77b7e08b9233365603c1089cf4002e3f507c" diff --git a/docs/src/changelog.md b/docs/src/changelog.md index fe29fac921d..9abd48ffde2 100644 --- a/docs/src/changelog.md +++ b/docs/src/changelog.md @@ -7,6 +7,31 @@ 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.24.0 (February 4, 2025) + +### Added + + - Added [`assert_is_solved_and_feasible`](@ref) (#3925) + +### Fixed + + - Fixed [`primal_feasibility_report`](@ref) with non-`Float64` number types + (#3913) + - Fixed a bug with `copy(model)` if it contained a registered expression that + did not contain a variable (#3934) + +### Other + + - Document danger of using `Threads.threadid` (#3909) + - Remove `@warn` from `operator_warn` (#3911) + - Use `tectonic_jll` in the PDF build of the docs (#3914) + - Various improvements to docstrings (#3916) (#3927) (#3932) + - Fixed year in this changelog (#3926) + - Fixed the documentation to exclude Gurobi if built from a fork (#3919) + - Update `docs/Project.toml` (#3928) + - Remove documentation section on time-to-first-solve (#3929) + - Suggest [`add_to_expression!`](@ref) in performance tips (#3930) + ## Version 1.23.6 (January 6, 2025) ### Fixed diff --git a/docs/src/tutorials/transitioning/transitioning_from_matlab.jl b/docs/src/tutorials/transitioning/transitioning_from_matlab.jl index ca3c1ff7fb2..2c159f27d60 100755 --- a/docs/src/tutorials/transitioning/transitioning_from_matlab.jl +++ b/docs/src/tutorials/transitioning/transitioning_from_matlab.jl @@ -368,14 +368,13 @@ function robustness_jump(d) rho = random_state_pure(d^2) id = LinearAlgebra.Hermitian(LinearAlgebra.I(d^2)) rhoT = LinearAlgebra.Hermitian(partial_transpose(rho, 1, [d, d])) - model = Model() + model = Model(Clarabel.Optimizer) + set_attribute(model, "verbose", false) @variable(model, λ) @constraint(model, PPT, rhoT + λ * id in HermitianPSDCone()) @objective(model, Min, λ) - set_optimizer(model, Clarabel.Optimizer) - set_attribute(model, "verbose", true) optimize!(model) - assert_is_solved_and_feasible(model) + assert_is_solved_and_feasible(model; allow_almost = true) WT = dual(PPT) return value(λ), real(LinearAlgebra.dot(WT, rhoT)) end @@ -393,7 +392,7 @@ robustness_jump(3) # rhoT = PartialTranspose(rho, 1, [d d]); # lambda = sdpvar; # constraints = [(rhoT + lambda*eye(d^2) >= 0):'PPT']; -# ops = sdpsettings(sdpsettings, 'verbose', 1, 'solver', 'sedumi'); +# ops = sdpsettings(sdpsettings, 'verbose', 0, 'solver', 'sedumi'); # sol = optimize(constraints, lambda, ops); # if sol.problem == 0 # WT = dual(constraints('PPT'));