Skip to content

Commit

Permalink
build based on f2111bc
Browse files Browse the repository at this point in the history
  • Loading branch information
Documenter.jl committed Sep 14, 2023
1 parent 82198f6 commit 2ff6acd
Show file tree
Hide file tree
Showing 24 changed files with 665 additions and 665 deletions.
2 changes: 1 addition & 1 deletion previews/PR1060/api/algorithm/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
startOnLoad: true,
theme: "neutral"
});
</script></article><nav class="docs-footer"><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> version 0.28.0-DEV on <span class="colophon-date" title="Wednesday 13 September 2023 15:47">Wednesday 13 September 2023</span>. Using Julia version 1.9.3.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
</script></article><nav class="docs-footer"><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> version 0.28.0-DEV on <span class="colophon-date" title="Thursday 14 September 2023 07:47">Thursday 14 September 2023</span>. Using Julia version 1.9.3.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
4 changes: 2 additions & 2 deletions previews/PR1060/api/algos/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
param1::Int
param2::Int
MyAlgorithmParams(; param1::Int = 1, param2::Int = 2) = new(param1, param2)
end</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://github.com/atoptima/Coluna.jl/blob/2dfed3be5498b8e97b05b6247e2ba494cbed3765/src/interface.jl#L12-L26">source</a></section></article><h2 id="Init"><a class="docs-heading-anchor" href="#Init">Init</a><a id="Init-1"></a><a class="docs-heading-anchor-permalink" href="#Init" title="Permalink"></a></h2><h3 id="Parameters-checking"><a class="docs-heading-anchor" href="#Parameters-checking">Parameters checking</a><a id="Parameters-checking-1"></a><a class="docs-heading-anchor-permalink" href="#Parameters-checking" title="Permalink"></a></h3><p>When Coluna starts, it initializes the algorithms chosen by the user. A most important step is to check the consistency of the parameters supplied by the user and the compatibility of the algorithms with the model that will be received (usually <code>MathProg.Reformulation</code>). Algorithms usually have many parameters and are sometimes interdependent and nested. It is crucial to ensure that the user-supplied parameters are correct and give hints to fix them otherwise.</p><p>The entry-point of the parameter consistency checking is the following method:</p><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="Coluna.Algorithm.check_alg_parameters" href="#Coluna.Algorithm.check_alg_parameters"><code>Coluna.Algorithm.check_alg_parameters</code></a><span class="docstring-category">Function</span></header><section><div><pre><code class="language-julia hljs">check_alg_parameters(top_algo, reform) -&gt; Vector{Tuple{Symbol, AbstractAlgorithm, Any}}</code></pre><p>Checks the consistency of the parameters of the top algorithm and its children algorithms. Returns a vector of tuples (name of the parameter, algorithm, value of the parameter) that lists all the inconsistencies found in the algorithms tree.</p></div><a class="docs-sourcelink" target="_blank" href="https://github.com/atoptima/Coluna.jl/blob/2dfed3be5498b8e97b05b6247e2ba494cbed3765/src/Algorithm/interface.jl#L166-L172">source</a></section></article><p>Developer of an algorithm must implement the following methods:</p><div class="admonition is-warning"><header class="admonition-header">Missing docstring.</header><div class="admonition-body"><p>Missing docstring for <code>Coluna.Algorithm.check_parameter</code>. Check Documenter&#39;s build log for details.</p></div></div><h3 id="Units-usage"><a class="docs-heading-anchor" href="#Units-usage">Units usage</a><a id="Units-usage-1"></a><a class="docs-heading-anchor-permalink" href="#Units-usage" title="Permalink"></a></h3><div class="admonition is-warning"><header class="admonition-header">Missing docstring.</header><div class="admonition-body"><p>Missing docstring for <code>Coluna.AlgoAPI.get_child_algorithms</code>. Check Documenter&#39;s build log for details.</p></div></div><div class="admonition is-warning"><header class="admonition-header">Missing docstring.</header><div class="admonition-body"><p>Missing docstring for <code>Coluna.AlgoAPI.get_units_usage</code>. Check Documenter&#39;s build log for details.</p></div></div><h2 id="Run"><a class="docs-heading-anchor" href="#Run">Run</a><a id="Run-1"></a><a class="docs-heading-anchor-permalink" href="#Run" title="Permalink"></a></h2><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="Coluna.AlgoAPI.run!" href="#Coluna.AlgoAPI.run!"><code>Coluna.AlgoAPI.run!</code></a><span class="docstring-category">Function</span></header><section><div><pre><code class="language-julia hljs">run!(algo::AbstractAlgorithm, env, model, input)</code></pre><p>Default method to call an algorithm.</p></div><a class="docs-sourcelink" target="_blank" href="https://github.com/atoptima/Coluna.jl/blob/2dfed3be5498b8e97b05b6247e2ba494cbed3765/src/interface.jl#L28-L32">source</a></section></article><script type="module">import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.esm.min.mjs';
end</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://github.com/atoptima/Coluna.jl/blob/f2111bc9acc31d6b16df2ada08afb5035dd6e642/src/interface.jl#L12-L26">source</a></section></article><h2 id="Init"><a class="docs-heading-anchor" href="#Init">Init</a><a id="Init-1"></a><a class="docs-heading-anchor-permalink" href="#Init" title="Permalink"></a></h2><h3 id="Parameters-checking"><a class="docs-heading-anchor" href="#Parameters-checking">Parameters checking</a><a id="Parameters-checking-1"></a><a class="docs-heading-anchor-permalink" href="#Parameters-checking" title="Permalink"></a></h3><p>When Coluna starts, it initializes the algorithms chosen by the user. A most important step is to check the consistency of the parameters supplied by the user and the compatibility of the algorithms with the model that will be received (usually <code>MathProg.Reformulation</code>). Algorithms usually have many parameters and are sometimes interdependent and nested. It is crucial to ensure that the user-supplied parameters are correct and give hints to fix them otherwise.</p><p>The entry-point of the parameter consistency checking is the following method:</p><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="Coluna.Algorithm.check_alg_parameters" href="#Coluna.Algorithm.check_alg_parameters"><code>Coluna.Algorithm.check_alg_parameters</code></a><span class="docstring-category">Function</span></header><section><div><pre><code class="language-julia hljs">check_alg_parameters(top_algo, reform) -&gt; Vector{Tuple{Symbol, AbstractAlgorithm, Any}}</code></pre><p>Checks the consistency of the parameters of the top algorithm and its children algorithms. Returns a vector of tuples (name of the parameter, algorithm, value of the parameter) that lists all the inconsistencies found in the algorithms tree.</p></div><a class="docs-sourcelink" target="_blank" href="https://github.com/atoptima/Coluna.jl/blob/f2111bc9acc31d6b16df2ada08afb5035dd6e642/src/Algorithm/interface.jl#L166-L172">source</a></section></article><p>Developer of an algorithm must implement the following methods:</p><div class="admonition is-warning"><header class="admonition-header">Missing docstring.</header><div class="admonition-body"><p>Missing docstring for <code>Coluna.Algorithm.check_parameter</code>. Check Documenter&#39;s build log for details.</p></div></div><h3 id="Units-usage"><a class="docs-heading-anchor" href="#Units-usage">Units usage</a><a id="Units-usage-1"></a><a class="docs-heading-anchor-permalink" href="#Units-usage" title="Permalink"></a></h3><div class="admonition is-warning"><header class="admonition-header">Missing docstring.</header><div class="admonition-body"><p>Missing docstring for <code>Coluna.AlgoAPI.get_child_algorithms</code>. Check Documenter&#39;s build log for details.</p></div></div><div class="admonition is-warning"><header class="admonition-header">Missing docstring.</header><div class="admonition-body"><p>Missing docstring for <code>Coluna.AlgoAPI.get_units_usage</code>. Check Documenter&#39;s build log for details.</p></div></div><h2 id="Run"><a class="docs-heading-anchor" href="#Run">Run</a><a id="Run-1"></a><a class="docs-heading-anchor-permalink" href="#Run" title="Permalink"></a></h2><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="Coluna.AlgoAPI.run!" href="#Coluna.AlgoAPI.run!"><code>Coluna.AlgoAPI.run!</code></a><span class="docstring-category">Function</span></header><section><div><pre><code class="language-julia hljs">run!(algo::AbstractAlgorithm, env, model, input)</code></pre><p>Default method to call an algorithm.</p></div><a class="docs-sourcelink" target="_blank" href="https://github.com/atoptima/Coluna.jl/blob/f2111bc9acc31d6b16df2ada08afb5035dd6e642/src/interface.jl#L28-L32">source</a></section></article><script type="module">import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.esm.min.mjs';
mermaid.initialize({
startOnLoad: true,
theme: "neutral"
});
</script></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../../man/callbacks/">« User-defined Callbacks</a><a class="docs-footer-nextpage" href="../benders/">Benders »</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> version 0.28.0-DEV on <span class="colophon-date" title="Wednesday 13 September 2023 15:47">Wednesday 13 September 2023</span>. Using Julia version 1.9.3.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
</script></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../../man/callbacks/">« User-defined Callbacks</a><a class="docs-footer-nextpage" href="../benders/">Benders »</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> version 0.28.0-DEV on <span class="colophon-date" title="Thursday 14 September 2023 07:47">Thursday 14 September 2023</span>. Using Julia version 1.9.3.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
Loading

0 comments on commit 2ff6acd

Please sign in to comment.