[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] libglpk-java
From: |
glpk xypron |
Subject: |
Re: [Help-glpk] libglpk-java |
Date: |
Mon, 29 Oct 2012 03:08:46 +0100 |
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
>