<div dir="ltr">I just wanted to second Tony&#39;s suggestion to look at the Optimization Services project. They have a full-featured API that enables the building of models in C++ and the ability to pass the model directly to Couenne (or a number of other solvers) in memory. Writing an nl file is also an option, but not necessary.<div><br></div><div>Cheers,</div><div><br></div><div>Ted</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Feb 21, 2015 at 8:26 AM, Tony Kelman <span dir="ltr">&lt;<a href="mailto:kelman@berkeley.edu" target="_blank">kelman@berkeley.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Couldn&#39;t you take the same approach as OS, or use the OSInstance C++ API? OSCouenneSolver (<a href="https://projects.coin-or.org/OS/browser/trunk/OS/src/OSSolverInterfaces/OSCouenneSolver.cpp" target="_blank">https://projects.coin-or.org/<u></u>OS/browser/trunk/OS/src/<u></u>OSSolverInterfaces/<u></u>OSCouenneSolver.cpp</a>) doesn&#39;t appear to need ASL at all, but it does use CppAD for Jacobian and Hessian information.<br>
<br>
-Tony<br>
<br>
<br>
-----Original Message----- From: Pietro Belotti<br>
Sent: Saturday, February 21, 2015 5:05 AM<br>
To: Wendel Melo<br>
Cc: <a href="mailto:couenne@list.coin-or.org" target="_blank">couenne@list.coin-or.org</a><br>
Subject: Re: [Couenne] Is there a callable library to use Couenne in C/C++?<div class="HOEnZb"><div class="h5"><br>
<br>
Hi Wendel,<br>
<br>
I assume you are talking about building a MINLP model through some<br>
function calls in the Couenne library. Unfortunately, while this is in<br>
the plan (and has been for a while...) it is not possible yet. The<br>
reason is that the NLP procedures in Couenne need the AMPL interface.<br>
<br>
Regards,<br>
Pietro<br>
<br>
On Sat, Feb 21, 2015 at 7:15 AM, Wendel Melo &lt;<a href="mailto:wendelalexandre@gmail.com" target="_blank">wendelalexandre@gmail.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi experts<br>
<br>
<br>
Is there a callable library to use Couenne in C/C++? It would be useful to<br>
develop a software to my Ph. D thesis. Write my models in AMPL is not<br>
appropriate...<br>
Is there some information about that?<br>
<br>
Thanks in advanced for your attention<br>
<br>
Have a nice week<br>
<br>
--<br>
Wendel Melo<br>
<br>
______________________________<u></u>_________________<br>
Couenne mailing list<br>
<a href="mailto:Couenne@list.coin-or.org" target="_blank">Couenne@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/mailman/listinfo/couenne" target="_blank">http://list.coin-or.org/<u></u>mailman/listinfo/couenne</a><br>
</blockquote>
______________________________<u></u>_________________<br>
Couenne mailing list<br>
<a href="mailto:Couenne@list.coin-or.org" target="_blank">Couenne@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/mailman/listinfo/couenne" target="_blank">http://list.coin-or.org/<u></u>mailman/listinfo/couenne</a> <br>
______________________________<u></u>_________________<br>
Couenne mailing list<br>
<a href="mailto:Couenne@list.coin-or.org" target="_blank">Couenne@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/mailman/listinfo/couenne" target="_blank">http://list.coin-or.org/<u></u>mailman/listinfo/couenne</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Dr. Ted Ralphs<br>Professor, Lehigh University<br>(610) 628-1280<br>ted &#39;at&#39; lehigh &#39;dot&#39; edu<br><a href="http://coral.ie.lehigh.edu/~ted" target="_blank">coral.ie.lehigh.edu/~ted</a><br></div></div>
</div>