[Cbc] Porting JNI-based Cbc app to Windows
acw at ascent.com
acw at ascent.com
Mon Jun 11 13:29:01 EDT 2012
Thank you so much for your prompt response.
In your summary list below, it looks like what is being provided is a
direct binary executable. Unfortunately, in order to interface with JNI,
we need a Windows shared library, that is, a DLL file, not an EXE file. Is
this provided in the Windows binary distribution?
Thanks again.
From:
Haroldo Gambini Santos <haroldo.santos at gmail.com>
To:
cbc at list.coin-or.org
Date:
06/11/2012 12:57 PM
Subject:
Re: [Cbc] Porting JNI-based Cbc app to Windows
Hi,
I think that the CoinBinary project has much of what you want:
https://projects.coin-or.org/CoinBinary
They have numerous coin-or project (including cbc in CoinAll) compiled in
various compilers.
I would recommend to download coinall:
http://www.coin-or.org/download/binary/CoinAll/
COIN-OR-1.6.2-win32-cygwin-gcc4.3.4.exe
22-Feb-2012 10:40
45M
COIN-OR-1.6.2-win32-cygwin-gcc4.3.4.tar.gz
22-Feb-2012 10:40
20M
COIN-OR-1.6.2-win32-cygwin-gcc4.3.4.zip
22-Feb-2012 10:40
43M
COIN-OR-1.6.2-win32-mingw-gcc4.2.1.exe
22-Feb-2012 12:52
50M
COIN-OR-1.6.2-win32-mingw-gcc4.2.1.tar.gz
22-Feb-2012 12:52
22M
COIN-OR-1.6.2-win32-mingw-gcc4.2.1.zip
On 11-06-2012 12:42, acw at ascent.com wrote:
I will roughly describe our application and then present our problem.
We have a working Cbc application running on Linux. It is unusual in that
it is not standalone, but rather is a component of a server that accepts
requests containing MIP problems, and returns the solutions to the client.
The server layer is implemented in Java, and we used JNI to connect to the
solver layer, which is mostly Cbc with a few interface functions pasted on
the top.
We were able to adapt the example makefiles in Cbc/examples, to produce
shared libraries (.so files) instead of direct executables. Shared
libraries are required to interface with Java code via JNI.
Now our problem:
We would like to port our MIP server to Windows. On Windows, shared
libraries are .dll files. Has anyone out there in Cbc-land successfully
compiled a Cbc application to produce a .dll? We are especially
interested in talking to anyone with a JNI-based success story. (We are
willing to use a Microsoft development environment, or Cygwin, or MinGW
... anything that works. Extra points if we don't have to deliver a lot
of extra runtime support software when we install the server on a new
machine.)
_______________________________________________
Cbc mailing list
Cbc at list.coin-or.org
http://list.coin-or.org/mailman/listinfo/cbc
--
=============================================================
Haroldo Gambini Santos
Computing Department - Universidade Federal de Ouro Preto - UFOP
email: haroldo [at ] iceb.ufop.br
haroldo.santos [at] gmail.com
home/research page: www.decom.ufop.br/haroldo/
_______________________________________________
Cbc mailing list
Cbc at list.coin-or.org
http://list.coin-or.org/mailman/listinfo/cbc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/cbc/attachments/20120611/0d9f8ddc/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 246 bytes
Desc: not available
URL: <http://list.coin-or.org/pipermail/cbc/attachments/20120611/0d9f8ddc/attachment-0006.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 1038 bytes
Desc: not available
URL: <http://list.coin-or.org/pipermail/cbc/attachments/20120611/0d9f8ddc/attachment-0007.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 1038 bytes
Desc: not available
URL: <http://list.coin-or.org/pipermail/cbc/attachments/20120611/0d9f8ddc/attachment-0008.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 246 bytes
Desc: not available
URL: <http://list.coin-or.org/pipermail/cbc/attachments/20120611/0d9f8ddc/attachment-0009.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 1038 bytes
Desc: not available
URL: <http://list.coin-or.org/pipermail/cbc/attachments/20120611/0d9f8ddc/attachment-0010.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 1038 bytes
Desc: not available
URL: <http://list.coin-or.org/pipermail/cbc/attachments/20120611/0d9f8ddc/attachment-0011.gif>
More information about the Cbc
mailing list