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

2013-04-22 Thread Sylvain Fournier
Thanks Heinrich, I'll wait for the Swig fix.

-- 
*Sylvain Fournier*
Analista de Pesquisa Operacional
*48 3239-2423*
WPLEX Software Ltda.
Rod SC 401 no. 8600 Corporate Park bloco 5 sala 101
88050-000 Santo Antônio de Lisboa, Florianópolis SC +55 48 3239-2400
wplex.com.br
[image: WPLEX]




2013/4/22 Heinrich Schuchardt 

> Hello Sylvain,
>
> I have raised the following bug for program Swig used to wrap GLPK:
> https://sourceforge.net/p/**swig/bugs/1320/
>
> When Swig is fixed I will create a new GLPK for Java release.
>
> Best regards
>
> Heinrich Schuchardt
>
>
> On 22.04.2013 20:31, Sylvain Fournier wrote:
>
>> Ok, but then how do I get a glp_arc from a SWIGTYPE_p_glp_arc and
>> vice-versa? (same question for glp_graph) Is there some routine like
>> doubleArray_getitem() or intArray_getitem()? In the MinimumCostFlow.java
>> example, there is no glp_graph or glp_arc object.
>> Thanks,
>>
>>
>
___
Help-glpk mailing list
Help-glpk@gnu.org
https://lists.gnu.org/mailman/listinfo/help-glpk


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

2013-04-22 Thread Heinrich Schuchardt

Hello Sylvain,

I have raised the following bug for program Swig used to wrap GLPK:
https://sourceforge.net/p/swig/bugs/1320/

When Swig is fixed I will create a new GLPK for Java release.

Best regards

Heinrich Schuchardt

On 22.04.2013 20:31, Sylvain Fournier wrote:

Ok, but then how do I get a glp_arc from a SWIGTYPE_p_glp_arc and
vice-versa? (same question for glp_graph) Is there some routine like
doubleArray_getitem() or intArray_getitem()? In the MinimumCostFlow.java
example, there is no glp_graph or glp_arc object.
Thanks,




___
Help-glpk mailing list
Help-glpk@gnu.org
https://lists.gnu.org/mailman/listinfo/help-glpk


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

2013-04-22 Thread Sylvain Fournier
Ok, but then how do I get a glp_arc from a SWIGTYPE_p_glp_arc and
vice-versa? (same question for glp_graph) Is there some routine like
doubleArray_getitem() or intArray_getitem()? In the MinimumCostFlow.java
example, there is no glp_graph or glp_arc object.
Thanks,

-- 
*Sylvain Fournier*
Analista de Pesquisa Operacional
*48 3239-2423*
WPLEX Software Ltda.
Rod SC 401 no. 8600 Corporate Park bloco 5 sala 101
88050-000 Santo Antônio de Lisboa, Florianópolis SC +55 48 3239-2400
wplex.com.br
[image: WPLEX]




2013/4/22 Heinrich Schuchardt 

> Hello Sylvain,
>
> the class is now called glp_arc (not _glp_arc) because the definition in
> glpk-4.49/src/glpk.h was changed (relative to glpk-4.47).
>
> See
> http://glpk-java.sourceforge.**net/apidocs/index.html
> for the javadocs.
>
> Best regards
>
> Heinrich Schuchardt
>
>
>
> On 22.04.2013 14:22, Sylvain Fournier wrote:
>
>> Heinrich,
>>
>> I am using the glp_graph routines in Java and I just updated GLPK. I was
>> calling routines such as _glp_arc.getHead().getI() and I'd like to know if
>> there is some way to use the same kind of routines with the updated
>> version. I remember that you had provided a new release for this feature
>> in
>> version 4.47.
>> I look forward to testing the new minimum cost flow algorithm!
>> Cheers,
>>
>>
>
___
Help-glpk mailing list
Help-glpk@gnu.org
https://lists.gnu.org/mailman/listinfo/help-glpk


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

