# How to reconfigure Couenne for Cplex in windows

**URL:** <https://discourse.julialang.org/t/how-to-reconfigure-couenne-for-cplex-in-windows/27581>\
**Category:** Optimization (Mathematical)\
**Created:** [August 15, 2019, 1:29pm UTC](https://discourse.julialang.org/t/how-to-reconfigure-couenne-for-cplex-in-windows/27581 "2019-08-15T13:29:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raminel](https://avatars.discourse-cdn.com/v4/letter/r/ea666f/32.png) [@Raminel](https://discourse.julialang.org/u/Raminel)\
**Post date:** [August 15, 2019, 1:29pm UTC](https://discourse.julialang.org/t/how-to-reconfigure-couenne-for-cplex-in-windows/27581/1 "2019-08-15T13:29:56Z")

</div>

Hi all,

Can someone tell me how I can “reconfigure and recompile” Couenne to use Cplex for lp solver?

I added this to couenne.opt “lp\_solver cplex” and read in teh manual that I need to run the configuration file after adding these lines:

–with-cplex-lib=“/your/path/to/libcplex.a -lpthread”  
–with-cplex-incdir=C:\Program Files\IBM\ILOG\CPLEX\_Studio129\cplex\include\ilcplex

I assume this is for linux. How about in windows?

Thank you in advance!

---

<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:** [August 15, 2019, 1:45pm UTC](https://discourse.julialang.org/t/how-to-reconfigure-couenne-for-cplex-in-windows/27581/2 "2019-08-15T13:45:09Z")

</div>

If you’re on Windows, it’s likely going to be difficult.

I don’t have any experience with this, so not much help, but if your problem is a MINLP, you should consider using [GitHub - lanl-ansi/Juniper.jl: A JuMP-based Nonlinear Integer Program Solver](https://github.com/lanl-ansi/Juniper.jl).

---

<div class="post-metadata">

**Author:** ![Raminel](https://avatars.discourse-cdn.com/v4/letter/r/ea666f/32.png) [@Raminel](https://discourse.julialang.org/u/Raminel)\
**Post date:** [August 17, 2019, 2:02pm UTC](https://discourse.julialang.org/t/how-to-reconfigure-couenne-for-cplex-in-windows/27581/3 "2019-08-17T14:02:54Z")

</div>

Thanks for the tip! I will take a look at Juniper.
