Skip to content

Commit 9b142a0

Browse files
abelsiqueiraJSOTutorials bot
and
JSOTutorials bot
authored
🤖 Tutorials deployment from 6d6d182d6696762e3a2f051fa6e77ae2ce97c162 (#145)
Co-authored-by: JSOTutorials bot <jsotutorials@no.mail>
1 parent d22dc08 commit 9b142a0

File tree

4 files changed

+17
-17
lines changed

4 files changed

+17
-17
lines changed
Loading
Loading
Loading

tutorials/creating-a-jso-compliant-solver/index.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
\preamble{Abel S. Siqueira and João Okimoto}
66

77

8-
[![SolverBenchmark 0.5.4](https://img.shields.io/badge/SolverBenchmark-0.5.4-006400?style=flat-square&labelColor=389826)](https://juliasmoothoptimizers.github.io/SolverBenchmark.jl/stable/)
9-
![JSON 0.21.3](https://img.shields.io/badge/JSON-0.21.3-000?style=flat-square&labelColor=999)
10-
[![NLPModels 0.19.2](https://img.shields.io/badge/NLPModels-0.19.2-8b0000?style=flat-square&labelColor=cb3c33)](https://juliasmoothoptimizers.github.io/NLPModels.jl/stable/)
11-
[![SolverCore 0.3.4](https://img.shields.io/badge/SolverCore-0.3.4-006400?style=flat-square&labelColor=389826)](https://juliasmoothoptimizers.github.io/SolverCore.jl/stable/)
12-
![Plots 1.38.5](https://img.shields.io/badge/Plots-1.38.5-000?style=flat-square&labelColor=999)
13-
[![ADNLPModels 0.5.1](https://img.shields.io/badge/ADNLPModels-0.5.1-8b0000?style=flat-square&labelColor=cb3c33)](https://juliasmoothoptimizers.github.io/ADNLPModels.jl/stable/)
14-
[![JSOSolvers 0.9.4](https://img.shields.io/badge/JSOSolvers-0.9.4-006400?style=flat-square&labelColor=389826)](https://juliasmoothoptimizers.github.io/JSOSolvers.jl/stable/)
8+
[![SolverBenchmark 0.5.5](https://img.shields.io/badge/SolverBenchmark-0.5.5-006400?style=flat-square&labelColor=389826)](https://juliasmoothoptimizers.github.io/SolverBenchmark.jl/stable/)
9+
![JSON 0.21.4](https://img.shields.io/badge/JSON-0.21.4-000?style=flat-square&labelColor=999)
10+
[![NLPModels 0.20.0](https://img.shields.io/badge/NLPModels-0.20.0-8b0000?style=flat-square&labelColor=cb3c33)](https://juliasmoothoptimizers.github.io/NLPModels.jl/stable/)
11+
[![SolverCore 0.3.7](https://img.shields.io/badge/SolverCore-0.3.7-006400?style=flat-square&labelColor=389826)](https://juliasmoothoptimizers.github.io/SolverCore.jl/stable/)
12+
![Plots 1.38.10](https://img.shields.io/badge/Plots-1.38.10-000?style=flat-square&labelColor=999)
13+
[![ADNLPModels 0.6.1](https://img.shields.io/badge/ADNLPModels-0.6.1-8b0000?style=flat-square&labelColor=cb3c33)](https://juliasmoothoptimizers.github.io/ADNLPModels.jl/stable/)
14+
[![JSOSolvers 0.10.0](https://img.shields.io/badge/JSOSolvers-0.10.0-006400?style=flat-square&labelColor=389826)](https://juliasmoothoptimizers.github.io/JSOSolvers.jl/stable/)
1515

1616

1717

@@ -97,7 +97,7 @@ ADNLPModel - Model with automatic differentiation backend ADModelBackend{
9797
ForwardDiffADHvprod,
9898
ForwardDiffADJprod,
9999
ForwardDiffADJtprod,
100-
SparseADJacobian,
100+
SparseForwardADJacobian,
101101
ForwardDiffADHessian,
102102
ForwardDiffADGHjvprod,
103103
}
@@ -196,7 +196,7 @@ hess(nlp, x)
196196
```
197197

198198
```plaintext
199-
2×2 LinearAlgebra.Symmetric{Float64, Matrix{Float64}}:
199+
2×2 LinearAlgebra.Symmetric{Float64, SparseArrays.SparseMatrixCSC{Float64, Int64}}:
200200
55.12 19.2
201201
19.2 8.0
202202
```
@@ -217,7 +217,7 @@ Symmetric(hess(nlp, x), :L)
217217
```
218218

219219
```plaintext
220-
2×2 LinearAlgebra.Symmetric{Float64, Matrix{Float64}}:
220+
2×2 LinearAlgebra.Symmetric{Float64, SparseArrays.SparseMatrixCSC{Float64, Int64}}:
221221
55.12 19.2
222222
19.2 8.0
223223
```
@@ -271,7 +271,7 @@ d = factor \ -grad(nlp, x)
271271
```plaintext
272272
2-element Vector{Float64}:
273273
0.4867256637168144
274-
-0.7281415929203545
274+
-0.7281415929203547
275275
```
276276

277277

@@ -379,7 +379,7 @@ Generic Execution stats
379379
objective value: Inf
380380
primal feasibility: 0.0
381381
dual feasibility: Inf
382-
solution: [0.0 6.91161384519567e-310]
382+
solution: [0.0 6.9144949511379e-310]
383383
iterations: -1
384384
elapsed time: Inf
385385
```
@@ -614,7 +614,7 @@ Generic Execution stats
614614
dual feasibility: 4.018046284781729e-9
615615
solution: [0.9999999986742657 0.9999999970013461]
616616
iterations: 18
617-
elapsed time: 7.605552673339844e-5
617+
elapsed time: 8.296966552734375e-5
618618
```
619619

620620

@@ -685,10 +685,10 @@ pretty_stats(stats[:newton][!, cols])
685685
┌─────────┬─────────────┬───────────┬──────────────┬────────┐
686686
│ name │ status │ objective │ elapsed_time │ iter │
687687
├─────────┼─────────────┼───────────┼──────────────┼────────┤
688-
│ Generic │ first_order │ 2.47e-31 │ 1.48e+00 │ 1 │
689-
│ Generic │ first_order │ 3.74e-21 │ 4.76e-01 │ 21 │
690-
│ Generic │ max_iter │ -8.36e+00 │ 4.44e-01 │ 100 │
691-
│ Generic │ first_order │ 1.43e+00 │ 4.73e-01 │ 5 │
688+
│ Generic │ first_order │ 6.16e-32 │ 1.48e+00 │ 1 │
689+
│ Generic │ first_order │ 3.74e-21 │ 5.70e-01 │ 21 │
690+
│ Generic │ max_iter │ -8.36e+00 │ 4.33e-01 │ 100 │
691+
│ Generic │ first_order │ 1.43e+00 │ 5.19e-01 │ 5 │
692692
└─────────┴─────────────┴───────────┴──────────────┴────────┘
693693
```
694694

0 commit comments

Comments
 (0)