Hi,

Sorry about that. The example works fine after adding the System.loadLibrary
command :)

Manish Jain
University of Southern California


On Sat, May 29, 2010 at 12:13 AM, Manish Jain <[email protected]>wrote:

> Hi,
>
> 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
>
> -Djava.library.path=/path/to/bin/of/glpk-4.43/installation
>
> However, I still get the error "Cannot find dependent libraries".
> What is it that I am doing wrong in this?
>
> Thanks,
>
> Manish Jain
> University of Southern California
>
>
> On Fri, May 28, 2010 at 11:23 PM, glpk xypron <[email protected]> wrote:
>
>> Hello Manish,
>>
>> the current version of GLPK is 4.43.
>>
>> Project GLPK-Java at
>> http://glpk-java.sourceforge.net
>> provides Java bindings generated with Swig.
>>
>> For Windows procompiled binaries for GLPK and GLPK-Java
>> can be downloaded from
>> http://winglpk.sourceforge.net
>> or
>> http://glpklabw.sourceforge.net (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
>>
>> Xypron
>>
>> -------- 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 http://portal.gmx.net/de/go/maxdome01
>>
>
>
_______________________________________________
Help-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to