|
3 | 3 | ## Breaking changes
|
4 | 4 |
|
5 | 5 | * Changes to the `sign` of atoms:
|
6 |
| - * The sign of `sumlargesteigs` has been changed from `Positive` to `NoSign()` instead of `Positive()`, to allow non-positive-semidefinite inputs. This has the potential |
7 |
| - to break code that required that sign to be positive. If you run into this problem, please file an issue so we can figure out a workaround. [#412](https://github.com/jump-dev/Convex.jl/pull/412) |
8 |
| - * The sign of `eigmin` and `eigmax` has been changed from `Positive` to `NoSign()`. This is a bugfix because in general `eigmin` and `eigmax` do not need to return a positive quantity (for non-positive-semidefinite inputs). Again, this has the potential to break code that required that sign to be positive. If you run into this problem, please file an issue so we can figure out a workaround. [#413](https://github.com/jump-dev/Convex.jl/pull/413) |
| 6 | + * The sign of `sumlargesteigs` has been changed from `Positive` to `NoSign()` instead of `Positive()`, to allow non-positive-semidefinite inputs ([#409](https://github.com/jump-dev/Convex.jl/pull/409)). This has the potential |
| 7 | + to break code that required that sign to be positive. If you run into this problem, please file an issue so we can figure out a workaround. |
| 8 | + * The sign of `eigmin` and `eigmax` has been changed from `Positive` to `NoSign()` ([#413](https://github.com/jump-dev/Convex.jl/pull/413)). This is a bugfix because in general `eigmin` and `eigmax` do not need to return a positive quantity (for non-positive-semidefinite inputs). Again, this has the potential to break code that required that sign to be positive. If you run into this problem, please file an issue so we can figure out a workaround. |
9 | 9 | * Removal of deprecations:
|
10 |
| - * `lambdamin` and `lambdamax` has been deprecated to `eigmin` and `eigmax` since Convex v0.13.0. This deprecation has been removed, so your code must be updated to call `eigmin` or `eigmax` instead. [#412](https://github.com/jump-dev/Convex.jl/pull/412) |
11 |
| - * `norm(x, p)` where `x` is a matrix expression has been deprecated to `opnorm(x,p)` since Convex v0.8.0. This deprecation has been removed, so your code must be updated to call `opnorm(x, p)` instead. Currently, `norm(x,p)` for a matrix |
12 |
| - expression `x` will error, but in Convex.jl v0.15.0 it will return `norm(vec(x), p)`. [#412](https://github.com/jump-dev/Convex.jl/pull/412) |
13 |
| - * `Convex.clearmemory()` has been deprecated and unnecessary since Convex v0.12.5. This deprecation has been removed, so if this function is in your code, just delete it. [#412](https://github.com/jump-dev/Convex.jl/pull/412) |
14 |
| - * `vecnorm(x, p)` has been deprecated to `norm(vec(x), p)` since Convex v0.8.0. This deprecation has been removed, so your code must be updated to call `norm(vec(x),p)` instead. |
| 10 | + * `lambdamin` and `lambdamax` has been deprecated to `eigmin` and `eigmax` since Convex v0.13.0. This deprecation has been removed, so your code must be updated to call `eigmin` or `eigmax` instead ([#412](https://github.com/jump-dev/Convex.jl/pull/412)). |
| 11 | + * `norm(x, p)` where `x` is a matrix expression has been deprecated to `opnorm(x,p)` since Convex v0.8.0. This deprecation has been removed, so your code must be updated to call `opnorm(x, p)` instead ([#412](https://github.com/jump-dev/Convex.jl/pull/412)). Currently, `norm(x,p)` for a matrix |
| 12 | + expression `x` will error, but in Convex.jl v0.15.0 it will return `norm(vec(x), p)`. |
| 13 | + * `Convex.clearmemory()` has been deprecated and unnecessary since Convex v0.12.5. This deprecation has been removed, so if this function is in your code, just delete it ([#412](https://github.com/jump-dev/Convex.jl/pull/412)). |
| 14 | + * `vecnorm(x, p)` has been deprecated to `norm(vec(x), p)` since Convex v0.8.0. This deprecation has been removed, so your code must be updated to call `norm(vec(x),p)` instead ([#412](https://github.com/jump-dev/Convex.jl/pull/412)). |
15 | 15 | * Other changes:
|
16 |
| - * `Convex.DCP_WARNINGS` was introduced in Convex v0.13.1 to allow turning off Convex.jl's DCP warnings. This has been removed in favor of the function `Convex.emit_dcp_warnings()`. [Commit 481fa02](https://github.com/jump-dev/Convex.jl/commit/481fa02b84bfec6bf7c809ea93d6ba8004193b83) |
| 16 | + * `Convex.DCP_WARNINGS` was introduced in Convex v0.13.1 to allow turning off Convex.jl's DCP warnings. This has been removed in favor of the function `Convex.emit_dcp_warnings()` ([Commit 481fa02](https://github.com/jump-dev/Convex.jl/commit/481fa02b84bfec6bf7c809ea93d6ba8004193b83)). |
17 | 17 |
|
18 | 18 | ## Other changes
|
19 | 19 |
|
20 |
| -* updated `nuclearnorm` and `sumlargesteigs` to allow complex variables, and allow the argument of `sumlargesteigs` to be non-positive-semi-definite [#409](https://github.com/jump-dev/Convex.jl/pull/409). Thanks to @dstahlke! |
| 20 | +* updated `nuclearnorm` and `sumlargesteigs` to allow complex variables, and allow the argument of `sumlargesteigs` to be non-positive-semi-definite ([#409](https://github.com/jump-dev/Convex.jl/pull/409)). Thanks to @dstahlke! |
21 | 21 |
|
22 | 22 | # Changes in v0.13.8
|
23 | 23 |
|
24 |
| -* add unary `+` for `Sign` and `ComplexSign` to allow single-argument `hcat` and `vcat` to work [#405](https://github.com/jump-dev/Convex.jl/pull/405). Thanks to @dstahlke! |
| 24 | +* add unary `+` for `Sign` and `ComplexSign` to allow single-argument `hcat` and `vcat` to work ([#405](https://github.com/jump-dev/Convex.jl/pull/405)). Thanks to @dstahlke! |
25 | 25 |
|
26 | 26 | # Changes in v0.13.7
|
27 | 27 |
|
|
41 | 41 | See the
|
42 | 42 | [docs](https://www.juliaopt.org/Convex.jl/dev/advanced/#Custom-Variable-Types-1)
|
43 | 43 | for more information. You can also add constraints directly to a variable
|
44 |
| - using `add_constraint!`. ([#358](https://github.com/JuliaOpt/Convex.jl/pull/358)) |
| 44 | + using `add_constraint!` ([#358](https://github.com/JuliaOpt/Convex.jl/pull/358)). |
45 | 45 | * Accessors `vexity(x::Variable)`, `sign(x::Variable)`, and
|
46 | 46 | `evaluate(x::Variable)` should now be the preferred way to access properties
|
47 | 47 | of a variable; likewise use `set_value!` to set the initial value of a
|
48 |
| - variable. ([#358](https://github.com/JuliaOpt/Convex.jl/pull/358)) |
| 48 | + variable ([#358](https://github.com/JuliaOpt/Convex.jl/pull/358)). |
49 | 49 | * To create integer or binary constraints, use the `VarType` enum (e.g.
|
50 |
| - `Variable(BinVar)`). Access or set this via `vartype` and `vartype!`. |
51 |
| - ([#358](https://github.com/JuliaOpt/Convex.jl/pull/358)) |
| 50 | + `Variable(BinVar)`). Access or set this via `vartype` and `vartype!` ([#358](https://github.com/JuliaOpt/Convex.jl/pull/358)). |
52 | 51 |
|
53 | 52 | # Changes in v0.13.3
|
54 | 53 |
|
|
72 | 71 | one should pass a MathOptInterface optimizer constructor, such as
|
73 | 72 | `SCS.Optimizer`, or `() -> SCS.Optimizer(verbose=false)`.
|
74 | 73 | * `lambdamin` and `lambdamax` have been deprecated in favor of `eigmin` and
|
75 |
| - `eigmax`. ([#357](https://github.com/JuliaOpt/Convex.jl/pull/357)) |
| 74 | + `eigmax` ([#357](https://github.com/JuliaOpt/Convex.jl/pull/357)). |
76 | 75 | * Many "internal" functions and types are no longer exported, such as the atoms,
|
77 | 76 | types corresponding to constraints and vexities, etc.
|
78 |
| - ([#357](https://github.com/JuliaOpt/Convex.jl/pull/357)) |
| 77 | + ([#357](https://github.com/JuliaOpt/Convex.jl/pull/357)). |
79 | 78 | * `evaluate(x::Variable)` and `evaluate(c::Constant)` now return scalars and
|
80 |
| - vectors as appropriate, instead of `(1,1)`- and `(d,1)`-matrices. |
| 79 | + vectors as appropriate, instead of `(1,1)`- and `(d,1)`-matrices |
81 | 80 | ([#359](https://github.com/JuliaOpt/Convex.jl/pull/359)). This affects
|
82 | 81 | functions which used to return `(1,1)`-matrices; e.g., now
|
83 | 82 | `evaluate(quadform(...))` yields a scalar.
|
0 commit comments