-</code></pre><p>When calling the function <code>solve</code>, the user can provide a description of the method to use to solve the optimal control problem. The description can be a partial description or a full description. The function <code>solve</code> will find the best match from the available methods, thanks to the function <code>getFullDescription</code>. Then, the description is cleaned by the function <code>clean</code> to remove the Symbols that are specific to <a href="https://control-toolbox.org/OptimalControl.jl">OptimalControl.jl</a> and so must not be passed to the solver. For instance, the Symbol <code>:direct</code> is specific to <a href="https://control-toolbox.org/OptimalControl.jl">OptimalControl.jl</a> and must be removed. It must not be passed to the CTDirect.jl solver.</p></div><a class="docs-sourcelink" target="_blank" href="https://github.com/control-toolbox/OptimalControl.jl/blob/dfbab956d8a513181de1361b495327af5eb4293a/src/solve.jl#L36">source</a></section></article><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="OptimalControl.version-Tuple{}" href="#OptimalControl.version-Tuple{}"><code>OptimalControl.version</code></a> — <span class="docstring-category">Method</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><p>Return the version of the current module as a string.</p><p>This function returns the version number defined in the <code>Project.toml</code> of the package to which the current module belongs. It uses <code>@__MODULE__</code> to infer the calling context.</p><p><strong>Example</strong></p><pre><code class="language-julia-repl hljs">julia> version() # e.g., "1.2.3"</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://github.com/control-toolbox/OptimalControl.jl/blob/dfbab956d8a513181de1361b495327af5eb4293a/src/solve.jl#L9-L19">source</a></section></article><script type="module">import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@11/dist/mermaid.esm.min.mjs';
0 commit comments