[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-glpk] glpk4.38 or later for Java

From: Manish Jain
Subject: Re: [Help-glpk] glpk4.38 or later for Java
Date: Sat, 29 May 2010 00:13:27 -0700


Thank you for the link.
I installed the glpk-4.43 msi available for windows and have the required DLL and jar files.
The installation was successful.

Then I created a Netbeans project with all the examples present in the glpk-4.43, then added the JAR files to the library folder for the project and then changed the VM options in project properties to include


However, I still get the error "Cannot find dependent libraries".
What is it that I am doing wrong in this?


Manish Jain
University of Southern California

On Fri, May 28, 2010 at 11:23 PM, glpk xypron <address@hidden> wrote:
Hello Manish,

the current version of GLPK is 4.43.

Project GLPK-Java at
provides Java bindings generated with Swig.

For Windows procompiled binaries for GLPK and GLPK-Java
can be downloaded from
or (32bit only)

For Debian and Ubuntu package libglpk-java provides
the language binding.

GLPK-Java 1.0.3 will build against GLPK 4.38.

glpk.i (v. 1.0.3) contains the following lines:

%module GLPK
#include "glpk.h"
%include "carrays.i"
%array_functions(int, intArray)
%array_functions(double, doubleArray)
%include "glpk.h"

I suggest upgrading to GLPK 4.43 and GLPK-Java 1.0.13
- errors in the library can be handled as Java exception
- the callback interface of GLPK can be used to control
 the solution process for MIP problems

Best regards


-------- Original-Nachricht --------
> Datum: Fri, 28 May 2010 15:26:17 -0700
> Betreff: [Help-glpk] glpk4.38 or later for Java

> Hi,
> Can somebody send me a working glpk.i file for swig used for generating
> the
> jar files for Glpk 4.38.
> Thanks,
> Manish Jain
> University of Southern California

GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter

reply via email to

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