-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
35 changed files
with
822 additions
and
198 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,4 @@ | |
Manifest.toml | ||
benchmark/*.json | ||
test/Project.toml | ||
dev |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Changes in v0.13.0 | ||
|
||
* The intermediate layer has changed from MathProgBase.jl to | ||
[MathOptInterface.jl](https://github.com/JuliaOpt/MathOptInterface.jl) | ||
([#330](https://github.com/JuliaOpt/Convex.jl/pull/330)). | ||
* `lambdamin` and `lambdamax` have been deprecated in favor of `eigmin` and | ||
`eigmax`. ([#357](https://github.com/JuliaOpt/Convex.jl/pull/357)) | ||
* You can now create your own variable types by subtyping `AbstractVariable`. | ||
See the | ||
[docs](https://www.juliaopt.org/Convex.jl/dev/advanced/#Custom-Variable-Types-1) | ||
for more information. You can also add constraints directly to a variable | ||
using `add_constraint!`. ([#358](https://github.com/JuliaOpt/Convex.jl/pull/358)) | ||
* Accessors `vexity(x::Variable)`, `sign(x::Variable)`, and | ||
`evaluate(x::Variable)` should now be the preferred way to access properties | ||
of a variable; likewise use `set_value!` to set the initial value of a | ||
variable. ([#358](https://github.com/JuliaOpt/Convex.jl/pull/358)) | ||
* To create integer or binary constraints, use the `VarType` enum (e.g. | ||
`Variable(BinVar)`). Access or set this via `vartype` and `vartype!`. | ||
([#358](https://github.com/JuliaOpt/Convex.jl/pull/358)) | ||
* `evaluate(x::Variable)` and `evaluate(c::Constant)` now return scalars and | ||
vectors as appropriate, instead of `(1,1)`- and `(d,1)`-matrices. | ||
([#359](https://github.com/JuliaOpt/Convex.jl/pull/359)). This affects | ||
functions which used to return `(1,1)`-matrices; e.g., now | ||
`evaluate(quadform(...))` yields a scalar. |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,4 +28,4 @@ problem.optval | |
|
||
#- | ||
|
||
x.value | ||
evaluate(x) |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -133,7 +133,7 @@ p.status | |
|
||
#- | ||
|
||
x.value | ||
evaluate(x) | ||
|
||
#- | ||
|
||
|
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Reference | ||
|
||
The `AbstractVariable` interface: | ||
|
||
```@docs | ||
Convex.AbstractVariable | ||
Convex._value | ||
Convex.set_value! | ||
Convex.constraints | ||
Convex.add_constraint! | ||
Convex.vexity | ||
Convex.vexity! | ||
Convex.sign | ||
Convex.sign! | ||
Convex.VarType | ||
Convex.vartype | ||
Convex.vartype! | ||
``` | ||
|
||
Functions: | ||
|
||
```@docs | ||
Convex.fix! | ||
Convex.free! | ||
Convex.evaluate | ||
``` |
Oops, something went wrong.