JuMP 0.23 is released
releases ·We are happy to announce the release of JuMP v0.23.
This is an important release for two reasons.
First, it serves as a release candidate for JuMP v1.0. Our criteria for tagging an official JuMP 1.0 release are:
- there have been no bugs requiring a breaking change detected in JuMP v0.23 for at least one week
- all commonly used solvers in the JuMP ecosystem have been updated to be compatible with JuMP v0.23. You can track our progress in Issue #2564.
Second, this release contains a number of breaking changes in preparation for JuMP v1.0. These include:
- Julia 1.6 is now the minimum supported version
- All previously deprecated functionality has been removed. See the troubleshooting section below for advice on how to update code that uses previously deprecated functionality.
PrintMode
,REPLMode
andIJuliaMode
have been removed in favor of the MIME typesMIME"text/plain"
andMIME"text/latex"
. Replace instances of::Type{REPLMode}
with::MIME"text/plain"
,REPLMode
withMIME("text/plain")
,::Type{IJuliaMode}
with::MIME"text/latex"
, andIJuliaMode
withMIME("text/latex")
.- Functions containing the
nl_
acronym have been renamed to the more explicitnonlinear_
. For example,num_nl_constraints
is nownum_nonlinear_constraints
andset_NL_objective
is nowset_nonlinear_objective
. Calls to the old functions throw an error explaining the new name. SymMatrixSpace
has been renamed toSymmetricMatrixSpace
Troubleshooting problems when updating
If you experience problems when updating, you are likely using previously deprecated functionality. (By default, Julia does not warn when you use deprecated features.)
To find the deprecated features you are using, start Julia with --depwarn=yes
:
$ julia --depwarn=yes
Then install JuMP v0.22.3:
julia> using Pkg
julia> pkg"add JuMP@0.22.3"
And then run your code. Apply any suggestions, or search the release notes for advice on updating a specific deprecated feature.
Onward to JuMP 1.0!