Skip to content

Commit 6bd477a

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents d67d58b + c3ebf46 commit 6bd477a

File tree

173 files changed

+16824
-7976
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

173 files changed

+16824
-7976
lines changed

.github/workflows/format_check.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: format-check
2+
on:
3+
push:
4+
branches:
5+
- master
6+
- release-*
7+
pull_request:
8+
types: [opened, synchronize, reopened]
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: julia-actions/setup-julia@latest
14+
with:
15+
version: '1'
16+
- uses: actions/checkout@v1
17+
- name: Format check
18+
shell: julia --color=yes {0}
19+
run: |
20+
using Pkg
21+
Pkg.add(PackageSpec(name="JuliaFormatter", version="0.13.2"))
22+
using JuliaFormatter
23+
format("src", verbose=true)
24+
format("test", verbose=true)
25+
out = String(read(Cmd(`git diff`)))
26+
if isempty(out)
27+
exit(0)
28+
end
29+
@error "Some files have not been formatted !!!"
30+
write(stdout, out)
31+
exit(1)

CITATION.bib

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
@article{MathOptInterface-2021,
2+
title={MathOptInterface: a data structure for mathematical optimization problems},
3+
author={Legat, Benoit and Dowson, Oscar and Garcia, Joaquim and Lubin, Miles},
4+
journal={INFORMS Journal on Computing},
5+
year={in press},
6+
publisher={INFORMS}
7+
}

NEWS.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,23 @@
11
MathOptInterface (MOI) release notes
22
====================================
33

4+
v0.9.20 (February 20, 2021)
5+
---------------------------
6+
7+
For a detailed list of the closed issues and pull requests from this release,
8+
see the [tag notes](https://github.com/jump-dev/MathOptInterface.jl/releases/tag/v0.9.20).
9+
10+
- Improved performance of `Utilities.ScalarFunctionIterator`
11+
- Added support for `compute_conflict` to MOI layers
12+
- Added test with zero off-diagonal quadratic term in objective
13+
- Fixed double deletion of nested bridged `SingleVariable`/`VectorOfVariables`
14+
constraints
15+
- Fixed modification of un-set objective
16+
- Fixed function modification with duplicate terms
17+
- Made unit tests abort without failing if the problem class is not supported
18+
- Formatted code with JuliaFormatter
19+
- Clarified `BasisStatusCode`'s docstring
20+
421
v0.9.19 (December 1, 2020)
522
---------------------------
623

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "MathOptInterface"
22
uuid = "b8f27783-ece8-5eb3-8dc8-9495eed66fee"
3-
version = "0.9.19"
3+
version = "0.9.20"
44

55
[deps]
66
BenchmarkTools = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf"
@@ -16,7 +16,7 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
1616
Unicode = "4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5"
1717

1818
[compat]
19-
BenchmarkTools = "0.4, 0.5"
19+
BenchmarkTools = "0.4, 0.5, 0.6"
2020
CodecBzip2 = "~0.6, 0.7"
2121
CodecZlib = "~0.6, 0.7"
2222
JSON = "~0.21"

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,18 @@ An abstraction layer for mathematical optimization solvers. Replaces [MathProgBa
1919
[gitter-url]: https://gitter.im/JuliaOpt/JuMP-dev?utm_source=share-link&utm_medium=link&utm_campaign=share-link
2020
[gitter-img]: https://badges.gitter.im/JuliaOpt/JuMP-dev.svg
2121
[discourse-url]: https://discourse.julialang.org/c/domain/opt
22+
23+
## Citing MathOptInterface
24+
25+
If you find MathOptInterface useful in your work, we kindly request that you cite the
26+
following paper:
27+
```bibtex
28+
@article{MathOptInterface-2021,
29+
title={MathOptInterface: a data structure for mathematical optimization problems},
30+
author={Legat, Benoit and Dowson, Oscar and Garcia, Joaquim and Lubin, Miles},
31+
journal={INFORMS Journal on Computing},
32+
year={in press},
33+
publisher={INFORMS}
34+
}
35+
```
36+
A preprint of this paper is [freely available](https://arxiv.org/abs/2002.03447).

docs/make.jl

Lines changed: 46 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,56 @@ makedocs(
1919
doctest = _FIX ? :fix : true,
2020
pages = [
2121
"Introduction" => "index.md",
22+
"Background" => [
23+
"background/motivation.md",
24+
"background/duality.md",
25+
],
2226
"Manual" => [
23-
"manual/basic_usage.md",
24-
"manual/advanced_usage.md",
27+
"manual/standard_form.md",
28+
"manual/models.md",
29+
"manual/variables.md",
30+
"manual/constraints.md",
31+
"manual/solutions.md",
32+
"manual/modification.md",
33+
"manual/example.md",
2534
"manual/implementing.md",
26-
"manual/Benchmarks.md",
27-
"manual/Bridges.md",
28-
"manual/FileFormats.md",
29-
"manual/Test.md",
30-
"manual/Utilities.md",
3135
],
32-
"API Reference" => "apireference.md",
33-
]
36+
"API Reference" => [
37+
"reference/standard_form.md",
38+
"reference/models.md",
39+
"reference/variables.md",
40+
"reference/constraints.md",
41+
"reference/modification.md",
42+
"reference/nonlinear.md",
43+
"reference/callbacks.md",
44+
"reference/errors.md",
45+
],
46+
"Submodules" => [
47+
"Benchmarks" => [
48+
"Overview" => "submodules/Benchmarks/overview.md",
49+
"API Reference" => "submodules/Benchmarks/reference.md",
50+
],
51+
"Bridges" => [
52+
"Overview" => "submodules/Bridges/overview.md",
53+
"Implementation" => "submodules/Bridges/implementation.md",
54+
"API Reference" => "submodules/Bridges/reference.md",
55+
],
56+
"FileFormats" => [
57+
"Overview" => "submodules/FileFormats/overview.md",
58+
"API Reference" => "submodules/FileFormats/reference.md",
59+
],
60+
"Utilities" => [
61+
"Overview" => "submodules/Utilities/overview.md",
62+
"API Reference" => "submodules/Utilities/reference.md",
63+
],
64+
"Test" => [
65+
"Overview" => "submodules/Test/overview.md",
66+
],
67+
],
68+
],
3469
)
3570

3671
deploydocs(
37-
repo = "github.com/jump-dev/MathOptInterface.jl.git",
72+
push_preview = true,
73+
repo = "github.com/jump-dev/MathOptInterface.jl.git",
3874
)

0 commit comments

Comments
 (0)