Re: [Help-glpk] GLPK 4.38 for Java under Linux

2009-05-23 Thread xypron
Hello Sylvain, Sylvain Fournier wrote: I then saw that there is a glpk_4_38_java library available ( http://winglpk.sourceforge.net/), I tried it on Windows and it seems to work fine. But there is a problem of organization in my code, as I use a different Java interface when running

Re: [Help-glpk] GLPK 4.38 for Java under Linux

2009-05-25 Thread Sylvain Fournier
Many thanks Xypron for the way to compile the library. I will try it and get back to you if something is going wrong. Sylvain Date: Sat, 23 May 2009 10:04:09 -0700 (PDT) From: xypron xypron.g...@gmx.de Subject: Re: [Help-glpk] GLPK 4.38 for Java under Linux To: Help-glpk@gnu.org Message-ID

Re: [Help-glpk] Example of Java program using GLPK

2009-07-29 Thread xypron
Hello Alexandre, Alexandre.Depire wrote: I'm looking for a simple code of Java program using Glpk to resolve an MIP problem. a http://glpk-java.sourceforge.net GLPK Java interface is available at http://glpk-java.sourceforge.net. Examples are provided. It is available as package

[Help-glpk] The dynamic link library for GLPK for Java could not beloaded.

2011-07-27 Thread name name
Hello, I have just change my java version and I can't run any more glpk I got The dynamic link library for GLPK for Java could not beloaded. Consider using java -Djava.library.path= whot should i do? how can I change java -Djava.library.path? where is it and where should I put it? thank you

[Help-glpk] glpk and glpk-java

2009-11-25 Thread Torben Frøberg
Hi I am using Ubuntu 9.04 and I have installed the glpk version 4.39. I would like to install the java interface glpk-java version 1.0.6 (http://sourceforge.net/projects/glpk-java/). When trying to compile the package I get the compiler error: mkdir -p src/java mkdir -p java/org/gnu/glpk

Re: [Help-glpk] The dynamic link library for GLPK for Java could not beloaded.

2011-07-27 Thread Xypron
Dear Onor, the Java system parameter java.library.path defines the directories that are searched for native libraries. java.library.path should point to the directory where you have stored Linux: libglpk_java.so Windows: glpk_4_45_java.dll On Linux this path typically is /usr/local/lib/jni

[Help-glpk] GLPK 4.40 - Windows executables, Java libraries

2009-11-04 Thread xypron
GLPK for Windows has been updated to use GLPK 4.40. A package including precompiled binaries for 32 and 64 bit Windows can be found at: http://sourceforge.net/projects/winglpk/ It includes the Java language binding (GLPK-Java). Best regards Xypron -- View this message in context: http

[Help-glpk] GLPK 4.41 - Windows executables, Java libraries

2009-12-22 Thread xypron
GLPK for Windows has been updated to use GLPK 4.41. A package including precompiled binaries for 32 and 64 bit Windows can be found at: http://sourceforge.net/projects/winglpk/ It includes the Java language binding GLPK-Java. Best regards Xypron -- View this message in context: http

[Help-glpk] GLPK 4.45 - Windows executables, Java libraries

2010-12-07 Thread glpk xypron
GLPK for Windows has been updated to use GLPK 4.45. A package including precompiled binaries for 32 and 64 bit Windows can be found at: http://sourceforge.net/projects/winglpk/ It includes the Java language binding GLPK-Java available at: http://sourceforge.net/projects/glpk-java/ Best regards

Re: [Help-glpk] Help

2013-08-23 Thread Raniere Silva
Hi Abhishek, Can I run a glpsol program and get it to run a java program? No. `glpsol` is a C program that uses GLPK C-API. Can my data file be a java file and my code be a mod file? Maybe you can write a Java program that read your model and use the data from your other Java program

[Help-glpk] Java Interface for GLPK 4.8

2005-08-27 Thread Björn
Hello! If anybody happens to be in need of a Java Interface for GLPK, allowing to use GLPK 4.8 in Java programs, please refer to http://bjoern.dapnet.de/glpk/index.htm Regards, Bjoern

Re: [Help-glpk] java glpk 4.45 for linux

2011-03-19 Thread glpk xypron
Hello Ramón, GLPK for Java is hosted at http://glpk-java.sourceforge.net/ For Ubuntu and Debian there is a package libglpk-java. For Windows GLPK for Java is contained in the GLPK for Windows available at http://winglpk.sourceforge.net/ A GLPK for Java application consist of - the Java

[Help-glpk] installing glpk in java

2011-07-16 Thread name name
Hello, I would like to use glpk in java could you tell me how can i do it? Is there only one .so file to put in the pacege in java or two and where can i find them. Thank you Onor ___ Help-glpk mailing list Help-glpk@gnu.org https://lists.gnu.org

Re: [Help-glpk] Some question about installing GLPK for Java in Linux

2012-06-21 Thread glpk xypron
Hello Chung I check in my java folder /usr/java/jdk1.6.0_33/include . It has this file and my JAVA_HOME also setuped this path. export JAVA_HOME=/usr/java/jdk1.6.0_33 Best regards Xypron Original-Nachricht Datum: Thu, 21 Jun 2012 19:43:11 +0800 Betreff: Re: [Help-glpk

[Help-glpk] GLPK for Windows 4.51, GLPK for Java 1.0.29

2013-06-20 Thread Heinrich Schuchardt
GLPK for Java 1.0.29 has been released. It is available from http://glpk-java.sourceforge.net GLPK for Windows 4.51 has been released. It is available from http://winglpk.sourceforge.net It includes 32bit and 64bit Windows executables of GLPK 4.51 and GLPK for Java 1.0.29. Best regards Heinrich

Re: [Help-glpk] Help

2013-08-23 Thread Andrew Makhorin
Can I run a glpsol program and get it to run a java program? Can my data file be a java file and my code be a mod file? You may create a data file with a computer program and then pass it to glpsol along with your model file. See also http://en.wikibooks.org/wiki/GLPK/Java

Re: [Help-glpk] [Fwd: a question]

2015-07-13 Thread Heinrich Schuchardt
Dear Tayyar, your message had to be forwared manually because you have not subscribe to the GLPK help list, see https://lists.gnu.org/mailman/listinfo/help-glpk. https://en.wikibooks.org/wiki/GLPK/Java provides an overview about Java bindings for GLPK. The GLPK for Java project hosted at http

[Help-glpk] [Fwd: GLPK-java on mac 10.7.5]

2018-01-21 Thread Andrew Makhorin
Forwarded Message From: sindhu nir <sindhu.nir...@gmail.com> To: help-glpk@gnu.org Subject: GLPK-java on mac 10.7.5 Date: Sun, 21 Jan 2018 16:21:09 +0600 Hello , I need to install glpk-java on mac 10.7.5 . Is there any procedure for it ? Regards

Re: [Help-glpk] [Fwd: GLPK-java on mac 10.7.5]

2018-01-21 Thread Andrew Makhorin
> I need to install glpk-java on mac 10.7.5 . Is there any procedure for > it ? > Please see http://en.wikibooks.org/wiki/GLPK/Java . ___ Help-glpk mailing list Help-glpk@gnu.org https://lists.gnu.org/mailman/listinfo/help-glpk

[Help-glpk] GLPK 4.42 - Windows executables, Java libraries

2010-01-13 Thread xypron
GLPK for Windows has been updated to use GLPK 4.42. A package including precompiled binaries for 32 and 64 bit Windows can be found at: http://sourceforge.net/projects/winglpk/ It includes the Java language binding GLPK-Java available at: http://sourceforge.net/projects/glpk-java/ Best regards

[Help-glpk] GLPK 4.43 - Windows executables, Java libraries

2010-02-21 Thread xypron
GLPK for Windows has been updated to use GLPK 4.43. A package including precompiled binaries for 32 and 64 bit Windows can be found at: http://sourceforge.net/projects/winglpk/ It includes the Java language binding GLPK-Java available at: http://sourceforge.net/projects/glpk-java/ Best regards

Re: [Help-glpk] The dynamic link library for GLPK for Java could not beloaded.

2011-08-11 Thread name name
I'm using from bst first run works but second I got The dynamic link library for GLPK for Java could not beloaded. Consider using java -Djava.library.path= I run as follow: java -Djava.library.path=/opt/glpk -Xmx512M -jar /bin/sbt-launch.jar On Wed, Jul 27, 2011 at 9:06 PM, Xypron xypron.g

Re: [Help-glpk] [Fwd: input file to glpk sample code in java]

2011-11-28 Thread glpk xypron
Hello Paul, you mail had to be forwarded to the help-glpk list manually because you did not subscribe to it as described on https://lists.gnu.org/mailman/listinfo/help-glpk GlpkHookIFC is part of a Java binding for GLPK developped by Björn Frank. As described on http://en.wikibooks.org/w

Re: [Help-glpk] Getting null object when using read_model()

2010-04-16 Thread glpk xypron
Hello Jordan, in glpk-java 1.0.13 there is no method read_model(.modFile, data, output) Method GLPK._lpx_read_model() is deprecated. Please, have a look at examples/java/Gmpl.java which uses method GLPK.glp_mpl_read_model() Best regards Xypron Original-Nachricht Hello all

Re: [Help-glpk] installing glpk in java

2011-07-17 Thread glpk xypron
Dear Onor, a Java binding for GLPK is available as project GLPK for Java at http://glpk-java.sourceforge.net/ If you are using Ubuntu or Debian you can install package libglpk-java. If you are using Windows you can download precompiled binaries from http://sourceforge.net/projects/winglpk

Re: [Help-glpk] The dynamic link library for GLPK for Java could not be loaded.

2015-05-08 Thread Heinrich Schuchardt
Hello Romain, your java.library.path is pointing to the 64bit libraries. Is the Java runtime you are executing also 64bit? Which version of GLPK for Java are you using? Best regards Heinrich Schuchardt Romain Huynh Van Thieng huynh.rom...@gmail.comschrieb: Hello everyone

Re: [Help-glpk] Some question about installing GLPK for Java in Linux

2012-06-21 Thread 周宗毅
Dear all , now I change the java version to sun-version java version 1.6.0_33 Java(TM) SE Runtime Environment (build 1.6.0_33-b03) Java HotSpot(TM) 64-Bit Server VM (build 20.8-b03, mixed mode) and tried to re-installed libglpk-java. But when I setuped configure , it occured that checking

Re: [Help-glpk] glpk java

2010-03-02 Thread glpk xypron
Hello Fabrizio, a package libglpk-java is available for Ubuntu lucid, unfortunately it is the glpk-java 1.0.1 version. When I compile glpk-java on Debian Squeeze jni.h is taken from: /usr/lib/gcc/i486-linux-gnu/4.4/include/jni.h This file is included in package libgcj10-dev which is part

Re: [Help-glpk] Some question about installing GLPK for Java in Linux

2012-06-21 Thread glpk xypron
Dear Chung, You got this error: Exception in thread main java.lang.UnsatisfiedLinkError: /home/mrcupids/libglpk-java-1.0.21/swig/.libs/libglpk_java.so.0.32.0: libglpk.so.0: cannot open shared object file: Where did you install libglpl.so.0? (It should be in /usr/lib or /usr/local/lib.) Did

[Help-glpk] Some question about installing GLPK for Java in Linux

2012-06-21 Thread 周宗毅
Dear Author , I met some question about using this in server. I followed the web page http://glpk-java.sourceforge.net/gettingStarted.html to get started. However when I wanted to install this in Linux (Fedora 14 64bit), it failed again. GLPK for Java Download GLPK for Java from https

[Help-glpk] java.lang.Exception: no glpk_java in java.library.path

2010-04-06 Thread Sana Jawad
Hi, I am trying to call a model written in MathProg using GLPK in java in Ubuntu. My code is as follows: *try * { System.*loadLibrary*(glpk_java); } *catch*(UnsatisfiedLinkError e) { Exception e2= *new* Exception(e1.getMessage() + JAVA LIBRARAY Path:+System. *getProperty

[Help-glpk] GLPK-Java JNI in Mac OS X 10.5.8

2012-01-30 Thread
Dear all, I've some problems while testing the glpk-java for MacOS X 10.5.8. I'm working with GLPK-4.47 and libglpk-java-1.0.19. I've downloaded the latter and properly compile it for x86_64, to avoid the 'match-o, but wrong architecture' error issue. Now, the library is compiled for 64

[Help-glpk] NoSuchMethodError

2015-07-22 Thread Jeremy Chacon
Hello, I'm trying to use a java program that uses glpk-java to run glpk. When I run the program, I get a NoSuchMethodError error: Exception in thread AWT-EventQueue-0 java.lang.NoSuchMethodError: org.gnu.glpk.GLPK.init_glpk() I know that glpk and glpk-java are installed, because if I run glpsol

Re: [Help-glpk] GLPK-JNI

2007-11-26 Thread Andrew Makhorin
I downloaded the Java-GLPK-Interface (GLPK 4.8) and was looking for JAVA implementations of a WLP (Warehouse Location Problem) in its many variations that is compatible with this interface. I would also be thankful if anyone can send larger WLP (many restrictions and variables) in Mathprog

[Help-glpk] GLPK 4.39 - Windows executables, Java libraries

2009-07-26 Thread xypron
Windows executables and libraries for GLPK 4.39 have been uploaded to http://winglpk.sourceforge.net/ http://winglpk.sourceforge.net/ I have included libraries to call GLPK from Java. Best regards Xypron -- View this message in context: http://www.nabble.com/GLPK-4.39---Windows-executables

Re: [Help-glpk] Compiling glpsol.java using glpk_java.

2010-03-10 Thread xypron
Hello Nigel, the issue is resolved in glpk-java-1.0.13. Best regards Xypron Nigel Galloway wrote: Xypron, The glpk_java distribution provides a Java interface to most of the glpk API. I think some improvements are needed to access glp_main and hence write glpsol in Java

[Help-glpk] Fwd: The dynamic link library for GLPK for Java could not be loaded.

2015-05-09 Thread Romain Huynh Van Thieng
2015-05-08 14:23 GMT+02:00 Romain Huynh Van Thieng huynh.rom...@gmail.com: Hi Heinrich, I don't know which version of Java Runtime, I guess it's 64bits, as I said, before my java automatic update everything was working perfectly. For trial I've set the path to 32 bits and I get

Re: [Help-glpk] NoSuchMethodError

2015-07-22 Thread Heinrich Schuchardt
Hello Jeremy, Exception in thread AWT-EventQueue-0 java.lang.NoSuchMethodError: org.gnu.glpk.GLPK.init_glpk() You cut of the call stack from the output. Please, analyze the call stack to identify the calling method. GLPK 4.47 and the matching GLPK for Java 1.0.18 did not have any method

[Help-glpk] Re: cloning

2007-05-12 Thread Ricardo Martins
Dear colleagues, the GlpkSolver´s API is clonable, but its cloning process has failed, though I have used casting in glpk 4.8 java interface. I know that this list is not about glpk 4.8 java interface, but I need resolve my problem. thank you very much ras On 5/9/07, Ricardo Martins [EMAIL

[Help-glpk] Compiling GLPK for Java under Linux

2009-05-31 Thread xypron
://sourceforge.net/project/downloading.php?group_id=244007filename=glpk-java-4.38.tar.gza=38892371 glpk-java-4.38.tar.gz to the download page of http://winglpk.sourceforge.net/ GLPK for Windows . Best regards Xypron -- View this message in context: http://www.nabble.com/GLPK-4.38-for-Java-under-Linux

Re: [Help-glpk] Problem importing gnulpk-java files in java project

2010-04-16 Thread glpk xypron
If you are asking for help on this list (help-glpk@gnu.org), please, describe your problem and how it can be reproduced. An example will be helpful. GLPK-Java comes with examples in directory examples/java. For compiling and running Java programs based on GLPK-Java glpk-java.jar must

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

2010-05-24 Thread Manish Jain
Hello all, Is there a jar file available for recent versions (glpk 4.38 or later) for java? The only one I could find on the net was glpk 4.8 ( http://bjoern.dapnet.de/glpk/). However, glpk 4.8 has different interpretation in at least lpx_set_col_kind and lpx_load_matrix. lpx_set_col_kind keeps

[Help-glpk] GLPK for Windows 4.44, GLPK-Java 1.0.14 release information

2010-06-04 Thread glpk xypron
/ It includes GLPK-Java, the Java language binding for GLPK. GLPK-Java has been updated to version 1.0.14. Makefiles can be downloaded from the project homepage http://glpk-java.sourceforge.net/ Best regards Xypron -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http

Re: [Help-glpk] UnsatisfiedLinkError (GLPK for Java)

2011-06-07 Thread glpk xypron
Hello Nishant, with the glpk-java.jar you provided I was able to reproduce your problem. Please, use a version of GLPK for Java that matches your version of GLPK: GLPK 4.44 - GLPK for Java 1.0.15 GLPK 4.45 - GLPK for Java 1.0.16 (the current version) You can download GLPK for Java from http

[Help-glpk] GLPK for Java 1.0.17, GLPK for Windows 4.46

2011-08-10 Thread glpk xypron
GLPK for Java has been released on http://glpk-java.sourceforge.net It provides the Java language binding for GLPK 4.46. --- GLPK for Windows 4.46 has been released on http://winglpk.sourceforge.net It includes the GLPK 4.46 source distribution by Andrew Makhorin, Windows executables

[Help-glpk] GLPK for Java 1.0.18, GLPK for Windows 4.47

2011-09-10 Thread glpk xypron
GLPK for Java 1.0.18 has been released on http://glpk-java.sourceforge.net It provides the Java language binding for GLPK 4.47. --- GLPK for Windows 4.47 has been released on http://winglpk.sourceforge.net It includes the GLPK 4.47 source distribution by Andrew Makhorin, Windows executables

[Help-glpk] Viewing input constraints in Java

2011-12-29 Thread Powers II II, Raymond J
Hello, I am using glpk-java to solve a network flow LP using the simplex solver (smcp). The solver has solved a few instances correctly, but not all (even simple ones). My belief is that one of the constraints I am building is not getting input correctly. The problem is, I do not know how

[Help-glpk] GLPK for Java 1.0.24, GLPK for Windows 4.48

2013-02-02 Thread Heinrich Schuchardt
GLPK for Java 1.0.24 has been released on http://glpk-java.sourceforge.net It provides the Java language binding for GLPK 4.48. --- GLPK for Windows 4.48 has been released on http://winglpk.sourceforge.net It includes the GLPK 4.48 source distribution by Andrew Makhorin, Windows executables

[Help-glpk] GLPK for Windows 4.49, GLPK for Java 1.0.25

2013-04-16 Thread xypron
GLPK for Java 1.0.25 has been released. It is available from http://glpk-java.sourceforge.net GLPK for Windows 4.49 has been released. It is available from http://winglpk.sourceforge.net It includes 32bit and 64bit Windows executables of GLPK 4.49 and GLPK for Java 1.0.25. Best regards

[Help-glpk] GLPK for Windows 4.50, GLPK for Java 1.0.28

2013-05-30 Thread xypron
GLPK for Java 1.0.28 has been released. It is available from http://glpk-java.sourceforge.net GLPK for Windows 4.50 has been released. It is available from http://winglpk.sourceforge.net It includes 32bit and 64bit Windows executables of GLPK 4.50 and GLPK for Java 1.0.28. Best regards

Re: [Help-glpk] [Fwd: Need help running GLPK code in Ubuntu server]

2013-06-09 Thread Heinrich Schuchardt
On 09.06.2013 15:33, Kazi Moyeen ul Huq wrote: java -Djava.library.path=/usr/lib/jni -jar st.jar Hello Kazi, the default installation path for GLPK and GLPK for Java is /usr/local If you did not configure with --prefix the command line to execute you jar file should be java

[Help-glpk] [Fwd: Re: [Fwd: GLPK-java on mac 10.7.5]]

2018-01-23 Thread Andrew Makhorin
Forwarded Message From: sindhu nir <sindhu.nir...@gmail.com> To: Andrew Makhorin <m...@gnu.org> Subject: Re: [Help-glpk] [Fwd: GLPK-java on mac 10.7.5] Date: Tue, 23 Jan 2018 11:45:05 +0600 Thanks for replying . I saw the link but did not find any installation proc

Re: [Help-glpk] Java glpk error

2010-07-22 Thread glpk xypron
Hello Bodman, glpk-java-1.0.14 needs GLPK 4.44 (libglpk.so.0.29.0). Which version of the glpk library is installed on your computer? After updating GLPK, please, run sudo ldconfig. Best regards Xypron Original-Nachricht Datum: Thu, 22 Jul 2010 22:31:44 +0200 Betreff

Re: [Help-glpk] Java glpk error

2010-07-23 Thread Bodman
Ok, thanks ! In fedora 11, it's GLPK 4.36. Have a nice day, Bodman Le jeudi 22 juillet 2010 à 22:53 +0200, glpk xypron a écrit : Hello Bodman, glpk-java-1.0.14 needs GLPK 4.44 (libglpk.so.0.29.0). Which version of the glpk library is installed on your computer? After updating GLPK

Re: [Help-glpk] Configuration problem to use GLPK for Java on windows

2013-09-25 Thread Heinrich Schuchardt
Hello Adrien, Does this work ( it should run some test cases): open cmd.exe cd F:\Solvers\glpk-4.52\w64 check_jni.bat Is Eclipse calling a 64 bit Java runtime? Which value do you get for System.getProperty(os.arch) Best regards Heinrich Schuchardt http://www.xypron.de On 25.09.13 at 11:04

Re: [Help-glpk] Need help in installing GLPK-java in mac os x 10.7.5

2018-01-25 Thread Heinrich Schuchardt
Hello Syed, the *.dylib files for GLPK and GLPK for Java must be in the search path for binary libraries. The relevant environment variables can be found in https://developer.apple.com/library/content/documentation/DeveloperTools/Conceptual/DynamicLibraries/100-Articles

[Help-glpk] Java glpk error

2010-07-22 Thread Bodman
Hi, I recently try to use glpk java interface, but i've got some errors (undefined symbol: glp_error_hook). The sames errors appeared in make check (in this mail). Thanks for any help :) Bodman [t...@localhost glpk-java-1.0.14]$ make cd swig; make all make[1]: entrant dans le répertoire

[Help-glpk] cloning

2007-05-09 Thread Ricardo Martins
Dear colleagues how could I clone an object from GlpkSolver class using glpk 4.8 java interface? I have received the following error: glpk_teste13.java:214: clone() has protected access in java.lang.Object GlpkSolver solver2 = (GlpkSolver) solver.clone( ); best regards Ricardo Martins

[Help-glpk] glpk-java libtool install error

2010-08-24 Thread IsiAna
Hello everybody, I'm trying to install glpk-java-1.0.14 on Ubuntu 10.04. I got the tar.gz package from http://sourceforge.net/projects/glpk-java/. I manage to install the glpk-4.44, swig, libtool and java-gcj-compat-dev. I have following error libtool: install: `/lib/jni/libglpk_java.la

Re: [Help-glpk] glpk-java libtool install error

2010-08-24 Thread Xypron
Hello Anastasiya, the error occurs in glpk-java-1.0.14/swig/Makefile in the following line: libtool --mode=install install -c libglpk_java.la $(DESTDIR)${prefix}/lib/jni/libglpk_java.la This command should install libglpk_java.so in directory /usr/local/lib/jni. Please, delete any trailing

[Help-glpk] Glpk 4.47 java bindings for windows

2012-10-26 Thread Manish Jain
Hi, It seems that the pre-compiled w64 java bindings for GLPK 4.47 available on http://sourceforge.net/projects/winglpk/files/ are actually IA-32. Can somebody who has AMD64 architecture and VC generate the glpk_4_47.dll and glpk_4_47_java.dll and post it on sourceforge. Thanks, - Manish

Re: [Help-glpk] libglpk-java

2012-10-28 Thread glpk xypron
of GLPK for Java - version of Cent OS - version of Java runtime - an example showing the problem It is sufficient, if you send the example code to me (not the list). Best regards Xypron Original-Nachricht Datum: Sun, 28 Oct 2012 18:04:25 + Betreff: [Help-glpk] libglpk-java

[Help-glpk] Help

2013-08-23 Thread Abhishek R Varma
Hi, Can I run a glpsol program and get it to run a java program? Can my data file be a java file and my code be a mod file? Best Regards, Abhishek Sent from my iPad ___ Help-glpk mailing list Help-glpk@gnu.org https://lists.gnu.org/mailman/listinfo

GLPK Java on Android

2019-12-11 Thread Yasmin M .
. There is anyway to use the library in the Android Studio or will be a release soon with a version of the GLPK-Java that runs in the IDE?

[Help-glpk] Configuration problem to use GLPK for Java on windows

2013-09-25 Thread Adrien Bellanger
Hi, I tried since two days to run my first project using GLPK for Java. I doesn't work due to a problem during the dynamic library linking. I got the following error message: The dynamic link library for GLPK for Java could not be loaded. Consider using java -Djava.library.path= The current

Re: [Help-glpk] Need help in installing GLPK-java in mac os x 10.7.5

2018-01-24 Thread Syed Reazul Elahee
Thank you . I have successfully build glpk-java in my mac . I can see glpsol version from terminal . glpk-java-javadoc.jar,glpk-java-sources.jar and glpk-java.jar files created inside swig directory . i have used this jars in my java project . when i run my project i am getting a new error

RE: [Help-glpk] Question about GLPK

2005-08-11 Thread Noli.Sicad
? Is it possible to implement in Java written programs? Sorry, the link was not working for this. http://rpmfind.net//linux/RPM/cooker/2006.0/i586/media/contrib/python-glpk-0.4-2mdk.i586.html This is the one you should be downloading. http://rpm.pbone.net/index.php3?stat=26dist=17size=14146name

[Help-glpk] Running java wrapper for GLPK on 64-bit Linux

2009-12-15 Thread Niedringhaus, William P.
I am transitioning from 32 to 64 bit Linux.   Have been running the java wrapper for GLPK.   but have not been able to get it running on the 64 bit (except by using 32-bit java, no good since I need more than 2G memory)   Evidently we need to get a 64-bit version of the C code into a .so file

[Help-glpk] Getting null object when using read_model()

2010-04-16 Thread Jordan Stone
Hello all, I am an intermediate Java programmer and am using glpk-java too import a model written in MathProg and run it inside of a Java GUI application. The model runs just fine if tested in GUSEK, but when I try to create an object of the model in java using the read_model(.modFile, data

[Help-glpk] libglpk-java

2012-10-28 Thread Halim Damerdji
Hello all, I would like to know if there are folks happy with the libglpk-java llibrary binding. I am now going through java system calls to C, with the C code calling the libglpk C library. The interface is via input and output files, which has worked very well, but I am looking for a full

[Help-glpk] Java Wrapper for GLPK

2014-09-20 Thread technical forestry services
Hello I am encountering the following linker error when attempting to use GLPK via a Java wrapper. /The dynamic link library for GLPK for Java could not be loaded.// //Consider using// //java -Djava.library.path=// //The current value of system property java.library.path is:// //C:\Program

[Help-glpk] The dynamic link library for GLPK for Java could not be loaded.

2015-05-05 Thread Romain Huynh Van Thieng
Hello everyone, first sorry for my bad grammar english isn't my native language. I'm using GLPK-java on Eclipse, I've set every path as told on some topic i could find on this help list, and everything was working fine. After an automatic java update, I'm now encountering this : The dynamic

Re: [Help-glpk] [Fwd: Re: [Fwd: GLPK-java on mac 10.7.5]]

2018-01-23 Thread Heinrich Schuchardt
You should be able to install GLPK and Swig with brew. Then build GLPK for Java according to the INSTALL file. Am 23.01.18, 11:01, Andrew Makhorin <m...@gnu.org> schrieb: Forwarded Message From: sindhu nir <sindhu.nir...@gmail.com> To: Andrew Makhorin <m...@gnu.o

Re: [Help-glpk] Patch for GLPK 4.35 to support SWIG

2009-01-29 Thread Kelly Westbrooks
Hello, When I generate a java interface for GLPK, I typically do something like this: mkdir -p java/org/gnu/glpk swig -java -package org.gnu.glpk -o src/glpk_wrap.c -outdir java/org/gnu/glpk glpk.i so as not to clutter up the root of the source tree. Then, i'll jar up the contents of the java

Re: [Help-glpk] GLPK-Java JNI in Mac OS X 10.5.8

2012-02-01 Thread
, as I said, without modifying anything, this is the error I get when executing 'make check': Exception in thread main java.lang.UnsatisfiedLinkError: /Users/ death/Downloads/libglpk-java-1.0.19/swig/.libs/libglpk_java.0.dylib: no suitable image found. Did find: /Users/death/Downloads/libglpk

[Help-glpk] Compiling issues

2010-08-16 Thread Anders Helmar
Hi. I am installing glpk-java on my computer (Ubuntu Karmic) and have downloaded the .tar file from your repository.  I am strictly following your INSTALL - file, but I get compiling issues. I get the following error messages when doing the #39;make #39; operation: jar cf glpk-java

[Help-glpk] Swimp, Java, and GLPK in a Windows environment

2007-11-27 Thread Ulf Brännlund
I am developing a java program using GLPK. Currently, I am using GLPSOL which reads a MathProg model file and an input file which the java program writes.  I would like to have more control and would like to interact with the model (for example solve it twice). I have therefore started to look

Re: [Help-glpk] Results in the iteration in JAVA GLPK (MIP Cutting Stock Problem)

2010-12-10 Thread glpk xypron
Hello Ramón, 1. How can I see all the results in each iteration? the different solutions during the solution of MIP problems can be observed using a callback function. GLPK for Windows 4.45 and GLPK Java 1.0.16 contain examples/java/GmplSwing.java https://glpk-java.svn.sourceforge.net/svnroot

Re: [Help-glpk] Can GLPK for JAVA solve multi-objective optimization

2011-08-01 Thread Xypron
Hello Yi, yes you can do the optimization with GLPK for Java. Please, study the examples files provided with GLPK for Java, e.g. glpk-java-1.0.15/examples/java/Mip.java You can download the source of GLPK for Java from http://glpk-java.sourceforge.net

Re: [Help-glpk] [Fwd: Need help running GLPK code in Ubuntu server]

2013-06-10 Thread xypron . glpk
Hello Kazi, glpk-4.50/src/glpk.h has no constyant LPX_LP. You obviously use a GLPK for Java built against an older include file. Check directory /usr/include. Best regards Heinrich Schuchardt http://www.xypron.de Am 09.06.13 um 21:54 schrieb Kazi Moyeen ul Huq Hi, What is this Timer-0

Re: [Help-glpk] [Fwd: Need help running GLPK code in Ubuntu server]

2013-06-10 Thread Kazi Moyeen ul Huq
, xypron.g...@gmx.de wrote: Hello Kazi, glpk-4.50/src/glpk.h has no constyant LPX_LP. You obviously use a GLPK for Java built against an older include file. Check directory /usr/include. Best regards Heinrich Schuchardt http://www.xypron.de Am 09.06.13 um 21:54 schrieb Kazi Moyeen ul Huq

Re: [Help-glpk] glpk-java libtool install error

2010-08-25 Thread IsiAna
. xypron wrote: Hello Anastasiya, the error occurs in glpk-java-1.0.14/swig/Makefile in the following line: libtool --mode=install install -c libglpk_java.la $(DESTDIR)${prefix}/lib/jni/libglpk_java.la This command should install libglpk_java.so in directory /usr/local/lib/jni. Please

Re: [Help-glpk] Reenterable patch for GLPK-4.47

2013-01-21 Thread Dmitry Nadezhin
in Java. I bind GLPK to java with glue interface based on JNA. http://en.wikipedia.org/wiki/Java_Native_Access Java has nice concurrent framework I want to use it. I want to launch optimization tasks (glp_probs) in different Java Threads. No synchronization is necessary, because tasks don't interact

Re: [Help-glpk] [Fwd: Need help running GLPK code in Ubuntu server]

2013-06-09 Thread Kazi Moyeen ul Huq
Hi, The 1 2 issue in the previous mail is now solved. But I still have the 3rd problem. For some reason it can't load the dynamic library during runtime. Any suggestion for that ? I'm using the following command to run the executable jar file ( it works in the latest version of Ubuntu) java

Re: [Help-glpk] GLPK for Windows 4.57, GLPK for Java 1.3.0, and GLPK for C#/CLI 1.1.0 released

2015-11-30 Thread Heinrich Schuchardt
Hello Sylvain, I just released GLPK for Java 1.3.1 which fixes the error. Best regards Heinrich Schuchardt On 30.11.2015 19:26, Sylvain Fournier wrote: > Hi Heinrich, > > I recently updated GLPK for Java to version 4.57 and I'd like to share > some considerations I had for the n

[Help-glpk] Java interface

2008-07-11 Thread Yao Wu
Hi all, After reading the mailing list for java api, I'm confused. Is Java api included in the distribution? According to Yuri (http://lists.gnu.org/archive/html/help-glpk/2004-01/msg00027.html), Magic.java is an example. But I didn't see it in my downloaded files for windows version 4.8 and 4.9

[Help-glpk] GLPK 4.36 windows executables, libraries for Java

2009-02-07 Thread xypron
Executables for 32 and 64 bit Windows for GLPK 4.36 have been uploaded to http://winglpk.sourceforge.net/ http://winglpk.sourceforge.net/ . In the zip archives you will find the standalone solver GLPSOL and the GLPK library. Furthermore the libraries necessary to compile java programs

Re: [Help-glpk] Beginner questions (MIP model)

2009-02-24 Thread xypron
Hello Denis, Denis Debarbieux wrote: I am a new GLPK user and I develop under Java. I would like to write a simple MIP model but I do not get the good answer. Could you help me please? which java binding to GLPK do you use? Your coding does not look like using java libraries created

[Help-glpk] Example of Java program using GLPK

2009-07-29 Thread Alexandre . Depire
Hello, I'm looking for a simple code of Java program using Glpk to resolve an MIP problem. For example, I consider the following problem: a integer; min a+2*b: s.t. a+b=10 s.t. a=0 s.t. b=0 s.t. Can anybody write the java code and specify where find the files needed ? I work on Linux

[Help-glpk] Application crash due to assert in GLPK

2010-01-20 Thread Sylvain Fournier
Hi everybody, I have been using GLPK (version 4.38) for Java for almost one year now. I just encontered (for the first time, fortunately) an assert that crashed in GLPK and that killed my whole Java application. This assert is located glplib10.c, line 109: xassert(xlcmp(env-t_last, t) = 0

[Help-glpk] Many variables - GLPK Java

2010-06-11 Thread Fábio Botler
Dear, I had a problem using GLPK - Java on ubuntu 10:04 - Eclipse I disabled the prints (enablePrints(false)) and apparently when I need to solve a linear problem with more than 600 variables it crashes. when the printing is enabled, the problem does not occur. -- Fábio Botler +55 81 8687

[Fwd: [Help-glpk] Free Java based modeling language now available for GLPK]

2011-01-14 Thread Andrew Makhorin
Forwarded Message From: chtimax maxcach...@gmail.com To: Help-glpk@gnu.org Subject: [Help-glpk] Free Java based modeling language now available for GLPK Date: Thu, 13 Jan 2011 05:56:40 -0800 (PST) Dear All, We are pleased to inform you that we are now distributing a Free

Re: [Help-glpk] implementing constraints in Scala

2011-08-03 Thread name name
Hello again, I have one more question :( This time I have a problem with dual I get dual (all the lines with GLPK.glp_get_col_dual(lp,colId+1) but just after when it's going to put bounds I got an error A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc

Re: [Help-glpk] GLPK-Java JNI in Mac OS X 10.5.8

2012-02-01 Thread glpk xypron
Hello Ricardo, on a 64bit system you could install two different Java runtimes: A 32bit runtime and a 64bit runtime. A 64bit runtime can only load 64bit libraries. A 32bit runtime can only load 32bit libraries. Did you check the bitness of the GLPK library (glpk.dylib)? The glpk_java.dylib

RE: [Help-glpk] Question about GLPK

2005-08-11 Thread Noli.Sicad
in Java written programs? I don't know nothing about Java (I seem to recall that the Java interface is now maintained separately from GLPK), but here http://qosip.tmit.bme.hu/~retvari/Math-GLPK.html I downloaded Math-GLPK-Solve-0.05.tar.gz from http://qosip.tmit.bme.hu/~retvari/perl-modules

Re: [Help-glpk] Patch for GLPK 4.35 to support SWIG

2009-01-30 Thread Gabor Retvari
On Thursday 29 January 2009 22:32:09 Kelly Westbrooks wrote: I should note that SWIG doesn't generate a particularly pretty java interface for GLPK -- but it does generate an interface that works. I have written my own java adapter classes that wrap the java code that SWIG generates to make

[Help-glpk] Java interface to GLPK - accessing result values

2009-02-10 Thread Prof. Hartwig Baumgaertel
Hi all, I plan to use GLPK by a Java application. I'm happy about the SWIG-based Java API - many thanks to Xypron. My application will use a predefined (MIP) model but dynamically created data. There are several possibilities to feed the data to the problem object, so far so good. (For sake

Re: [Help-glpk] ANNOUNCEMENT: OptimJ solver link for GLPK/Java

2009-04-02 Thread Patrick Viry
Larry, Curious.  Why is OptimJ released under a commercial license?  It is based on Java, can be use as an Eclipse plug-in, and uses a number of free software or open source solvers. Nothing curious: the OptimJ language is based on Java, in the sense that if you know Java you'll learn

Re: [Help-glpk] Wrong optimal solution with Glpk-4.34

2010-09-06 Thread Xypron
when using this #8216;old #8217; version. Hello Marc, precompiled 32 and 64bit Windows binaries for GLPK are supplied by project GLPK for Windows at http://winglpk.sourceforge.net. These include GLPK for Java. If you want an 32bit IDE for Windows you may look at http

Re: [Fwd: Re: [Help-glpk] ANNOUNCEMENT: OptimJ solver link for GLPK/Java]

2011-01-20 Thread Michael Hennebry
On Wed, 19 Jan 2011, Andrew Makhorin wrote: Forwarded Message From: chtimax maxcach...@gmail.com To: Help-glpk@gnu.org Subject: Re: [Help-glpk] ANNOUNCEMENT: OptimJ solver link for GLPK/Java Date: Wed, 19 Jan 2011 05:48:23 -0800 (PST) Hello Robie and All, Accept my apologies

  1   2   3   4   5   6   >