help-glpk
[Top][All Lists]
Advanced

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

Re: [Help-glpk] spx_simplex: problem has no rows/columns


From: Sana Jawad
Subject: Re: [Help-glpk] spx_simplex: problem has no rows/columns
Date: Tue, 26 Jan 2010 00:04:02 -0800

Hey,

I suspect that the problem is related to copying the right files in the right folder. I have tried copying all the dlls in the C:\Windows\System32 folder; but nothing seems to make a difference.

The java library path is as follows:

System.out.println("java.library.path="+System.getProperty("java.library.path"));

java.library.path=C:\Program Files\Java\jre6\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files/Java/jre6/bin/client;C:/Program Files/Java/jre6/bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\System Center Operations Manager 2007\;C:\Program Files\TortoiseSVN\bin;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\

Any help is highly appreciated.

Thanx,
Sana
On Mon, Jan 25, 2010 at 1:54 PM, Sana Jawad <address@hidden> wrote:
Hello Xypron,

I have run the check_jni.bat file and both the test examples are executed correctly.

Best Regards,
Sana


On Mon, Jan 25, 2010 at 1:29 PM, xypron <address@hidden> wrote:

Hello Sana,

please, unzip the file downloaded from
http://sourceforge.net/projects/winglpk/files/winglpk/GLPK-4.42/winglpk-4.42.zip/download
to a new directory.

Change to the w32 directory, if you use a 32bit windows (or to w64 when
using 64bit Windows.
> cd glpk-4.42\w32
Execute the installation check
> check_jni.bat

Are the two examples executed correctly?

Best regards

Xypron





Sana Jawad wrote:
>
> Thanx alot...I am now using the latest version.
>
> I am getting the following error when I try to run the sample code given
> in
> Gmpl.java file.
>
> "java.lang.UnsatisfiedLinkError: org.gnu.glpk.GLPKJNI.glp_create_prob()"
>
>
>
> I have copied both the files glpk_4_42.dll and glpk_4_42_java.dll in
> C:\Windows\System32 folder and I have copied in my class path as mentioned
> in the glpk-java.pdf file.
>
> Can anyone please help me.
>
> Best Regards,
> Sana
>
> On Sat, Jan 23, 2010 at 9:50 PM, Andrew Makhorin <address@hidden> wrote:
>
>> > spx_simplex: problem has no rows/columns
>>
>> You are using an obsolete version of the package. In recent versions
>> glp_simplex allows the problem object to be empty.
>>
>>
>
>
> --
>
>



reply via email to

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