[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,
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 
has not been updated since version 4.8 of GLPK.

There has been a discussion to include the necessary files to build a JNI
into GLPK:

Andrew Makhorin the maintainer of GLPK decided not to include this feature
his distribution.

Hence I set up the glpk-java project at sourceforge
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 .)

Makefiles for Windows 32bit and 64bit and for POSIX (Linux, ...) are 

Binaries for Windows are published at

A package for Debian Sid has been set up

glpk-java currently currently does not support callback routines. I would 
welcome contributions to add this feature.

Best regards


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
> 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:
> 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

View this message in context:
Sent from the Gnu - GLPK - Help mailing list archive at

reply via email to

[Prev in Thread] Current Thread [Next in Thread]