Skip to content

Commit

Permalink
add senses to list of breaking changes (#1545)
Browse files Browse the repository at this point in the history
* add senses to list of breaking changes

* clarify Min/Max in objective macros
  • Loading branch information
mlubin authored Oct 12, 2018
1 parent 7c15768 commit 906e982
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@ Breaking changes:
forms and second-order cone constraints. Support for these
constraint classes depends on the solver.

- The symbols `:Min` and `:Max` are no longer used as optimization senses.
Instead, JuMP uses the `OptimizationSense` enum from MathOptInterface.
`@objective(model, Max, ...)`, `@objective(model, Min, ...)`,
`@NLobjective(model, Max, ...)`, and `@objective(model, Min, ...)` remain
valid, but `@objective(m, :Max, ...)` is no longer accepted.

New features:

- Support for deleting constraints and variables.
Expand Down

0 comments on commit 906e982

Please sign in to comment.