Skip to content

Commit

Permalink
Prep for v1.24.0 (#3935)
Browse files Browse the repository at this point in the history
  • Loading branch information
odow authored Feb 4, 2025
1 parent 41db3c3 commit 5d28e63
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 20 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
10 changes: 5 additions & 5 deletions docs/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand Down
18 changes: 9 additions & 9 deletions docs/packages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -167,26 +167,26 @@
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"
rev = "aabf987fb1e25f68053390b6a44716cb28a881b0"
extension = true
[Optim]
user = "JuliaNLSolvers"
rev = "v1.9.4"
rev = "v1.11.0"
[OSQP]
user = "osqp"
rev = "v0.8.1"
Expand All @@ -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"
25 changes: 25 additions & 0 deletions docs/src/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 4 additions & 5 deletions docs/src/tutorials/transitioning/transitioning_from_matlab.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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'));
Expand Down

2 comments on commit 5d28e63

@odow
Copy link
Member Author

@odow odow commented on 5d28e63 Feb 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/124337

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v1.24.0 -m "<description of version>" 5d28e63e0f80651c8448ad5d50c891b5251a187a
git push origin v1.24.0

Please sign in to comment.