2013-04-22 Thread Heinrich Schuchardt

Hello Sylvain,

the class is now called glp_arc (not _glp_arc) because the definition in 
glpk-4.49/src/glpk.h was changed (relative to glpk-4.47).


See
http://glpk-java.sourceforge.net/apidocs/index.html
for the javadocs.

Best regards

Heinrich Schuchardt


On 22.04.2013 14:22, Sylvain Fournier wrote:

Heinrich,

I am using the glp_graph routines in Java and I just updated GLPK. I was
calling routines such as _glp_arc.getHead().getI() and I'd like to know if
there is some way to use the same kind of routines with the updated
version. I remember that you had provided a new release for this feature in
version 4.47.
I look forward to testing the new minimum cost flow algorithm!
Cheers,




___
Help-glpk mailing list
Help-glpk@gnu.org
https://lists.gnu.org/mailman/listinfo/help-glpk


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

2013-04-22 Thread Sylvain Fournier
Heinrich,

I am using the glp_graph routines in Java and I just updated GLPK. I was
calling routines such as _glp_arc.getHead().getI() and I'd like to know if
there is some way to use the same kind of routines with the updated
version. I remember that you had provided a new release for this feature in
version 4.47.
I look forward to testing the new minimum cost flow algorithm!
Cheers,

-- 
*Sylvain Fournier*
Analista de Pesquisa Operacional
*48 3239-2423*
WPLEX Software Ltda.
Rod SC 401 no. 8600 Corporate Park bloco 5 sala 101
88050-000 Santo Antônio de Lisboa, Florianópolis SC +55 48 3239-2400
wplex.com.br
[image: WPLEX]




2013/4/16 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
>
> Heinrich Schuchardt
> --
> View this message in context:
> http://old.nabble.com/GLPK-for-Windows-4.49%2C-GLPK-for-Java-1.0.25-tp35303327p35303327.html
> Sent from the Gnu - GLPK - Help mailing list archive at Nabble.com.
>
>
> ___
> Help-glpk mailing list
> Help-glpk@gnu.org
> https://lists.gnu.org/mailman/listinfo/help-glpk
>
___
Help-glpk mailing list
Help-glpk@gnu.org
https://lists.gnu.org/mailman/listinfo/help-glpk


Re: [Help-glpk] [Fwd: Ipopt GMPL Interface]

2013-04-22 Thread Raniere Silva
Hi Dieter,

> I am new to GLPK and so far I'm very impressed by it's capabilities. My 
> question goes to solving non-linear problems written in  GMPL using e.g. 
> ipopt. Is there an interface or could anyone point me into a direction 
> where i can learn how to do this? I'm on Linux Mint, so I installed the 
> ipopt package available from the repositories...

AFAIK, there is no such interface yet.

For do that you will need to parse the GMPL model file to build it in the ipopt
internal structure. If you plan to write a parse in C take a look at
glp_read_prob() in the file glpdmx.c of the GLPK source.

Raniere

___
Help-glpk mailing list
Help-glpk@gnu.org
https://lists.gnu.org/mailman/listinfo/help-glpk


[Help-glpk] [Fwd: Ipopt GMPL Interface]

2013-04-22 Thread Andrew Makhorin
 Forwarded Message 
From: Dieter Kömle 
To: help-glpk@gnu.org
Subject: Ipopt GMPL Interface
Date: Sun, 21 Apr 2013 20:12:46 +0200

Hello everyone!
I am new to GLPK and so far I'm very impressed by it's capabilities. My 
question goes to solving non-linear problems written in  GMPL using e.g. 
ipopt. Is there an interface or could anyone point me into a direction 
where i can learn how to do this? I'm on Linux Mint, so I installed the 
ipopt package available from the repositories...

Thanks,
Dieter





___
Help-glpk mailing list
Help-glpk@gnu.org
https://lists.gnu.org/mailman/listinfo/help-glpk