Hello Halim, one reason for the behaviour you describe could be running multiple threads calling GLPK. GLPK is not thread safe. Is your application single threaded?
>> glp_error_hook error message Do you mean GlpkException? How do you handle exceptions? Could you, please, provide: - version 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 +0000 > Betreff: [Help-glpk] libglpk-java > 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 java solution (to avoid the > file read/write). > > On linux CentOS, libglpk-java has been unreliable. For the same problem, I > get the right solution at times, a glp_error_hook error message at times, > and no exception handling message at all at other times. Several of us have > built the library from source on different machines, with the same overall > experience. > > Any success story with this library in the linux environment? > > Thanks a bunch. > > Rgds, > halim > _______________________________________________ Help-glpk mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-glpk
