Skip to content

Commit

Permalink
build based on bb26f43
Browse files Browse the repository at this point in the history
  • Loading branch information
Documenter.jl committed May 22, 2024
1 parent f717014 commit 5480109
Show file tree
Hide file tree
Showing 77 changed files with 3,329 additions and 0 deletions.
1 change: 1 addition & 0 deletions v0.8
1 change: 1 addition & 0 deletions v0.8.0/.documenter-siteinfo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"documenter":{"julia_version":"1.7.3","generation_timestamp":"2024-05-22T06:20:26","documenter_version":"1.4.1"}}
59 changes: 59 additions & 0 deletions v0.8.0/_common/getting_started_constraints/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
<!DOCTYPE html>
<html lang="en"><head><meta charset="UTF-8"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><title>- · Clarabel jl/rs</title><meta name="title" content="- · Clarabel jl/rs"/><meta property="og:title" content="- · Clarabel jl/rs"/><meta property="twitter:title" content="- · Clarabel jl/rs"/><meta name="description" content="Documentation for Clarabel jl/rs."/><meta property="og:description" content="Documentation for Clarabel jl/rs."/><meta property="twitter:description" content="Documentation for Clarabel jl/rs."/><meta property="og:url" content="https://oxfordcontrol.github.io/ClarabelDocs/stable/_common/getting_started_constraints/"/><meta property="twitter:url" content="https://oxfordcontrol.github.io/ClarabelDocs/stable/_common/getting_started_constraints/"/><link rel="canonical" href="https://oxfordcontrol.github.io/ClarabelDocs/stable/_common/getting_started_constraints/"/><script async src="https://www.googletagmanager.com/gtag/js?id=G-FP3WPEJMVX"></script><script> window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-FP3WPEJMVX', {'page_path': location.pathname + location.search + location.hash});
</script><script data-outdated-warner src="../../assets/warner.js"></script><link href="https://cdnjs.cloudflare.com/ajax/libs/lato-font/3.0.0/css/lato-font.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/juliamono/0.050/juliamono.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/fontawesome.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/solid.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/brands.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.8/katex.min.css" rel="stylesheet" type="text/css"/><script>documenterBaseURL="../.."</script><script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.6/require.min.js" data-main="../../assets/documenter.js"></script><script src="../../search_index.js"></script><script src="../../siteinfo.js"></script><script src="../../../versions.js"></script><link class="docs-theme-link" rel="stylesheet" type="text/css" href="../../assets/themes/documenter-dark.css" data-theme-name="documenter-dark" data-theme-primary-dark/><link class="docs-theme-link" rel="stylesheet" type="text/css" href="../../assets/themes/documenter-light.css" data-theme-name="documenter-light" data-theme-primary/><script src="../../assets/themeswap.js"></script><link href="../../assets/favicon.ico" rel="icon" type="image/x-icon"/><script src="../../assets/github_buttons.js"></script><link href="../../assets/custom.css" rel="stylesheet" type="text/css"/></head><body><div id="documenter"><nav class="docs-sidebar"><a class="docs-logo" href="../../"><img src="../../assets/logo.png" alt="Clarabel jl/rs logo"/></a><div class="docs-package-name"><span class="docs-autofit"><a href="../../">Clarabel jl/rs</a></span></div><button class="docs-search-query input is-rounded is-small is-clickable my-2 mx-auto py-1 px-2" id="documenter-search-query">Search docs (Ctrl + /)</button><ul class="docs-menu"><li><a class="tocitem" href="../../">Home</a></li><li><span class="tocitem">User Guides</span><ul><li><input class="collapse-toggle" id="menuitem-2-1" type="checkbox"/><label class="tocitem" for="menuitem-2-1"><span class="docs-label">Julia</span><i class="docs-chevron"></i></label><ul class="collapsed"><li><a class="tocitem" href="../../julia/installation_jl/">Installation</a></li><li><a class="tocitem" href="../../julia/getting_started_jl/">Getting Started</a></li><li><a class="tocitem" href="../../julia/jump/">JuMP Interface</a></li><li><a class="tocitem" href="../../literate/build/convex_jl/">Convex.jl Interface</a></li><li><a class="tocitem" href="../../literate/build/arbitrary_precision/">Arbitrary Precision Arithmetic</a></li><li><a class="tocitem" href="../../julia/linear_solvers/">Linear Solvers</a></li></ul></li><li><input class="collapse-toggle" id="menuitem-2-2" type="checkbox"/><label class="tocitem" for="menuitem-2-2"><span class="docs-label">Rust</span><i class="docs-chevron"></i></label><ul class="collapsed"><li><a class="tocitem" href="../../rust/installation_rs/">Installation</a></li><li><a class="tocitem" href="../../rust/getting_started_rs/">Getting Started</a></li></ul></li><li><input class="collapse-toggle" id="menuitem-2-3" type="checkbox"/><label class="tocitem" for="menuitem-2-3"><span class="docs-label">Python</span><i class="docs-chevron"></i></label><ul class="collapsed"><li><a class="tocitem" href="../../python/installation_py/">Installation</a></li><li><a class="tocitem" href="../../python/getting_started_py/">Getting Started</a></li></ul></li><li><a class="tocitem" href="../../user_guide_c_cpp/">C/C++</a></li><li><a class="tocitem" href="../../user_guide_r/">R</a></li><li><a class="tocitem" href="../../user_guide_chordal/">Chordal Decomposition</a></li></ul></li><li><span class="tocitem">Examples</span><ul><li><input class="collapse-toggle" id="menuitem-3-1" type="checkbox"/><label class="tocitem" for="menuitem-3-1"><span class="docs-label">Quadratic Program (QP)</span><i class="docs-chevron"></i></label><ul class="collapsed"><li><a class="tocitem" href="../../examples/example_qp/">Problem Description</a></li><li><a class="tocitem" href="../../examples/jl/example_qp/">Julia</a></li><li><a class="tocitem" href="../../examples/rs/example_qp/">Rust</a></li><li><a class="tocitem" href="../../examples/py/example_qp/">Python</a></li></ul></li><li><input class="collapse-toggle" id="menuitem-3-2" type="checkbox"/><label class="tocitem" for="menuitem-3-2"><span class="docs-label">Second-Order Cone Program (SOCP)</span><i class="docs-chevron"></i></label><ul class="collapsed"><li><a class="tocitem" href="../../examples/example_socp/">Problem Description</a></li><li><a class="tocitem" href="../../examples/jl/example_socp/">Julia</a></li><li><a class="tocitem" href="../../examples/rs/example_socp/">Rust</a></li><li><a class="tocitem" href="../../examples/py/example_socp/">Python</a></li></ul></li><li><input class="collapse-toggle" id="menuitem-3-3" type="checkbox"/><label class="tocitem" for="menuitem-3-3"><span class="docs-label">Exponential Cone Program</span><i class="docs-chevron"></i></label><ul class="collapsed"><li><a class="tocitem" href="../../examples/example_expcone/">Problem Description</a></li><li><a class="tocitem" href="../../examples/jl/example_expcone/">Julia</a></li><li><a class="tocitem" href="../../examples/rs/example_expcone/">Rust</a></li><li><a class="tocitem" href="../../examples/py/example_expcone/">Python</a></li></ul></li><li><input class="collapse-toggle" id="menuitem-3-4" type="checkbox"/><label class="tocitem" for="menuitem-3-4"><span class="docs-label">Power Cone Program</span><i class="docs-chevron"></i></label><ul class="collapsed"><li><a class="tocitem" href="../../examples/example_powcone/">Problem Description</a></li><li><a class="tocitem" href="../../examples/jl/example_powcone/">Julia</a></li><li><a class="tocitem" href="../../examples/rs/example_powcone/">Rust</a></li><li><a class="tocitem" href="../../examples/py/example_powcone/">Python</a></li></ul></li><li><input class="collapse-toggle" id="menuitem-3-5" type="checkbox"/><label class="tocitem" for="menuitem-3-5"><span class="docs-label">Semidefinite Program (SDP)</span><i class="docs-chevron"></i></label><ul class="collapsed"><li><a class="tocitem" href="../../examples/example_sdp/">Problem Description</a></li><li><a class="tocitem" href="../../examples/jl/example_sdp/">Julia</a></li><li><a class="tocitem" href="../../examples/rs/example_sdp/">Rust</a></li><li><a class="tocitem" href="../../examples/py/example_sdp/">Python</a></li></ul></li></ul></li><li><a class="tocitem" href="../../citing/">Citing Clarabel</a></li><li><a class="tocitem" href="../../contributing/">Contributing</a></li><li><span class="tocitem">API Reference</span><ul><li><a class="tocitem" href="../../api_cone_types/">Supported Cone Types</a></li><li><a class="tocitem" href="../../api_settings/">Solver Settings</a></li><li><a class="tocitem" href="../../api_jl/">Julia API</a></li><li><a class="tocitem" href="../../api_rs/">Rust API ⧉</a></li></ul></li></ul><div class="docs-version-selector field has-addons"><div class="control"><span class="docs-label button is-static is-size-7">Version</span></div><div class="docs-selector control is-expanded"><div class="select is-fullwidth is-size-7"><select id="documenter-version-selector"></select></div></div></div></nav><div class="docs-main"><header class="docs-navbar"><a class="docs-sidebar-button docs-navbar-link fa-solid fa-bars is-hidden-desktop" id="documenter-sidebar-button" href="#"></a><nav class="breadcrumb"><ul class="is-hidden-mobile"><li class="is-active"><a href>-</a></li></ul><ul class="is-hidden-tablet"><li class="is-active"><a href>-</a></li></ul></nav><div class="docs-right"><a class="docs-navbar-link" href="https://github.com/oxfordcontrol/ClarabelDocs" title="View the repository on GitHub"><span class="docs-icon fa-brands"></span><span class="docs-label is-hidden-touch">GitHub</span></a><a class="docs-navbar-link" href="https://github.com/oxfordcontrol/ClarabelDocs/blob/main/docs/src/_common/getting_started_constraints.md" title="Edit source on GitHub"><span class="docs-icon fa-solid"></span></a><a class="docs-settings-button docs-navbar-link fa-solid fa-gear" id="documenter-settings-button" href="#" title="Settings"></a><a class="docs-article-toggle-button fa-solid fa-chevron-up" id="documenter-article-toggle-button" href="javascript:;" title="Collapse all docstrings"></a></div></header><article class="content" id="documenter-page"><p>The Clarabel interface expects constraints to be presented in the single vectorized form <span>$Ax + s = b, s \in \mathcal{K}$</span>, where <span>$\mathcal{K} = \mathcal{K}_1 \times \dots \times \mathcal{K}_p$</span> and each <span>$\mathcal{K}_i$</span> is one of the solver&#39;s supported cone types.</p><p>Suppose that we have a problem with decision variable <span>$x \in \mathbb{R}^3$</span> and our constraints are:</p><ul><li>A single equality constraint <span>$x_1 + x_2 - x_3 = 1$</span>. </li><li>A pair of inequalities such that <span>$x_2$</span> and <span>$x_3$</span> are each less than 2.</li><li>A second order cone constraint on the 3-dimensional vector <span>$x$</span>. </li></ul><p>For the three constraints above, we have</p><p class="math-container">\[
\begin{align*}

A_{eq} &amp;=
\left[
\begin{array}{lll}
1 &amp; 1 &amp; -1
\end{array}
\right],
\quad &amp;
b_{eq} &amp;=
\left[
\begin{array}{l}
1
\end{array}
\right],

\\[4ex]

A_{ineq} &amp;=
\left[
\begin{array}{lll}
0 &amp; 1 &amp; 0 \\
0 &amp; 0 &amp; 1
\end{array}
\right],
\quad &amp;
b_{ineq} &amp;=
\left[
\begin{array}{l}
2\\2
\end{array}
\right],

\\[4ex]

A_{soc} &amp;=
\left[
\begin{array}{rrr}
-1 &amp; 0 &amp; 0 \\
0 &amp; -1 &amp; 0 \\
0 &amp; 0 &amp; -1
\end{array}
\right],
\quad &amp;
b_{soc} &amp;=
\left[
\begin{array}{l}
0 \\0 \\0
\end{array}
\right]

\end{align*}
\]</p></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="auto">Automatic (OS)</option><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 1.4.1 on <span class="colophon-date" title="Wednesday 22 May 2024 06:20">Wednesday 22 May 2024</span>. Using Julia version 1.7.3.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
Loading

0 comments on commit 5480109

Please sign in to comment.