Dear Roy,<br>Sorry I could not answer to your questions before.<br>The CppExample is just a small example of modeling an MINLP through the C++ interface to Bonmin but bonmin understands AMPL files an it is the simplest way to use it. When you build and install the program with make install, you will find an executable bonmin in the bin subdirectory which reads .nl files.
<br><br>If what you want to do is read an .nl file and solve it with Bonmin in a custom C++ application it is also possible. <br><br>For your problem of integration. In theory Bonmin should be able to do something with your problem if you provide functions for computing first and second order derivatives for your integral. I think that the most simple way is to import directly the function into ampl (see for example funclink subdirectory in the ASL library and the readme file here 
<a href="http://www.netlib.org/ampl/solvers/funclink/README">http://www.netlib.org/ampl/solvers/funclink/README</a>).<br><br>I hope that this somewhat answer your question. If you want more details, please tell me.<br><br>
Best regards,<br>Pierre<br><div><span class="gmail_quote">On 1/10/07, <b class="gmail_sendername">Roy Chen</b> &lt;<a href="mailto:ytboy0208@gmail.com">ytboy0208@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Hello everyone</div>
<div>&nbsp;</div>
<div>
<div>I reviewed the C++ application named CppExample in Bonmin package. It&#39;s an application of a very small problem, and I noticed that detailed description and definition of this problem was used in C++ code. Since it will be so time consuming if you need to define every problem using that detailed way, therefore, can Bonmin accept kind of standard input file format such as .nl in C++ code application? 
</div>
<div>&nbsp;</div>
<div>Like what I asked you last time, for MINLP problem with integration in the objective function, can Bonmin handle it if I code those integration part by myself? Does Bonmin provide this kind of interface?</div>
<div>&nbsp;</div>
<div>Best</div><span>
<div>&nbsp;</div>
<div>Roy<br>&nbsp;</div></span></div>

<br>_______________________________________________<br>Bonmin mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Bonmin@list.coin-or.org">Bonmin@list.coin-or.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://list.coin-or.org/mailman/listinfo/bonmin" target="_blank">
http://list.coin-or.org/mailman/listinfo/bonmin</a><br><br><br></blockquote></div><br>