help-glpk
[Top][All Lists]
Advanced

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

Re: [Help-glpk] Result time in miliseconds


From: Andrew Makhorin
Subject: Re: [Help-glpk] Result time in miliseconds
Date: Tue, 11 Oct 2005 19:36:53 +0400

> Hello, is possible that glpsol return time result in miliseconds for
> example:
> 
> INTEGER OPTIMAL SOLUTION FOUND
> Time used:   0.0 secs
> Memory used: 0.1M (91936 bytes)
> 
> Time used:   0.005 secs
> 
> or
> 
> Time used:   5 miliseconds
> 
> How to increase precision time?.

For portability reason by default glpsol uses a portable version of
lib_get_time which being based on gmtime provides only 1-sec precision.
You can replace the file glplib1b.c before compiling glpk by
appropriate platform-specific version; see the subdirectory sysdep
where two versions are provided: for GNU/Linux and for W32 API.
If none of them fits for your needs, you can provide your own version.





reply via email to

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