[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] How to avoid output when reading in an mps problem.
From: |
Andrew Makhorin |
Subject: |
Re: [Help-glpk] How to avoid output when reading in an mps problem. |
Date: |
Wed, 26 Sep 2007 17:29:32 +0400 |
> I am using glpk 4.13.
> When I call lpx_read_mps to read in a problem in mps format, I get some
> output such as the following:
> lpx_read_mps: reading problem data from `adlittle.mps'...
> lpx_read_mps: problem ADLITTLE
> lpx_read_mps: 57 rows, 97 columns, 465 non-zeros
> lpx_read_mps: 335 cards were read
> Is there any way to avoid this output?
In glpk 4.22 you can call glp_term_out(GLP_OFF) to disable and
glp_term_out(GLP_ON) to resume the terminal output. Another, more
sophisticated way is using glp_term_hook. For details please see the
reference manual included in the distribution.