Skip to content

Commit 7b2bec4

Browse files
timmensclaude
andcommitted
Add documentation for scipy_cobyqa
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 8af006e commit 7b2bec4

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

docs/source/algorithms.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,35 @@ automatically installed when you install optimagic.
313313
314314
```
315315

316+
```{eval-rst}
317+
.. dropdown:: scipy_cobyqa
318+
319+
**How to use this algorithm:**
320+
321+
.. code-block::
322+
323+
import optimagic as om
324+
om.minimize(
325+
...,
326+
algorithm=om.algos.scipy_cobyqa(stopping_maxfun=1_000, ...)
327+
)
328+
329+
or
330+
331+
.. code-block::
332+
333+
om.minimize(
334+
...,
335+
algorithm="scipy_cobyqa",
336+
algo_options={"stopping_maxfun": 1_000, ...}
337+
)
338+
339+
**Description and available options:**
340+
341+
.. autoclass:: optimagic.optimizers.scipy_optimizers.ScipyCOBYQA
342+
343+
```
344+
316345
```{eval-rst}
317346
.. dropdown:: scipy_truncated_newton
318347

0 commit comments

Comments
 (0)