[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] more accurate solution finding times
From: |
glpk xypron |
Subject: |
Re: [Help-glpk] more accurate solution finding times |
Date: |
Tue, 22 Jun 2010 04:35:56 +0200 |
Hello Monsour,
in glpapi19.c (of GLPK 4.44) you can find the following statement:
xprintf("Time used: %.1f secs\n", xdifftime(xtime(), start));
You can change it to get additional digits, e.g.
xprintf("Time used: %.3f secs\n", xdifftime(xtime(), start));
The achievable time resolution will depend on the system on which
you compile. See function glp_time() in glpenv06.c.
Maximum resolution is 1 millisecond.
Best regards
Xypron
-------- Original-Nachricht --------
> Datum: Mon, 21 Jun 2010 21:47:36 -0400
> Betreff: [Help-glpk] more accurate solution finding times
> Hello list,
>
> I've just begun using GLPK so I apologize if the following is a
> commonly asked question.
>
> Short of using the API directly, is it possible to configure glpsol to
> output solution finding times to a greater number of decimal places?
> As it is, I'm getting times of 0.0, which is not very helpful.
>
> Thanks for your time.
>
> --
> Mansour Moufid
>
> _______________________________________________
> Help-glpk mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/help-glpk
--
GMX DSL: Internet-, Telefon- und Handy-Flat ab 19,99 EUR/mtl.
Bis zu 150 EUR Startguthaben inklusive! http://portal.gmx.net/de/go/dsl