# COUENNE with Julia

**URL:** <https://discourse.julialang.org/t/couenne-with-julia/43216>\
**Category:** Optimization (Mathematical)\
**Created:** [July 17, 2020, 7:00am UTC](https://discourse.julialang.org/t/couenne-with-julia/43216 "2020-07-17T07:00:29Z")\
**Posts on this page:** 8\
**Page:** 3

<div class="post-metadata">

**Author:** ![joaquimg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joaquimg/32/223_2.png) [@joaquimg](https://discourse.julialang.org/u/joaquimg)\
**Post date:** [July 26, 2020, 3:10pm UTC](https://discourse.julialang.org/t/couenne-with-julia/43216/41 "2020-07-26T15:10:14Z")

</div>

Depends on you problem.  
But you said you had a non-convex NLP…  
So i’d need more info to say anything, because non-convex NLP is almost as general as it gets.  
Your problem might just be very hard anyway, and the you need som special algorithm, decomposition, relaxation or approximation.

---

<div class="post-metadata">

**Author:** ![mayar](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mayar/32/16426_2.png) [@mayar](https://discourse.julialang.org/u/mayar)\
**Post date:** [July 30, 2020, 8:45am UTC](https://discourse.julialang.org/t/couenne-with-julia/43216/42 "2020-07-30T08:45:39Z")

</div>

@joaquimg

If I want to change the tolerance what function do I use with this?  
I check this [https://github.com/jump-dev/AmplNLWriter.jl](https://github.com/jump-dev/AmplNLWriter.jl)  
but the link to options was broken

---

<div class="post-metadata">

**Author:** ![odow](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/odow/32/28685_2.png) [@odow](https://discourse.julialang.org/u/odow)\
**Post date:** [July 30, 2020, 12:45pm UTC](https://discourse.julialang.org/t/couenne-with-julia/43216/43 "2020-07-30T12:45:06Z")

</div>

Here’s the link: [https://github.com/coin-or/Couenne/blob/master/src/couenne.opt](https://github.com/coin-or/Couenne/blob/master/src/couenne.opt)

---

<div class="post-metadata">

**Author:** ![mayar](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mayar/32/16426_2.png) [@mayar](https://discourse.julialang.org/u/mayar)\
**Post date:** [July 30, 2020, 2:23pm UTC](https://discourse.julialang.org/t/couenne-with-julia/43216/44 "2020-07-30T14:23:39Z")

</div>

Thank you @odow

---

<div class="post-metadata">

**Author:** ![Shuhua](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/shuhua/32/27618_2.png) [@Shuhua](https://discourse.julialang.org/u/Shuhua)\
**Post date:** [October 21, 2020, 8:00am UTC](https://discourse.julialang.org/t/couenne-with-julia/43216/45 "2020-10-21T08:00:01Z")

</div>

Hi, @mayar, where did you get the couenne.exe? I downloaded from [Open Source Solvers - AMPLAMPL](https://ampl.com/products/solvers/open-source/), the 64-bit Windows version. However, when I run `couenne.exe` like you, nothing happened and no information was displayed.

---

<div class="post-metadata">

**Author:** ![Shuhua](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/shuhua/32/27618_2.png) [@Shuhua](https://discourse.julialang.org/u/Shuhua)\
**Post date:** [October 21, 2020, 8:50am UTC](https://discourse.julialang.org/t/couenne-with-julia/43216/46 "2020-10-21T08:50:58Z")

</div>

> [@Shuhua](#):
>
> However, when I run `couenne.exe` like you, nothing happened and no information was displayed.

Figured the reason out. One or more DLLs are missing for `couenne` on Windows 10. However, if one only runs `couenne` in the command line or with JuMP, no error will be thrown. But if you double click the “couenne.exe” file directly, an error message will pop out. To fix the missing DLLs, install the visual studio [distributable](https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads) here.

---

<div class="post-metadata">

**Author:** ![manoj.centura](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/manoj.centura/32/216443_2.png) [@manoj.centura](https://discourse.julialang.org/u/manoj.centura)\
**Post date:** [April 26, 2023, 5:35pm UTC](https://discourse.julialang.org/t/couenne-with-julia/43216/47 "2023-04-26T17:35:18Z")

</div>

any idea how to use couenne solver options in JuMP. branching options are not working.

```plaintext

```

---

<div class="post-metadata">

**Author:** ![odow](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/odow/32/28685_2.png) [@odow](https://discourse.julialang.org/u/odow)\
**Post date:** [April 26, 2023, 10:43pm UTC](https://discourse.julialang.org/t/couenne-with-julia/43216/48 "2023-04-26T22:43:40Z")

</div>

Did you try using an `opt` file?

> **[jump-dev/AmplNLWriter.jl · JuMP](https://jump.dev/JuMP.jl/dev/packages/AmplNLWriter/#opt-files)**
>
> Documentation for JuMP.

[Previous page](https://discourse.julialang.org/t/couenne-with-julia/43216.md?page=2)
