Skip to content

Commit cc34cc5

Browse files
authored
Generalize Transformation API (#349)
* initial changes * More progress * completed tests and naming * Updated Docs * project updates * fix tests * fix/debug docs * remove checkdocs
1 parent 6e1102d commit cc34cc5

Some content is hidden

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

84 files changed

+4643
-4278
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "InfiniteOpt"
22
uuid = "20393b10-9daf-11e9-18c9-8db751c92c57"
33
authors = ["Joshua Pulsipher and Weiqi Zhang"]
4-
version = "0.5.8"
4+
version = "0.5.9"
55

66
[deps]
77
DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"

README.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@ interface for these advanced problem types that can be used by those with little
99
to no background in these areas. It also it contains a wealth of capabilities
1010
making it a powerful and convenient tool for advanced users.
1111

12-
:tada: **`v0.5` introduces general nonlinear modeling!**: See the documentation for details.
13-
14-
:mega: **`v0.5.1` now requires Julia 1.6 or newer**
15-
1612
**Current Version:** [![](https://docs.juliahub.com/InfiniteOpt/version.svg)](https://juliahub.com/ui/Packages/InfiniteOpt/p3GvY) [![](https://docs.juliahub.com/InfiniteOpt/pkgeval.svg)](https://juliahub.com/ui/Packages/InfiniteOpt/p3GvY)
1713

1814
| **Documentation** | **Build Status** | **Citation** |
@@ -27,7 +23,6 @@ include:
2723
- Infinite variables (decision functions) (e.g., `y(t, x)`)
2824
- Derivatives (e.g., `∂y(t, x)/∂t`)
2925
- Measures (e.g., `∫y(t,x)dt`, `𝔼[y(ξ)]`)
30-
- **1st class nonlinear modeling**
3126

3227
The unifying modeling abstraction behind `InfiniteOpt` captures a wide spectrum
3328
of disciplines which include dynamic, PDE, stochastic, and semi-infinite
@@ -48,7 +43,7 @@ can be installed by entering the following in the REPL.
4843
```julia
4944
julia> ]
5045

51-
(v1.9) pkg> add InfiniteOpt
46+
(v1.10) pkg> add InfiniteOpt
5247
```
5348

5449
## Documentation
@@ -83,7 +78,7 @@ citing it.
8378
A pre-print version is freely available though [arXiv](https://arxiv.org/abs/2106.12689).
8479

8580
## Project Status
86-
The package is tested against Julia `1.6` and `1.9` on Linux, Mac, and Windows.
81+
The package is tested against Julia `1.6` and `1.10` on Linux, Mac, and Windows.
8782

8883
## Contributing
8984
`InfiniteOpt` is being actively developed and suggestions or other forms of contribution are encouraged.

docs/Project.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
1414

1515
[compat]
1616
Distributions = "0.25"
17-
Documenter = "0.27"
17+
Documenter = "1.5"
1818
InfiniteOpt = "0.5"
19-
Ipopt = "1.4"
19+
Ipopt = "1.6"
2020
HiGHS = "1"
2121
julia = "1.6"
22-
JuMP = "1.15"
23-
Literate = "2.14"
22+
JuMP = "1.22"
23+
Literate = "2.18"
2424
Plots = "1"
2525
SpecialFunctions = "2"

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ To install it, run the following command in a Julia session:
55
```julia
66
julia> ]
77

8-
(v1.8) pkg> add Documenter
8+
(v1.10) pkg> add Documenter
99
```
1010

1111
You'll also need to make sure you have `JuMP.jl`, `Distributions.jl`, and `Ipopt.jl`

docs/jump/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ include:
1919
- Infinite variables (decision functions) (for example, ``y(t, x)``)
2020
- Derivatives (for example, ``\frac{\partial y(t, x)}{\partial t}``)
2121
- Measures (for example, ``\int_{t \in T}y(t, x)dt`` and ``\mathbb{E}[y(\xi)]``)
22-
- First class nonlinear modeling
2322

2423
The unifying modeling abstraction behind `InfiniteOpt` captures a wide spectrum
2524
of disciplines which include dynamic, PDE, stochastic, and semi-infinite

docs/make.jl

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using Documenter, InfiniteOpt, Distributions, Literate, Random
1+
using Documenter, InfiniteOpt, Distributions, Literate, Random, Pkg
22

33
if !@isdefined(EXAMPLE_DIR)
44
const EXAMPLE_DIR = joinpath(@__DIR__, "src", "examples")
@@ -84,8 +84,8 @@ makedocs(;
8484
"Measures" => "manual/measure.md",
8585
"Objectives" => "manual/objective.md",
8686
"Constraints" => "manual/constraint.md",
87-
"Model Transcription" => "manual/transcribe.md",
88-
"Optimization" => "manual/optimize.md",
87+
"Backends" => "manual/backend.md",
88+
"TranscriptionOpt" => "manual/transcribe.md",
8989
"Results" => "manual/result.md"
9090
],
9191
"Development" => [
@@ -94,21 +94,22 @@ makedocs(;
9494
"Style Guide" => "develop/style.md"
9595
],
9696
],
97-
repo = "https://github.com/infiniteopt/InfiniteOpt.jl/blob/{commit}{path}#L{line}",
97+
# repo = "https://github.com/infiniteopt/InfiniteOpt.jl/blob/{commit}{path}#L{line}",
9898
sitename = "InfiniteOpt.jl",
9999
authors = "Joshua Pulsipher and Weiqi Zhang",
100-
doctest = true,
101-
checkdocs = :exports,
100+
modules = [InfiniteOpt],
101+
checkdocs = :none,
102102
linkcheck = true,
103-
linkcheck_ignore = [r"https://www.youtube.com/.*"],
104-
strict = true,
103+
linkcheck_ignore = [r"https://www.youtube.com/.*", "https://github.com/infiniteopt/InfiniteOpt.jl/blob/master/test/extensions/backend.jl"], # TODO remove before merging
104+
# warnonly = true,
105105
format = Documenter.HTML(
106106
# See https://github.com/JuliaDocs/Documenter.jl/issues/868
107107
prettyurls = get(ENV, "CI", nothing) == "true",
108108
analytics = "UA-178297470-1",
109109
collapselevel = 1,
110110
assets = ["assets/extra_styles.css"],
111-
111+
size_threshold = 250 * 2^10, # KiB
112+
size_threshold_warn = 150 * 2^10 # KiB
112113
)
113114
)
114115

0 commit comments

Comments
 (0)