Skip to content

Commit

Permalink
Prep for v1.2.0 (#3033)
Browse files Browse the repository at this point in the history
  • Loading branch information
odow authored Aug 16, 2022
1 parent 64d3002 commit 85c2714
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 2 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.1.1"
version = "1.2.0"

[deps]
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ embedded in [Julia](https://julialang.org/). You can find out more about us by
visiting [jump.dev](https://jump.dev).


**Latest Release**: [![version](https://juliahub.com/docs/JuMP/DmXqY/1.1.1/version.svg)](https://juliahub.com/ui/Packages/JuMP/DmXqY/1.1.1) (`release-1.0` branch):
**Latest Release**: [![version](https://juliahub.com/docs/JuMP/DmXqY/1.2.0/version.svg)](https://juliahub.com/ui/Packages/JuMP/DmXqY/1.2.0) (`release-1.0` branch):
* Installation via the Julia package manager:
* `import Pkg; Pkg.add("JuMP")`
* Get help:
Expand Down
35 changes: 35 additions & 0 deletions docs/src/release_notes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,40 @@
# Release notes

## Version 1.2.0 (August 3, 2022)

For a detailed list of the closed issues and pull requests from this release,
see the [tag notes](https://github.com/jump-dev/JuMP.jl/releases/tag/v1.2.0).

This is a large minor release beause it significantly refactors the internal
code for handling nonlinear programs to use the `MathOptInterface.Nonlinear`
submodule that was introduced in MathOptInterface v1.3.0. As a consequence, the
internal datastructure in `model.nlp_data` has been removed, as has the
`JuMP._Derivatives` submodule. Despite the changes, the public API for nonlinear
programming has not changed, and any code that uses only the public API and that
worked with v1.1.1 will continue to work with v1.2.0.

A summary of changes are as follows:

- New features:
- Added `all_constraints(model; include_variable_in_set_constraints)` which
simplifies returning a list of all constraint indices in the model.
- Added the ability to delete nonlinear constraints via
`delete(::Model, ::NonlinearConstraintRef)`.
- Added the ability to provide an explicit Hessian for a multivariate
user-defined function.
- Added support for querying the primal value of a nonlinear constraint via
`value(::NonlinearConstraintRef)`
- Bug fixes:
- Fixed a bug in `Containers.DenseAxisArray` so that it now supports indexing
with keys that hash to the same value, even if they are different types, for
example, `Int32` and `Int64`.
- Fixed a bug printing the model when the solver does not support `MOI.Name`.
- Documentation and maintenance:
- Added a constraint programming formulation to the Sudoku tutorial.
- Added newly supported solvers Pajarito, Clarabel, and COPT to the
installation table.
- Fixed a variety of other miscellaneous issues in the documentation.

## Version 1.1.1 (June 14, 2022)

For a detailed list of the closed issues and pull requests from this release,
Expand Down

0 comments on commit 85c2714

Please sign in to comment.