Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(docs): bump the compat of QMC #772

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ DomainSets = "5b8099bc-c8ec-5219-889f-1d9e522a28bf"
Flux = "587475ba-b771-5e3f-ad9e-33799f191a9c"
Integrals = "de52edbc-65ea-441a-8357-d3a637375a31"
IntegralsCubature = "c31f79ba-6e32-46d4-a52f-182a8ac42a54"
LineSearches = "d3d80556-e9d4-5f37-9878-2ab0fcc64255"
Lux = "b2108857-7c20-44ae-9111-449ecde12c47"
ModelingToolkit = "961ee093-0014-501f-94e3-6117800e7a78"
NeuralPDE = "315f7962-48a3-4962-8226-d0f33b1235f0"
Expand Down Expand Up @@ -35,6 +36,6 @@ OptimizationOptimisers = "0.1"
OptimizationPolyalgorithms = "0.1"
OrdinaryDiffEq = "6.31"
Plots = "1.36"
QuasiMonteCarlo = "0.2"
QuasiMonteCarlo = "0.3"
Roots = "2.0"
SpecialFunctions = "2.1"
1 change: 1 addition & 0 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ cp("./docs/Manifest.toml", "./docs/src/assets/Manifest.toml", force = true)
cp("./docs/Project.toml", "./docs/src/assets/Project.toml", force = true)

ENV["GKSwstype"] = "100"
ENV["JULIA_DEBUG"] = "Documenter"
using Plots

include("pages.jl")
Expand Down
4 changes: 2 additions & 2 deletions docs/src/examples/ks.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ where $\theta = t - x/2$ and with initial and boundary conditions:
We use physics-informed neural networks.

```@example ks
using NeuralPDE, Lux, ModelingToolkit, Optimization, OptimizationOptimJL
using NeuralPDE, Lux, ModelingToolkit, Optimization, OptimizationOptimJL, LineSearches
import ModelingToolkit: Interval, infimum, supremum

@parameters x, t
Expand Down Expand Up @@ -71,7 +71,7 @@ callback = function (p, l)
return false
end

opt = OptimizationOptimJL.BFGS()
opt = OptimizationOptimJL.LBFGS(linesearch = BackTracking())
res = Optimization.solve(prob, opt; callback = callback, maxiters = 2000)
phi = discretization.phi
```
Expand Down
3 changes: 2 additions & 1 deletion docs/src/examples/linear_parabolic.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ with a physics-informed neural network.
using NeuralPDE, Lux, ModelingToolkit, Optimization, OptimizationOptimJL
using Plots
import ModelingToolkit: Interval, infimum, supremum
using LineSearches

@parameters t, x
@variables u(..), w(..)
Expand Down Expand Up @@ -92,7 +93,7 @@ callback = function (p, l)
return false
end

res = Optimization.solve(prob, BFGS(); callback = callback, maxiters = 5000)
res = Optimization.solve(prob, LBFGS(linesearch = BackTracking()); callback = callback, maxiters = 5000)

phi = discretization.phi

Expand Down
Loading