Prep for v1.31.0#4188
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #4188 +/- ##
==========================================
+ Coverage 99.87% 99.96% +0.09%
==========================================
Files 43 43
Lines 6316 6315 -1
==========================================
+ Hits 6308 6313 +5
+ Misses 8 2 -6 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Member
Author
|
There are a couple of blocking failures here:
|
Member
Author
|
@blegat the failure in PiecewiseLinearApprox is because of this change in COSMO: oxfordcontrol/COSMO.jl#198 |
This was referenced Jul 8, 2026
Member
Author
|
This is ready for release. The only decision is whether to do something about #4190 first. |
Member
Author
|
Okay, DisjunctiveProgramming is failing, but only because we have improved the functions. Before(tmp) pkg> st
Status `~/git/infiniteopt/DisjunctiveProgramming/tmp/Project.toml`
[0d27d021] DisjunctiveProgramming v0.6.1 `https://github.com/infiniteopt/DisjunctiveProgramming.jl.git#master`
[8dfed614] Test v1.11.0
julia> begin
using DisjunctiveProgramming
import DisjunctiveProgramming as DP
include("test/utilities.jl")
model = GDPModel()
@variable(model, 10 <= x <= 100)
@variable(model, z, Logical)
@constraint(model, con, x^2 in MOI.LessThan{Float64}(5), Disjunct(z))
zbin = variable_by_name(model, "z")
method = DisjunctiveProgramming._Hull(Hull(1e-3), Set([x]))
prep_bounds(x, model, Hull())
DisjunctiveProgramming._disaggregate_variables(model, z, Set([x]), method)
x_z = variable_by_name(model, "x_z")
ref = reformulate_disjunct_constraint(model, constraint_object(con), zbin, method)
ref[1].func
end
Test Summary: | Pass Total Time
Utility Functions | 21 21 0.1s
((0) + ((x_z²) / (0.999 z + 0.001))) - (5 z)After(DisjunctiveProgramming) pkg> st
Project DisjunctiveProgramming v0.6.1
Status `~/git/infiniteopt/DisjunctiveProgramming/Project.toml`
[4076af6c] JuMP v1.31.0 `~/git/jump-dev/JuMP`
[189a3867] Reexport v1.2.2
julia> begin
using DisjunctiveProgramming
import DisjunctiveProgramming as DP
include("test/utilities.jl")
model = GDPModel()
@variable(model, 10 <= x <= 100)
@variable(model, z, Logical)
@constraint(model, con, x^2 in MOI.LessThan{Float64}(5), Disjunct(z))
zbin = variable_by_name(model, "z")
method = DisjunctiveProgramming._Hull(Hull(1e-3), Set([x]))
prep_bounds(x, model, Hull())
DisjunctiveProgramming._disaggregate_variables(model, z, Set([x]), method)
x_z = variable_by_name(model, "x_z")
ref = reformulate_disjunct_constraint(model, constraint_object(con), zbin, method)
ref[1].func
end
Test Summary: | Pass Total Time
Utility Functions | 21 21 0.1s
((x_z²) / (0.999 z + 0.001)) - (5 z)I'll make a PR to fix their tests. |
blegat
approved these changes
Jul 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TODO
Pre-release
docs/Project.tomlare updated. We pinthe versions so that changes in the solvers (changes in printing, small
numeric changes) do not break the printing of the JuMP docs in arbitrary
commits.
revfields indocs/packages.tomlare updated. We pinthe versions of solvers and extensions to ensure that changes to their
READMEs do not break the JuMP docs in arbitrary commits, and to ensure
that the versions are compatible with the latest JuMP and
MathOptInterface releases.
DimensionalDatainProject.tomlMacroToolsinProject.tomldocs/src/changelog.mdProject.toml[ci skip]The release
After merging this pull request, comment
[at]JuliaRegistrator registerinthe GitHub commit. This should automatically publish a new version to the
Julia registry, as well as create a tag, and rebuild the documentation
for this tag.
Post-release
release-branch. The latestrelease branch at the time of writing is
release-1.0(we haven'tback-ported any patches that needed to create a
release-1.Ybranch). Toto update the release branch with the v1.10.0 tag, do:
git checkout release-1.0 git pull git merge v1.10.0 git push