I don't use GLPK this way. In fact, I am using the Java library inside my
code. And that's why I don't want to redirect the stdout either, because I
have other outputs that may be redirected to other files.
My question was: does there exist a function in the GLPK allowing this
redirection, only for the GLPK routines? I see that there is a routine
glp_term_hook, but I'd like to see an example (in Java) of how to use it in
the case of the Java interface developed by Xypron (
http://winglpk.sourceforge.net/).

2009/9/14 Michael Hennebry <[email protected]>

> On Mon, 14 Sep 2009, Sylvain Fournier wrote:
>
>  Extending the subject, is it possible with GLPK to redirect this output to
>> a
>> file instead of stdout?
>>
>
> glpsol .... > file.txt
>
> --
> Michael   [email protected]
> "Pessimist: The glass is half empty.
> Optimist:   The glass is half full.
> Engineer:   The glass is twice as big as it needs to be."
>
_______________________________________________
Help-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to