I also own a python bindings of OsiSolverInterface made with SWIG. <br><br>Kendall, could it be interested to merge our work ? <br><br>Sebastien.<br><br><div class="gmail_quote">On Tue, Oct 13, 2009 at 4:57 PM, Kendall Bailey <span dir="ltr"><<a href="mailto:krbailey@gmail.com">krbailey@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I looked for one recently and wasn't impressed with what I found. What I ended up writing is a very simple wrapping of some COIN and CLP classes with SWIG and using Python to build an LP model. It wouldn't be hard to add CBC classes. I'd still be interested in a Java binding.<br>
<br>I've compiled the SWIG interface file to Java once to make sure it would compile, but I haven't tested it at all. With Python, I could use the array module to do allocation of primitive arrays and get a pointer to pass to COIN. I'm not sure what I'd do in Java to manipulate the low level memory allocations. I included some %array_functions() commands in the SWIG file, so that should generate something for Java to use. I don't have any real Java/SWIG experience, but tried to avoid any Python-specific techniques. I'd be happy to share my simple coin_or.i file if it would serve as a starting point for Java.<br>
<br><br>Kendall<br><br><br><div class="gmail_quote"><div><div></div><div class="h5">On Tue, Oct 13, 2009 at 9:08 AM, Georg Buss <span dir="ltr"><<a href="mailto:buss@bwl.uni-mannheim.de" target="_blank">buss@bwl.uni-mannheim.de</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">
<div link="blue" vlink="purple" lang="DE">
<div>
<p class="MsoNormal">Hi all,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span lang="EN-US">I intend to access the cbc library from a
java tool. My question is if you are aware of a java wrapper for Cbc. <br>
<br>
</span>Thank you very much for your help.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Georg</p>
<p class="MsoNormal"> </p>
</div>
</div>
<br></div></div>_______________________________________________<br>
Cbc mailing list<br>
<a href="mailto:Cbc@list.coin-or.org" target="_blank">Cbc@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/mailman/listinfo/cbc" target="_blank">http://list.coin-or.org/mailman/listinfo/cbc</a><br>
<br></blockquote></div><br>
<br>_______________________________________________<br>
Cbc mailing list<br>
<a href="mailto:Cbc@list.coin-or.org">Cbc@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/mailman/listinfo/cbc" target="_blank">http://list.coin-or.org/mailman/listinfo/cbc</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>------------------------------------------<br>Sébastien Lannez<br>PhD Student<br><a href="http://www.laas.fr/~slannez">http://www.laas.fr/~slannez</a><br>------------------------------------------<br>