# Invocation of optimization algorithm

**URL:** https://community.freefem.org/t/invocation-of-optimization-algorithm/2114
**Category:** General Discussion
**Created:** [November 13, 2022, 8:29am UTC](https://community.freefem.org/t/invocation-of-optimization-algorithm/2114 "2022-11-13T08:29:07Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Yangshen](https://avatars.discourse-cdn.com/v4/letter/y/838e76/32.png) [@Yangshen](https://community.freefem.org/u/Yangshen)
#### Post date: [November 13, 2022, 8:29am UTC](https://community.freefem.org/t/invocation-of-optimization-algorithm/2114/1 "2022-11-13T08:29:08Z")

</div>

Hello,everyone

Has anyone called the optimization algorithm in ff NLopt? I think there seems to be less information in the document. It’s better to have an example for me to learn.

```
                                                                                                                                                   thank you

```

---

<div class="post-metadata">

### Author: ![frederichecht](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/frederichecht/32/15_2.png) [@frederichecht](https://community.freefem.org/u/frederichecht)
#### Post date: [November 14, 2022, 9:15am UTC](https://community.freefem.org/t/invocation-of-optimization-algorithm/2114/2 "2022-11-14T09:15:59Z")

</div>

You have exemple in plugin exemple

> <https://github.com/FreeFem/FreeFem-sources/blob/master/examples/plugin/VarIneq2.edp>

---

<div class="post-metadata">

### Author: ![Yangshen](https://avatars.discourse-cdn.com/v4/letter/y/838e76/32.png) [@Yangshen](https://community.freefem.org/u/Yangshen)
#### Post date: [November 14, 2022, 9:56am UTC](https://community.freefem.org/t/invocation-of-optimization-algorithm/2114/3 "2022-11-14T09:56:08Z")

</div>

Thank you,I will study this example carefully
