[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] Which is the closer-to-be-officially-endorsed Java (jni)
From: |
xypron |
Subject: |
Re: [Help-glpk] Which is the closer-to-be-officially-endorsed Java (jni) GLPK interface? |
Date: |
Wed, 4 Nov 2009 22:16:19 -0800 (PST) |
Hello Giampaolo,
https://gnu-glpk.dev.java.net/
is not providing a JNI interface for GLPK but allows to run GLPK on the
Sun Grid Computing Utility.
The JNI interface for GLPK published at
http://bjoern.dapnet.de/glpk/
has not been updated since version 4.8 of GLPK.
There has been a discussion to include the necessary files to build a JNI
interface
into GLPK:
http://lists.gnu.org/archive/html/help-glpk/2009-01/msg00068.html
http://lists.gnu.org/archive/html/help-glpk/2009-02/msg00001.html
Andrew Makhorin the maintainer of GLPK decided not to include this feature
into
his distribution.
Hence I set up the glpk-java project at sourceforge
http://sourceforge.net/projects/glpk-java/
and kept it in synch with the development of GLPK.
glpk-java is using SWIG to create the JNI wrapper classes. Therefore it is
easy to upgrade to any future version of GLPK.
(SWIG is hosted at http://www.swig.org .)
Makefiles for Windows 32bit and 64bit and for POSIX (Linux, ...) are
supplied.
Binaries for Windows are published at
http://sourceforge.net/projects/winglpk/.
A package for Debian Sid has been set up
http://packages.debian.org/unstable/java/libglpk-java
glpk-java currently currently does not support callback routines. I would
welcome contributions to add this feature.
Best regards
Xypron
Giampaolo Tomassoni wrote:
>
> Hi everybody,
>
> I'm looking one more time for a Java interface to the GLPK library and I
> would like to select one which the GLPK team feels it could easily be
> endorsed.
>
> The purpose is to use it as a MIP solver from the new version of the Stan
> package (which is probably quite unknown to most of you. See
> http://sourceforge.net/projects/stan/ if you like to know more). The Stan
> package already ships with its own jni interface to GLPK (of course, yet
> another proprietary version). However, we would like to dismiss it in
> order
> to cut most of the efforts we have to spend when the GLPK API changes.
> Stan
> uses a very limited subset of the GLPK API.
>
> Simply looking at 'java glpk' in Google I get a lot of edible projects,
> but
> which is the one working better and better tracking any GLPK API change?
>
> These are some:
>
> http://bjoern.dapnet.de/glpk/
> http://sourceforge.net/projects/glpk-java/
> https://gnu-glpk.dev.java.net/
>
> Please also note that Stan is a Java product running on a few hardware and
> software environments (mostly Win on x86_32 and x86_64, MacOS X on
> PowerPC,
> x86_32 and x86_64). This means that:
>
> - the glpk-jni-java makeup should work on these platforms;
>
> - we would prefer a solution shipping binaries too, or else have access to
> a
> compile farm (SourceForge dismissed its own). By the way, do you know of
> any
> available?
>
> Thank you,
>
> Giampaolo
>
>
>
> _______________________________________________
> Help-glpk mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/help-glpk
>
>
--
View this message in context:
http://old.nabble.com/Which-is-the-closer-to-be-officially-endorsed-Java-%28jni%29-GLPK-interface--tp26203025p26208585.html
Sent from the Gnu - GLPK - Help mailing list archive at Nabble.com.