help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-glpk] Output streams


From: Falk Hueffner
Subject: [Help-glpk] Output streams
Date: 24 Oct 2001 11:56:42 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (anise)

Hi,

to make the output of my programs parsable more easily, I would like
to suppress the informational and error messages. So I propose two
functions:

glp_set_info_stream(FILE *stream);
glp_set_error_stream(FILE *stream);

or similar, where NULL means no output. (I don't think it's necessary
to have them per problem instance.)

The only tricky part is how to default these streams to stdin and
stderr, because static intitialization with stdin and stderr doesn't
work on all systems. A workaround would be to check in
glp_create_prob() whether they have already been initialized and do so
if not. (IMHO they should both default to NULL (no output), but you
seem to think otherwise :)

        Falk




reply via email to

[Prev in Thread] Current Thread [Next in Thread]