help-glpk
[Top][All Lists]
Advanced

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

Re: [Help-glpk] use GLPK to solve LP without printing anything on termin


From: usa usa
Subject: Re: [Help-glpk] use GLPK to solve LP without printing anything on terminal
Date: Sat, 11 Apr 2015 10:01:01 -0400

Hi,

I called GLPK from C# in VS 2013 on win7.

The API that I called is:

Solution mySolution = solver.Solve(myMathLPModel);

How to use "GLP_OFF" to close the output on terminal ?


Any help would be appreciated.

Thanks

On Sat, Apr 11, 2015 at 8:39 AM, Nigel Galloway <address@hidden> wrote:
If you are using the API then the output is controlled with GLP_ON and GLP_OFF. If you are using mathprog & glpsol then -y filename will send the output to a file rather than your terminal. If using Linux and you absolutely don't want the output then -y /dev/nul should do you.
 
--
Nigel Galloway
 
 
 
On Fri, Apr 10, 2015, at 08:24 PM, usa usa wrote:
Hi,
 
I am using GLPK to solve some linear programming models.
 
The model size is 200k variables and has one constraint.
 
It took GLPK 13 minutes to load data and build the LP model.
 
But, it took GLPK 17 minutes to solve it.
 
Is it normal ? Why building a model took so long time ?
 
Also, when GLPK is solving the model, it print out the detailed process of solving model on the command line terminal.
 
How to make GLPK to solve the model silently without printing anything on terminal ?
 
Thanks
 
 
_______________________________________________
Help-glpk mailing list
 
-- 
http://www.fastmail.com - Or how I learned to stop worrying and
                          love email again

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



reply via email to

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