<br><font size=2 face="sans-serif">We have succeeded in wrapping Cbc in
a thin Java layer using JNI, but we had to roll our own. &nbsp;I would
be glad to share our experiences, if it comes to having to start from scratch.</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">From:</font>
<td><font size=1 face="sans-serif">Kendall Bailey &lt;krbailey@gmail.com&gt;</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">To:</font>
<td><font size=1 face="sans-serif">cbc@list.coin-or.org</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Date:</font>
<td><font size=1 face="sans-serif">10/13/2009 10:58 AM</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Subject:</font>
<td><font size=1 face="sans-serif">Re: [Cbc] Java Wrapper</font></table>
<br>
<hr noshade>
<br>
<br>
<br><font size=3>I looked for one recently and wasn't impressed with what
I found.&nbsp; 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.&nbsp;
It wouldn't be hard to add CBC classes.&nbsp; 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.&nbsp; With Python, I could use
the array module to do allocation of primitive arrays and get a pointer
to pass to COIN.&nbsp; I'm not sure what I'd do in Java to manipulate the
low level memory allocations.&nbsp; I included some %array_functions()
commands in the SWIG file, so that should generate something for Java to
use.&nbsp; 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>
</font>
<br><font size=3>On Tue, Oct 13, 2009 at 9:08 AM, Georg Buss &lt;</font><a href="mailto:buss@bwl.uni-mannheim.de"><font size=3 color=blue><u>buss@bwl.uni-mannheim.de</u></font></a><font size=3>&gt;
wrote:</font>
<br><font size=3>Hi all,</font>
<p><font size=3>&nbsp;</font>
<p><font size=3>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>
Thank you very much for your help.</font>
<p><font size=3>&nbsp;</font>
<p><font size=3>Georg</font>
<p><font size=3>&nbsp;</font>
<br><font size=3><br>
_______________________________________________<br>
Cbc mailing list</font><font size=3 color=blue><u><br>
</u></font><a href="mailto:Cbc@list.coin-or.org"><font size=3 color=blue><u>Cbc@list.coin-or.org</u></font></a><font size=3 color=blue><u><br>
</u></font><a href="http://list.coin-or.org/mailman/listinfo/cbc" target=_blank><font size=3 color=blue><u>http://list.coin-or.org/mailman/listinfo/cbc</u></font></a><font size=3><br>
</font>
<br><tt><font size=2>_______________________________________________<br>
Cbc mailing list<br>
Cbc@list.coin-or.org<br>
</font></tt><a href="http://list.coin-or.org/mailman/listinfo/cbc"><tt><font size=2>http://list.coin-or.org/mailman/listinfo/cbc</font></tt></a><tt><font size=2><br>
</font></tt>
<br>