[Cbc] Porting JNI-based Cbc app to Windows

Haroldo Gambini Santos haroldo.santos at gmail.com
Mon Jun 11 13:38:24 EDT 2012


The EXE is an installer. Please look at the installed files (not sure if 
a DLL is available, but at least an static library for windows is).

On 11-06-2012 14:29, acw at ascent.com wrote:
> 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_ 
> <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_ 
> <http://www.coin-or.org/download/binary/CoinAll/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_ 
> <http://www.coin-or.org/download/binary/CoinAll/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_ 
> <http://www.coin-or.org/download/binary/CoinAll/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_ 
> <http://www.coin-or.org/download/binary/CoinAll/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_ 
> <http://www.coin-or.org/download/binary/CoinAll/COIN-OR-1.6.2-win32-mingw-gcc4.2.1.zip> 
> 	
> 	
> 	
>
>
>
>
> On 11-06-2012 12:42, _acw at ascent.com_ <mailto: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_ <mailto: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/_ 
> <http://www.decom.ufop.br/haroldo/>
>
> _______________________________________________
> 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/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/cbc/attachments/20120611/7718208e/attachment.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/7718208e/attachment.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/7718208e/attachment-0001.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/7718208e/attachment-0002.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/7718208e/attachment-0003.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/7718208e/attachment-0004.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/7718208e/attachment-0005.gif>


More information about the Cbc mailing list