Skip to content

Commit

Permalink
build based on a615604
Browse files Browse the repository at this point in the history
  • Loading branch information
Documenter.jl committed Jan 19, 2024
1 parent b8cc038 commit 7d27152
Show file tree
Hide file tree
Showing 8 changed files with 142 additions and 131 deletions.
218 changes: 109 additions & 109 deletions dev/benchmark/index.html

Large diffs are not rendered by default.

25 changes: 18 additions & 7 deletions dev/example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,18 @@
"metadata": {}
},
{
"outputs": [],
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"WARNING: Method definition testargs(Gridap.Arrays.PosNegReindex{A, B} where B where A, Integer) in module Arrays at /home/runner/.julia/packages/Gridap/EZQEK/src/Arrays/PosNegReindex.jl:10 overwritten in module PDENLPModels at /home/runner/.julia/packages/PDENLPModels/pW0Iv/src/PDENLPModels.jl:16.\n",
"ERROR: Method overwriting is not permitted during Module precompilation. Use `__precompile__(false)` to opt-out of precompilation.\n",
"WARNING: method definition for _compute_hess_structure at /home/runner/.julia/packages/PDENLPModels/pW0Iv/src/hessian_struct_nnzh_functions.jl:70 declares type variable T but does not use it.\n",
"WARNING: method definition for _compute_hess_structure at /home/runner/.julia/packages/PDENLPModels/pW0Iv/src/hessian_struct_nnzh_functions.jl:74 declares type variable T but does not use it.\n"
]
}
],
"cell_type": "code",
"source": [
"using Gridap, PDENLPModels"
Expand Down Expand Up @@ -305,7 +316,7 @@
{
"output_type": "execute_result",
"data": {
"text/plain": "1.6058259477971256e-5"
"text/plain": "1.6058259477686155e-5"
},
"metadata": {},
"execution_count": 10
Expand Down Expand Up @@ -478,7 +489,7 @@
{
"output_type": "execute_result",
"data": {
"text/plain": "(38.505, 4.353176116943359)"
"text/plain": "(18.72, 3.618682861328125)"
},
"metadata": {},
"execution_count": 16
Expand All @@ -503,7 +514,7 @@
{
"output_type": "execute_result",
"data": {
"text/plain": "((0.005425026428348349, 2.2204460492503135e-18, 4.2724309076258577e-7), (0.005425025540071225, 1.0272245532288482e-11, 9.587202964806497e-7))"
"text/plain": "((0.005425026428348349, 2.2204460492503135e-18, 4.2724309076258577e-7), (0.005425025540071131, 1.12025219639915e-11, 9.587202964804385e-7))"
},
"metadata": {},
"execution_count": 17
Expand Down Expand Up @@ -540,11 +551,11 @@
"file_extension": ".jl",
"mimetype": "application/julia",
"name": "julia",
"version": "1.9.3"
"version": "1.10.0"
},
"kernelspec": {
"name": "julia-1.9",
"display_name": "Julia 1.9.3",
"name": "julia-1.10",
"display_name": "Julia 1.10.0",
"language": "julia"
}
},
Expand Down
2 changes: 1 addition & 1 deletion dev/example/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@
nothing #hide</code></pre><p><code>NullLogger</code> avoids printing iteration information.</p><pre><code class="language-julia">using DCISolver, Logging

stats_dci = dci(nlp, stats_trunk.solution, verbose = 0, atol = 1e-5, rtol = 0.0)</code></pre><p>The problem was successfully solved, and we can extract the function evaluations from the stats.</p><pre><code class="language-julia">nlp.counters</code></pre><p>We now compare the two solvers with respect to the time spent,</p><pre><code class="language-julia">stats_ipopt.elapsed_time, stats_dci.elapsed_time</code></pre><p>and also check objective value, feasibility and dual feasibility of <code>ipopt</code> and <code>dci</code>.</p><pre><code class="language-julia">(stats_ipopt.objective, stats_ipopt.primal_feas, stats_ipopt.dual_feas),
(stats_dci.objective, stats_dci.primal_feas, stats_dci.dual_feas)</code></pre><p>Overall <code>DCISolver</code> is doing great for solving large-scale optimization problems!</p><hr/><p><em>This page was generated using <a href="https://github.com/fredrikekre/Literate.jl">Literate.jl</a>.</em></p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../fine-tuneDCI/">« Fine-tune DCI</a><a class="docs-footer-nextpage" href="../reference/">Reference »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> on <span class="colophon-date" title="Friday 15 September 2023 11:28">Friday 15 September 2023</span>. Using Julia version 1.9.3.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
(stats_dci.objective, stats_dci.primal_feas, stats_dci.dual_feas)</code></pre><p>Overall <code>DCISolver</code> is doing great for solving large-scale optimization problems!</p><hr/><p><em>This page was generated using <a href="https://github.com/fredrikekre/Literate.jl">Literate.jl</a>.</em></p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../fine-tuneDCI/">« Fine-tune DCI</a><a class="docs-footer-nextpage" href="../reference/">Reference »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> on <span class="colophon-date" title="Friday 19 January 2024 22:37">Friday 19 January 2024</span>. Using Julia version 1.10.0.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
2 changes: 1 addition & 1 deletion dev/fine-tuneDCI/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@
| ----------- | ------------- | ------- | --------------------------------------------------------------- |
| compρ_p1 | AbstractFloat | 0.75 | update ρ as `ρ = max(min(ngp, p1) * ρmax, ϵ)`. |
| compρ_p2 | AbstractFloat | 0.90 | update ρ as `ρ = primalnorm * p2` if not sufficiently feasible. |
| ρbar | AbstractFloat | 2.0 | radius of the larger cylinder is `ρbar * ρ`. |</code></pre><p>The computation of ρ can also be modified by importing <code>compute_ρ(dualnorm, primalnorm, norm∇fx, ρmax, ϵ, iter, meta::MetaDCI)</code></p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../benchmark/">« Benchmark</a><a class="docs-footer-nextpage" href="../example/">Large-scale example »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> on <span class="colophon-date" title="Friday 15 September 2023 11:28">Friday 15 September 2023</span>. Using Julia version 1.9.3.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
| ρbar | AbstractFloat | 2.0 | radius of the larger cylinder is `ρbar * ρ`. |</code></pre><p>The computation of ρ can also be modified by importing <code>compute_ρ(dualnorm, primalnorm, norm∇fx, ρmax, ϵ, iter, meta::MetaDCI)</code></p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../benchmark/">« Benchmark</a><a class="docs-footer-nextpage" href="../example/">Large-scale example »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> on <span class="colophon-date" title="Friday 19 January 2024 22:37">Friday 19 January 2024</span>. Using Julia version 1.10.0.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
6 changes: 3 additions & 3 deletions dev/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
primal feasibility: 3.4316988473115373e-7
dual feasibility: 7.333598945847062e-5
solution: [1.0000001718172222 1.000000171352633]
multipliers: [6.92439097973984e-310]
multipliers: [2.12626899628e-312]
iterations: 12
elapsed time: 0.6005809307098389
elapsed time: 0.30879902839660645
solver specific:
lagrangian: -2.97353301931873e-12</pre><h1 id="Bug-reports-and-discussions"><a class="docs-heading-anchor" href="#Bug-reports-and-discussions">Bug reports and discussions</a><a id="Bug-reports-and-discussions-1"></a><a class="docs-heading-anchor-permalink" href="#Bug-reports-and-discussions" title="Permalink"></a></h1><p>If you think you found a bug, feel free to open an <a href="https://github.com/JuliaSmoothOptimizers/DCISolver.jl/issues">issue</a>. Focused suggestions and requests can also be opened as issues. Before opening a pull request, start an issue or a discussion on the topic, please.</p><p>If you want to ask a question not suited for a bug report, feel free to start a discussion <a href="https://github.com/JuliaSmoothOptimizers/Organization/discussions">here</a>. This forum is for general discussion about this repository and the <a href="https://github.com/JuliaSmoothOptimizers">JuliaSmoothOptimizers</a>, so questions about any of our packages are welcome.</p></article><nav class="docs-footer"><a class="docs-footer-nextpage" href="benchmark/">Benchmark »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> on <span class="colophon-date" title="Friday 15 September 2023 11:28">Friday 15 September 2023</span>. Using Julia version 1.9.3.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
lagrangian: -2.97353301931873e-12</pre><h1 id="Bug-reports-and-discussions"><a class="docs-heading-anchor" href="#Bug-reports-and-discussions">Bug reports and discussions</a><a id="Bug-reports-and-discussions-1"></a><a class="docs-heading-anchor-permalink" href="#Bug-reports-and-discussions" title="Permalink"></a></h1><p>If you think you found a bug, feel free to open an <a href="https://github.com/JuliaSmoothOptimizers/DCISolver.jl/issues">issue</a>. Focused suggestions and requests can also be opened as issues. Before opening a pull request, start an issue or a discussion on the topic, please.</p><p>If you want to ask a question not suited for a bug report, feel free to start a discussion <a href="https://github.com/JuliaSmoothOptimizers/Organization/discussions">here</a>. This forum is for general discussion about this repository and the <a href="https://github.com/JuliaSmoothOptimizers">JuliaSmoothOptimizers</a>, so questions about any of our packages are welcome.</p></article><nav class="docs-footer"><a class="docs-footer-nextpage" href="benchmark/">Benchmark »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> on <span class="colophon-date" title="Friday 19 January 2024 22:37">Friday 19 January 2024</span>. Using Julia version 1.10.0.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
Binary file modified dev/ipopt_dcildl_44.jld2
Binary file not shown.
Loading

0 comments on commit 7d27152

Please sign in to comment.